add .corner and .left/.right classes

This commit is contained in:
Rhiannon Morris 2020-07-19 18:03:24 +02:00
parent c2f991bc3e
commit 0f908581df
3 changed files with 15 additions and 11 deletions

View file

@ -48,6 +48,18 @@ body {
background: var(--lighter-tum);
}
.corner {
font-weight: 400;
position: absolute;
top: -0.5em;
margin: 0;
padding: 0;
font-size: 100%;
}
.left.corner { left: -0.4em; }
.right.corner { right: -0.4em; }
b { font-weight: 600; }
b b { font-weight: 900; }

View file

@ -5,17 +5,9 @@ body {
position: relative;
}
.date, .artist {
font-weight: 400;
position: absolute;
top: -0.5em;
margin: 0;
padding: 0;
font-size: 100%;
#date, #artist {
font-style: italic;
}
.date { right: -0.4em; }
.artist { left: -0.4em; }
#mainfig {
justify-content: center;