website/sass/css/base.scss
2022-09-26 09:15:39 +02:00

140 lines
1.7 KiB
SCSS

@font-face {
font-family: Amatic;
src: url("/fonts/AmaticSC-Bold.woff2");
}
@font-face {
font-family: LunaSans;
src: url("/fonts/LunaSans-Regular.ttf");
}
html, body {
margin: 0;
padding: 0;
font-family: LunaSans;
}
header {
height: 48px;
max-width: 1100px;
margin: 0 auto 16px auto;
padding: 0 4px;
font-size: 24px;
}
#header-logo {
float: left;
height: 48px;
}
#header-menu ul {
float: right;
list-style-type: none;
margin: 9px 0 0 0;
}
#header-menu li {
display: inline-block;
margin: 0 8px;
}
#header-menu a {
padding: 8px 8px;
color: black;
}
#header-menu a:hover, #header-menu a:focus {
border-bottom: 2px solid #ac44ff;
}
main {
width: 100%;
text-align: center;
}
a, a:visited {
text-decoration: none;
}
.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 {
font-size: 18px;
}
.madein {
width: 256px;
}
.slogan1 {
font-size: 400%;
font-family: Amatic;
}
.slogan2 {
font-size: 300%;
font-family: Amatic;
}
.need_services {
display: flex;
align-items: center;
}
.need_box {
flex: 38%;
font-family: Amatic;
font-size: 42px;
}
.service_boxes {
flex: 62%;
text-align: center;
font-family: LunaSans;
}
.service_box {
display: inline-block;
width: 144px;
padding-top: 4px;
vertical-align: top;
}
.service_box-img {
max-width: 128px;
max-height: 128px;
}
.service_box-img_wrap {
width: 128px;
height: 128px;
margin: auto;
display: flex;
justify-content: center;
align-items: center;
}
.service_box-link, .service_box-link:visited {
color: #000;
text-decoration: none;
}
.service_box-title {
position: relative;
top: 14px;
display: inline-block;
padding-bottom: 14px;
font-size: 24px;
}