pedf
/
spin
Archived
1
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

69 lines
1.1 KiB
CSS

:root {
--width: 1000px;
}
3 years ago
@font-face {
font-family: montserrat;
src: url(fnt/montserrat-light.ttf) format("truetype");
}
* { box-sizing: border-box }
html { scroll-behavior: smooth }
body {
margin: 0;
line-height: 1.5;
background-color: #edfbff;
color: #324c9c;
3 years ago
font-family: montserrat, sans;
}
header, main { min-height: 100vh }
header {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 1rem;
font-size: 1.5rem;
}
header p {
max-width: var(--width);
text-align: justify;
}
header .arrow {
height: 2em;
margin-top: 3em;
transition: transform .2s ease-out;
}
header .arrow:hover { transform: scale(1.3) }
main {
max-width: var(--width);
margin: 0 auto;
padding: 1em;
}
3 years ago
main .quotations {
display: flex;
flex-direction: column;
}
main .quotations figure blockquote {
font-style: italic;
margin-top: -5em; /* Fix overflowing space above quotation marks */
}
main .quotations figure blockquote:before {
content: "\201E";
display: block;
margin-bottom: -0.1em;
font-size: 8em;
}
main .quotations figure figcaption {
max-width: 80%;
margin-left: auto;
text-align: right;
}