improve archive page

This commit is contained in:
Niklas Buschmann 2019-12-23 22:09:15 +01:00
parent 67938a4494
commit ad823002b8
2 changed files with 12 additions and 11 deletions

View File

@ -10,16 +10,13 @@
} }
.archive li { .archive li {
padding: .3em 0;
}
.archive a {
font-size: 1.1em; font-size: 1.1em;
padding: .3em;
} }
.archive time { .archive time {
display: inline-block; display: inline-block;
font-size: 1.05em; min-width: 9ch;
width: 6em;
margin: 0 .25em; margin: 0 .25em;
opacity: .75;
} }

View File

@ -18,15 +18,12 @@ body {
font-size: calc(0.8rem + 0.25vw); font-size: calc(0.8rem + 0.25vw);
font-weight: 400; font-weight: 400;
line-height: 1.65; line-height: 1.65;
margin: 0;
-webkit-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }
body, blockquote, figure {
margin: 0;
}
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
font-weight: 400; font-weight: 400;
} }
@ -63,11 +60,18 @@ blockquote {
padding: 1px 1.5em; padding: 1px 1.5em;
} }
blockquote, figure {
margin: 1em 0;
}
img, li {
margin: .5em 0;
}
img { img {
border-radius: 2px; border-radius: 2px;
max-width: 100%; max-width: 100%;
height: auto; height: auto;
margin: .5em 0;
} }
table { table {