serene-golang-implementation/website/site/themes/anybodyhome/static/css/styles.css

163 lines
2.2 KiB
CSS

@import 'https://fonts.googleapis.com/css?family=Lobster|Quicksand|Cutive+Mono';
body {
width: 600px;
margin: 0 auto;
font-size: 18px;
font-weight: 400;
font-family: 'Quicksand', sans-serif;
min-height: 100vh;
display: flex;
flex-direction: column;
color: #000;
}
main {
flex: 1;
}
@media(max-device-width: 667px) {
body {
width: 100%;
box-sizing: border-box;
padding: 0 80px;
}
}
a {
text-decoration: none;
color: #336699;
}
a:visited {
color: #333;
}
a:hover {
color: #C0C0C0;
}
p {
line-height: 1.4;
text-align: justify;
}
@media(max-device-width: 667px) {
p {
font-size: 3em;
}
}
img {
max-width: 100%;
}
section#header {
margin: 40px 0;
}
section#header h1 {
font-size: 2em;
text-align: center;
font-family: 'Lobster', cursive;
margin: 0 0 9px 0;
}
@media(max-device-width: 667px) {
section#header h1 {
font-size: 6em;
margin: 0 0 30px 0;
}
}
section#header h2 {
font-family: 'Cutive Mono', monospace;
font-size: 0.8em;
text-align: center;
}
@media(max-device-width: 667px) {
section#header h2 {
font-size: 1.5em;
}
}
section.summary {
padding: 0 0 0 10px;
border-left: 1px solid black;
margin: 0 0 60px 0;
}
@media(max-device-width: 667px) {
section.summary {
padding: 0 0 0 0;
border-left: 0px solid black;
}
}
section.summary article {
margin: 15px 0 0 0;
}
section h2 {
font-size: 1.3em;
font-family: 'Lobster', cursive;
}
@media(max-device-width: 667px) {
section h2 {
font-size: 4em;
padding-bottom: 5px;
}
}
section h2 a {
color: #000;
}
section time {
font-family: 'Cutive Mono', monospace;
margin: 0 0 0 2px;
font-size: 0.8em;
}
section article {
margin: 15px 0 0 0;
}
section#paginator {
margin: 0 0 140px 0;
font-family: 'Lobster', cursive;
}
@media(max-device-width: 667px) {
section#paginator {
font-size: 5em;
padding-bottom: 60px;
}
}
section#paginator #next {
float: right;
}
#post {
margin: 0 0 100px 0;
}
.videoWrapper {
position: relative;
padding-bottom: 56.25%; /* 16:9 */
padding-top: 25px;
height: 0;
margin: 10px;
}
.videoWrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}