MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
ErgoSoftUK (talk | contribs) No edit summary Tag: Manual revert |
||
| (34 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
/* Safely hide the default Vector 2022 home/project icon element */ | |||
.mw-ui-icon-home { | |||
display: none !important; | |||
} | |||
ul>li { | |||
ol li { | list-style-type:disc; | ||
} | |||
ul>li>ul>li { | |||
list-style-type:circle; | |||
} | |||
ol>li { | |||
list-style-type:decimal; | list-style-type:decimal; | ||
| Line 8: | Line 22: | ||
} | } | ||
ol li ol li { | ol>li ol>li { | ||
list-style-type:lower-alpha; | list-style-type:lower-alpha; | ||
} | |||
ol>li ol>li ol>li { | |||
list-style-type:lower-roman; | |||
} | |||
table.columns | |||
{ | |||
border-collapse: collapse; | |||
text-align: center; | |||
table-layout: fixed; | |||
column-width: 30px; | |||
} | } | ||
| Line 24: | Line 52: | ||
th.borders | th.borders | ||
{ | { | ||
text-align: center; | text-align: center; | ||
background-color: # | background-color: #04466b; | ||
color: white; | color: white; | ||
border-right: solid 1px black; | border-right: solid 1px black; | ||
| Line 156: | Line 159: | ||
color: #f00; | color: #f00; | ||
font-size:14pt; | font-size:14pt; | ||
} | |||
/* {{pp-template}} | |||
Allow limiting of which header levels are shown in a TOC; | |||
<div class="toclimit-3">, for instance, will limit to | |||
showing ==headings== and ===headings=== but no further | |||
(as long as there are no =headings= on the page, which | |||
there shouldn't be according to the MoS). */ | |||
.toclimit-2 .toclevel-1 ul, | |||
.toclimit-3 .toclevel-2 ul, | |||
.toclimit-4 .toclevel-3 ul, | |||
.toclimit-5 .toclevel-4 ul, | |||
.toclimit-6 .toclevel-5 ul, | |||
.toclimit-7 .toclevel-6 ul { | |||
display: none; | |||
} | |||
/* {{pp-template}} */ | |||
.tocleft { | |||
float:left; | |||
margin-right:40px | |||
} | |||
.tocleft-clear-both { | |||
clear: both; | |||
} | |||
.tocleft-clear-none { | |||
clear: none; | |||
} | |||
/* {{pp-template}} */ | |||
.tocright { | |||
float:right; | |||
margin-left:40px | |||
} | |||
.tocright-clear-both { | |||
clear: both; | |||
} | |||
.tocright-clear-none { | |||
clear: none; | |||
} | |||
/* unvisited link */ | |||
a:link { | |||
color: #04466b!important; | |||
} | |||
/* visited link */ | |||
a:visited { | |||
color: #04466b!important; | |||
} | |||
/* mouse over link */ | |||
a:hover { | |||
color: #04466b!important; | |||
} | |||
/* selected link */ | |||
a:active { | |||
color: #04466b!important; | |||
} | } | ||
Latest revision as of 10:38, 22 October 2026
/* Safely hide the default Vector 2022 home/project icon element */
.mw-ui-icon-home {
display: none !important;
}
ul>li {
list-style-type:disc;
}
ul>li>ul>li {
list-style-type:circle;
}
ol>li {
list-style-type:decimal;
}
ol>li ol>li {
list-style-type:lower-alpha;
}
ol>li ol>li ol>li {
list-style-type:lower-roman;
}
table.columns
{
border-collapse: collapse;
text-align: center;
table-layout: fixed;
column-width: 30px;
}
table.borders
{
border-collapse: collapse;
text-align: center;
table-layout: fixed;
width: 100%;
}
th.borders
{
text-align: center;
background-color: #04466b;
color: white;
border-right: solid 1px black;
border-left: solid 1px black;
border-collapse: collapse;
}
td.borders
{
border-right: solid 1px black;
border-left: solid 1px black;
border-collapse: collapse;
padding: 0px;
text-align: center;
vertical-align: top;
border-bottom: solid 1px black;
padding-top: 5px;
height: 60px;
}
td.borders:first-child
{
border-right: solid 1px black;
border-left: solid 1px black;
border-collapse: collapse;
padding: 0px;
text-align: center;
vertical-align: top;
border-bottom: solid 1px black;
padding-top: 5px;
font-weight: normal;
}
td.noborders
{
border-left: none;
border-right: none;
border-collapse: collapse;
padding: 0px;
text-align: center;
vertical-align: top;
border-bottom: none;
background-color: #dcdcdc;
}
td.noborders:first-child
{
border-top: solid 1px black;
padding: 0px;
text-align: center;
font-weight: normal;
}
.line {
width: 100%;
text-align: center;
border-bottom: 1px solid #000;
line-height: 0.1em;
margin: 10px 0 20px;
}
.line span {
background:#fff;
padding:0 10px;
}
dd {
margin-left: 0em !important;
}
td.noborders:first-child {
border-top: none !important;
}
.mw-collapsible-toggle {
outline: none;
}
.mw-customtoggle {
outline: none;
}
.green-tip
{
color: #558B2F;
font-size:14pt;
}
.blue-info
{
color: #0277BD;
font-size:14pt;
}
.orange-note
{
color: #ff8F00;
font-size:14pt;
}
.red-warning
{
color: #f00;
font-size:14pt;
}
/* {{pp-template}}
Allow limiting of which header levels are shown in a TOC;
<div class="toclimit-3">, for instance, will limit to
showing ==headings== and ===headings=== but no further
(as long as there are no =headings= on the page, which
there shouldn't be according to the MoS). */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
display: none;
}
/* {{pp-template}} */
.tocleft {
float:left;
margin-right:40px
}
.tocleft-clear-both {
clear: both;
}
.tocleft-clear-none {
clear: none;
}
/* {{pp-template}} */
.tocright {
float:right;
margin-left:40px
}
.tocright-clear-both {
clear: both;
}
.tocright-clear-none {
clear: none;
}
/* unvisited link */
a:link {
color: #04466b!important;
}
/* visited link */
a:visited {
color: #04466b!important;
}
/* mouse over link */
a:hover {
color: #04466b!important;
}
/* selected link */
a:active {
color: #04466b!important;
}