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

292 lines
4.3 KiB
CSS
Raw Normal View History

2017-07-06 14:28:42 +02:00
@font-face {
font-family: 'NowBlack';
src: url('../fonts/Now-Black.otf') format('opentype');
font-weight: normal;
font-style: normal;
}
2017-07-06 14:28:42 +02:00
@font-face {
font-family: 'NowBold';
src: url('../fonts/Now-Bold.otf') format('opentype');
font-weight: bold;
font-style: normal;
}
2017-07-06 14:28:42 +02:00
@font-face {
font-family: 'NowLight';
src: url('../fonts/Now-Light.otf') format('opentype');
font-weight: normal;
font-style: normal;
}
2017-07-06 14:28:42 +02:00
@font-face {
font-family: 'NowMedium';
src: url('../fonts/Now-Medium.otf') format('opentype');
font-weight: normal;
font-style: normal;
}
2017-07-06 14:28:42 +02:00
@font-face {
font-family: 'NowRegular';
src: url('../fonts/Now-Regular.otf') format('opentype');
font-weight: normal;
font-style: normal;
}
2017-07-06 14:28:42 +02:00
@font-face {
font-family: 'NowThin';
src: url('../fonts/Now-Thin.otf') format('opentype');
font-weight: normal;
font-style: normal;
}
@font-face{
font-family: "liberation";
src:url('../fonts/LiberationMono.ttf');
2017-09-14 23:40:20 +02:00
}
@font-face{
font-family: "Inconsolata";
src:url('../fonts/Inconsolata/Inconsolata.otf');
}
2017-07-06 14:28:42 +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;
font-family: "Inconsolata", monospace;
font-size: 18px;
line-height:1.6;
font-style: normal;
background-color: rgb(252, 255, 120);
color:black;
}
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-09-14 23:40:20 +02:00
border-top:1px dotted;
color: black;
margin-top:1em;
margin-bottom:1em;
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{
margin:0 0 0 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-07-06 14:28:42 +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;
font-size: 14.8px;
2017-09-14 23:40:20 +02:00
top:-15px;
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;
}
2017-07-06 14:28:42 +02:00
header {
2017-09-14 23:40:20 +02:00
width:calc(100% - 50px);
margin-top:1em;
line-height: 1.5em;
padding-bottom:1em;
}
#title p{
font-family: "Liberation", monospace;
font-size: 20px;
line-height: 1.7;
font-weight: normal;
/*font-family: "CompModern", monospace;
font-size: 24px;
line-height: 1.3;
font-weight: bold;*/
}
#title pre{
font-family: 'Inconsolata';
font-size: 12px;
line-height: 1.0;
float: left;
width: 200px;
height: 200px;
margin-right: 2em;
padding-right: 5px;
}
#content{
margin-top:1em;
2017-07-06 14:28:42 +02:00
}
2017-09-14 23:40:20 +02:00
/****************************/
/* main/index overview page */
2017-09-14 23:40:20 +02:00
#content #post-list{
width: 100%;
}
2017-09-12 14:56:24 +02:00
.hentry{
float: left;
display: inline-block;
width: 200px;
font-size: 14.8px;
line-height: 1.5;
margin:0 2em 2em 0;
2017-09-14 23:40:20 +02:00
padding:0;
}
2017-09-14 23:40:20 +02:00
.hentry .article-info .entry-title{
font-size: 120%;
font-weight: normal;
line-height: 1.1;
}
2017-07-06 14:28:42 +02:00
/* ascii art styling */
.hentry pre{
font-size: 14.4px;
font-weight: normal;
2017-09-14 23:40:20 +02:00
}
/****************************/
/* article */
2017-09-12 14:56:24 +02:00
.article-info{
margin-bottom:1em;
}
2017-09-14 23:40:20 +02:00
.article-info .post-info time sup{
font-size: 100%;
}
2017-09-14 23:40:20 +02:00
.article-info .entry-title{
width:100%;
display:inline-block;
2017-09-14 23:40:20 +02:00
font-size: 22px;
line-height: 1.5;
font-weight: bold;
}
2017-09-14 23:40:20 +02:00
2017-07-06 14:28:42 +02:00
.entry-content{
width: 50%;
2017-07-06 14:28:42 +02:00
}
2017-09-14 23:40:20 +02:00
.entry-content img, .summary img{
max-width:100%;
}
.entry-content .seperator hr{
max-width: 50%;
}
.post-info{
font-size: 13px;
}
2017-09-14 23:40:20 +02:00
.post-info sup{
font-size: 100%;
}
.post-info .categories{
margin: 3px 0;
}
/****************************/
/* pages */
#page-content{
width: 50%;
}
#page-content p{
margin:0 0 28.8px 0; /* line height 1.8 = 28.8px */
}
#page-content img{
position: relative;
width:25%;
margin:0 -100% 15px 0;
float: right;
left:10px;
}
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
}
#pertaining{
2017-09-14 23:40:20 +02:00
display: none;
2017-07-06 14:28:42 +02:00
margin-top:2em;
text-align:center;
}
.simple-footnotes{
font-size:14px;
margin:auto;
max-width:800px;
}
.author{
display: none;
2017-07-06 14:28:42 +02:00
}