MediaWiki:Common.css

Z Endore
Przejdź do nawigacji Przejdź do wyszukiwania

Uwaga: aby zobaczyć zmiany po zapisaniu, może zajść potrzeba wyczyszczenia pamięci podręcznej przeglądarki.

  • Firefox / Safari: Przytrzymaj Shift podczas klikania Odśwież bieżącą stronę, lub naciśnij klawisze Ctrl+F5 lub Ctrl+R (⌘-R na komputerze Mac)
  • Google Chrome: Naciśnij Ctrl-Shift-R (⌘-Shift-R na komputerze Mac)
  • Internet Explorer / Edge: Przytrzymaj Ctrl, jednocześnie klikając Odśwież, lub naciśnij klawisze Ctrl+F5
  • Opera: Naciśnij klawisze Ctrl+F5.
/* 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;
}

.discord-block {
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    padding: 15px;
    text-align: center;
    position: relative; /* dla pseudo-elementu z obrazem */
}

/* pseudo-element przed zawartością do wstawienia obrazu */
.discord-block::before {
    content: "";
    display: block;
    width: 73px;      /* szerokość obrazka */
    height: 120px;     /* wysokość obrazka */
    margin: 0 auto 10px auto; /* wyśrodkowanie + odstęp od tekstu */
    background-image: url("https://wiki.endore.pl/images/7/7b/Gandalf_I_Want_You.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Teksty */
.discord-title {
    font-size: 1.3em;
    font-weight: bold;
}

.discord-subtitle {
    font-size: 1em;
}

/* Przycisk */
.discord-button {
    background:#6b4c2a;
    color:white;
    padding:8px 20px;
    border-radius:8px;
}