1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-23 21:02:09 +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:
Rohan Kumar 2022-04-06 17:50:11 -07:00
parent 47106441f7
commit bbe9ff458e
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479
2 changed files with 4 additions and 4 deletions

View file

@ -8,7 +8,7 @@
} }
a { a {
color: #ed7; color: #ffea77;
} }
a:visited { a:visited {

View file

@ -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;
} }