-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.css
102 lines (82 loc) · 1.32 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
body {
font-family: sans-serif;
display: flex;
flex-direction: column;
align-items: center;
}
main {
display: flex;
flex-direction: column;
}
h1 {
text-align: center;
font-size: 800%;
margin: .2em 0;
}
li {
margin: .5em 0;
}
li:last-child {
text-decoration: line-through;
opacity: 0.5;
}
table {
margin-top: 2em;
border-collapse: collapse;
thead {
border-bottom: 3px double black;
td:nth-child(2) { text-align: center; }
}
tbody {
margin-top: 1em;
td:nth-child(1)::after {
content: " 🠚";
}
td:nth-child(3)::before {
content: "🠚 ";
}
tr:nth-child(even) {
background-color: #eee;
}
}
td {
padding: 4px 2px;
&:nth-child(1) {
text-align: left;
word-break: break-all;
}
&:nth-child(3) {
text-align: right;
word-break: break-all;
}
p {
white-space: nowrap;
}
&.inactive {
opacity: 0.5;
}
[name=delete] { color: red; }
}
}
dialog {
&:has([name=message-types-mode] [value=all]:checked) [name=message-types] { display: none; }
.message-types {
display: flex;
align-items: flex-end;
}
.message-types label { white-space: nowrap; }
[type=submit] {
font-weight: bold;
}
footer {
display: flex;
gap: 8px;
}
}
main > footer {
margin-top: 5em;
border-top: 1px solid gray;
padding-top: 1em;
text-align: center;
font-size: 70%;
}