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
Content deleted Content added
Add version-stamp badge styles
Add ver-beta badge style
 
Line 15: Line 15:
/* ── Version stamps ({{Ver}} / Module:GameVersion) ───────────────── */
/* ── Version stamps ({{Ver}} / Module:GameVersion) ───────────────── */
.ver-ok,
.ver-ok,
.ver-beta,
.ver-stale {
.ver-stale {
display: inline-block;
display: inline-block;
Line 30: Line 31:
background: rgba(0, 153, 51, 0.14);
background: rgba(0, 153, 51, 0.14);
border: 1px solid rgba(0, 153, 51, 0.45);
border: 1px solid rgba(0, 153, 51, 0.45);
}
.ver-beta {
color: #2563c0;
background: rgba(37, 99, 192, 0.14);
border: 1px solid rgba(37, 99, 192, 0.5);
}
}
.ver-stale {
.ver-stale {

Latest revision as of 22:26, 2 June 2026

/* CSS placed here will be applied to all skins */
.inputbox-gallery {
    display: flex; 
    flex-wrap: wrap; 
    gap: 10px;
    justify-content: center;
}

.inputbox-gallery .image-frame {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
}

/* ── Version stamps ({{Ver}} / Module:GameVersion) ───────────────── */
.ver-ok,
.ver-beta,
.ver-stale {
    display: inline-block;
    font-size: 0.78em;
    font-weight: 700;
    line-height: 1.4;
    padding: 0 0.45em;
    border-radius: 0.4em;
    white-space: nowrap;
    vertical-align: middle;
    cursor: help;
}
.ver-ok {
    color: #093;
    background: rgba(0, 153, 51, 0.14);
    border: 1px solid rgba(0, 153, 51, 0.45);
}
.ver-beta {
    color: #2563c0;
    background: rgba(37, 99, 192, 0.14);
    border: 1px solid rgba(37, 99, 192, 0.5);
}
.ver-stale {
    color: #c0392b;
    background: rgba(192, 57, 43, 0.14);
    border: 1px solid rgba(192, 57, 43, 0.5);
}