40 lines
1.1 KiB
SCSS
40 lines
1.1 KiB
SCSS
.items {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
flex-wrap: wrap;
|
|
a {
|
|
width: 216px;
|
|
height: 184px;
|
|
padding: 96px 24px 28px;
|
|
font-weight: 700;
|
|
text-align: center;
|
|
color: #252E34;
|
|
box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.25);
|
|
background: transparent none 50% 32px no-repeat;
|
|
transition: transform 0.3s;
|
|
|
|
&:first-child {background-image: url('~projects/app-a/src/assets/images/normativ.svg');}
|
|
&:nth-child(2) {background-image: url('~projects/app-a/src/assets/images/tehnicheskie.svg');}
|
|
&:nth-child(3) {background-image: url('~projects/app-a/src/assets/images/tk465.svg');}
|
|
&:nth-child(4) {background-image: url('~projects/app-a/src/assets/images/tu.svg');}
|
|
&:last-child {background-image: url('~projects/app-a/src/assets/images/ksi.svg');}
|
|
|
|
&:hover {
|
|
transform: scale(1.1);
|
|
}
|
|
}
|
|
}
|
|
@media screen and (max-width: 526px) {
|
|
.items {
|
|
justify-content: center;
|
|
width: 100% !important;
|
|
a {
|
|
|
|
width: 100% !important;
|
|
}
|
|
}
|
|
}
|