Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
Tags: Manual revert Reverted
No edit summary
Tag: Reverted
Line 65: Line 65:
     display: block;
     display: block;
     width: 100%;
     width: 100%;
     padding: 8px 12px;
 
     margin-bottom: 8px;
     padding: 6px 12px;
     border-radius: 6px;
     margin-bottom: 6px;
 
     border-radius: 8px;
     border: none;
     border: none;
     cursor: pointer;
     cursor: pointer;
     background: rgba(255,255,255,0.05);
     background: rgba(255,255,255,0.05);
     color: inherit;
     color: inherit;
     transition: background 0.2s ease;
 
     transition: background 0.2s ease, box-shadow 0.2s ease;
}
}


.lt-theme-button:hover {
.lt-theme-button:hover {
     background: rgba(255,255,255,0.12);
     background: rgba(255,255,255,0.1);
}
}


.lt-theme-button.is-active {
.lt-theme-button.is-active {
     outline: 2px solid #36c;
     box-shadow: inset 0 0 0 2px #36c;
}
}

Revision as of 16:34, 20 February 2026

/* CSS placed here will be applied to all skins */
#skin-client-prefs-skin-theme {
    display: none !important;
}
#skin-client-prefs-citizen-feature-pure-black {
	display: none !important;
}
/* =========================
   Infoboxes
========================= */

.lt-infobox {
    border: 1px solid var(--color-border, #2a2f3a);
    background: var(--color-surface-1, #111827);
    padding: 0;
    max-width: 320px;
    font-size: 14px;
    float: right;
    margin: 0 0 1rem 1.5rem; /* bottom + space from content */
}

.lt-infobox-title {
    padding: 5px;
    font-size: 35px;
    font-weight: 600;
    text-align: center;
    border-bottom: 1px solid var(--color-border, #2a2f3a);
    letter-spacing: 2px;
}

.lt-infobox-image img {
    width: 100%;
    display: block;
}

.lt-infobox-section {
    padding: 4px 12px;
}

.lt-infobox-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px solid var(--color-border, #2a2f3a);
    font-size: 15px;
}

.lt-infobox-row:last-child {
    border-bottom: none;
}

.lt-infobox-label {
    font-weight: 500;
}

.lt-infobox-value {
    text-align: right;
}

/* =========================
   Theme Buttons
========================= */

.lt-theme-button {
    display: block;
    width: 100%;

    padding: 6px 12px;
    margin-bottom: 6px;

    border-radius: 8px;
    border: none;

    cursor: pointer;

    background: rgba(255,255,255,0.05);
    color: inherit;

    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.lt-theme-button:hover {
    background: rgba(255,255,255,0.1);
}

.lt-theme-button.is-active {
    box-shadow: inset 0 0 0 2px #36c;
}