Skip to content

Commit f8a7c83

Browse files
authored
Convert to HTML form (gh list version) (#20)
1 parent b5314ea commit f8a7c83

File tree

3 files changed

+2499
-518
lines changed

3 files changed

+2499
-518
lines changed

checklist.css

Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
2+
body {
3+
font-family: sans-serif;
4+
line-height: 1.5;
5+
font-size: 1.2em;
6+
max-width: 60rem;
7+
width: 96vw;
8+
margin: auto;
9+
padding-bottom: 1rem;
10+
}
11+
12+
table {
13+
width: 100%;
14+
border-collapse: collapse;
15+
margin: 10px;
16+
}
17+
18+
th,
19+
td {
20+
padding: 0.8rem 1rem;
21+
border: 1px solid #ccc;
22+
vertical-align: top;
23+
font-size: 1rem;
24+
text-align: left;
25+
}
26+
td a,
27+
summary a {
28+
text-decoration: underline;
29+
}
30+
31+
32+
fieldset {
33+
border: 1px solid;
34+
border-radius: 6px;
35+
padding: 2rem;
36+
margin-bottom: 1rem;
37+
}
38+
39+
legend {
40+
font-weight: bold;
41+
}
42+
43+
input[type="radio"] {
44+
margin-right: 0.5rem;
45+
}
46+
47+
button[type="submit"] {
48+
padding: 0.5rem 1rem;
49+
font-size: 1rem;
50+
border: 1px solid currentColor;
51+
margin-inline-end: 0.5em;
52+
border-radius: 4px;
53+
cursor: pointer;
54+
background: none;
55+
}
56+
57+
fieldset > details {
58+
margin-top: 1rem;
59+
}
60+
61+
details fieldset {
62+
margin-top: 0.5em;
63+
}
64+
65+
input[type="text"] {
66+
padding: 0.5rem;
67+
border: 1px solid currentColor;
68+
border-radius: 4px;
69+
font-size: 1rem;
70+
}
71+
72+
#spec-url-desc {
73+
font-size: 0.9rem;
74+
margin-top: 0.25rem;
75+
}
76+
77+
.grid-2c {
78+
display: grid;
79+
grid-template-columns: min-content auto;
80+
align-items: center;
81+
gap: 1.5em;
82+
margin-block-end: 1em;
83+
}
84+
85+
*:focus,
86+
input:hover,
87+
button:hover,
88+
a:hover {
89+
outline: 2px solid currentColor;
90+
outline-offset: 0.15em;
91+
}
92+
93+
td details {
94+
margin: 0;
95+
}
96+
97+
td summary {
98+
font-weight: 600;
99+
cursor: pointer;
100+
margin-bottom: 0.4em;
101+
}
102+
103+
td summary::-webkit-details-marker {
104+
display: initial;
105+
}
106+
107+
td details p {
108+
margin: 0.6em 0 0 1.5em;
109+
padding-right: 1em;
110+
font-size: 0.9rem;
111+
line-height: 1.4;
112+
}
113+
114+
td.met-column {
115+
vertical-align: top;
116+
width: 7em;
117+
}
118+
119+
td.met-column label {
120+
display: block;
121+
margin-bottom: 0.4em;
122+
font-weight: normal;
123+
}
124+
125+
th[scope="row"] {
126+
font-weight: normal;
127+
}
128+
.note {
129+
font-size: 0.9em;
130+
}
131+
132+
th[scope="row"] summary {
133+
font-weight: bold;
134+
}
135+

0 commit comments

Comments
 (0)