add .corner and .left/.right classes
This commit is contained in:
parent
c2f991bc3e
commit
0f908581df
3 changed files with 15 additions and 11 deletions
|
@ -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; }
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue