MediaWiki:Citizen.css: Porovnání verzí
MediaWiki interface page
More actions
Bez shrnutí editace |
Bez shrnutí editace |
||
| Řádek 85: | Řádek 85: | ||
text-align: center; | text-align: center; | ||
} | |||
.race-card:hover { | |||
transform: translateY(-2px); | |||
border-color: var(--border-color-hover); | |||
} | } | ||
| Řádek 99: | Řádek 104: | ||
.race-card img { | .race-card img { | ||
width: | width: 90%; | ||
height: 240px; | height: 240px; | ||
Verze z 3. 8. 2026, 19:29
/* 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: 8px;
min-height: 120px;
transition: 0.2s ease;
cursor: pointer;
text-align: center;
}
.race-card:hover {
transform: translateY(-2px);
border-color: var(--border-color-hover);
}
.race-card a {
display: block;
font-size: 2rem;
font-weight: 700;
text-decoration: none;
margin-bottom: 12px;
}
.race-card img {
width: 90%;
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;
}
}