Various fixes

This fixes formatting on the sidebar, in TOCs, in Special:Version tables, on external links, and in OOUI dropdowns
This commit is contained in:
chipmunk 2024-11-28 13:47:05 -05:00
parent 258f032f23
commit b0a9e04ca7
4 changed files with 44 additions and 6 deletions

View file

@ -15,6 +15,11 @@
@color-link-new: #81ad41;
@color-link-new--visited: #81ad41;
// Fix external links
@color-link-external: @color-link;
@color-link-external--visited: @color-link--visited;
@color-link-external--active: @color-link--active;
@color-base: white;
@color-subtle: #707070;

View file

@ -72,7 +72,8 @@ body {
}
/* general styles */
table {
table,
.wikitable {
color: #848484;
/* we don't want the bottom borders of <h2>s to be visible through
floated tables */
@ -90,9 +91,21 @@ hr {
background-color: #c3dc71;
}
h1, h2, h3, h4, h5, h6 {
.mw-heading,
h1,
h2,
h3,
h4,
h5,
h6 {
color: #cdf16c;
background-color: #282828;
}
.mw-heading1,
h1,
.mw-heading2,
h2 {
border-bottom: 1px solid #515151;
}
@ -163,6 +176,13 @@ pre,
background-color: #2c2c2c;
}
#toc,
.toc,
.mw-warning {
border: 1px solid #363636;
background-color: #2c2c2c;
}
/*
** classes for special content elements like town boxes
** intended to be referenced directly from the wiki src
@ -448,6 +468,14 @@ div.mw-lag-warn-high {
}
}
.wikitable > tr > th, .wikitable > * > tr > th {
color: black;
}
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle {
color: black;
}
/* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */
.tipsy {
font-size: 127%;

View file

@ -56,8 +56,12 @@
.mw-portlet > div,
.pBody {
background-color: #fff;
border: 1px solid #aaa;
background-color: #2c2c2c;
border-collapse: collapse;
border-left: 1px solid #1f1f1f;
border-right: 1px solid #1f1f1f;
border-top: 1px solid #363636;
border-bottom: 1px solid #1f1f1f;
padding: 0 0.8em 0.3em 0.5em;
}
@ -254,7 +258,8 @@ li#pt-anonuserpage {
#p-cactions li.selected a {
z-index: 3;
background-color: #fff;
background-color: #2c2c2c;
border-top: 1px solid #cdf16c;
}
#p-cactions li a {

View file

@ -9,7 +9,7 @@
"license-name": "GPL-2.0-or-later",
"type": "skin",
"requires": {
"MediaWiki": ">= 1.43"
"MediaWiki": ">= 1.42"
},
"ValidSkinNames": {
"insurgency": {