website/sass/css/services.scss

71 lines
1.2 KiB
SCSS
Raw Normal View History

2023-03-20 18:06:57 +00:00
@import "defs";
2022-09-26 21:24:15 +00:00
.need_services {
margin-top: 16px;
display: flex;
align-items: stretch;
justify-content: center;
2023-03-20 18:06:57 +00:00
border-right: 32px solid $violet;
2022-09-26 21:24:15 +00:00
}
.need_box {
flex: 38%;
font-family: Neucha;
2022-09-26 21:24:15 +00:00
font-size: 42px;
2023-03-20 18:06:57 +00:00
background: linear-gradient(0.25turn, $blue, $violet);
2022-09-26 21:24:15 +00: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 20:50:40 +00: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 21:24:15 +00: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 18:06:57 +00:00
text-shadow: 1px 2px 1px $violet;
2022-09-26 21:24:15 +00:00
}
.service_box-title {
position: relative;
top: 8px;
display: inline-block;
padding-bottom: 14px;
font-size: 24px;
}