header & clients more responsive

This commit is contained in:
Pascal Engélibert 2023-03-26 19:08:30 +02:00
parent f4d1878e92
commit dec36f20b1
No known key found for this signature in database
GPG Key ID: 3504BC6D362F7DCA
2 changed files with 42 additions and 31 deletions

View File

@ -1,9 +1,29 @@
@import "defs"; @import "defs";
.client_box-text {
text-align: left;
font-size: 110%;
line-height: 130%;
}
.client_box-text::before {
font-size: 96px;
content: "";
color: #888;
position: relative;
left: -16px;
top: 40px;
}
@media (width > 599px) {
.client_box { .client_box {
display: flex; display: flex;
} }
.client_box-right {
flex: 62%;
}
.client_box-left { .client_box-left {
flex: 38%; flex: 38%;
display: flex; display: flex;
@ -12,10 +32,6 @@
justify-content: center; justify-content: center;
} }
.client_box-right {
flex: 62%;
}
.client_box-left-row { .client_box-left-row {
width: 100%; width: 100%;
display: flex; display: flex;
@ -28,18 +44,13 @@
} }
.client_box-text { .client_box-text {
text-align: left;
max-width: 800px; max-width: 800px;
margin: 32px; margin: 32px;
font-size: 110%; }
line-height: 130%;
} }
.client_box-text::before { @media (width < 600px) {
font-size: 96px; .client_box-text {
content: ""; margin: 0 16px 32px 16px;
color: #888; }
position: relative;
left: -16px;
top: 40px;
} }

View File

@ -1,6 +1,8 @@
@import "defs"; @import "defs";
header { header {
display: flex;
justify-content: space-between;
height: 48px; height: 48px;
max-width: 1100px; max-width: 1100px;
margin: 0 auto 16px auto; margin: 0 auto 16px auto;
@ -9,12 +11,10 @@ header {
} }
#header-logo { #header-logo {
float: left;
height: 48px; height: 48px;
} }
#header-menu ul { #header-menu ul {
float: right;
list-style-type: none; list-style-type: none;
margin: 9px 0 0 0; margin: 9px 0 0 0;
} }