-
-
Notifications
You must be signed in to change notification settings - Fork 427
Expand file tree
/
Copy pathindex.css
More file actions
77 lines (65 loc) · 1.02 KB
/
index.css
File metadata and controls
77 lines (65 loc) · 1.02 KB
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
71
72
73
74
75
76
77
*,
*:before,
*:after {
box-sizing: border-box;
}
html {
font-family: sans-serif;
font-size: 14px;
}
body {
padding: 1rem;
}
.List {
border: 1px solid #e6e4dc;
max-width: 100%;
}
.ListItemEven,
.ListItemOdd {
display: flex;
align-items: center;
justify-content: center;
}
.ListItemEven {
background-color: #e6e4dc;
}
.controls {
display: flex;
gap: 0.5rem;
margin-bottom: 1rem;
flex-wrap: wrap;
align-items: center;
}
.controls label {
display: flex;
align-items: center;
gap: 0.25rem;
cursor: pointer;
}
.mode-selector {
display: flex;
gap: 0.5rem;
padding: 0.5rem;
background: #f5f5f5;
border-radius: 4px;
}
.mode-selector label {
padding: 0.25rem 0.5rem;
border-radius: 4px;
}
.mode-selector input:checked + span {
background: #007bff;
color: white;
padding: 0.25rem 0.5rem;
border-radius: 4px;
margin: -0.25rem -0.5rem;
}
button {
border: 1px solid gray;
padding: 0.25rem 0.5rem;
background: white;
cursor: pointer;
}
button:hover {
background: #f0f0f0;
}