bunteshaus.de/themes/buha/assets/scss/banner.scss

56 lines
906 B
SCSS
Raw Normal View History

2022-06-07 20:15:31 +02:00
.banner {
2022-06-08 04:42:32 +02:00
min-height: calc(60vw / 2.4);
2022-06-07 20:15:31 +02:00
display: flex;
align-items: center;
font-size: 115%;
2022-06-08 00:38:13 +02:00
//box-shadow: inset 0px -11px 8px -10px #444;
2022-06-08 04:42:32 +02:00
background-repeat: no-repeat;
background-size: cover;
background-position: top center;
2022-06-07 20:15:31 +02:00
h1 {
margin-left: auto;
margin-right: auto;
text-align: center;
word-break: break-all;
}
}
2022-06-12 13:50:06 +02:00
@media (min-width: 640px) {
.banner {
margin-left: auto;
margin-right: auto;
}
}
@media (min-width: 768px) {
.banner {
max-width: 768px;
margin-left: auto;
margin-right: auto;
}
}
@media (min-width: 1024px) {
.banner {
max-width: 1024px;
margin-left: auto;
margin-right: auto;
}
}
@media (min-width: 1280px) {
.banner {
max-width: 1280px;
margin-left: auto;
margin-right: auto;
}
}
@media (min-width: 1920px) {
.banner {
max-width: 1920px;
margin-left: auto;
margin-right: auto;
}
}