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

39 lines
976 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 21:14:14 +02:00
justify-content: flex-end;
.title_index {
word-break: break-all;
color: var(--text-main);
background: var(--background-body);
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);
}
.title {
background: var(--background-body);
word-break: break-all;
color: var(--text-main);
margin-bottom: 0;
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-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
}
}