MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
Content deleted Content added
No edit summary |
Add ver-beta badge style |
||
| (8 intermediate revisions by 2 users not shown) | |||
| Line 3: | Line 3: | ||
display: flex; |
display: flex; |
||
flex-wrap: wrap; |
flex-wrap: wrap; |
||
gap: 10px; |
|||
justify-content: space-between; |
|||
justify-content: center; |
|||
| ⚫ | |||
} |
} |
||
.inputbox-gallery |
.inputbox-gallery .image-frame { |
||
width: calc(33.33% - 14px); |
|||
border: 1px solid #ccc; |
|||
padding: 10px; |
|||
text-align: center; |
|||
} |
} |
||
.page__main { |
|||
/* ── Version stamps ({{Ver}} / Module:GameVersion) ───────────────── */ |
|||
background-color: rgba(var(--theme-page-background-color--rgb), 0.9); |
|||
.ver-ok, |
|||
.ver-beta, |
|||
.ver-stale { |
|||
display: inline-block; |
|||
font-size: 0.78em; |
|||
font-weight: 700; |
|||
line-height: 1.4; |
|||
| ⚫ | |||
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); |
|||
} |
} |
||
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);
}