MediaWiki:Common.css: Różnice pomiędzy wersjami
Przejdź do nawigacji
Przejdź do wyszukiwania
Znacznik: Ręczne wycofanie zmian |
|||
| (Nie pokazano 69 pośrednich wersji utworzonych przez tego samego użytkownika) | |||
| Linia 1: | Linia 1: | ||
/* Umieszczony tutaj kod CSS zostanie zastosowany we wszystkich skórkach */ | /* Umieszczony tutaj kod CSS zostanie zastosowany we wszystkich skórkach */ | ||
body { | body { | ||
background-color: # | background-color: #1e1e1e !important; | ||
} | } | ||
body #p-logo a { | body #p-logo a { | ||
background-image: url(https://wiki.endore.pl/images/f/fe/Wikilogofinal.gif) !important; | background-image: url(https://wiki.endore.pl/images/f/fe/Wikilogofinal.gif) !important; | ||
border-radius: 50%; | border-radius: 50%; | ||
} | |||
ul { | |||
list-style-type: disc; | |||
list-style-image: none; | |||
} | } | ||
| Linia 14: | Linia 19: | ||
margin: 0 auto; | margin: 0 auto; | ||
} | } | ||
/* === UKŁAD PODSTAWOWY: duże ekrany === */ | |||
.portal-grid { | |||
display: grid; | |||
grid-template-columns: repeat(3, 1fr); | |||
gap: 25px; | |||
margin-top: 25px; | |||
} | |||
/* Uporządkowanie elementów */ | |||
.logo-left-wrapper { order: 1; } | |||
.logo-wrapper { order: 2; } /* CENTER */ | |||
.logo-right-wrapper { order: 3; } | |||
/* === UKŁAD 2: ŚREDNIE EKRANY === */ | |||
/* center na górę, left + right pod spodem */ | |||
@media (max-width: 1200px) { | |||
.portal-grid { | |||
grid-template-columns: 1fr 1fr; /* 2 kolumny */ | |||
} | |||
.logo-wrapper { | |||
grid-column: span 2; /* center na pełną szerokość */ | |||
order: 1; | |||
} | |||
.logo-left-wrapper { | |||
order: 2; | |||
} | |||
.logo-right-wrapper { | |||
order: 3; | |||
} | |||
} | |||
/* === UKŁAD 3: MAŁE EKRANY — left i right znikają === */ | |||
@media (max-width: 768px) { | |||
.logo-left-wrapper, | |||
.logo-right-wrapper { | |||
display: none; | |||
} | |||
.portal-grid { | |||
grid-template-columns: 1fr; /* tylko center */ | |||
} | |||
} | |||
/* Obracający się obrazek, np. w logo lub dowolnym miejscu */ | /* Obracający się obrazek, np. w logo lub dowolnym miejscu */ | ||
| Linia 24: | Linia 76: | ||
background-position: center; | background-position: center; | ||
background-size: contain; | background-size: contain; | ||
opacity: 0 | opacity: 0; | ||
pointer-events: none; | pointer-events: none; | ||
filter: invert(1) brightness(0.76); | filter: invert(1) brightness(0.76); | ||
animation-name: fadeAfterEnter, spin; | |||
animation-duration: 1.5s, 60s; | |||
animation-timing-function: ease, linear; | |||
animation-delay: 6.5s, 0s; /* fade-in po enter-logo, spin od razu */ | |||
animation-fill-mode: forwards, none; | |||
animation-iteration-count: 1, infinite; | |||
} | } | ||
| Linia 86: | Linia 144: | ||
.mapa-block { | .mapa-block { | ||
border-radius: 12px; | border-radius: 12px; | ||
box-shadow: 0 0 15px rgba(0,0,0, | box-shadow: 0 0 15px rgba(0,0,0,1); | ||
padding: 15px; | padding: 15px; | ||
display: flex; | display: flex; | ||
justify-content: center; | justify-content: center; | ||
align-items: center; | align-items: center; | ||
background-color: rgba(20, 20, 20, 0.8); | |||
} | } | ||
| Linia 122: | Linia 181: | ||
.logo-left { | .logo-left { | ||
width: | width: 170px; | ||
height: | height: 170px; | ||
margin: 0 auto; | margin: 20px auto 0 auto; | ||
background-image: url("https://wiki.endore.pl/images/f/ff/Gondor1.png"); | background-image: url("https://wiki.endore.pl/images/f/ff/Gondor1.png"); | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
| Linia 132: | Linia 191: | ||
.logo-right { | .logo-right { | ||
width: | width: 170px; | ||
height: | height: 170px; | ||
margin: 0 auto; | margin: 20px auto 0 auto; | ||
background-image: url("https://wiki.endore.pl/images/8/81/Umbar1.png"); | background-image: url("https://wiki.endore.pl/images/8/81/Umbar1.png"); | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-position: center; | background-position: center; | ||
background-size: contain; | background-size: contain; | ||
} | |||
.logo-left, .logo-right { | |||
border-radius: 50%; | |||
z-index: 2; | |||
} | |||
/* miękka aura */ | |||
.logo-left::after { | |||
content: ""; | |||
position: absolute; | |||
inset: 0; | |||
border-radius: 50%; | |||
width: 170px; | |||
height: 170px; | |||
margin: 20px auto 0 auto; | |||
box-shadow: | |||
0 0 15px rgba(180, 200, 255, 0.8), | |||
0 0 35px rgba(150, 180, 255, 0.6), | |||
0 0 60px rgba(120, 160, 255, 0.4); | |||
} | |||
.logo-right::after { | |||
content: ""; | |||
position: absolute; | |||
inset: 0; | |||
border-radius: 50%; | |||
width: 170px; | |||
height: 170px; | |||
margin: 20px auto 0 auto; | |||
box-shadow: | |||
0 0 15px rgba(255, 200, 120, 0.75), | |||
0 0 35px rgba(255, 170, 70, 0.6), | |||
0 0 60px rgba(220, 160, 90, 0.45); | |||
} | } | ||
.bottom-logo-left { | .bottom-logo-left { | ||
position: absolute; | position: absolute; | ||
top: | top: 70%; | ||
left: 50%; | left: 50%; | ||
width: | width: 250px; | ||
height: | height: 75px; | ||
background-image: url("https://wiki.endore.pl/images/5/5f/Gondor_wordmark.png"); | background-image: url("https://wiki.endore.pl/images/5/5f/Gondor_wordmark.png"); | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
| Linia 157: | Linia 252: | ||
.bottom-logo-right { | .bottom-logo-right { | ||
position: absolute; | position: absolute; | ||
top: | top: 70%; | ||
left: 50%; | left: 50%; | ||
width: | width: 250px; | ||
height: | height: 75px; | ||
background-image: url("https://wiki.endore.pl/images/6/6b/Umbar_wordmark.png"); | background-image: url("https://wiki.endore.pl/images/6/6b/Umbar_wordmark.png"); | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
| Linia 169: | Linia 264: | ||
} | } | ||
.logo- | .enter-logo { | ||
. | position: absolute; | ||
.logo- | top: 50%; | ||
.bottom-logo-right { | left: 50%; | ||
width: 450px; | |||
height: 158px; | |||
background-image: url("https://wiki.endore.pl/images/d/dc/Takeside_wordmark.png"); | |||
background-repeat: no-repeat; | |||
background-position: center; | |||
background-size: contain; | |||
transform: translate(-50%, -50%); | |||
filter: invert(1) brightness(0.96); | |||
} | |||
.logo-left, .logo-right { | |||
opacity: 0; | |||
animation: fadein 5s ease forwards; | |||
} | |||
.bottom-logo-left, .bottom-logo-right { | |||
opacity: 0; | opacity: 0; | ||
animation: fadein 5s ease forwards; | animation: fadein 5s ease forwards; | ||
animation-delay: 1.5s; | |||
} | } | ||
| Linia 181: | Linia 293: | ||
to { opacity: 1; } | to { opacity: 1; } | ||
} | } | ||
.enter-logo { | |||
opacity: 0; | |||
animation: enterFade 5s ease forwards; | |||
animation-delay: 1.5s; /* start razem z bottom-logo */ | |||
} | |||
@keyframes enterFade { | |||
0% { opacity: 0; } | |||
40% { opacity: 1; } /* koniec fade-in */ | |||
80% { opacity: 1; } /* koniec widoczności */ | |||
100% { opacity: 0; } /* fade-out */ | |||
} | |||
/* fade-in reszty elementów po enter-logo */ | |||
.upper-logo, | |||
.bottom-logo, | |||
.logo-text { | |||
opacity: 0; | |||
animation: fadeAfterEnter 1.5s ease forwards; | |||
animation-delay: 6.5s; /* start po zakończeniu enter-logo */ | |||
} | |||
@keyframes fadeAfterEnter { | |||
from { opacity: 0; } | |||
to { opacity: 1; } | |||
} | |||
.inprogress, .inprogress a { | |||
color: #ff7b7b !important; | |||
text-shadow: 0 0 6px rgba(255, 50, 50, 0.7); | |||
font-weight: bold; | |||
animation: pulse 1.8s ease-in-out infinite; | |||
} | |||
@keyframes pulse { | |||
0% { | |||
opacity: 1; | |||
transform: scale(1); | |||
} | |||
50% { | |||
opacity: 0.75; | |||
transform: scale(1.03); | |||
} | |||
100% { | |||
opacity: 1; | |||
transform: scale(1); | |||
} | |||
} | |||
/* sidebar */ | |||
#t-whatlinkshere, #t-recentchangeslinked, #t-print, #t-permalink, #t-specialpages, #t-info { display:none; } | |||
Aktualna wersja na dzień 19:04, 29 lis 2025
/* Umieszczony tutaj kod CSS zostanie zastosowany we wszystkich skórkach */
body {
background-color: #1e1e1e !important;
}
body #p-logo a {
background-image: url(https://wiki.endore.pl/images/f/fe/Wikilogofinal.gif) !important;
border-radius: 50%;
}
ul {
list-style-type: disc;
list-style-image: none;
}
.logo-wrapper {
position: relative;
width: 350px;
height: 350px;
margin: 0 auto;
}
/* === UKŁAD PODSTAWOWY: duże ekrany === */
.portal-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 25px;
margin-top: 25px;
}
/* Uporządkowanie elementów */
.logo-left-wrapper { order: 1; }
.logo-wrapper { order: 2; } /* CENTER */
.logo-right-wrapper { order: 3; }
/* === UKŁAD 2: ŚREDNIE EKRANY === */
/* center na górę, left + right pod spodem */
@media (max-width: 1200px) {
.portal-grid {
grid-template-columns: 1fr 1fr; /* 2 kolumny */
}
.logo-wrapper {
grid-column: span 2; /* center na pełną szerokość */
order: 1;
}
.logo-left-wrapper {
order: 2;
}
.logo-right-wrapper {
order: 3;
}
}
/* === UKŁAD 3: MAŁE EKRANY — left i right znikają === */
@media (max-width: 768px) {
.logo-left-wrapper,
.logo-right-wrapper {
display: none;
}
.portal-grid {
grid-template-columns: 1fr; /* tylko center */
}
}
/* Obracający się obrazek, np. w logo lub dowolnym miejscu */
.rotating-logo {
width: 350px;
height: 350px;
margin: 0 auto;
background-image: url("https://wiki.endore.pl/images/2/23/Main_page_header_circular_inscription.png");
background-repeat: no-repeat;
background-position: center;
background-size: contain;
opacity: 0;
pointer-events: none;
filter: invert(1) brightness(0.76);
animation-name: fadeAfterEnter, spin;
animation-duration: 1.5s, 60s;
animation-timing-function: ease, linear;
animation-delay: 6.5s, 0s; /* fade-in po enter-logo, spin od razu */
animation-fill-mode: forwards, none;
animation-iteration-count: 1, infinite;
}
/* Definicja animacji */
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
/* Statyczny górny obraz */
.upper-logo {
position: absolute;
top: 35%;
left: 50%;
width: 200px;
height: 28px;
background-image: url("https://wiki.endore.pl/images/1/15/The_Fellowship_of_the_Ring_silhouette.png");
background-repeat: no-repeat;
background-position: center;
background-size: contain;
transform: translate(-50%, -50%);
pointer-events: none;
filter: invert(1) brightness(0.46);
}
/* Statyczny dolny obraz */
.bottom-logo {
position: absolute;
top: 50%;
left: 50%;
width: 400px;
height: 48px;
background-image: url("https://wiki.endore.pl/images/c/c5/Endore_wordmark_-_no_underline.png");
background-repeat: no-repeat;
background-position: center;
background-size: contain;
transform: translate(-50%, -50%);
pointer-events: none;
filter: invert(1) brightness(0.96);
}
/* Logo tekst */
.logo-text {
position: absolute;
top: 60%;
left: 50%;
transform: translate(-50%, -50%);
color: #F5DEB3;
text-shadow: 0 0 5px rgba(0, 0, 0, 0.5); /* lekki cień dla kontrastu */
pointer-events: none;
font-family: "Lora", "Lora-fallback", serif;
font-optical-sizing: auto;
font-weight: 400;
font-style: normal;
white-space: nowrap;
}
.mapa-block {
border-radius: 12px;
box-shadow: 0 0 15px rgba(0,0,0,1);
padding: 15px;
display: flex;
justify-content: center;
align-items: center;
background-color: rgba(20, 20, 20, 0.8);
}
.mapa-block img {
/* Efekt glow */
box-shadow: 0 0 15px rgba(255, 215, 0, 0.7), 0 0 30px rgba(255, 215, 0, 0.4);
/* Alternatywnie drop-shadow: */
/* filter: drop-shadow(0 0 10px gold); */
transition: transform 0.3s, box-shadow 0.3s;
}
/* Efekt na hover */
.mapa-block img:hover {
/* transform: scale(1.05); */
box-shadow: 0 0 25px rgba(255, 215, 0, 0.9), 0 0 40px rgba(255, 215, 0, 0.6);
}
.logo-left-wrapper {
position: relative;
width: 350px;
height: 350px;
margin: 0 auto;
}
.logo-right-wrapper {
position: relative;
width: 350px;
height: 350px;
margin: 0 auto;
}
.logo-left {
width: 170px;
height: 170px;
margin: 20px auto 0 auto;
background-image: url("https://wiki.endore.pl/images/f/ff/Gondor1.png");
background-repeat: no-repeat;
background-position: center;
background-size: contain;
}
.logo-right {
width: 170px;
height: 170px;
margin: 20px auto 0 auto;
background-image: url("https://wiki.endore.pl/images/8/81/Umbar1.png");
background-repeat: no-repeat;
background-position: center;
background-size: contain;
}
.logo-left, .logo-right {
border-radius: 50%;
z-index: 2;
}
/* miękka aura */
.logo-left::after {
content: "";
position: absolute;
inset: 0;
border-radius: 50%;
width: 170px;
height: 170px;
margin: 20px auto 0 auto;
box-shadow:
0 0 15px rgba(180, 200, 255, 0.8),
0 0 35px rgba(150, 180, 255, 0.6),
0 0 60px rgba(120, 160, 255, 0.4);
}
.logo-right::after {
content: "";
position: absolute;
inset: 0;
border-radius: 50%;
width: 170px;
height: 170px;
margin: 20px auto 0 auto;
box-shadow:
0 0 15px rgba(255, 200, 120, 0.75),
0 0 35px rgba(255, 170, 70, 0.6),
0 0 60px rgba(220, 160, 90, 0.45);
}
.bottom-logo-left {
position: absolute;
top: 70%;
left: 50%;
width: 250px;
height: 75px;
background-image: url("https://wiki.endore.pl/images/5/5f/Gondor_wordmark.png");
background-repeat: no-repeat;
background-position: center;
background-size: contain;
transform: translate(-50%, -50%);
filter: invert(1) brightness(0.96);
}
.bottom-logo-right {
position: absolute;
top: 70%;
left: 50%;
width: 250px;
height: 75px;
background-image: url("https://wiki.endore.pl/images/6/6b/Umbar_wordmark.png");
background-repeat: no-repeat;
background-position: center;
background-size: contain;
transform: translate(-50%, -50%);
filter: invert(1) brightness(0.96);
}
.enter-logo {
position: absolute;
top: 50%;
left: 50%;
width: 450px;
height: 158px;
background-image: url("https://wiki.endore.pl/images/d/dc/Takeside_wordmark.png");
background-repeat: no-repeat;
background-position: center;
background-size: contain;
transform: translate(-50%, -50%);
filter: invert(1) brightness(0.96);
}
.logo-left, .logo-right {
opacity: 0;
animation: fadein 5s ease forwards;
}
.bottom-logo-left, .bottom-logo-right {
opacity: 0;
animation: fadein 5s ease forwards;
animation-delay: 1.5s;
}
@keyframes fadein {
from { opacity: 0; }
to { opacity: 1; }
}
.enter-logo {
opacity: 0;
animation: enterFade 5s ease forwards;
animation-delay: 1.5s; /* start razem z bottom-logo */
}
@keyframes enterFade {
0% { opacity: 0; }
40% { opacity: 1; } /* koniec fade-in */
80% { opacity: 1; } /* koniec widoczności */
100% { opacity: 0; } /* fade-out */
}
/* fade-in reszty elementów po enter-logo */
.upper-logo,
.bottom-logo,
.logo-text {
opacity: 0;
animation: fadeAfterEnter 1.5s ease forwards;
animation-delay: 6.5s; /* start po zakończeniu enter-logo */
}
@keyframes fadeAfterEnter {
from { opacity: 0; }
to { opacity: 1; }
}
.inprogress, .inprogress a {
color: #ff7b7b !important;
text-shadow: 0 0 6px rgba(255, 50, 50, 0.7);
font-weight: bold;
animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
0% {
opacity: 1;
transform: scale(1);
}
50% {
opacity: 0.75;
transform: scale(1.03);
}
100% {
opacity: 1;
transform: scale(1);
}
}
/* sidebar */
#t-whatlinkshere, #t-recentchangeslinked, #t-print, #t-permalink, #t-specialpages, #t-info { display:none; }