MediaWiki:Common.css: Porovnání verzí
Vzhled
Bez shrnutí editace značka: ruční vrácení zpět |
Bez shrnutí editace |
||
| Řádek 23: | Řádek 23: | ||
th[style*="background"] { | th[style*="background"] { | ||
all: revert; | all: revert; | ||
} | |||
/* Last Kingdom main sections grid */ | |||
.lk-sections { | |||
display: grid; | |||
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); | |||
gap: 16px; | |||
margin-top: 20px; | |||
} | |||
.lk-card { | |||
border: 1px solid #aaa; | |||
border-radius: 10px; | |||
padding: 12px; | |||
background: var(--background-color-base); | |||
text-align: center; | |||
} | |||
.lk-card h3 { | |||
margin-top: 6px; | |||
font-family: Georgia, Palatino, serif; | |||
} | |||
.lk-card ul { | |||
text-align: left; | |||
margin-top: 10px; | |||
} | } | ||
Verze z 14. 1. 2026, 21:18
/* Zde uvedené CSS bude ovlivňovat všechny vzhledy */
/* Default tables: no borders, background, shadows unless specified */
table {
border: none;
background: transparent;
box-shadow: none;
border-collapse: collapse;
}
/* Table cells default */
table td, table th {
border: none;
background: transparent;
box-shadow: none;
}
/* Only apply styles if explicitly defined */
table[style*="border"],
table[style*="background"],
td[style*="border"],
td[style*="background"],
th[style*="border"],
th[style*="background"] {
all: revert;
}
/* Last Kingdom main sections grid */
.lk-sections {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 16px;
margin-top: 20px;
}
.lk-card {
border: 1px solid #aaa;
border-radius: 10px;
padding: 12px;
background: var(--background-color-base);
text-align: center;
}
.lk-card h3 {
margin-top: 6px;
font-family: Georgia, Palatino, serif;
}
.lk-card ul {
text-align: left;
margin-top: 10px;
}