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

Z The Last Kingdom UO Wiki
Bez shrnutí editace
značka: revertováno
Bez shrnutí editace
značka: ruční vrácení zpět
 
(Není zobrazeno 22 mezilehlých verzí od stejného uživatele.)
Řádek 6: Řádek 6:
     box-shadow: none;
     box-shadow: none;
     border-collapse: collapse;
     border-collapse: collapse;
    text-align: center;
    vertical-align: middle;
}
}


Řádek 25: Řádek 27:
}
}


/* Global dark background */
.centered-table {
html, body {
     margin-left: auto;
     background-color: #000 !important;
     margin-right: auto;
     color: #e0e0e0;
}
}


/* Main content area */
/* Center shrink-to-fit tables (e.g. image-only tables) */
.mw-body,
table.center-table {
#content,
    width: auto !important;
#mw-content-text {
     margin-left: auto !important;
     background-color: #000 !important;
     margin-right: auto !important;
     color: #e0e0e0;
}
}


/* Sidebar */
/* Center text in all wikitable cells */
#mw-panel {
.wikitable th,
     background-color: #000 !important;
.wikitable td {
    text-align: center;
     vertical-align: middle;
}
}


/* Footer */
/* Center images in tables */
#footer {
.wikitable img {
     background-color: #000 !important;
    display: block;
    margin: 0 auto;
}
 
/* Keep text and links inline */
.wikitable td,
.wikitable th {
    text-align: center;
    vertical-align: middle;
}
 
.wikitable td a,
.wikitable th a,
.wikitable td span,
.wikitable th span {
    display: inline;
}
 
.lk-sections {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* default: 2 columns */
    gap: 16px;
    margin-top: 20px;
}
 
/* Wide desktop: 4 columns */
@media (min-width: 1200px) {
    .lk-sections {
        grid-template-columns: repeat(4, 1fr);
    }
}
 
/* Mobile: 1 column */
@media (max-width: 700px) {
    .lk-sections {
        grid-template-columns: 1fr;
    }
}
 
.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;
}
 
/* Hide site title next to logo */
.mw-logo-wordmark {
    display: none !important;
}
}