parent
ed35abf4d2
commit
48eec34628
15 changed files with 157 additions and 26 deletions
@ -1,33 +1,93 @@ |
|||||||
.slide { |
.slide { |
||||||
font-family: "Iosevka", sans-serif; |
font-family: "Iosevka", sans-serif; |
||||||
font-size: 2rem; |
font-size: 4vw; |
||||||
display: flex; |
display: flex; |
||||||
flex-direction: column; |
flex-direction: column; |
||||||
align-items: center; |
align-items: center; |
||||||
justify-content: center; |
justify-content: center; |
||||||
user-select: none; |
user-select: none; |
||||||
|
padding: 8vw; |
||||||
|
text-align: center; |
||||||
aspect-ratio: 1.333; |
aspect-ratio: 1.333; |
||||||
background: color(background); |
background: color(background); |
||||||
color: color(foreground); |
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 { |
&.title { |
||||||
p { |
p { |
||||||
font-style: italic; |
font-style: italic; |
||||||
font-size: 1.8rem; |
font-size: 3.5vw; |
||||||
color: color(scrollbar); |
color: color(scrollbar); |
||||||
|
|
||||||
&:nth-of-type(2) { |
&:nth-of-type(2) { |
||||||
font-size: 1.2rem; |
font-size: 2.8vw; |
||||||
} |
} |
||||||
} |
} |
||||||
} |
} |
||||||
|
|
||||||
h1 { |
code:not([class*=language-]) { |
||||||
font-size: 4rem; |
font-weight: normal; |
||||||
|
font-size: 0.9em; |
||||||
|
color: color(hightlight); |
||||||
} |
} |
||||||
|
|
||||||
code { |
pre { |
||||||
font-size: 1.2rem; |
font-size: 1.5vw; |
||||||
width: 90%; |
width: 90%; |
||||||
|
padding: 4vw !important; |
||||||
|
|
||||||
|
* { |
||||||
|
font-weight: normal !important; |
||||||
|
} |
||||||
} |
} |
||||||
} |
} |
Loading…
Reference in new issue