new
This commit is contained in:
commit
1d8da2b6dd
824 changed files with 76366 additions and 0 deletions
34
assets/scss/templates/_backgrounds.scss
Normal file
34
assets/scss/templates/_backgrounds.scss
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
.bg-1 {
|
||||
position: relative;
|
||||
background-size: contain; /* Verkleinert das Bild, sodass es komplett sichtbar ist */
|
||||
background-position: center center;
|
||||
background-repeat: no-repeat;
|
||||
background-attachment: fixed;
|
||||
|
||||
@include large-desktop {
|
||||
background-attachment: unset;
|
||||
}
|
||||
}
|
||||
|
||||
.bg-1::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: inherit;
|
||||
opacity: 0.2; /* Setzt die Opazität, um das Bild blasser darzustellen */
|
||||
z-index: -1; /* Stellt sicher, dass der Inhalt vor dem Hintergrundbild liegt */
|
||||
}
|
||||
|
||||
|
||||
.bg-2 {
|
||||
background-size: cover;
|
||||
background-position: center center;
|
||||
background-attachment: fixed;
|
||||
background-color: #185b63;
|
||||
@include large-desktop {
|
||||
background-attachment: unset;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue