circolog-website/res/css/main.css

192 lines
3.4 KiB
CSS
Raw Permalink Normal View History

2019-03-21 21:06:56 +01:00
@font-face {
font-family: "Archivo";
src: url(../media/Archivo-Regular.ttf) format('truetype');
font-weight: normal;
font-display: swap;
}
@font-face {
font-family: "Archivo";
src: url(../media/Archivo-SemiBold.ttf) format('truetype');
font-weight: bold;
font-display: swap;
}
@font-face {
font-family: "Archivo";
src: url(../media/Archivo-Italic.ttf) format('truetype');
font-weight: italic;
font-display: swap;
}
@font-face {
font-family: "SourceSansPro";
src: url(../media/SourceSansPro-Regular.ttf) format('truetype');
font-weight: normal;
font-display: swap;
}
@font-face {
font-family: "SourceSansPro";
src: url(../media/SourceSansPro-SemiBold.ttf) format('truetype');
font-weight: bold;
font-display: swap;
}
@font-face {
font-family: "SourceSansPro";
src: url(../media/SourceSansPro-Italic.ttf) format('truetype');
font-weight: italic;
font-display: swap;
}
@font-face {
font-family: "Exo2";
src: url(../media/Exo2-Regular.ttf) format('truetype');
font-weight: normal;
font-display: swap;
}
@font-face {
font-family: "Exo2";
src: url(../media/Exo2-Bold.ttf) format('truetype');
font-weight: bold;
font-display: swap;
}
@font-face {
font-family: "Exo2";
src: url(../media/Exo2-Italic.ttf) format('truetype');
font-weight: italic;
font-display: swap;
}
@font-face {
font-family: "Roboto";
src: url(../media/Roboto-Regular.ttf) format('truetype');
font-weight: normal;
font-display: swap;
}
@font-face {
font-family: "Roboto";
src: url(../media/Roboto-Bold.ttf) format('truetype');
font-weight: bold;
font-display: swap;
}
@font-face {
font-family: "Roboto";
src: url(../media/Roboto-Italic.ttf) format('truetype');
font-weight: italic;
font-display: swap;
}
2019-03-22 12:57:59 +01:00
@keyframes appear {
from {
opacity: 0.05;
}
to {
opacity: 1.0;
}
}
@keyframes appear-from-right {
from {
margin-left: 100%;
width: 300%;
opacity: 0.05;
}
to {
margin-left: 0%;
width: 100%;
opacity: 1.0;
}
}
2019-03-22 18:08:01 +01:00
@keyframes appear-from-below {
from {
margin-top: 100%;
opacity: 0.05;
}
to {
margin-top: 0%;
opacity: 1.0;
}
}
@media (min-device-width: 10cm) {
body {
font-size: 25px;
}
}
2019-03-22 12:57:59 +01:00
* {
2019-03-22 18:08:01 +01:00
box-sizing: border-box;
2019-03-22 12:57:59 +01:00
}
body .section:first-child {
animation-name: appear;
animation-duration: 1s;
}
body .section:not(:first-child) {
2019-03-22 18:08:01 +01:00
animation-name: appear-from-below;
animation-duration: 1.2s;
animation-timing-function: cubic-bezier(.27,.72,.44,1.01);
2019-03-21 21:06:56 +01:00
}
2019-03-23 17:43:02 +01:00
.trianglify {
size: 100%;
background-repeat: no-repeat;
background-attachment: fixed;
background-image: url(../media/bg.png);
}
2019-03-21 21:06:56 +01:00
.section {
display: flex;
flex-wrap: wrap;
font-family: "Exo2";
2019-03-23 17:43:02 +01:00
margin-left: 1em;
margin-right: 1em;
2019-03-21 21:06:56 +01:00
margin-bottom: 2em;
2019-03-23 17:43:02 +01:00
filter: drop-shadow(5px 5px 8px rgba(0,0,0,.4));
2019-03-22 18:08:01 +01:00
overflow: hidden;
2019-03-23 17:43:02 +01:00
2019-03-21 21:06:56 +01:00
}
.section > div {
padding: 10px;
font-weight: bold;
text-align: center;
}
.section > * {
flex: 1 1 650px;
}
.section h1 {
font-weight: bold;
}
.section h2 {
font-weight: italic;
}
.container {
text-align: center;
2019-03-23 17:43:02 +01:00
background: rgba(0,150,136,0.2);
2019-03-21 21:06:56 +01:00
}
.container ul {
text-align: left;
2019-03-22 18:08:01 +01:00
padding-left: 5%;
}
.pane {
max-width: 100%;
2019-03-21 21:06:56 +01:00
}