70 lines
1.2 KiB
SCSS
70 lines
1.2 KiB
SCSS
@import "defs";
|
|
|
|
.need_services {
|
|
margin-top: 16px;
|
|
display: flex;
|
|
align-items: stretch;
|
|
justify-content: center;
|
|
border-right: 32px solid $violet;
|
|
}
|
|
|
|
.need_box {
|
|
flex: 38%;
|
|
font-family: Amatic;
|
|
font-size: 42px;
|
|
background: linear-gradient(0.25turn, $blue, $violet);
|
|
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;
|
|
}
|
|
|
|
.service_box-link:hover .service_box-img, .service_box-link:focus .service_box-img {
|
|
filter: drop-shadow(0px 0px 4px $violet);
|
|
}
|
|
|
|
.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 {
|
|
text-shadow: 1px 2px 1px $violet;
|
|
}
|
|
|
|
.service_box-title {
|
|
position: relative;
|
|
top: 8px;
|
|
display: inline-block;
|
|
padding-bottom: 14px;
|
|
font-size: 24px;
|
|
}
|