website/sass/css/base.scss
2023-05-27 18:36:18 +02:00

215 lines
3.0 KiB
SCSS

@import "defs";
@import "carousel";
@import "clients";
@import "footer";
@import "header";
@import "partners";
@import "prices";
@import "process";
@import "services";
@import "square_box";
@import "team";
@import "timeline";
#dev-warning {
position: fixed;
top: 48px;
left: 0;
width: 240px;
background-color: #fa0;
border-bottom: 4px dashed #000;
border-right: 4px dashed #000;
border-top: 4px dashed #000;
border-bottom-right-radius: 16px;
border-top-right-radius: 16px;
padding: 4px;
font-size: 20px;
}
html, body {
margin: 0;
padding: 0;
font-family: LunaSans;
}
main {
width: 100%;
font-size: 18px;
min-height: calc(100vh - 155px);
}
main.center {
text-align: center;
}
@media screen and (min-width: 900px) {
.narrower > p, .narrower > ul, .narrower > ol, .narrower > h1, .narrower > h2, .narrower > h3, .nn {
max-width: 900px;
margin-left: calc(50% - 450px);
}
}
@media screen and (min-width: 1200px) {
.nn1200 {
max-width: 1200px;
margin-left: calc(50% - 600px);
}
}
@media screen and (min-width: 1400px) {
.nn1400 {
max-width: 1400px;
margin-left: calc(50% - 700px);
}
}
a, a:visited {
text-decoration: none;
color: $blue;
}
a:hover, a:focus {
text-decoration: underline;
}
.sr-only {
position: absolute;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
}
.big-logo {
max-width: 100%;
}
.cities {
color: $grey1;
font-size: 135%;
font-family: Neucha;
display: flex;
align-items: center;
justify-content: space-between;
}
.cities p {
width: 33%;
}
.cities .city {
margin: 0 0.5em;
}
.madein-wrapper {
height: 120px;
margin-top: 32px;
}
.madein {
width: 192px;
transform: rotate(-30deg);
}
.slogan1 {
font-size: 400%;
font-family: Neucha;
}
.slogan2 {
font-size: 300%;
font-family: Neucha;
}
.slogan3 {
font-size: 200%;
font-family: Neucha;
font-variant: small-caps;
}
h1 {
font-size: 240%;
font-family: Neucha;
font-weight: normal;
}
h2 {
font-size: 170%;
font-family: Neucha;
font-weight: normal;
}
h3 {
font-size: 130%;
font-family: Neucha;
font-weight: normal;
}
.title-bar {
font-family: Neucha;
font-size: 42px;
background: linear-gradient(0.25turn, $blue, $violet);
color: #fff;
margin-top: 16px;
margin-bottom: 16px;
}
.title-bar2 {
font-family: Neucha;
font-size: 36px;
margin-top: 16px;
margin-bottom: 16px;
}
.title-bar2::after {
content: "";
display: block;
height: 1px;
background: linear-gradient(0.25turn, $blue, $violet);
}
#map {
width: 100%;
height: 600px;
max-height: calc(100vh - 64px);
}
/*@media (prefers-color-scheme: light) {
html {
background: radial-gradient(circle at 100%, rgba(2, 148, 217, 0.2) 20%, white);
}
}*/
@media (prefers-color-scheme: dark) {
html {
background-color: black;
color: white;
}
#dev-warning {
color: black;
}
.cities {
color: $grey2;
}
}
@media screen and (min-width: 641px) {
.img-right {
float: right;
}
}
@media screen and (max-width: 640px) {
.img-right {
text-align: center;
}
}
.img-right img {
max-width: 100vw;
}