kayomn.net/static/base.css

101 lines
1.3 KiB
CSS

@font-face {
font-family: "Lato Regular";
src: url("/lato/regular.ttf");
}
@font-face {
font-family: "Lato Light";
src: url("/lato/light.ttf");
}
:root {
font-family: "Lato Light", sans-serif;
font-size: 1.1em;
}
a {
text-decoration: none;
font-family: "Lato Regular", sans-serif;
color: #ac5d48;
}
a:hover {
color: #a5391c;
padding-bottom: 0;
text-decoration: underline;
transition: color 0.15s linear;
}
body {
color: #111;
background: white;
margin: 0;
overflow-y: scroll;
}
body header {
display: flex;
background: #EEE;
padding: 5px 30px;
}
body footer {
margin: 10px 0;
}
body footer {
text-align: center;
font-size: 75%;
}
body main {
margin: 15px auto;
max-width: 70%;
}
body pre {
overflow-x: scroll;
padding: 15px;
border-radius: 4px;
}
body .banner {
background-color: #ac5d48;
border-style: solid;
border-width: 0 0 0 25px;
border-color: #a5391c;
padding: 5px;
border-radius: 0 10px 10px 0;
font-size: 1.5em;
font-family: "Lato Regular";
}
body .banner > *:first-child {
font-size: 1.5em;
}
body .columns {
display: flex;
}
body .columns > *:not(:last-child) {
margin-right: 20px;
}
@media (prefers-color-scheme: dark) {
body {
color: white;
background: #111;
}
body header {
background: #0C0C0C;
}
}
@media (orientation: portrait), (max-width: 900px) {
body header {
justify-content: center;
}
}