add pig pattern to footer
This commit is contained in:
BIN
web/public/assets/graphics/grisemonster.png
Normal file
BIN
web/public/assets/graphics/grisemonster.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.9 MiB |
@ -36,6 +36,7 @@ async function OpeningHoursTable() {
|
|||||||
|
|
||||||
export const Footer = () => {
|
export const Footer = () => {
|
||||||
return (
|
return (
|
||||||
|
<>
|
||||||
<footer className={styles.footer}>
|
<footer className={styles.footer}>
|
||||||
<div className={styles.social}>
|
<div className={styles.social}>
|
||||||
<h2 className="suphead">Følg oss</h2>
|
<h2 className="suphead">Følg oss</h2>
|
||||||
@ -124,5 +125,8 @@ export const Footer = () => {
|
|||||||
<ToTop />
|
<ToTop />
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
<div className={styles.pigPattern}>
|
||||||
|
</div>
|
||||||
|
</>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
@ -115,6 +115,32 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.pigPattern {
|
||||||
|
background-color: var(--color-background);
|
||||||
|
background-image: url("/assets/graphics/grisemonster.png");
|
||||||
|
background-size: 100% auto;
|
||||||
|
background-position: 0 100%;
|
||||||
|
background-attachment: fixed;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
width: 100%;
|
||||||
|
height: 50vh;
|
||||||
|
position: relative;
|
||||||
|
z-index: 700;
|
||||||
|
|
||||||
|
@media (orientation: landscape) {
|
||||||
|
background-size: 100% auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (orientation: portrait) {
|
||||||
|
background-size: auto 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (hover: none) {
|
||||||
|
background-attachment: initial;
|
||||||
|
background-size: cover;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: 900px) {
|
@media (max-width: 900px) {
|
||||||
.social,
|
.social,
|
||||||
.contact,
|
.contact,
|
||||||
|
Reference in New Issue
Block a user