forked from varia/varia.website
292 lines
4.3 KiB
CSS
292 lines
4.3 KiB
CSS
@font-face {
|
|
font-family: 'NowBlack';
|
|
src: url('../fonts/Now-Black.otf') format('opentype');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'NowBold';
|
|
src: url('../fonts/Now-Bold.otf') format('opentype');
|
|
font-weight: bold;
|
|
font-style: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'NowLight';
|
|
src: url('../fonts/Now-Light.otf') format('opentype');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'NowMedium';
|
|
src: url('../fonts/Now-Medium.otf') format('opentype');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'NowRegular';
|
|
src: url('../fonts/Now-Regular.otf') format('opentype');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
@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');
|
|
}
|
|
@font-face{
|
|
font-family: "Inconsolata";
|
|
src:url('../fonts/Inconsolata/Inconsolata.otf');
|
|
}
|
|
|
|
body{
|
|
position: relative;
|
|
width: calc(100% - 50px);
|
|
min-width: 500px;
|
|
top:0px;
|
|
left:0px;
|
|
margin:0 auto 5em auto;
|
|
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;
|
|
}
|
|
a:hover{
|
|
border:0;
|
|
text-decoration: none;
|
|
}
|
|
|
|
hr, .separator hr {
|
|
border:0;
|
|
border-top:1px dotted;
|
|
color: black;
|
|
margin-top:1em;
|
|
margin-bottom:1em;
|
|
}
|
|
|
|
blockquote {
|
|
font-style:italic;
|
|
}
|
|
|
|
ul {
|
|
padding-left:0px;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6, #header{
|
|
margin:0 0 0 0;
|
|
padding:0;
|
|
}
|
|
h1{
|
|
font-size: 100%;
|
|
}
|
|
h2{
|
|
font-size: 100%;
|
|
font-weight: normal;
|
|
text-decoration: underline; }
|
|
h3{
|
|
font-size: 100%;
|
|
font-weight: normal;
|
|
}
|
|
|
|
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: 14.8px;
|
|
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;
|
|
}
|
|
|
|
header {
|
|
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;
|
|
}
|
|
|
|
/****************************/
|
|
/* main/index overview page */
|
|
|
|
#content #post-list{
|
|
width: 100%;
|
|
}
|
|
.hentry{
|
|
float: left;
|
|
display: inline-block;
|
|
width: 200px;
|
|
font-size: 14.8px;
|
|
line-height: 1.5;
|
|
margin:0 2em 2em 0;
|
|
padding:0;
|
|
}
|
|
.hentry .article-info .entry-title{
|
|
font-size: 120%;
|
|
font-weight: normal;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
/* ascii art styling */
|
|
.hentry pre{
|
|
font-size: 14.4px;
|
|
font-weight: normal;
|
|
}
|
|
|
|
/****************************/
|
|
/* article */
|
|
.article-info{
|
|
margin-bottom:1em;
|
|
}
|
|
.article-info .post-info time sup{
|
|
font-size: 100%;
|
|
}
|
|
.article-info .entry-title{
|
|
width:100%;
|
|
display:inline-block;
|
|
font-size: 22px;
|
|
line-height: 1.5;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.entry-content{
|
|
width: 50%;
|
|
}
|
|
.entry-content img, .summary img{
|
|
max-width:100%;
|
|
}
|
|
.entry-content .seperator hr{
|
|
max-width: 50%;
|
|
}
|
|
.post-info{
|
|
font-size: 13px;
|
|
}
|
|
.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;
|
|
}
|
|
|
|
|
|
/****************************/
|
|
/* 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;
|
|
}
|
|
#pertaining{
|
|
display: none;
|
|
margin-top:2em;
|
|
text-align:center;
|
|
|
|
}
|
|
.simple-footnotes{
|
|
font-size:14px;
|
|
margin:auto;
|
|
max-width:800px;
|
|
}
|
|
|
|
.author{
|
|
display: none;
|
|
}
|
|
|
|
|