Files
site/assets/production/css/style.css
2022-10-15 19:10:31 +02:00

382 lines
5.5 KiB
CSS

body {
background: url("/images/background.webp");
background-size: cover;
font-family: 'Lato', sans-serif;
font-size: 16px;
line-height: 24px;
color: #373d3f;
margin: 0;
padding: 0;
}
.Container {
clear: both;
max-width: 960px;
margin: 0 auto;
padding: 0 32px;
}
a {
color: #373d3f;
}
a:focus {
color: red;
font-weight: bolder;
}
a.external::after {
content: url(/images/external-link.svg);
display: inline-flex;
height: 1em;
padding-left: 0.4em;
}
h1,
h2,
h3,
h4,
h5 {
font-family: 'Calluna';
line-height: 150%;
margin: 0;
}
h1 {
font-size: 39.06px;
}
h2 {
font-size: 31.25px;
margin: 1em 0 0.2em 0;
}
h3 {
font-size: 25px;
margin: 0.6em 0 0.2em 0;
}
h4 {
font-size: 20.83px;
margin-bottom: 16px;
}
h5 {
font-size: 16px;
margin-bottom: 8px;
}
h3 a {
text-decoration: none;
}
h3 a:hover {
text-decoration: underline;
}
p + h5 {
margin-top: 32px;
}
p {
margin: 0;
}
p + p {
margin-top: 16px;
}
abbr {
border-bottom: 1px dotted #373d3f;
}
.meta-published {
color: #999;
margin-bottom: 1em;
}
.button {
margin: 0 1em 0 1em;
padding: 8px 24px;
background: #373d3f;
color: #fff;
text-transform: uppercase;
text-decoration: none;
font-size: 12.8px;
font-weight: bold;
border-radius: 24px;
line-height: 24px;
display: inline-block;
}
.violet {
background: blueviolet;
}
.tac {
text-align: center;
}
.tad {
text-align: right;
}
.mt128 {
margin-top: 128px;
}
.mt64 {
margin-top: 64px;
}
.mt32 {
margin-top: 32px;
}
.mb64 {
margin-bottom: 64px;
}
.logo-chatons {
float: left;
height: 25vw;
}
.logo-front {
display: block;
margin: 3em auto 2em;
}
.logo-small {
display: inline;
margin: 0 2em 0 0;
height: 3em;
vertical-align: middle;
}
nav {
margin: 0;
overflow: hidden;
padding: 0;
}
nav section {
display: grid;
grid-template-columns: 2fr 3fr;
}
nav section h2 {
font-size: 1em;
margin: 0;
}
nav section ul {
border-left: black 1px solid;
margin: 0;
padding-left: 0.8em;
}
nav section ul li {
list-style: none;
}
.Hero h1 {
font-size: 1.5em;
}
.services {
border: lightblue 4px solid;
padding: 0.6em;
}
.services-title {
position: relative;
padding-left: 64px;
line-height: 48px;
}
.services-title:before {
content: "";
position: absolute;
left: 0;
top: 0;
width: 48px;
height: 48px;
background-color: #b9daf6;
border-radius: 50%;
}
.services-icon-camera::before {
background: #b9daf6 url(/images/uicons/camera.svg) center center no-repeat;
}
.services-icon-cloud::before {
background: #b9daf6 url(/images/uicons/users.svg) center center no-repeat;
}
.services-icon-messages::before {
background: #b9daf6 url(/images/uicons/comments.svg) center center no-repeat;
}
.services-icon-edit::before {
background: #b9daf6 url(/images/uicons/book-alt.svg) center center no-repeat;
}
.services-icon-email::before {
background: #b9daf6 url(/images/uicons/at.svg) center center no-repeat;
}
.services-icon-gear::before {
background: #b9daf6 url(/images/uicons/settings.svg) center center no-repeat;
}
.services-icon-leaf::before {
background: #b9daf6 url(/images/uicons/leaf.svg) center center no-repeat;
}
.services-icon-list::before {
background: #b9daf6 url(/images/uicons/list-check.svg) center center no-repeat;
}
.services-icon-ml::before {
background: #b9daf6 url(/images/uicons/paper-plane.svg) center center no-repeat;
}
.services-icon-web::before {
background: #b9daf6 url(/images/uicons/globe.svg) center center no-repeat;
}
.services-icon-share::before {
background: #b9daf6 url(/images/uicons/share.svg) center center no-repeat;
}
.services-icon-key::before {
background: #b9daf6 url(/images/uicons/key.svg) center center no-repeat;
}
.services-software {
margin-top: 2em;
}
.services-software div {
display: flex;
justify-content: space-evenly;
padding-top: 1em;
padding-bottom: 1em;
}
.services-link a {
align-self: center;
}
.services-link img {
height: 2em;
}
.services-link p {
align-self: center;
font-size: small;
font-weight: bold;
padding-left: 0.8em;
width: 4em;
}
.frame {
border: 1px black solid;
overflow: hidden;
padding: 1em;
}
.three-cols {
display: grid;
grid-template-columns: 1fr;
grid-template-rows: 1fr 1fr;
gap: 1em 0;
}
.Two-cols-One-row,
.Two-cols-Two-rows {
display: grid;
grid-template-columns: 1fr;
grid-template-rows: 1fr 1fr;
gap: 64px 0;
}
.footer h2 {
font-size: 1.2em;
margin-bottom: 0;
}
.footer hr + p {
font-size: 0.8em;
margin-bottom: 2em;
}
.footer p + p {
margin-top: 0;
}
@media only screen and (min-width: 768px) {
h1 {
font-size: 48.33px;
}
nav section {
border-left: black 1px solid;
display: block;
padding-left: 2em;
}
nav section h2 {
font-size: 1.5em;
}
nav section ul {
border: none;
padding: 0;
}
.Hero {
height: calc(75vh - 16em);
display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
}
.Hero h1 {
font-size: 48.33px;
}
.logo-chatons {
height: 12vw;
}
.logo-front {
margin: 10em auto 0;
height: 25vh;
}
.three-cols {
grid-template-columns: repeat(3, 1fr);
grid-template-rows: 1fr;
grid-column-gap: 64px;
grid-row-gap: 0;
}
.Two-cols-One-row {
grid-template-columns: repeat(2, 1fr);
grid-template-rows: 1fr;
grid-column-gap: 64px;
grid-row-gap: 64px;
}
.Two-cols-Two-rows {
grid-template-columns: repeat(2, 1fr);
grid-template-rows: repeat(2, 1fr);
grid-column-gap: 64px;
grid-row-gap: 64px;
}
}