-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
executable file
·70 lines (60 loc) · 1.38 KB
/
index.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
:root {
display: block;
height: 100%;
margin: 0;
overflow: hidden;
padding: 0;
width: 100%;
}
body {
align-content: center;
align-items: center;
display: flex;
height: 100%;
margin: 0;
padding: 0;
width: 100%;
}
body > div {
flex: 1;
margin: 0 auto;
max-width: 15em;
padding: 0;
}
form[name='user'] p:not([role='alert']) {
display: flex;
flex-wrap: wrap;
gap: 0.75em;
}
form[name='user'] p:last-of-type:not([role='alert']) > label {
visibility: hidden; /* Hide “Tasks” label */
}
form[name='user'] p:not([role='alert']) > label {
overflow: hidden;
text-align: right;
text-overflow: ellipsis;
white-space: nowrap;
width: 3em;
}
form[name='user'] p:not([role='alert']) > label + br + span {
flex: 1;
}
form[name='user'] p:not([role='alert']) > label + br + span[role='group'] {
display: flex;
flex-wrap: wrap;
gap: 0.5em;
}
form[name='user'] p:not([role='alert']) > label + br + span input[type='password'],
form[name='user'] p:not([role='alert']) > label + br + span input[type='text'],
form[name='user'] p:not([role='alert']) > label + br + span select {
display: block;
max-width: 100%;
width: 100%;
}
form[name='user'] p:not([role='alert']) > label:empty,
form[name='user'] p:not([role='alert']) > label:empty + br {
display: none;
}
form[name='user'] p:not([role='alert']) > label:empty + br + span {
justify-content: center;
}