varia.website/themes/cetcat/static/css/main.css

254 lines
3.8 KiB
CSS

@font-face{
font-family: "cmusans";
src:url('../fonts/cmunssdc.ttf');
font-weight: normal;
font-style: normal;
}
@font-face{
font-family: "liberation";
src:url('../fonts/LiberationMono.ttf');
font-weight: normal;
font-style: normal;
}
@font-face{
font-family: "liberation";
src:url('../fonts/cmunit.ttf');
font-weight: normal;
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: "liberation", monospace;
font-size: 18px;
line-height:1.7;
font-style: normal;
background-color: rgb(252, 255, 120);
color:black;
}
header {
width:calc(100% - 50px);
margin-top:15px;
margin-bottom:4em;
padding-bottom:1em;
font-size: 12px;
line-height: 1.7;
letter-spacing: 0;
}
#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-top:1em;
margin-bottom:1em;
}
blockquote {
font-style:italic;
}
ul {
padding-left:0px;
}
h1, h2, h3, h4, h5, h6, #header{
font-family: "cmusans";
margin:0;
padding:0;
}
h1{
font-size: 100%;
}
h2{
font-size: 100%;
font-weight: normal;
text-decoration: underline; }
h3{
font-size: 100%;
font-weight: normal;
}
p{
margin:0 0 1em 0;
}
em{
letter-spacing: 0;
font-size: 125%;
line-height: 1.0;
}
pre{
line-height: 1.0;
font-family: monospace;
}
.paginator{
float:right;
margin:0px;
}
#post-list {
padding-left:0px;
margin-top:0px;
}
/****************************/
/* header & #translation */
#translation{
position: absolute;
font-size: 12px;
top:-5px;
right:5px;
margin:0;
padding:0;
}
#translation li{
list-style: none;
display: inline-block;
}
#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;
}
.summary img{
width: 100%;
margin:0 0 1em 0;
}
.long-read .hentry{
width:calc(400px + 2em);
}
.hentry{
display: inline-block;
width: 200px;
font-size: 12px;
line-height: 1.6;
margin:0 2em 2em 0;
padding:0;
vertical-align: top;
}
.hentry .article-info .entry-title{
font-family: "cmusans";
font-size: 190%;
font-weight: bold;
line-height: 1.10;
margin:0;
}
.hentry .article-info .entry-title a{
text-decoration: none;
8}
/* ascii art styling */
.hentry pre{
font-size: 14.4px;
font-weight: normal;
}
.event-details{
font-weight: bold;
margin:.5em 0 1em 0;
}
/****************************/
/* article */
.article-info, .post-info{
color:#7e5211;
}
.article-info{
margin-bottom:1em;
}
.article-info .post-info time sup{
font-size: 100%;
}
.article-info .entry-title{
width:100%;
display:inline-block;
font-family: "cmusans";
font-size: 280%;
line-height: 1.5;
font-weight: bold;
}
.entry-content, #page-content{
width: 800px;
margin:0;
}
.entry-content img, .summary img, #page-content img{
max-width:100%;
}
.entry-content .seperator hr, #page-content hr{
max-width: 50%;
}
.post-info{
font-size: 14px;
font-style: italic;
line-height: 0.95;
}
.post-info sup{
font-size: 100%;
}
.post-info .categories{
margin: 5px 0;
}
/****************************/
/* 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 */
.past-event img{
filter:opacity(0.1);
/*filter: url("/images/filter.svg#monochrome");
-webkit-filter: url("/images/filter.svg#monochrome");*/
}