„MediaWiki:Sitenotice” változatai közötti eltérés
Innen: Sanctum2 Wikipédia
Ugrás a navigációhozUgrás a kereséshez
(A lap tartalmának cseréje erre: -) Címke: Oldal nagy része eltávolítva |
Nincs szerkesztési összefoglaló Címke: Visszaállítva |
||
1. sor: | 1. sor: | ||
- | /* Fixed image at the top of every page */ | ||
#mw-content-text { | |||
position: relative; | |||
padding-top: 100px; /* Adjust this value based on your image height */ | |||
} | |||
#header-image { | |||
position: absolute; | |||
top: 0; | |||
left: 50%; | |||
transform: translateX(-50%); | |||
z-index: 1; /* Adjust the z-index to position it correctly */ | |||
pointer-events: none; /* Ensure it doesn't interfere with page interactions */ | |||
} |
A lap 2024. június 24., 09:49-kori változata
/* Fixed image at the top of every page */
- mw-content-text {
position: relative; padding-top: 100px; /* Adjust this value based on your image height */
}
- header-image {
position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 1; /* Adjust the z-index to position it correctly */ pointer-events: none; /* Ensure it doesn't interfere with page interactions */
}