forked from varia/varia.website
375 lines
6.5 KiB
CSS
375 lines
6.5 KiB
CSS
@font-face{
|
|
font-family: "cmusans";
|
|
src:url('../fonts/cmunssdc.ttf');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
@font-face{
|
|
font-family: "header";
|
|
src:url('../fonts/CourierCode-Roman.ttf');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
@font-face{
|
|
font-family: "brood";
|
|
src:url('../fonts/CourierCode-Roman.ttf');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
@font-face{
|
|
font-family: "brood";
|
|
src:url('../fonts/CourierCode-Bold.ttf');
|
|
font-weight: bold;
|
|
font-style: normal;
|
|
}
|
|
@font-face{
|
|
font-family: "brood";
|
|
src:url('../fonts/CourierCode-Italic.ttf');
|
|
font-weight: normal;
|
|
font-style: italic;
|
|
}
|
|
@font-face{
|
|
font-family: "brood";
|
|
src:url('../fonts/CourierCode-BoldItalic.ttf');
|
|
font-weight: bold;
|
|
font-style: italic;
|
|
}
|
|
body{
|
|
position: relative;
|
|
width: calc(100% - 50px);
|
|
min-width: 500px;
|
|
top:0px;
|
|
left:0px;
|
|
margin:0 auto 5em auto;
|
|
padding: 0px 15px;
|
|
font-family: "brood", monospace;
|
|
font-size: 14px;
|
|
line-height:1.8;
|
|
background-color: rgba(252, 255, 120, .7);
|
|
color:black;
|
|
}
|
|
#content{
|
|
margin-top:1em;
|
|
}
|
|
|
|
/****************************/
|
|
/* general elements */
|
|
a {
|
|
color:#7e5211;
|
|
}
|
|
a:hover{
|
|
border:0;
|
|
text-decoration: none;
|
|
}
|
|
|
|
hr, .separator hr {
|
|
border:0;
|
|
border-top:1px dotted #7e5211;
|
|
color: black;
|
|
margin:1em 0 .5em;
|
|
}
|
|
|
|
blockquote {
|
|
font-style:italic;
|
|
}
|
|
|
|
ul {
|
|
padding-left:0px;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6, #header{
|
|
margin:0;
|
|
padding:0;
|
|
}
|
|
h1{
|
|
font-family: "header";
|
|
font-size: 100%;
|
|
}
|
|
h2{
|
|
font-size: 100%;
|
|
font-family: "header";
|
|
font-weight: normal;
|
|
text-decoration: underline;
|
|
}
|
|
h3{
|
|
font-size: 100%;
|
|
font-weight: normal;
|
|
}
|
|
p{
|
|
margin:0 0 1em 0;
|
|
}
|
|
pre{
|
|
line-height: 1.0;
|
|
font-family: monospace;
|
|
}
|
|
.paginator{
|
|
float:right;
|
|
margin:0px;
|
|
}
|
|
#post-list {
|
|
padding-left:0px;
|
|
margin-top:0px;
|
|
}
|
|
ul li{
|
|
list-style: none;
|
|
margin: 0 0 0 20px;
|
|
}
|
|
ul li:before{
|
|
content: '* ';
|
|
margin: 0 4px 0 -20px;
|
|
}
|
|
|
|
/* article info */
|
|
.article-info{
|
|
font-size: 14px;
|
|
margin:0;
|
|
}
|
|
/* date */
|
|
.article-info .event-details{
|
|
color:#7e5211;
|
|
}
|
|
/* featured image */
|
|
.article-info .featured-image img{
|
|
width:100%;
|
|
margin:0.5em 0;
|
|
}
|
|
/* category & translation link */
|
|
.post-info{
|
|
font-size: 11px;
|
|
font-style: italic;
|
|
}
|
|
.post-info sup{
|
|
font-size: 100%;
|
|
}
|
|
.post-info .categories:before, .post-info .article-translation:before{
|
|
content:'→';
|
|
color:#7e5211;
|
|
}
|
|
|
|
/****************************/
|
|
/* header & #translation */
|
|
|
|
header {
|
|
width:calc(100% - 50px);
|
|
margin-top:0;
|
|
margin-bottom:5em;
|
|
padding-bottom:1em;
|
|
font-family: 'header';
|
|
font-size: 12px;
|
|
line-height: 1.6;
|
|
}
|
|
header img{
|
|
width: 50px;
|
|
display: inline;
|
|
margin: 0;
|
|
vertical-align: calc(-2px);
|
|
}
|
|
#content.index header{
|
|
/*font-family: 'header';*/
|
|
/*font-size: 22px;*/
|
|
/*line-height: 1.8;*/
|
|
}
|
|
header p{
|
|
display: inline;
|
|
}
|
|
|
|
#stream{
|
|
/*display: none;*/
|
|
display: inline-block;
|
|
}
|
|
#stream .container{
|
|
/*width: 50px;
|
|
height: 50px;
|
|
-webkit-border-radius: 50px;
|
|
-webkit-background-clip: padding-box;
|
|
-moz-border-radius: 50px;
|
|
-moz-background-clip: padding;
|
|
border-radius: 50px;*/
|
|
width: 200px;
|
|
height: 200px;
|
|
-webkit-border-radius: 200px;
|
|
-webkit-background-clip: padding-box;
|
|
-moz-border-radius: 200px;
|
|
-moz-background-clip: padding;
|
|
border-radius: 200px;
|
|
background-clip: padding-box;
|
|
float: left;
|
|
background-size: cover;
|
|
background-position: center center;
|
|
vertical-align: middle;
|
|
display: inline-block;
|
|
margin: 0 .2em 0 0;
|
|
}
|
|
/* reset header img styles */
|
|
#stream .container img{
|
|
min-width: none;
|
|
min-height: none;
|
|
width: none;
|
|
height: none;
|
|
}
|
|
#stream.overview{
|
|
width: 100%;
|
|
}
|
|
#stream.overview .container{
|
|
margin: 0 1em 1em 0;
|
|
}
|
|
|
|
#translation{
|
|
position: absolute;
|
|
font-size: 12px;
|
|
top:0px;
|
|
right:15px;
|
|
margin:0;
|
|
padding:0;
|
|
text-align: right;
|
|
}
|
|
#translation li{
|
|
list-style: none;
|
|
}
|
|
#translation li.active a{
|
|
text-decoration: none;
|
|
}
|
|
#translation li.active{
|
|
font-weight: bold;
|
|
}
|
|
|
|
/****************************/
|
|
/* main/index overview page */
|
|
#content #post-list{
|
|
width: 100%;
|
|
}
|
|
.summary p{
|
|
display: inline;
|
|
}
|
|
.longread.hentry{
|
|
width:calc(400px + 2em);
|
|
font-size: 125%;
|
|
}
|
|
.hentry{
|
|
display: inline-block;
|
|
width: 200px;
|
|
font-size: 13.5px;
|
|
line-height: 1.65;
|
|
margin:0 2em 5em 0;
|
|
padding:0;
|
|
vertical-align: top;
|
|
}
|
|
.hentry .article-info{
|
|
width: 100%;
|
|
}
|
|
.hentry .article-info .event-details{
|
|
margin:5px 0 2px;
|
|
}
|
|
/* title */
|
|
.hentry .article-info .entry-title{
|
|
width: 100%;
|
|
font-family: "header";
|
|
font-size: 165%;
|
|
font-weight: bold;
|
|
line-height: 1.1;
|
|
letter-spacing: -0.08em;
|
|
margin:0;
|
|
}
|
|
.hentry .article-info .entry-title a{
|
|
text-decoration: none;
|
|
}
|
|
/* ascii art styling */
|
|
.hentry pre{
|
|
font-size: 14.4px;
|
|
font-weight: normal;
|
|
clear:both; /*to prevent the ascii to break up*/
|
|
}
|
|
/* double-blocks for super important categories */
|
|
.hentry.current, .hentry.current .article-info, .hentry.current .featured-image img{
|
|
width: calc(400px + 2em);
|
|
}
|
|
|
|
/****************************/
|
|
/* article */
|
|
#content.body .entry-title{
|
|
display:inline-block;
|
|
font-family: "header";
|
|
font-size: 250%;
|
|
line-height: 1.25;
|
|
font-weight: bold;
|
|
margin:30px 0 30px 275px;
|
|
color:#7e5211;
|
|
width: calc(100% - 275px);
|
|
}
|
|
#content.body .article-info{
|
|
width:200px;
|
|
float: left;
|
|
}
|
|
.entry-content-container, #page-content-container{
|
|
width: calc(100% - 285px);
|
|
float: right;
|
|
padding:0 30px;
|
|
margin-bottom:25px;
|
|
}
|
|
.entry-content, #page-content{
|
|
position: relative;
|
|
max-width: 800px;
|
|
margin:-0.5em auto 0 20px;
|
|
}
|
|
.entry-content img, #page-content img{
|
|
max-height:400px;
|
|
}
|
|
.entry-content .seperator hr, #page-content hr{
|
|
width:100%;
|
|
}
|
|
/* Roel's complex footnote effect */
|
|
.entry-content span.simple-footnote-container{
|
|
float: left;
|
|
width: 200px;
|
|
margin:.5em 0 0 -270px;
|
|
}
|
|
.entry-content span.simple-footnote-content{
|
|
display: block;
|
|
font-size: 12px;
|
|
line-height: 1.3;
|
|
word-wrap:break-word;
|
|
}
|
|
.entry-content blockquote{
|
|
font-size: 150%;
|
|
margin:1em 3em 0;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
|
|
/****************************/
|
|
/* other */
|
|
|
|
.highlight{
|
|
margin: auto;
|
|
max-width:800px;
|
|
}
|
|
|
|
.divider {
|
|
font-size:14.8px;
|
|
width:100%;
|
|
line-height:1em;
|
|
background-color:white;
|
|
}
|
|
|
|
#categories {
|
|
font-size: 40px;
|
|
margin-top: 2em;
|
|
text-align: center;
|
|
}
|
|
.simple-footnotes{
|
|
font-size:14px;
|
|
margin:auto;
|
|
max-width:800px;
|
|
}
|
|
|
|
.author{
|
|
display: none;
|
|
}
|
|
|
|
/* add a monochrome filter over past events */
|
|
/*.featured-image.past-event img{*/
|
|
/*filter:opacity(0.25);*/
|
|
/* filter: url("/images/filter.svg#monochrome");
|
|
-webkit-filter: url("/images/filter.svg#monochrome");*/
|
|
/*}*/
|