change text-decoration of most links to underline

This commit is contained in:
eclipse 2025-03-07 12:35:04 +01:00
parent 5b8201b22f
commit ad0b81b75b

View File

@ -32,10 +32,12 @@
--pico-font-size: 112.5%;
}
/* don't underline links by default */
/* don't underline links in headings */
h1, h2, h3, h4, h5, h6 {
a {
--pico-text-decoration: none;
}
}
@ -200,6 +202,9 @@ a {
/* Navbar */
#site-navbar {
a {
--pico-text-decoration: none;
}
ul {
margin-left: 0;
margin-right: 0;
@ -324,7 +329,10 @@ figcaption {
content: "\00a0\02192"; /* arrow to the right */
}
a { color: var(--pico-h1-color);}
a {
color: var(--pico-h1-color);
--pico-text-decoration: none;
}
}
@ -405,9 +413,11 @@ figcaption {
display: flex;
flex-flow: column nowrap;
justify-content: space-between;
}
h2 {
margin-top: var(--pico-block-spacing-vertical);
--pico-font-size: 1.25rem;
}
@ -427,10 +437,10 @@ figcaption {
margin: auto;
}
h2:has(+ .article-stats) {
/* h2:has(+ .article-stats) {
margin-top: var(--pico-block-spacing-vertical);
}
*/
.article-stats {
padding-left: 0;