Varia's website https://varia.zone
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

456 lines
8.0 KiB

@font-face{
font-family: "header";
src:url('../fonts/cmuntt.ttf');
font-weight: normal;
font-style: normal;
}
@font-face{
font-family: "kop";
src:url('../fonts/cmunssdc.ttf');
font-weight: normal;
font-style: normal;
}
@font-face{
font-family: "main";
src:url('../fonts/cooper-hewitt/CooperHewitt-Medium.otf');
font-weight: normal;
font-style: normal;
}
@font-face{
font-family: "main";
src:url('../fonts/cooper-hewitt/CooperHewitt-Bold.otf');
font-weight: bold;
font-style: normal;
}
@font-face{
font-family: "main";
src:url('../fonts/cooper-hewitt/CooperHewitt-MediumItalic.otf');
font-weight: normal;
font-style: italic;
}
@font-face{
font-family: "main";
src:url('../fonts/cooper-hewitt/CooperHewitt-BoldItalic.otf');
font-weight: bold;
font-style: italic;
}
body{
position: relative;
width: calc(100% - 100px);
min-width: 500px;
top:0px;
left:0px;
margin:15px;
padding:0 10px;
font-family: "main", monospace;
font-size: 22px;
line-height:1.65;
background-color: rgba(238, 238, 238, 0.5);
color:#164515;
}
/****************************/
/* general elements */
a {
color:#7e5211;
}
a:hover{
border:0;
text-decoration: none;
}
h1, h2, h3, h4, h5, h6, #header{
margin:0;
padding:0;
}
h1{
font-family: "kop";
font-size: 100%;
}
h2{
font-size: 100%;
text-decoration: underline;
}
h3{
font-size: 100%;
font-weight: normal;
}
p{
margin:0 0 1em 0;
}
em{
}
small{
display: block;
font-size: 15px;
line-height: 1.2;
margin-top:0.5em;
}
sup{
font-size: 12px;
}
pre{
line-height: 1.0;
font-family: monospace;
}
hr, .separator hr {
border:0;
border-top:1px dotted #7e5211;
color: black;
margin:1em 0 .5em;
}
blockquote {
font-style:italic;
}
ul {
padding-left:0px;
}
.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: 12px;
margin:0;
}
/* date */
.article-info .event-details{
color:#164515;
}
/* featured image */
.article-info .featured-image img{
width:100%;
margin:0.5em 0;
}
.event-details .article-event-start{
margin-bottom:1em;
}
/* category & translation link */
.post-info{
font-size: 12px;
font-style: italic;
}
.post-info time{
display: block;
}
.post-info sup{
font-size: 80%;
}
.post-info .article-authors{
display: block;
}
.post-info .article-translation{
margin-top:1em;
}
.post-info .categories:before, .post-info .article-translation:before{
content:'↓';
color:#7e5211;
font-family: sans-serif;
padding-right: 5px;
}
.post-info .article-translation:before{
content:'→';
}
/****************************/
/* streambot */
#background{
display: block;
position: fixed;
top:0px;
left:0px;
width: 100%;
height: 100vh;
z-index: -1;
opacity: 0.15;
background-clip: padding-box;
background-position: center center;
background-size: cover;
}
#stream{
min-height: 200px;
font-size: 14px;
margin:2em 0 2em 0;
border:1px dotted;
min-height: 300px;
}
#stream .log{
display: inline-block;
}
#stream a.container{
background-clip: padding-box;
background-position: center center;
background-size: cover;
/*height: none;*/
/*width: none;*/
}
/* reset header img styles */
#stream a.container img{
min-width: none;
min-height: none;
width: 100px;
height: auto;
}
#stream a{
display: block;
}
#stream.overview{
width: 100%;
}
div#stream a:nth-child(odd) {
transform: skew(-2deg);
}
div#stream a:nth-child(even) {
transform: skew(2deg);
}
/****************************/
/* header & #translation */
header {
width:100%;
min-height: 230px;
font-family: "header";
font-size: 17px;
line-height: 1.6;
letter-spacing: -0.03em;
}
/* custom font size for index */
#content.index header{
font-size: 24px;
line-height: 1.5;
margin-top:0;
}
header #about{
display: inline-block;
width: calc(100% - 130px);
}
header #about p{
display: inline;
}
header #colophon{
position: relative;
float: right;
margin:8px 0 10px 0;
padding:0;
width:100px;
text-align: center;
font-family: "main";
font-size: 14px;
letter-spacing: 0em;
}
#colophon a.active{
text-decoration: none;
}
#colophon a.active:hover{
cursor: default;
}
/****************************/
/* main/index overview page */
#content #post-list{
width: 100%;
}
.summary p{
display: inline;
}
.summary .read_more:before{
content:'→';
padding: 0 5px;
font-family: sans-serif;
font-size:12px;
color:#7e5211;
}
.article.hentry, /*.documentation.hentry*/{
width:calc(400px + 2em);
}
.hentry{
display: inline-block;
width: 200px;
font-size: 14px;
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;
min-height: 1.65em;
font-family: monospace;
}
/* title */
.hentry .article-info .entry-title{
display: block;
width: 100%;
font-family: "kop";
font-size: 170%;
font-weight: bold;
line-height: 1.15;
margin:0;
}
.hentry .article-info .entry-title a{
text-decoration: none;
color: #164515;
}
/* ascii art styling */
.hentry pre{
font-size: 14.4px;
font-weight: normal;
clear:both; /*to prevent the ascii to break up*/
}
/* custom css for upcoming events */
.hentry.current, .hentry.current .entry-title a, .hentry.current .summary .read_more a, .hentry.current .summary .read_more::before, .hentry.current .post-info a, .hentry.current .post-info .categories::before, .hentry.current .event-details{
/*color:blue;*/
}
.hentry.current .separator hr{
/*border-top: 1px dotted blue;*/
}
/* upcoming */
.current .article-info .event-details::after{
/*background-color:pink;*/
content:'UPCOMING';
font-size: 11px;
transform: rotate(0deg);
position: absolute;
padding: 5px;
border-radius: 100%;
margin-left: 1em;
-webkit-animation: 0.2s linear 1s infinite alternate blink;
animation: 0.2s linear 1s infinite alternate blink;
}
/* double-blocks for articles */
.hentry.article, .hentry.artikel {
width: calc(400px + 1em);
}
/* custom css for articles */
.hentry.article, .hentry.artikel{
padding:1.5em 1em 1em 1em;
border:1px dashed #7e5211;
border-radius:15px;
}
/****************************/
/* page */
div#page-content{
margin-top:3em;
}
/****************************/
/* article */
#content.body .entry-title{
display:inline-block;
font-family: "kop";
font-size: 250%;
line-height: 1.25;
font-weight: bold;
margin:30px 0 30px 250px;
color:#7e5211;
width: calc(100% - 250px);
}
#content.body .article-info{
width:200px;
float: left;
}
/****************************/
/* page + article */
.entry-content-container, #page-content-container{
width: calc(100% - 260px);
float: right;
padding:0 30px;
margin-bottom:25px;
}
.entry-content, #page-content{
position: relative;
max-width: 750px;
margin:-3px auto 0 20px;
}
.entry-content img, #page-content img{
max-height:400px;
}
.entry-content .seperator hr, #page-content hr{
width:100%;
}
/****************************/
/* 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;
}
.author{
/*display: none;*/
}
iframe{
width: 100%;
height: auto;
min-height: 500px;
margin:0.5em 0 1em 0;
}
/*footnotes*/
sup span{
float: right;
width: 200px;
margin:0.25em -150px 1em 3em;
clear:both;
font-size: 11px;
line-height: 1.5;
display: inline;
}
sup span p{
display: inline;
}
/* animations */
@-webkit-keyframes blink { from { opacity: 1; } to { opacity: 0.2; } }
@keyframes blink { from { opacity: 1; } to { opacity: 0.2; }
@-webkit-keyframes wobble { from { transform: rotate(-15deg); } to { transform: rotate(15deg); } }
@keyframes wobble { from { transform: rotate(-15deg); } to { transform: rotate(15deg); } }