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,36 +1,7 @@
@import "defs";
.client_box {
display: flex;
}
.client_box-left {
flex: 38%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.client_box-right {
flex: 62%;
}
.client_box-left-row {
width: 100%;
display: flex;
flex-direction: row;
justify-content: flex-end;
}
.client_box-img {
margin: 32px;
}
.client_box-text {
text-align: left;
max-width: 800px;
margin: 32px;
font-size: 110%;
line-height: 130%;
}
@ -43,3 +14,43 @@
left: -16px;
top: 40px;
}
@media (width > 599px) {
.client_box {
display: flex;
}
.client_box-right {
flex: 62%;
}
.client_box-left {
flex: 38%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.client_box-left-row {
width: 100%;
display: flex;
flex-direction: row;
justify-content: flex-end;
}
.client_box-img {
margin: 32px;
}
.client_box-text {
max-width: 800px;
margin: 32px;
}
}
@media (width < 600px) {
.client_box-text {
margin: 0 16px 32px 16px;
}
}

View File

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