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

27 lines
536 B
SCSS
Raw Normal View History

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