mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-12-24 01:42:10 +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 {
|
||||
color: #ed7;
|
||||
color: #ffea77;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
|
|
|
@ -43,7 +43,7 @@ html {
|
|||
* but they're pretty much only used on the desktop where a huge indent
|
||||
* is less of a problem.*/
|
||||
blockquote {
|
||||
border-inline-start: 5px solid #aaa;
|
||||
border-inline-start: 4px solid #aaa;
|
||||
margin: 0;
|
||||
padding: 0 0.8em;
|
||||
}
|
||||
|
@ -64,8 +64,8 @@ a[aria-current="page"] {
|
|||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* narrow screens: remove unused figure margin. */
|
||||
figure {
|
||||
/* narrow screens: reduce unused figure margin in quotations. */
|
||||
figure[itemtype="https://schema.org/Quotation"] {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue