Files
wildness.makyo.ink/themes/maddybook/static/css/main.css
Madison Scott-Clary d969b65cdd Bit of styling fixes
2021-09-02 08:44:28 -07:00

99 lines
1.8 KiB
CSS

@import url("https://fonts.googleapis.com/css?family=Gentium+Book+Basic");
@font-face {
font-family: "Tom's New Roman";
font-weight: 400;
font-style: normal;
src: url("/tomnr.woff") format("woff");
}
header, footer {
margin: 0 auto;
max-width: 640px;
font-family: "Tom's New Roman", serif;
font-size: 18pt;
text-align: center;
border-top: 1px solid rgba(0, 0, 0, 0.1);
border-bottom:1px solid rgba(0, 0, 0, 0.1);
}
header {
border-top: none;
}
footer {
border-bottom: none;
}
header a, header a:visited, header a:active, header a:hover {
color: #222;
text-decoration: none;
}
h1 small {
display: block;
font-size: 50%;
}
.title ul {
list-style-type: none;
font-family: "Tom's New Roman", serif;
text-align: center;
margin: 0;
padding: 0;
}
.title ul li {
margin: 1rem 0;
padding: 0;
}
.title blockquote:first-of-type {
font-style: italic;
}
ul.pagination {
list-style-type: none;
font-family: "Tom's New Roman", serif;
text-align: center;
}
li.page-item {
display: inline-block;
margin: 0 0.5rem;
padding: 0;
}
hr {
border: none;
width: 3em;
margin: 1em auto;
}
hr::before {
content: '§';
display: block;
text-align: center;
}
main {
margin: 0 auto;
max-width: 640px;
font-family: "Gentium Book Basic", serif;
font-size: 18pt;
text-align: justify;
color: #222;
}
a {
color: #262;
}
a:visited {
color: #266;
}
.title img {
max-width: 50%;
margin: 0 auto;
display: block;
}
h1, h2 {
font-family: "Tom's New Roman", sans-serif;
text-align: center;
}
@media only screen and (max-width: 640px) {
body {
padding: 0;
margin: 0;
}
main, header, footer {
width: 100%;
padding: 0 2rem;
}
}