Compare commits

...

2 Commits

Author SHA1 Message Date
Edgar P. Burkhart 0e5b8ea85d
Use :is css pseudo-class 2023-12-30 10:24:24 +01:00
Edgar P. Burkhart 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>
</thead>
<tbody>
{% spaceless %}
{% for y in history.years reversed %}
{% for date in y.d reversed %}
{% ifchanged %}
@ -71,7 +70,6 @@
{% endifchanged %}
{% endfor %}
{% endfor %}
{% endspaceless %}
</tbody>
</table>
</div>
@ -95,7 +93,6 @@
</tr>
</thead>
<tbody>
{% spaceless %}
{% for year in history.years reversed %}
<tr>
<th>{{ year.y }}</th>
@ -116,7 +113,6 @@
{% endfor %}
</tr>
{% endfor %}
{% endspaceless %}
</tbody>
</table>
</div>

View File

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

View File

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