MediaWiki:Vector.css: Difference between revisions
Jump to navigation
Jump to search
HummeloAdmin (talk | contribs) (Created page with "body { background-image: url('/empyriopedia/images/background.jpg'); background-size: cover; →Stellt sicher, dass das Bild den gesamten Hintergrund abdeckt: background-repeat: no-repeat; →Verhindert das Wiederholen des Bildes: background-attachment: fixed; →Das Bild scrollt nicht mit dem Inhalt: background-position: center; →Zentriert das Bild: }") |
HummeloAdmin (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
body { | body { | ||
background-image: url('/ | background-image: url('/images/2/2f/Empyrion_Background.jpeg'); | ||
background-size: cover; /* Stellt sicher, dass das Bild den gesamten Hintergrund abdeckt */ | background-size: cover; /* Stellt sicher, dass das Bild den gesamten Hintergrund abdeckt */ | ||
background-repeat: no-repeat; /* Verhindert das Wiederholen des Bildes */ | background-repeat: no-repeat; /* Verhindert das Wiederholen des Bildes */ | ||
background-attachment: fixed; /* Das Bild scrollt nicht mit dem Inhalt */ | background-attachment: fixed; /* Das Bild scrollt nicht mit dem Inhalt */ | ||
background-position: center; /* Zentriert das Bild */ | #background-position: center; /* Zentriert das Bild */ | ||
} | } |
Latest revision as of 13:21, 11 July 2024
body {
background-image: url('/images/2/2f/Empyrion_Background.jpeg');
background-size: cover; /* Stellt sicher, dass das Bild den gesamten Hintergrund abdeckt */
background-repeat: no-repeat; /* Verhindert das Wiederholen des Bildes */
background-attachment: fixed; /* Das Bild scrollt nicht mit dem Inhalt */
#background-position: center; /* Zentriert das Bild */
}