new style header banner

This commit is contained in:
2024-04-17 12:56:16 +03:00
parent 1a7ee34959
commit 3d07120a3a
2 changed files with 12 additions and 36 deletions

View File

@@ -1622,34 +1622,17 @@ button {
}
}
.banner--header {
height: 12rem;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
display: block;
max-width: 1440px;
width: 100%;
margin: 0 auto;
overflow: hidden;
}
.banner--header img {
min-height: 100%;
max-height: 100%;
}
.banner--header a {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
.banner--header IMG{
width: 100%;
height: 100%;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
height: auto;
}
@media (max-width: 767px) {

View File

@@ -1,22 +1,15 @@
.banner--header {
height: 12rem;
display: flex;
align-items: center;
justify-content: center;
display: block;
max-width: 1440px;
width: 100%;
margin: 0 auto;
overflow: hidden;
}
.banner--header img {
min-height: 100%;
max-height: 100%;
}
.banner--header a {
display: flex;
.banner--header IMG{
width: 100%;
height: 100%;
justify-content: center;
height: auto;
}
@media (max-width: 767px) {