💄 style: coloured links in paragraph; meta changes

- Links in paragraphs are no longer underlined, but rather coloured with
the accent-colour of the theme.
- The meta section on posts (date, time to read, tags) is rehauled. It's
more compact, less distracting and more minimal.
- Line height is increased.
This commit is contained in:
welpo 2023-02-19 00:31:57 +01:00
parent 83e211a18d
commit 4390b7bdfb
No known key found for this signature in database
GPG key ID: A2F978CF4EC1F5A6
4 changed files with 37 additions and 22 deletions

View file

@ -92,12 +92,12 @@ html {
color: var(--text-color);
line-height: 1.6em;
}
body {
margin: 0;
padding: 0;
align-items:center;
justify-content:center;
}
.content {
max-width: var(--max-layout-width);
margin: 0 auto;
@ -176,6 +176,7 @@ p {
font-family: 'Source Serif Pro', serif;
margin-top: 0.4rem;
margin-bottom: 2.3vmin;
line-height: 2rem;
font-size: 1em;
}

View file

@ -77,6 +77,13 @@ header {
padding-bottom: 1vmin;
}
.meta a {
color: var(--meta-color);
text-decoration-color: none;
font-weight: inherit;
text-decoration: none;
}
.card-meta {
color: var(--meta-color);
}

View file

@ -37,6 +37,10 @@
color: var(--hover-color);
}
.nav.tags {
display: inline-block;
}
p {
line-height: 1.5;
}
@ -60,6 +64,12 @@ a {
font-weight: 580;
}
p a {
color: var(--accent-color);
text-decoration: inherit;
font-weight: inherit;
}
a:hover {
background-color: var(--primary-color);
color: var(--hover-color);