manymanymany-varia-websites/themes/cetcat/static/css/main.css

319 lines
5.3 KiB
CSS
Raw Normal View History

2017-10-24 10:50:06 +02:00
@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');
2017-10-24 10:50:06 +02:00
font-weight: normal;
font-style: normal;
}
@font-face{
font-family: "CMUconcrete";
src:url('../fonts/cmunorm.ttf');
font-weight: normal;
font-style: normal;
}
@font-face{
font-family: "CMUconcrete";
src:url('../fonts/cmunobx.ttf');
font-weight: bold;
font-style: normal;
}
2017-10-24 10:50:06 +02:00
@font-face{
font-family: "liberation";
src:url('../fonts/cmunit.ttf');
font-weight: normal;
font-style: italic;
2017-10-20 15:59:16 +02:00
}
2017-09-14 23:40:20 +02:00
body{
position: relative;
width: calc(100% - 50px);
2017-09-14 23:40:20 +02:00
min-width: 500px;
top:0px;
left:0px;
margin:0 auto 5em auto;
2017-09-14 23:40:20 +02:00
padding: 0px 15px;
2017-10-20 15:59:16 +02:00
font-family: "liberation", monospace;
font-size: 16px;
line-height:1.8;
font-style: normal;
background-color: rgb(252, 255, 120);
color:black;
}
2017-10-20 15:59:16 +02:00
header {
width:calc(100% - 50px);
margin-top:0;
2017-10-20 15:59:16 +02:00
margin-bottom:4em;
padding-bottom:1em;
font-size: 12px;
line-height: 1.7;
letter-spacing: 0;
}
#content.index header{
font-family: 'CMUconcrete';
font-size: 26px;
line-height: 1.6;
letter-spacing: .035em;
}
#content.index header em{
font-size: 100%;
padding-right: 10px;
}
2017-10-20 15:59:16 +02:00
#content{
margin-top:1em;
}
2017-10-20 15:59:16 +02:00
/****************************/
/* general elements */
a {
color:#7e5211;
2017-07-06 14:28:42 +02:00
}
2017-09-14 23:40:20 +02:00
a:hover{
border:0;
text-decoration: none;
}
2017-07-06 14:28:42 +02:00
2017-09-14 23:40:20 +02:00
hr, .separator hr {
border:0;
2017-11-03 13:49:21 +01:00
border-top:1px dotted #7e5211;
color: black;
margin:2em 0;
2017-07-06 14:28:42 +02:00
}
blockquote {
font-style:italic;
2017-07-06 14:28:42 +02:00
}
ul {
padding-left:0px;
2017-07-06 14:28:42 +02:00
}
2017-09-12 14:56:24 +02:00
h1, h2, h3, h4, h5, h6, #header{
2017-10-24 10:50:06 +02:00
font-family: "cmusans";
2017-10-20 15:59:16 +02:00
margin:0;
padding:0;
2017-09-12 14:56:24 +02:00
}
h1{
font-size: 100%;
}
h2{
font-size: 100%;
font-weight: normal;
text-decoration: underline; }
h3{
font-size: 100%;
font-weight: normal;
}
2017-10-20 15:59:16 +02:00
p{
margin:0 0 1em 0;
}
em{
font-family: 'liberation';
2017-10-20 15:59:16 +02:00
letter-spacing: 0;
2017-10-24 10:50:06 +02:00
font-size: 125%;
line-height: 1.0;
2017-10-20 15:59:16 +02:00
}
pre{
line-height: 1.0;
2017-09-14 23:40:20 +02:00
font-family: monospace;
}
2017-07-06 14:28:42 +02:00
.paginator{
float:right;
margin:0px;
2017-07-06 14:28:42 +02:00
}
#post-list {
padding-left:0px;
margin-top:0px;
}
2017-09-14 23:40:20 +02:00
/****************************/
/* header & #translation */
#translation{
position: absolute;
2017-10-20 15:59:16 +02:00
font-size: 12px;
top:0px;
right:15px;
2017-09-14 23:40:20 +02:00
margin:0;
padding:0;
text-align: right;
2017-09-14 23:40:20 +02:00
}
#translation li{
list-style: none;
}
#translation li.active a{
text-decoration: none;
}
#translation li.active{
font-weight: bold;
}
2017-07-06 14:28:42 +02:00
2017-09-14 23:40:20 +02:00
/****************************/
/* main/index overview page */
#content #post-list{
width: 100%;
}
2017-10-20 15:59:16 +02:00
.summary p{
display: inline;
}
.long-read .hentry{
width:calc(400px + 2em);
}
2017-09-12 14:56:24 +02:00
.hentry{
display: inline-block;
width: 200px;
2017-10-20 15:59:16 +02:00
font-size: 12px;
line-height: 1.6;
margin:0 2em 2em 0;
2017-09-14 23:40:20 +02:00
padding:0;
2017-10-20 15:59:16 +02:00
vertical-align: top;
}
.hentry .article-info{
width: 200px;
}
/* title */
2017-09-14 23:40:20 +02:00
.hentry .article-info .entry-title{
width: 100%;
2017-10-24 10:50:06 +02:00
font-family: "cmusans";
font-size: 190%;
2017-10-20 15:59:16 +02:00
font-weight: bold;
2017-10-24 10:50:06 +02:00
line-height: 1.10;
2017-11-03 13:49:21 +01:00
margin:0;
2017-10-20 15:59:16 +02:00
}
.hentry .article-info .entry-title a{
text-decoration: none;
}
/* date */
.event-details{
width: 100%;
font-family: 'CMUconcrete';
font-size: 12px;
margin:.5em 0 1em 0;
}
/* ascii art styling */
.hentry pre{
font-size: 14.4px;
font-weight: normal;
2017-09-14 23:40:20 +02:00
}
/* featured image */
.hentry .article-info .featured-image img{
width:200px;
max-height: 100%;
}
/* double-blocks for super important categories */
.hentry.longread, .hentry.longread .article-info, .hentry.longread .featured-image img{
width: calc(400px + 2em);
2017-11-03 13:49:21 +01:00
}
2017-09-14 23:40:20 +02:00
/****************************/
/* article */
2018-02-01 20:47:52 +01:00
#content.body .article-info{
position: fixed;
2017-11-03 13:49:21 +01:00
}
2017-09-12 14:56:24 +02:00
.article-info{
width:200px;
float: left;
margin-bottom:1em;
}
2018-02-01 20:47:52 +01:00
#content.body .entry-title{
display:inline-block;
font-family: "cmusans";
font-size: 180%;
line-height: 1.25;
font-weight: bold;
margin:30px 0 30px 275px;
color:#7e5211;
width: calc(100% - 275px);
2017-09-14 23:40:20 +02:00
}
.article-info .featured-image img{
max-width: 200px;
max-height: 300px;
2017-09-14 23:40:20 +02:00
}
.post-info{
font-size: 14px;
font-style: italic;
line-height: 0.95;
2017-09-14 23:40:20 +02:00
}
.post-info sup{
font-size: 100%;
}
.post-info .categories{
margin: 5px 0;
}
.entry-content-container, #page-content-container{
width: calc(100% - 285px);
background-color: rgba(255,255,0,.3);
float: right;
padding:30px;
margin-bottom:25px;
}
.entry-content, #page-content{
position: relative;
max-width: 700px;
margin:0 auto 0 20px;
2017-09-14 23:40:20 +02:00
}
.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-left:-270px;
}
.entry-content span.simple-footnote-content{
font-size: 12px;
line-height: 1.1;
word-wrap:break-word;
}
.entry-content blockquote{
font-size: 150%;
margin:0 3em;
line-height: 1.5;
}
2017-09-14 23:40:20 +02:00
/****************************/
/* other */
2017-07-06 14:28:42 +02:00
.highlight{
margin: auto;
max-width:800px;
}
.divider {
font-size:14.8px;
2017-07-06 14:28:42 +02:00
width:100%;
line-height:1em;
background-color:white;
}
#categories {
font-size: 40px;
margin-top: 2em;
text-align: center;
2017-07-06 14:28:42 +02:00
}
.simple-footnotes{
font-size:14px;
margin:auto;
max-width:800px;
}
.author{
display: none;
2017-07-06 14:28:42 +02:00
}
2018-02-01 13:42:09 +01:00
/* add a monochrome filter over past events */
.featured-image.past-event img{
filter:opacity(0.25);
2018-02-01 13:42:09 +01:00
/*filter: url("/images/filter.svg#monochrome");
-webkit-filter: url("/images/filter.svg#monochrome");*/
}