Services, style

This commit is contained in:
Pascal Engélibert
2023-04-09 22:50:40 +02:00
parent ca35d13fb3
commit c6a10c5c96
7 changed files with 80 additions and 39 deletions

View File

@ -38,9 +38,11 @@ main.center {
text-align: center;
}
.narrower {
max-width: 900px;
margin: auto;
@media screen and (min-width: 900px) {
.narrower > p, .narrower > ul, .narrower > h1, .narrower > h2, .narrower > h3, .nn {
max-width: 900px;
margin-left: calc(50% - 450px);
}
}
a, a:visited {

View File

@ -15,7 +15,7 @@
top: 40px;
}
@media (width > 599px) {
@media screen and (width > 599px) {
.client_box {
display: flex;
}
@ -49,7 +49,7 @@
}
}
@media (width < 600px) {
@media screen and (width < 600px) {
.client_box-text {
margin: 0 16px 32px 16px;
}

View File

@ -14,6 +14,10 @@ header {
height: 48px;
}
#header-logo:hover, #header-logo:focus {
filter: drop-shadow(1px 2px 1px $violet);
}
#header-menu ul {
list-style-type: none;
margin: 9px 0 0 0;

View File

@ -39,6 +39,10 @@
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;