forked from varia/varia.website
many many many Varia's websites, work in progress: https://many.vvvvvvaria.org
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.
514 lines
8.1 KiB
514 lines
8.1 KiB
7 years ago
|
@font-face{
|
||
7 years ago
|
font-family: "header";
|
||
7 years ago
|
src:url('../fonts/cmuntt.ttf');
|
||
|
font-weight: normal;
|
||
|
font-style: normal;
|
||
|
}
|
||
|
@font-face{
|
||
|
font-family: "kop";
|
||
7 years ago
|
src:url('../fonts/cmunssdc.ttf');
|
||
7 years ago
|
font-weight: normal;
|
||
|
font-style: normal;
|
||
|
}
|
||
7 years ago
|
@font-face{
|
||
7 years ago
|
font-family: "main";
|
||
7 years ago
|
src:url('../fonts/cooper-hewitt/CooperHewitt-Medium.otf');
|
||
7 years ago
|
font-weight: normal;
|
||
|
font-style: normal;
|
||
|
}
|
||
|
@font-face{
|
||
7 years ago
|
font-family: "main";
|
||
7 years ago
|
src:url('../fonts/cooper-hewitt/CooperHewitt-Bold.otf');
|
||
7 years ago
|
font-weight: bold;
|
||
|
font-style: normal;
|
||
|
}
|
||
7 years ago
|
@font-face{
|
||
7 years ago
|
font-family: "main";
|
||
7 years ago
|
src:url('../fonts/cooper-hewitt/CooperHewitt-MediumItalic.otf');
|
||
7 years ago
|
font-weight: normal;
|
||
|
font-style: italic;
|
||
7 years ago
|
}
|
||
7 years ago
|
@font-face{
|
||
7 years ago
|
font-family: "main";
|
||
7 years ago
|
src:url('../fonts/cooper-hewitt/CooperHewitt-BoldItalic.otf');
|
||
7 years ago
|
font-weight: bold;
|
||
|
font-style: italic;
|
||
|
}
|
||
7 years ago
|
body{
|
||
7 years ago
|
position: relative;
|
||
|
width: calc(100% - 50px);
|
||
7 years ago
|
min-width: 500px;
|
||
7 years ago
|
top:0px;
|
||
|
left:0px;
|
||
7 years ago
|
margin:0 auto 5em auto;
|
||
|
padding: 14px 15px;
|
||
7 years ago
|
font-family: "main", monospace;
|
||
7 years ago
|
font-size: 22px;
|
||
|
line-height:1.65;
|
||
|
background-color: rgba(238, 238, 238, 0.5);
|
||
|
color:#164515;
|
||
8 years ago
|
}
|
||
7 years ago
|
#content{
|
||
|
margin-top:1em;
|
||
|
}
|
||
7 years ago
|
|
||
7 years ago
|
/****************************/
|
||
|
/* general elements */
|
||
7 years ago
|
a {
|
||
|
color:#7e5211;
|
||
8 years ago
|
}
|
||
7 years ago
|
a:hover{
|
||
|
border:0;
|
||
|
text-decoration: none;
|
||
|
}
|
||
7 years ago
|
h1, h2, h3, h4, h5, h6, #header{
|
||
7 years ago
|
margin:0;
|
||
7 years ago
|
padding:0;
|
||
7 years ago
|
}
|
||
7 years ago
|
h1{
|
||
7 years ago
|
font-family: "kop";
|
||
7 years ago
|
font-size: 100%;
|
||
|
}
|
||
|
h2{
|
||
|
font-size: 100%;
|
||
7 years ago
|
text-decoration: underline;
|
||
|
}
|
||
7 years ago
|
h3{
|
||
|
font-size: 100%;
|
||
|
font-weight: normal;
|
||
|
}
|
||
7 years ago
|
p{
|
||
|
margin:0 0 1em 0;
|
||
|
}
|
||
7 years ago
|
em{
|
||
|
|
||
7 years ago
|
}
|
||
|
small{
|
||
|
display: block;
|
||
|
font-size: 15px;
|
||
|
line-height: 1.2;
|
||
|
margin-top:0.5em;
|
||
7 years ago
|
}
|
||
|
sup{
|
||
|
font-size: 12px;
|
||
|
}
|
||
7 years ago
|
pre{
|
||
|
line-height: 1.0;
|
||
7 years ago
|
font-family: monospace;
|
||
7 years ago
|
}
|
||
7 years ago
|
|
||
|
hr, .separator hr {
|
||
|
border:0;
|
||
|
border-top:1px dotted #7e5211;
|
||
|
color: black;
|
||
|
margin:1em 0 .5em;
|
||
|
}
|
||
|
|
||
|
blockquote {
|
||
|
font-style:italic;
|
||
|
}
|
||
|
|
||
|
ul {
|
||
|
padding-left:0px;
|
||
|
}
|
||
|
|
||
8 years ago
|
.paginator{
|
||
7 years ago
|
float:right;
|
||
|
margin:0px;
|
||
8 years ago
|
}
|
||
|
#post-list {
|
||
|
padding-left:0px;
|
||
|
margin-top:0px;
|
||
|
}
|
||
7 years ago
|
ul li{
|
||
|
list-style: none;
|
||
|
margin: 0 0 0 20px;
|
||
|
}
|
||
|
ul li:before{
|
||
|
content: '* ';
|
||
|
margin: 0 4px 0 -20px;
|
||
|
}
|
||
|
|
||
|
/* article info */
|
||
|
.article-info{
|
||
7 years ago
|
font-size: 12px;
|
||
7 years ago
|
margin:0;
|
||
|
}
|
||
|
/* date */
|
||
|
.article-info .event-details{
|
||
|
color:#7e5211;
|
||
|
}
|
||
|
/* featured image */
|
||
|
.article-info .featured-image img{
|
||
|
width:100%;
|
||
|
margin:0.5em 0;
|
||
|
}
|
||
7 years ago
|
|
||
|
.event-details .article-event-start{
|
||
|
margin-bottom:1em;
|
||
|
}
|
||
7 years ago
|
/* category & translation link */
|
||
|
.post-info{
|
||
7 years ago
|
font-size: 12px;
|
||
7 years ago
|
font-style: italic;
|
||
|
}
|
||
7 years ago
|
.post-info time{
|
||
|
display: block;
|
||
|
}
|
||
7 years ago
|
.post-info sup{
|
||
7 years ago
|
font-size: 80%;
|
||
7 years ago
|
}
|
||
7 years ago
|
.post-info .article-authors{
|
||
|
display: block;
|
||
|
}
|
||
|
.post-info .article-translation{
|
||
|
margin-top:1em;
|
||
|
}
|
||
7 years ago
|
.post-info .categories:before, .post-info .article-translation:before{
|
||
7 years ago
|
content:'↓';
|
||
7 years ago
|
color:#7e5211;
|
||
7 years ago
|
font-family: sans-serif;
|
||
|
padding-right: 5px;
|
||
7 years ago
|
}
|
||
7 years ago
|
.post-info .article-translation:before{
|
||
|
content:'→';
|
||
|
}
|
||
8 years ago
|
|
||
7 years ago
|
/****************************/
|
||
|
/* header & #translation */
|
||
|
|
||
7 years ago
|
header {
|
||
|
width:calc(100% - 50px);
|
||
7 years ago
|
margin-top:26px;
|
||
6 years ago
|
margin-bottom:1em;
|
||
7 years ago
|
padding-bottom:1em;
|
||
7 years ago
|
font-family: "header";
|
||
|
font-size: 17px;
|
||
7 years ago
|
line-height: 1.6;
|
||
7 years ago
|
letter-spacing: -0.03em;
|
||
7 years ago
|
}
|
||
|
header img{
|
||
|
width: 50px;
|
||
|
display: inline;
|
||
|
margin: 0;
|
||
|
vertical-align: calc(-2px);
|
||
|
}
|
||
7 years ago
|
/* custom font size for index */
|
||
6 years ago
|
#banner {
|
||
7 years ago
|
font-size: 24px;
|
||
|
line-height: 1.5;
|
||
7 years ago
|
}
|
||
|
header p{
|
||
|
display: inline;
|
||
|
}
|
||
|
|
||
|
#stream{
|
||
7 years ago
|
position: absolute;
|
||
|
width: 100%;
|
||
7 years ago
|
}
|
||
7 years ago
|
#stream a .container{
|
||
7 years ago
|
background-clip: padding-box;
|
||
|
background-position: center center;
|
||
|
background-size: cover;
|
||
|
height: 600px;
|
||
|
width: 100%;
|
||
7 years ago
|
}
|
||
|
/* reset header img styles */
|
||
7 years ago
|
#stream a .container img{
|
||
7 years ago
|
min-width: none;
|
||
|
min-height: none;
|
||
|
width: none;
|
||
|
height: none;
|
||
|
}
|
||
7 years ago
|
#stream a{
|
||
|
display: block;
|
||
|
}
|
||
7 years ago
|
#stream.overview{
|
||
|
width: 100%;
|
||
|
}
|
||
7 years ago
|
div#stream a:nth-child(odd) {
|
||
|
transform: skew(-2deg);
|
||
7 years ago
|
}
|
||
7 years ago
|
div#stream a:nth-child(even) {
|
||
|
transform: skew(2deg);
|
||
7 years ago
|
}
|
||
7 years ago
|
|
||
7 years ago
|
.buttons{
|
||
7 years ago
|
position: absolute;
|
||
7 years ago
|
font-size: 14px;
|
||
7 years ago
|
margin:0;
|
||
|
padding:0;
|
||
|
}
|
||
7 years ago
|
.buttons.top, .buttons.side{
|
||
|
top:10px;
|
||
|
right:15px;
|
||
|
text-align: right;
|
||
|
}
|
||
5 years ago
|
.buttons.top.left{
|
||
|
top:10px;
|
||
5 years ago
|
left:35px;
|
||
5 years ago
|
text-align: left;
|
||
|
}
|
||
7 years ago
|
.buttons.side{
|
||
|
top:40px;
|
||
|
}
|
||
|
.buttons.side li{
|
||
|
display: block;
|
||
|
}
|
||
|
.buttons li{
|
||
7 years ago
|
list-style: none;
|
||
7 years ago
|
display: inline-block;
|
||
|
padding-left: 3px;
|
||
7 years ago
|
}
|
||
7 years ago
|
.buttons li.active a{
|
||
7 years ago
|
text-decoration: none;
|
||
|
}
|
||
8 years ago
|
|
||
7 years ago
|
/****************************/
|
||
7 years ago
|
/* main/index overview page */
|
||
7 years ago
|
#content #post-list{
|
||
|
width: 100%;
|
||
|
}
|
||
7 years ago
|
.summary p{
|
||
|
display: inline;
|
||
|
}
|
||
7 years ago
|
.summary .read_more:before{
|
||
|
content:'→';
|
||
|
padding: 0 5px;
|
||
|
font-family: sans-serif;
|
||
|
font-size:12px;
|
||
|
color:#7e5211;
|
||
|
}
|
||
7 years ago
|
.article.hentry, /*.documentation.hentry*/{
|
||
7 years ago
|
width:calc(400px + 2em);
|
||
|
}
|
||
7 years ago
|
.hentry{
|
||
7 years ago
|
display: inline-block;
|
||
|
width: 200px;
|
||
7 years ago
|
font-size: 14px;
|
||
7 years ago
|
line-height: 1.65;
|
||
|
margin:0 2em 5em 0;
|
||
7 years ago
|
padding:0;
|
||
7 years ago
|
vertical-align: top;
|
||
7 years ago
|
}
|
||
7 years ago
|
.hentry .article-info{
|
||
|
width: 100%;
|
||
7 years ago
|
}
|
||
7 years ago
|
.hentry .article-info .event-details{
|
||
|
margin:5px 0 2px;
|
||
7 years ago
|
min-height: 1.65em;
|
||
7 years ago
|
font-family: monospace;
|
||
7 years ago
|
}
|
||
7 years ago
|
/* title */
|
||
|
.hentry .article-info .entry-title{
|
||
7 years ago
|
display: block;
|
||
7 years ago
|
width: 100%;
|
||
7 years ago
|
font-family: "kop";
|
||
|
font-size: 185%;
|
||
7 years ago
|
font-weight: bold;
|
||
7 years ago
|
line-height: 1.15;
|
||
7 years ago
|
margin:0;
|
||
|
}
|
||
|
.hentry .article-info .entry-title a{
|
||
|
text-decoration: none;
|
||
|
}
|
||
7 years ago
|
/* ascii art styling */
|
||
|
.hentry pre{
|
||
|
font-size: 14.4px;
|
||
|
font-weight: normal;
|
||
7 years ago
|
clear:both; /*to prevent the ascii to break up*/
|
||
7 years ago
|
}
|
||
7 years ago
|
/* double-blocks for super important categories */
|
||
7 years ago
|
.hentry.current, .hentry.article, .hentry.artikel, .hentry.current .article-info, .hentry.current .featured-image img{
|
||
|
width: calc(400px + 1em);
|
||
|
}
|
||
|
/* color background for articles */
|
||
|
.hentry.article, .hentry.artikel{
|
||
|
padding:1.5em 1em 1em 1em;
|
||
|
border:1px dashed #7e5211;
|
||
|
border-radius:15px;
|
||
7 years ago
|
}
|
||
7 years ago
|
|
||
|
/****************************/
|
||
7 years ago
|
/* article */
|
||
7 years ago
|
#content.body .entry-title{
|
||
|
display:inline-block;
|
||
7 years ago
|
font-family: "kop";
|
||
7 years ago
|
font-size: 250%;
|
||
|
line-height: 1.25;
|
||
|
font-weight: bold;
|
||
7 years ago
|
margin:30px 0 30px 250px;
|
||
7 years ago
|
color:#7e5211;
|
||
7 years ago
|
width: calc(100% - 250px);
|
||
7 years ago
|
}
|
||
7 years ago
|
#content.body .article-info{
|
||
7 years ago
|
width:200px;
|
||
|
float: left;
|
||
7 years ago
|
}
|
||
7 years ago
|
.entry-content-container, #page-content-container{
|
||
7 years ago
|
width: calc(100% - 260px);
|
||
7 years ago
|
float: right;
|
||
7 years ago
|
padding:0 30px;
|
||
7 years ago
|
margin-bottom:25px;
|
||
|
}
|
||
|
.entry-content, #page-content{
|
||
|
position: relative;
|
||
7 years ago
|
max-width: 750px;
|
||
7 years ago
|
margin:-3px auto 0 20px;
|
||
7 years ago
|
}
|
||
7 years ago
|
.entry-content img, #page-content img{
|
||
|
max-height:400px;
|
||
|
}
|
||
|
.entry-content .seperator hr, #page-content hr{
|
||
|
width:100%;
|
||
|
}
|
||
7 years ago
|
|
||
|
/****************************/
|
||
7 years ago
|
/* other */
|
||
7 years ago
|
|
||
8 years ago
|
.highlight{
|
||
|
margin: auto;
|
||
|
max-width:800px;
|
||
|
}
|
||
|
|
||
|
.divider {
|
||
7 years ago
|
font-size:14.8px;
|
||
8 years ago
|
width:100%;
|
||
|
line-height:1em;
|
||
|
background-color:white;
|
||
|
}
|
||
|
|
||
|
#categories {
|
||
7 years ago
|
font-size: 40px;
|
||
|
margin-top: 2em;
|
||
|
text-align: center;
|
||
8 years ago
|
}
|
||
|
.author{
|
||
7 years ago
|
/*display: none;*/
|
||
|
}
|
||
|
iframe{
|
||
|
width: 100%;
|
||
|
height: auto;
|
||
7 years ago
|
min-height: 500px;
|
||
|
margin:0.5em 0 1em 0;
|
||
7 years ago
|
}
|
||
|
/*footnotes*/
|
||
|
sup span{
|
||
|
float: right;
|
||
|
width: 200px;
|
||
|
margin:0.25em -150px 1em 3em;
|
||
|
clear:both;
|
||
7 years ago
|
font-size: 11px;
|
||
|
line-height: 1.5;
|
||
7 years ago
|
display: inline;
|
||
|
}
|
||
|
sup span p{
|
||
|
display: inline;
|
||
5 years ago
|
}
|
||
|
|
||
|
/****************************/
|
||
|
/*mobile style*/
|
||
|
|
||
|
@media only screen
|
||
|
and (min-device-width: 320px)
|
||
|
and (max-device-width: 480px) {
|
||
|
|
||
|
/*home page*/
|
||
|
|
||
|
html, body {
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
min-width: auto;
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
.buttons.top {
|
||
|
margin-top: 30px;
|
||
|
text-align: left;
|
||
|
margin-left: 15px;
|
||
|
}
|
||
|
|
||
|
.buttons.top li {
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
.buttons.top.left {
|
||
|
margin-top: 0;
|
||
|
right: auto;
|
||
|
left: 0;
|
||
|
}
|
||
|
|
||
|
#banner {
|
||
|
width: calc(100% - 30px);
|
||
|
padding: 100px 15px 0 15px;
|
||
|
font-size: 20px;
|
||
|
margin-top: 0;
|
||
|
}
|
||
|
|
||
|
#content {
|
||
|
padding: 15px;
|
||
|
width: calc(100% - 30px);
|
||
|
}
|
||
|
|
||
|
.hentry.current, .hentry.article, .hentry.artikel, .hentry.current .article-info, .hentry.current .featured-image img {
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
.hentry {
|
||
|
width: 85%;
|
||
|
margin-right: 0;
|
||
|
}
|
||
|
|
||
|
.hentry.article, .hentry.artikel {
|
||
|
width: 90%;
|
||
|
}
|
||
|
|
||
|
.hentry pre {
|
||
|
font-size: 9px;
|
||
|
}
|
||
|
|
||
|
|
||
|
/*single page*/
|
||
|
|
||
|
#content.body .entry-title {
|
||
|
font-size: 24px;
|
||
|
margin: 0;
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
#content.body .article-info {
|
||
|
float: none;
|
||
|
width: 100%;
|
||
|
margin-top: 15px;
|
||
|
margin-bottom: 30px;
|
||
|
}
|
||
|
|
||
|
.entry-content-container, #page-content-container {
|
||
|
float: none;
|
||
|
width: 100%;
|
||
|
padding: 0;
|
||
|
font-size: 16px;
|
||
|
}
|
||
|
|
||
|
.entry-content, #page-content {
|
||
|
margin: 0;
|
||
|
}
|
||
|
|
||
|
.entry-content img, #page-content img {
|
||
|
max-width: 100%;
|
||
|
height: auto;
|
||
|
}
|
||
|
|
||
|
/*about*/
|
||
|
|
||
|
.entry-content, #page-content p, .entry-content, #page-content h1 {
|
||
|
font-size: 16px;
|
||
|
padding: 0 15px;
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|