Files
webtech/ora3/book/book.css
2025-09-26 17:40:02 +02:00

43 lines
648 B
CSS

@import url('https://fonts.googleapis.com/css2?family=Anton&family=EB+Garamond&display=swap');
book,
author,
title,
chapter,
para {
display: block;
}
book {
background-color: #f8f8f8;
font-family: "EB Garamond", Garamond, Georgia, 'Times New Roman', Times, serif;
margin: auto;
max-width: 80ch;
padding: 2em;
}
author,
title {
text-align: center;
font-family: Anton, sans-serif;
}
author {
font-size: 2em;
}
book>title {
font-size: 4em;
margin: 0.5em 0 1em 0;
}
author,
book>title {
font-variant: small-caps;
letter-spacing: 0.1em;
}
title+chapter {
border-top: medium double black;
}