MediaWiki:Citizen.css: Porovnání verzí
MediaWiki interface page
More actions
Bez shrnutí editace |
Bez shrnutí editace |
||
| Řádek 1: | Řádek 1: | ||
/* All CSS here will be loaded for users of the Citizen skin */ | /* All CSS here will be loaded for users of the Citizen skin */ | ||
.home-hero { | .home-hero { | ||
ackground: | |||
linear-gradient( | |||
135deg, | |||
#314b2c, | |||
#1b1f1b | |||
); | |||
color: #e8e4d8; | |||
border-radius: 16px; | border-radius: 16px; | ||
padding: 30px; | padding: 30px; | ||
| Řádek 27: | Řádek 21: | ||
.home-card { | .home-card { | ||
background: # | background: #252b25; | ||
border: 1px solid # | border: 1px solid #4f7c42; | ||
border-radius: 12px; | border-radius: 12px; | ||
padding: 20px; | padding: 20px; | ||
| Řádek 37: | Řádek 31: | ||
.home-card:hover { | .home-card:hover { | ||
transform: translateY(-2px); | transform: translateY(-2px); | ||
border-color: # | border-color: #b89d5c; | ||
} | } | ||
| Řádek 44: | Řádek 38: | ||
font-weight: bold; | font-weight: bold; | ||
text-decoration: none; | text-decoration: none; | ||
color: #d4c17a | |||
} | } | ||
Verze z 3. 8. 2026, 16:56
/* All CSS here will be loaded for users of the Citizen skin */
.home-hero {
ackground:
linear-gradient(
135deg,
#314b2c,
#1b1f1b
);
color: #e8e4d8;
border-radius: 16px;
padding: 30px;
margin-bottom: 30px;
text-align: center;
}
.home-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
}
.home-card {
background: #252b25;
border: 1px solid #4f7c42;
border-radius: 12px;
padding: 20px;
min-height: 120px;
transition: 0.2s ease;
}
.home-card:hover {
transform: translateY(-2px);
border-color: #b89d5c;
}
.home-card a {
font-size: 1.2rem;
font-weight: bold;
text-decoration: none;
color: #d4c17a
}
@media (max-width: 1000px) {
.home-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 768px) {
.home-grid {
grid-template-columns: 1fr;
}
}