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

26 lines
501 B
SCSS
Raw Normal View History

2022-06-07 20:15:31 +02:00
.banner {
2022-06-12 18:05:10 +02:00
width: 98vw;
2022-06-12 18:13:49 +02:00
height: calc(100vw / 3.5);
2022-06-07 20:15:31 +02:00
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-12 18:13:49 +02:00
background-position: 50% 5rem;
2022-06-12 18:05:10 +02:00
background-attachment: fixed;
display: flex;
2022-06-12 16:59:25 +02:00
flex-direction: column;
2022-06-12 18:05:10 +02:00
justify-content: center;
align-items: center;
2022-06-07 20:15:31 +02:00
h1 {
word-break: break-all;
}
}
2022-06-12 13:50:06 +02:00
@media (min-width: 640px) {
.banner {
2022-06-12 18:05:10 +02:00
width: 89%;
margin-left: auto;
margin-right: auto;
2022-06-12 13:50:06 +02:00
}
}