parent
ed35abf4d2
commit
48eec34628
15 changed files with 157 additions and 26 deletions
@ -1,33 +1,93 @@ |
||||
.slide { |
||||
font-family: "Iosevka", sans-serif; |
||||
font-size: 2rem; |
||||
font-size: 4vw; |
||||
display: flex; |
||||
flex-direction: column; |
||||
align-items: center; |
||||
justify-content: center; |
||||
user-select: none; |
||||
padding: 8vw; |
||||
text-align: center; |
||||
aspect-ratio: 1.333; |
||||
background: color(background); |
||||
color: color(foreground); |
||||
|
||||
ul, ol, pre { |
||||
text-align: left; |
||||
} |
||||
|
||||
ul, ol { |
||||
li.task { |
||||
list-style: none; |
||||
margin-left: -0.8em; |
||||
} |
||||
} |
||||
|
||||
blockquote { |
||||
opacity: 0.5; |
||||
font-style: italic; |
||||
position: relative; |
||||
|
||||
&::before, &::after { |
||||
position: absolute; |
||||
font-size: 8vw; |
||||
opacity: 0.1; |
||||
} |
||||
|
||||
&::before { |
||||
top: 0; |
||||
left: 0; |
||||
margin-left: -4vw; |
||||
content: "„"; |
||||
} |
||||
|
||||
&::after { |
||||
bottom: 0; |
||||
right: 0; |
||||
margin-right: -4vw; |
||||
content: "“"; |
||||
} |
||||
} |
||||
|
||||
figure { |
||||
img { |
||||
max-width: 95%; |
||||
height: auto; |
||||
} |
||||
|
||||
figcaption { |
||||
font-size: 1.8vw; |
||||
opacity: 0.6; |
||||
font-style: italic; |
||||
font-weight: normal; |
||||
} |
||||
} |
||||
|
||||
&.title { |
||||
p { |
||||
font-style: italic; |
||||
font-size: 1.8rem; |
||||
font-size: 3.5vw; |
||||
color: color(scrollbar); |
||||
|
||||
&:nth-of-type(2) { |
||||
font-size: 1.2rem; |
||||
font-size: 2.8vw; |
||||
} |
||||
} |
||||
} |
||||
|
||||
h1 { |
||||
font-size: 4rem; |
||||
code:not([class*=language-]) { |
||||
font-weight: normal; |
||||
font-size: 0.9em; |
||||
color: color(hightlight); |
||||
} |
||||
|
||||
code { |
||||
font-size: 1.2rem; |
||||
pre { |
||||
font-size: 1.5vw; |
||||
width: 90%; |
||||
padding: 4vw !important; |
||||
|
||||
* { |
||||
font-weight: normal !important; |
||||
} |
||||
} |
||||
} |
Loading…
Reference in new issue