website/sass/css/base.scss
2023-10-03 09:30:29 +02:00

270 lines
4 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;
}
.nonarrower {
max-width: 100% !important;
margin-left: 0 !important;
text-align: center !important;
}
@media screen and (min-width: 900px) {
.narrower > p, .narrower > ul, .narrower > ol, .narrower > h1, .narrower > h2, .narrower > h3, .narrower > strong, .narrower > em, .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 {
position: relative;
z-index: -1;
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;
}
.bigbutton {
display: inline-block;
margin: 4px;
background: linear-gradient(-0.125turn, $blue, $violet);
border-radius: 4px;
font-family: Neucha;
font-size: 150%;
padding: 16px;
}
a.bigbutton, a.bigbutton:hover, a.bigbutton:focus {
color: white;
text-decoration: none;
}
a.bigbutton:hover, a.bigbutton:focus {
box-shadow: 4px 4px 0 $violet;
}
.bigbutton2 {
display: inline-block;
margin: 4px;
border: 1px solid $blue;
border-radius: 4px;
font-family: Neucha;
font-size: 150%;
padding: 16px;
}
a.bigbutton2, a.bigbutton2:hover, a.bigbutton2:focus {
color: black;
text-decoration: none;
}
a.bigbutton2:hover, a.bigbutton2:focus {
box-shadow: 4px 4px 0 $violet;
}
@media (prefers-color-scheme: dark) {
a.bigbutton2, a.bigbutton2:hover, a.bigbutton2:focus {
color: white;
}
}
.emph {
font-size: 120%;
}