2018-10-13 16:49:21 +02:00
|
|
|
/* ------------------ FONT LOADING ------------------- */
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'ClearSans';
|
|
|
|
src: url('../fonts/ClearSans-Light.eot');
|
|
|
|
src: url('../fonts/ClearSans-Light.woff') format('woff'),
|
|
|
|
url('../fonts/ClearSans-Light.ttf') format('truetype');
|
|
|
|
font-weight: 300;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'ClearSans';
|
|
|
|
src: url('../fonts/ClearSans-Regular.eot');
|
|
|
|
src: url('../fonts/ClearSans-Regular.woff') format('woff'),
|
|
|
|
url('../fonts/ClearSans-Regular.ttf') format('truetype');
|
|
|
|
font-weight: 400;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'ClearSans';
|
|
|
|
src: url('../fonts/ClearSans-Italic.eot');
|
|
|
|
src: url('../fonts/ClearSans-Italic.woff') format('woff'),
|
|
|
|
url('../fonts/ClearSans-Italic.ttf') format('truetype');
|
|
|
|
font-weight: 400;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'ClearSans';
|
|
|
|
src: url('../fonts/ClearSans-Medium.eot');
|
|
|
|
src: url('../fonts/ClearSans-Medium.woff') format('woff'),
|
|
|
|
url('../fonts/ClearSans-Medium.ttf') format('truetype');
|
|
|
|
font-weight: 600;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'ClearSans';
|
|
|
|
src: url('../fonts/ClearSans-MediumItalic.eot');
|
|
|
|
src: url('../fonts/ClearSans-MediumItalic.woff') format('woff'),
|
|
|
|
url('../fonts/ClearSans-MediumItalic.ttf') format('truetype');
|
|
|
|
font-weight: 600;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------ GLOBAL STYLE ------------------- */
|
|
|
|
|
|
|
|
body {
|
|
|
|
font-family: ClearSans, sans-serif;
|
|
|
|
text-align: left;
|
|
|
|
font-size: 4mm;
|
|
|
|
line-height: 1.5em;
|
|
|
|
color: #444;
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
|
|
|
|
.night-mode {
|
|
|
|
color:#BBB;
|
|
|
|
}
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
em {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color:#2484c1;
|
|
|
|
text-decoration:none;
|
|
|
|
}
|
|
|
|
|
|
|
|
::selection { background: #2484c1; color: #fff; }
|
|
|
|
::-moz-selection { background: #2484c1; color: #fff; }
|
|
|
|
|
|
|
|
/* ------------------ WRAPPERS ------------------- */
|
|
|
|
|
|
|
|
.text-wrapper {
|
|
|
|
font-size: calc(2.5mm + 1vw);
|
|
|
|
margin: auto;
|
|
|
|
line-height: 1.5em;
|
2018-10-13 17:18:12 +02:00
|
|
|
|
|
|
|
&.debug {
|
|
|
|
background-image: -webkit-linear-gradient(hsla(0,0%,0%,0) 95%, hsla(0,25%,50%,.5) 95%);
|
|
|
|
background-image: -moz-linear-gradient(hsla(0,0%,0%,0) 95%, hsla(0,25%,50%,.5) 95%);
|
|
|
|
background-image: -ms-linear-gradient(hsla(0,0%,0%,0) 95%, hsla(0,25%,50%,.5) 95%);
|
|
|
|
background-image: -o-linear-gradient(hsla(0,0%,0%,0) 95%, hsla(0,25%,50%,.5) 95%);
|
|
|
|
background-image: linear-gradient(hsla(0,0%,0%,0) 95%, hsla(0,25%,50%,.5) 95%);
|
|
|
|
background-position: 50% 0;
|
|
|
|
background-size: 1.5em 1.5em;
|
|
|
|
}
|
2018-10-13 16:49:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 640px) {
|
|
|
|
.text-wrapper.size-640 {
|
|
|
|
max-width: 640px;
|
|
|
|
font-size: calc(2.5mm + 6.4px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 800px) {
|
|
|
|
.text-wrapper.size-800 {
|
|
|
|
font-size: calc(2.5mm + 8.0px);
|
|
|
|
max-width: 800px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 920px) {
|
|
|
|
.text-wrapper.size-920 {
|
|
|
|
font-size: calc(2.5mm + 9.2px);
|
|
|
|
max-width: 800px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 1200px) {
|
|
|
|
.text-wrapper.size-1200 {
|
|
|
|
font-size: calc(2.5mm + 12px);
|
|
|
|
max-width: 800px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------ TITLES ------------------- */
|
|
|
|
|
2018-10-13 17:21:55 +02:00
|
|
|
@mixin title($size, $height, $top, $bottom, $weight) {
|
2018-10-13 17:13:38 +02:00
|
|
|
font-size: $size;
|
|
|
|
line-height: $height;
|
2018-10-13 17:23:29 +02:00
|
|
|
padding: $top 0 $bottom 0;
|
2018-10-13 17:13:38 +02:00
|
|
|
font-weight: $weight;
|
|
|
|
}
|
|
|
|
|
2018-10-13 16:49:21 +02:00
|
|
|
h1, h2, h3, h4, h5, h6, h7 {
|
2018-10-13 16:56:11 +02:00
|
|
|
text-align: left;
|
2018-10-13 16:49:21 +02:00
|
|
|
font-size: 1em;
|
|
|
|
line-height: 1.5em;
|
2018-10-13 16:54:38 +02:00
|
|
|
padding:0;
|
|
|
|
margin:0;
|
2018-10-13 16:49:21 +02:00
|
|
|
font-weight:400;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
2018-10-13 17:30:30 +02:00
|
|
|
@include title(2.3333333em, 1em, 0.333333em, 0.6em, 600);
|
2018-10-13 16:49:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
2018-10-13 17:30:30 +02:00
|
|
|
@include title(2em, 1.5em, 0.333333em, 0.4em, 600);
|
2018-10-13 16:49:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
2018-10-13 17:30:30 +02:00
|
|
|
@include title(1.5em, 1em, 0em, 1em, 600);
|
2018-10-13 16:49:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
2018-10-13 17:30:30 +02:00
|
|
|
@include title(1.5em, 1em, 0em, 1em, 400);
|
2018-10-13 16:49:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
h5 {
|
2018-10-13 17:30:30 +02:00
|
|
|
@include title(1.333333em, 1em, 0.1em, 1.133333em, 400);
|
2018-10-13 16:49:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
h6 {
|
2018-10-13 17:30:30 +02:00
|
|
|
@include title(1.1em, 1.4em, 0.1em, 1.2em, 600);
|
2018-10-13 16:49:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------ HR ------------------- */
|
|
|
|
|
|
|
|
hr {
|
|
|
|
border-top: 0px;
|
|
|
|
border-left: 0px;
|
|
|
|
border-right: 0px;
|
|
|
|
border-bottom: 1px;
|
|
|
|
border-color: rgba(1,1,1,0.15);
|
|
|
|
border-style: solid;
|
|
|
|
margin: 1.6em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------ QUOTE ------------------- */
|
|
|
|
|
2018-10-13 17:05:57 +02:00
|
|
|
@mixin well() {
|
|
|
|
border-width: 0 0 0 0.15em;
|
2018-10-13 16:49:21 +02:00
|
|
|
border-style: solid;
|
|
|
|
border-radius: 3px;
|
|
|
|
|
2018-10-13 17:05:57 +02:00
|
|
|
margin: 0.5em 0.1em 0.5em 0.1em;
|
|
|
|
padding: 0 1em 0 1em;
|
|
|
|
|
|
|
|
max-width: 100%;
|
2018-10-13 16:49:21 +02:00
|
|
|
}
|
|
|
|
|
2018-10-13 17:05:57 +02:00
|
|
|
blockquote {
|
|
|
|
@include well();
|
|
|
|
border-color: rgba(1, 1, 1, 0.15);
|
|
|
|
|
|
|
|
.night-mode & {
|
|
|
|
border-color: rgba(255, 255, 255, 0.15)
|
|
|
|
}
|
2018-10-13 16:49:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
2018-10-13 17:05:57 +02:00
|
|
|
@include well();
|
2018-10-13 16:49:21 +02:00
|
|
|
border-color: rgba(1,1,1,0.20);
|
|
|
|
background-color:#EEE;
|
|
|
|
overflow-x: scroll;
|
2018-10-13 17:05:57 +02:00
|
|
|
|
|
|
|
.night-mode & {
|
|
|
|
background-color:#222;
|
|
|
|
border-color:rgba(255,255,255,0.20);
|
|
|
|
}
|
2018-10-13 16:49:21 +02:00
|
|
|
}
|
|
|
|
|
2018-10-13 17:05:57 +02:00
|
|
|
|
2018-10-13 16:49:21 +02:00
|
|
|
|
|
|
|
/* ------------------ SPECIAL STYLING ------------------- */
|
|
|
|
|
|
|
|
mark {
|
|
|
|
border-radius: 0.2em;
|
2018-10-13 17:14:57 +02:00
|
|
|
padding:0 0.2em 0 0.2em;
|
2018-10-13 16:49:21 +02:00
|
|
|
|
|
|
|
background-color:rgba(255,255,0,0.33);
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.night-mode mark {
|
|
|
|
background-color:rgba(128,128,0,0.66);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------ SPECIAL STYLING ------------------- */
|
|
|
|
|
|
|
|
.time {
|
|
|
|
font-style: italic;
|
|
|
|
text-align: right;
|
|
|
|
width: 100%;
|
|
|
|
display: block;
|
|
|
|
}
|