Père 200 A24

C'est demain, et le thème c'est les Schtroumpfs. Connard.
This commit is contained in:
imperosol
2024-11-21 19:14:31 +01:00
parent 0a5ddcea68
commit 6e3e77bf0a
3 changed files with 28 additions and 4 deletions

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 30 KiB

View File

@ -8,6 +8,15 @@ $large-devices: 992px;
/*--------------------------------GENERAL------------------------------*/
body {
background: url("img/badge_pere_200.svg") repeat space right;
// the main content has width: 90%
// so a bgc of 5% makes the picture perfectly fit
// between the screen border and the main div
// However, it's ugly on small screens
background-size: 5%;
@media (max-width: 700px) {
background-size: 100px;
}
position: relative;
width: 100%;
font-family: sans-serif;
@ -321,6 +330,14 @@ a:not(.button) {
}
}
#pere-200-background {
opacity: 20%;
background-size: 100%;
position: absolute;
left: 50%;
transform: translateX(-50%);
}
#content {
padding: 1em 1%;
box-shadow: $shadow-color 0 5px 10px;