MediaWiki:Vector.css: Difference between revisions

From BitFolk
Jump to navigation Jump to search
(Stop overriding link colour.)
(Disable dark mode for syntaxhighlight blocks by applying it twice)
 
(13 intermediate revisions by one other user not shown)
Line 1: Line 1:
body {
/* Disable dark mode for syntaxhighlight blocks by applying it twice. */
     font-family: arial,helvetica,sans-serif;
.client-darkmode .mw-highlight pre {
     filter: invert(1) hue-rotate(180deg);
}
}


div#content ul {
div.vectorTabs ul > li {
     list-style-image: none;
     background-image: url('/w/skins/bitfolk/tab-normal-fade.png');
    list-style-type: disc;
}
}


#toc ul, .toc ul {
div.vectorTabs,
     list-style-type: none !important;
div.vectorTabs ul > li > span,
div#mw-head div.vectorMenu > h3 {
     background-image: url(/w/skins/bitfolk/tab-break.png);
}
}


/* Colours */
div.mw-body {
    border-color: #5A725A;
}
 
a, div.vectorTabs ul > li > span > a  {
    color: #4962ED;
}


div#mw-panel div.portal div.body ul li a {
div#mw-panel div.portal div.body ul li a {
Line 24: Line 32:
fieldset {
fieldset {
     border-color: #597258;
     border-color: #597258;
}
/* Tables */
table.wikitable {
    background: #fff;
    margin-top: 16px;
    border-collapse: collapse;
    text-align: left;
    border: 1px solid black;
}
table.wikitable th {
    font-weight: bold;
    padding: 4px 6px;
    border: 1px solid black;
    background-color: #d3e6d2;
    vertical-align: middle;
    text-align: center;
}
table.wikitable td {
    border-bottom: 1px solid #ccc;
    padding: 2px 4px;
}
table.wikitable tbody tr:hover td {
    border: 1px solid #4062ed;
    color: #4962ed;
}
}

Latest revision as of 23:23, 27 October 2024

/* Disable dark mode for syntaxhighlight blocks by applying it twice. */
.client-darkmode .mw-highlight pre {
    filter: invert(1) hue-rotate(180deg);
}

div.vectorTabs ul > li {
    background-image: url('/w/skins/bitfolk/tab-normal-fade.png');
}

div.vectorTabs,
div.vectorTabs ul > li > span,
div#mw-head div.vectorMenu > h3 {
    background-image: url(/w/skins/bitfolk/tab-break.png);
}

div.mw-body {
    border-color: #5A725A;
}

a, div.vectorTabs ul > li > span > a  {
    color: #4962ED;
}

div#mw-panel div.portal div.body ul li a {
    color: #597258;
}

h1, h2 {
    border-bottom-color: #D3E6D2;
}

fieldset {
    border-color: #597258;
}