Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Nejste přihlášen(a)
Your IP address will be publicly visible if you make any edits.

MediaWiki:Citizen.css: Porovnání verzí

MediaWiki interface page
Bez shrnutí editace
Bez shrnutí editace
Řádek 77: Řádek 77:
     border: var(--border-width-base) solid var(--border-color-base);
     border: var(--border-width-base) solid var(--border-color-base);
     border-radius: 12px;
     border-radius: 12px;
     padding: 20px;
 
     padding: 16px;
     min-height: 120px;
     min-height: 120px;
     transition: 0.2s ease;
     transition: 0.2s ease;
     cursor: pointer;
     cursor: pointer;
    text-align: center;
}
.race-card a {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 12px;
}
}


.race-card img {
.race-card img {
     width: 150px;
     width: 180px;
     height: 225px;
     height: 240px;


     object-fit: cover;
     object-fit: cover;

Verze z 3. 8. 2026, 19:28

/* All CSS here will be loaded for users of the Citizen skin */
:root {
    --color-surface-0: #171615;
    --color-surface-1: #171615;
    --color-surface-2: #151413;

    --color-base: #d9d2c5;
    --color-base-dark: #22201e;
    --color-neutral: #d9d2c5;
    --color-emphasized: #5f7f64;
    --color-subtle: #8CAB82;

    --border-color-base: #3b3732;
    --border-color-hover: #6a8f4e;

    --color-progressive: #9b7d47;
    --color-progressive--hover: #9b7d47;
    --color-destructive: #b05545;
    --color-destructive--hover: #b05545;
}

#siteSub {
    display: none;
}

.citizen-preferences-dropdown {
    display: none !important;
}

.home-hero {
    background: var(--color-base-dark);
    border: var(--border-width-base) solid var(--border-color-base);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.home-hero h1 {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: 0.03em;
    line-height: 1;
}

.page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.home-card {
    background: var(--color-base-dark);
    border: var(--border-width-base) solid var(--border-color-base);
    border-radius: 12px;
    padding: 20px;
    min-height: 120px;
    transition: 0.2s ease;
    cursor: pointer;
}

.home-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-color-hover);
}

.home-card a {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
}

.race-card {
    background: var(--color-base-dark);
    border: var(--border-width-base) solid var(--border-color-base);
    border-radius: 12px;

    padding: 16px;
    min-height: 120px;

    transition: 0.2s ease;
    cursor: pointer;

    text-align: center;
}

.race-card a {
    display: block;

    font-size: 2rem;
    font-weight: 700;

    text-decoration: none;

    margin-bottom: 12px;
}

.race-card img {
    width: 180px;
    height: 240px;

    object-fit: cover;

    border-radius: 12px;
}

.firstHeading {
    font-family: "Montserrat", sans-serif;
    margin-top: 80px;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0;
}

.citizen-page-header {
    border-bottom: var(--border-width-base) solid var(--border-color-base);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.citizen-page-sidebar {
    order: -1;
}

@media (max-width: 1000px) {
    .home-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .home-grid {
        grid-template-columns: 1fr;
    }
}