website/sass/css/services.scss

77 lines
1.3 KiB
SCSS
Raw Normal View History

2023-03-20 19:06:57 +01:00
@import "defs";
2022-09-26 23:24:15 +02:00
.need_services {
margin-top: 16px;
display: flex;
align-items: stretch;
justify-content: center;
2023-03-20 19:06:57 +01:00
border-right: 32px solid $violet;
2022-09-26 23:24:15 +02:00
}
.need_box {
flex: 38%;
font-family: Neucha;
2022-09-26 23:24:15 +02:00
font-size: 42px;
2023-03-20 19:06:57 +01:00
background: linear-gradient(0.25turn, $blue, $violet);
2022-09-26 23:24:15 +02:00
color: #fff;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.service_boxes {
flex: 62%;
text-align: center;
font-family: LunaSans;
}
.service_box {
display: inline-block;
width: 144px;
padding-top: 4px;
vertical-align: top;
margin: 0 4px;
}
.service_box-img {
max-width: 128px;
max-height: 128px;
}
2023-04-09 22:50:40 +02:00
.service_box-link:hover .service_box-img, .service_box-link:focus .service_box-img {
filter: drop-shadow(0px 0px 4px $violet);
}
2022-09-26 23:24:15 +02:00
.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-link:hover, .service_box-link:focus {
2023-03-20 19:06:57 +01:00
text-shadow: 1px 2px 1px $violet;
2022-09-26 23:24:15 +02:00
}
.service_box-title {
position: relative;
top: 8px;
display: inline-block;
padding-bottom: 14px;
font-size: 24px;
}
2023-04-26 18:58:04 +02:00
@media (prefers-color-scheme: dark) {
.service_box-link, .service_box-link:visited {
color: white;
}
}