mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-14 01:32:11 +00:00
CSS: better margins, contrast
- Allow figures that are *not* quotations to keep their old default margins. - Improve the contrast of links just a little bit more.
This commit is contained in:
parent
47106441f7
commit
bbe9ff458e
2 changed files with 4 additions and 4 deletions
|
@ -8,7 +8,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: #ed7;
|
color: #ffea77;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:visited {
|
a:visited {
|
||||||
|
|
|
@ -43,7 +43,7 @@ html {
|
||||||
* but they're pretty much only used on the desktop where a huge indent
|
* but they're pretty much only used on the desktop where a huge indent
|
||||||
* is less of a problem.*/
|
* is less of a problem.*/
|
||||||
blockquote {
|
blockquote {
|
||||||
border-inline-start: 5px solid #aaa;
|
border-inline-start: 4px solid #aaa;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0 0.8em;
|
padding: 0 0.8em;
|
||||||
}
|
}
|
||||||
|
@ -64,8 +64,8 @@ a[aria-current="page"] {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* narrow screens: remove unused figure margin. */
|
/* narrow screens: reduce unused figure margin in quotations. */
|
||||||
figure {
|
figure[itemtype="https://schema.org/Quotation"] {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue