MediaWiki:Common.css: Różnice pomiędzy wersjami

Z Endore
Przejdź do nawigacji Przejdź do wyszukiwania
Linia 167: Linia 167:
     transform: translate(-50%, -50%);
     transform: translate(-50%, -50%);
     filter: invert(1) brightness(0.96);
     filter: invert(1) brightness(0.96);
}
.logo-left,
.bottom-logo-left {
    opacity: 0;
    animation: fadein 3s ease forwards;
}
@keyframes fadein {
    from { opacity: 0; }
    to  { opacity: 1; }
}
}

Wersja z 09:16, 16 lis 2025

/* Umieszczony tutaj kod CSS zostanie zastosowany we wszystkich skórkach */
body {
    background-color: #2a2a2a !important;
}
body #p-logo a {
    background-image: url(https://wiki.endore.pl/images/f/fe/Wikilogofinal.gif) !important;
    border-radius: 50%;
}

.logo-wrapper {
    position: relative;
    width: 350px;
    height: 350px;
    margin: 0 auto;
}

/* 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.5;
    pointer-events: none;
    animation: spin 60s linear infinite;
    filter: invert(1) brightness(0.76);
}

/* 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,0.3);
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.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: 198px;
    height: 198px;
    margin: 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: 198px;
    height: 198px;
    margin: 0 auto;
    background-image: url("https://wiki.endore.pl/images/8/81/Umbar1.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.bottom-logo-left {
    position: absolute;
    top: 80%;
    left: 50%;
    width: 333px;
    height: 100px;
    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: 80%;
    left: 50%;
    width: 333px;
    height: 100px;
    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);
}

.logo-left,
.bottom-logo-left {
    opacity: 0;
    animation: fadein 3s ease forwards;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}