91 lines
936 B
CSS
91 lines
936 B
CSS
body {
|
|
font-family: sans-serif;
|
|
line-height: 1.5em;
|
|
}
|
|
|
|
.container {
|
|
max-width: 800px;
|
|
margin: auto;
|
|
}
|
|
|
|
header {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
header h1 {
|
|
font-size: 1.6em;
|
|
}
|
|
|
|
header a {
|
|
text-decoration: none;
|
|
color: black;
|
|
}
|
|
|
|
header * {
|
|
display: inline;
|
|
}
|
|
|
|
@media (max-width: 800px) {
|
|
nav {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
nav {
|
|
margin-left: auto;
|
|
}
|
|
|
|
nav li {
|
|
padding: 20px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
|
|
nav a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
main {
|
|
margin-top: 50px;
|
|
}
|
|
|
|
h1, h2, h3 {
|
|
margin-bottom: 5px;
|
|
line-height: 1.2em;
|
|
}
|
|
|
|
h2 {
|
|
border-bottom: 1px solid #000;
|
|
}
|
|
|
|
.date {
|
|
font-style: italic;
|
|
}
|
|
|
|
.small {
|
|
font-size: 0.8em;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
max-height: 500px;
|
|
}
|
|
|
|
.center-img img {
|
|
display: block;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
figcaption {
|
|
text-align: center;
|
|
font-style: italic;
|
|
}
|
|
|
|
.chroma {
|
|
padding: 10px;
|
|
overflow-x: scroll;
|
|
}
|