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

28 lines
552 B
SCSS
Raw Normal View History

2022-06-07 20:15:31 +02:00
.banner {
2022-06-12 16:59:25 +02:00
max-height: calc(100vh / 2.4);
min-height: 10vw;
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;
2022-06-12 17:00:05 +02:00
background-size: cover;
2022-06-08 04:42:32 +02:00
background-position: top center;
2022-06-12 16:59:25 +02:00
display: flex;
flex-direction: column;
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 {
2022-06-12 16:59:25 +02:00
width: 89%;
2022-06-12 13:50:06 +02:00
margin-left: auto;
margin-right: auto;
}
}