2019-09-19 19:34:53 +00:00
|
|
|
/* vim: set ts=2 sw=2 tw=80 et: */
|
|
|
|
|
|
|
|
body {
|
|
|
|
font-family: 'Fira Sans', sans-serif;
|
|
|
|
background: #ffe;
|
|
|
|
width: 100%;
|
|
|
|
margin: 0;
|
|
|
|
min-height: 100vh;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
header, footer {
|
|
|
|
padding: 1rem 0;
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
background: rgba(255,0,0,0.5);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 769px) {
|
2019-09-20 14:50:49 +00:00
|
|
|
.content {
|
2019-09-19 19:34:53 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav, aside {
|
|
|
|
flex: 0 1 10rem;
|
|
|
|
}
|
|
|
|
|
2019-09-20 14:50:49 +00:00
|
|
|
main {
|
2019-09-19 19:34:53 +00:00
|
|
|
flex: 1 2;
|
2019-09-20 14:50:49 +00:00
|
|
|
max-width: 80%;
|
2019-09-19 19:34:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 768px) {
|
2019-09-20 14:50:49 +00:00
|
|
|
.content {
|
2019-09-19 19:34:53 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2019-09-20 14:50:49 +00:00
|
|
|
main {
|
2019-09-19 19:34:53 +00:00
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-09-20 14:50:49 +00:00
|
|
|
.content {
|
2019-09-19 19:34:53 +00:00
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav, aside {
|
|
|
|
background: rgba(200,100,0,0.3);
|
|
|
|
}
|
|
|
|
|
2019-09-20 14:50:49 +00:00
|
|
|
main {
|
|
|
|
padding: .5rem;
|
|
|
|
}
|
|
|
|
|
2019-09-19 19:34:53 +00:00
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
margin: 0;
|
|
|
|
padding: .5rem;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
figure {
|
|
|
|
background: rgba(0,0,0,0.05);
|
2019-09-20 16:21:34 +00:00
|
|
|
max-width: 500px;
|
2019-09-20 14:50:49 +00:00
|
|
|
width: 100%;
|
|
|
|
margin: 1rem 2rem 1rem 0;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
2019-09-21 12:39:28 +00:00
|
|
|
@media screen and (min-width: 769px) {
|
|
|
|
figure.img {
|
|
|
|
max-width: 240px;
|
|
|
|
max-height: 240px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-09-20 16:21:34 +00:00
|
|
|
figure.full-width {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2019-09-20 14:50:49 +00:00
|
|
|
article section.title {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
|
|
|
article section.title a.author[data-me] {
|
|
|
|
color: #DDD;
|
|
|
|
text-decoration: underline;
|
|
|
|
background: black;
|
|
|
|
padding: .125rem .25rem;
|
|
|
|
}
|
|
|
|
|
2019-09-20 16:21:34 +00:00
|
|
|
figure.right {
|
2019-09-20 14:50:49 +00:00
|
|
|
margin: 1rem 0rem 1rem 2rem;
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 768px) {
|
2019-09-20 16:21:34 +00:00
|
|
|
figure, article figure:nth-child(odd) {
|
2019-09-20 14:50:49 +00:00
|
|
|
width: 100%;
|
2019-09-20 16:21:34 +00:00
|
|
|
max-width: 100%;
|
2019-09-20 14:50:49 +00:00
|
|
|
margin: 0;
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
figure img {
|
|
|
|
width: 100%;
|
2019-09-19 19:34:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
figcaption {
|
|
|
|
text-align: center;
|
|
|
|
padding: .5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
audio {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav ul, aside ul {
|
|
|
|
list-style-type: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav ul li, aside ul li {
|
|
|
|
padding: .5rem;
|
|
|
|
text-align: center;
|
|
|
|
background: rgba(0,0,0,.1);
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav ul li:nth-child(even), aside ul li:nth-child(even) {
|
|
|
|
background: rgba(0,0,0,.05);
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
font-weight: bold;
|
2019-09-20 14:50:49 +00:00
|
|
|
transition: color 200ms;
|
2019-09-19 19:34:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
a:link {
|
|
|
|
color: #36c;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:visited {
|
|
|
|
color: #50c;
|
|
|
|
}
|
|
|
|
|
2019-09-20 14:50:49 +00:00
|
|
|
a:hover, a:active {
|
2019-09-19 19:34:53 +00:00
|
|
|
color: #603;
|
|
|
|
}
|
|
|
|
|
2019-09-20 14:50:49 +00:00
|
|
|
main p {
|
2019-09-19 19:34:53 +00:00
|
|
|
text-align: justify;
|
|
|
|
}
|
|
|
|
|
2019-09-20 14:50:49 +00:00
|
|
|
main section {
|
2019-09-19 19:34:53 +00:00
|
|
|
padding: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
|
|
|
display: flex;
|
|
|
|
align-itemss: center;
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer a {
|
|
|
|
padding: 0 .5rem;
|
|
|
|
display: block;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer section {
|
|
|
|
padding: 0 .5rem;
|
|
|
|
font-size: 0.85rem;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer section p {
|
|
|
|
margin: .25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
dt {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
dt::after {
|
|
|
|
content: ":"
|
|
|
|
}
|
2019-09-20 14:50:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
pre, code {
|
|
|
|
font-family: 'Fira Mono', monospace;
|
|
|
|
font-size: 0.95rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
white-space: pre-wrap;
|
|
|
|
margin: 0;
|
|
|
|
padding: .5rem;
|
|
|
|
background: rgba(0,0,0,0.05);
|
|
|
|
}
|
|
|
|
|
|
|
|
h1, h1 code {
|
|
|
|
font-size: 2rem;
|
|
|
|
}
|