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

45 lines
1.1 KiB
SCSS
Raw Normal View History

2022-06-12 23:04:35 +02:00
2022-06-07 20:15:31 +02:00
.banner {
2022-06-12 18:05:10 +02:00
width: 98vw;
2022-06-12 21:42:31 +02:00
height: calc(100vw / 3.5);
2022-06-12 23:11:49 +02:00
font-size: 110%;
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 21:25:55 +02:00
justify-content: flex-end;
2022-06-12 21:14:14 +02:00
.title_index {
word-break: break-all;
color: var(--text-main);
2022-06-12 21:42:31 +02:00
background: var(--background-body-opaq);
2022-06-12 21:20:11 +02:00
text-align: center;
2022-06-12 21:26:46 +02:00
margin-bottom: 0;
2022-06-12 21:14:14 +02:00
text-shadow: 0px 4px 3px rgba(0,0,0,0.4),
0px 8px 13px rgba(0,0,0,0.1),
0px 18px 23px rgba(0,0,0,0.1);
2022-06-12 21:25:55 +02:00
2022-06-12 21:14:14 +02:00
}
.title {
2022-06-12 21:42:31 +02:00
background: var(--background-body-opaq);
2022-06-12 21:14:14 +02:00
word-break: break-all;
color: var(--text-main);
margin-bottom: 0;
2022-06-12 21:20:11 +02:00
text-align: center;
2022-06-12 21:14:14 +02:00
text-shadow: 0px 4px 3px rgba(0,0,0,0.4),
0px 8px 13px rgba(0,0,0,0.1),
0px 18px 23px rgba(0,0,0,0.1);
2022-06-12 21:25:55 +02:00
2022-06-07 20:15:31 +02:00
}
}
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
}
}