Files
poems/style.css
2017-03-31 16:40:58 +02:00

72 lines
1.1 KiB
CSS

@font-face {
font-family: 'charterregular';
src: url('/charter_regular-webfont.eot');
src: url('/charter_regular-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
}
.poem {
margin: auto;
max-width: 1000px;
height: 100vh;
font-size: 23px;
font-family: 'charterregular';
padding-top: 3em;
display: none;
}
p {
text-indent: -2em;
margin: 0;
}
.paragraph {
margin-top: 1em;
}
#bottom {
position: absolute;
bottom: 10px;
margin-left: calc(50vw - 70px);
border-top: 3px solid;
}
.nav {
font-size: 50px;
padding: 10px;
cursor: pointer;
}
@media all and (max-device-width: 1000px) {
.poem {
font-size: 40px;
padding-left: 3em;
}
#bottom {
margin-left: calc(50vw - 185px);
border-top: 10px solid;
}
.nav {
font-size: 170px;
}
}
@media all and (max-width: 1000px) {
.poem {
padding-left: 3em;
}
}
@media print {
.poem {
font-size: 20px;
display: block !important;
}
#bottom {
display: none;
}
}
@page {
size: auto;
margin: 0mm;
}