Compare commits

...

2 commits

Author SHA1 Message Date
0e5b8ea85d
Use :is css pseudo-class 2023-12-30 10:24:24 +01:00
715822e48f
Remove unused spaceless tags 2023-12-30 10:18:17 +01:00
3 changed files with 74 additions and 84 deletions

View file

@ -18,7 +18,6 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{% spaceless %}
{% for y in history.years reversed %} {% for y in history.years reversed %}
{% for date in y.d reversed %} {% for date in y.d reversed %}
{% ifchanged %} {% ifchanged %}
@ -71,7 +70,6 @@
{% endifchanged %} {% endifchanged %}
{% endfor %} {% endfor %}
{% endfor %} {% endfor %}
{% endspaceless %}
</tbody> </tbody>
</table> </table>
</div> </div>
@ -95,7 +93,6 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{% spaceless %}
{% for year in history.years reversed %} {% for year in history.years reversed %}
<tr> <tr>
<th>{{ year.y }}</th> <th>{{ year.y }}</th>
@ -116,7 +113,6 @@
{% endfor %} {% endfor %}
</tr> </tr>
{% endfor %} {% endfor %}
{% endspaceless %}
</tbody> </tbody>
</table> </table>
</div> </div>

View file

@ -9,9 +9,7 @@ form > table > tbody > tr > th {
background: var(--bg-01); background: var(--bg-01);
background-clip: padding-box; background-clip: padding-box;
} }
form tbody input, form tbody :is(input, select, textarea) {
form tbody select,
form tbody textarea {
font: inherit; font: inherit;
border: none; border: none;
background: transparent; background: transparent;

View file

@ -61,8 +61,7 @@ a {
text-decoration: none; text-decoration: none;
display: inline-block; display: inline-block;
} }
a:hover, a:is(:hover, :focus) {
a:focus {
text-decoration: underline; text-decoration: underline;
} }
@ -109,8 +108,7 @@ nav ul {
nav .skip-link { nav .skip-link {
font-weight: 300; font-weight: 300;
} }
nav .skip-link:active, nav .skip-link:is(:active, :focus) {
nav .skip-link:focus {
font-weight: 500; font-weight: 500;
} }
nav a { nav a {
@ -124,8 +122,7 @@ nav a.cur::after {
position: absolute; position: absolute;
right: 0; right: 0;
} }
nav > :first-child, :is(nav, main) > :first-child {
main > :first-child {
margin-top: 0; margin-top: 0;
} }
footer { footer {
@ -146,8 +143,7 @@ footer {
font-weight: 650; font-weight: 650;
text-decoration: underline dotted; text-decoration: underline dotted;
} }
.pagination a.cur:hover, .pagination a.cur:is(:hover, :focus) {
.pagination a.cur:focus {
text-decoration: underline; text-decoration: underline;
} }