MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 25: | Line 25: | ||
text-align: center; | text-align: center; | ||
table-layout: fixed; | table-layout: fixed; | ||
column-width: | column-width: 50px; | ||
} | } | ||
Latest revision as of 09:48, 5 June 2024
/* To make images responsive */ img { max-width:100%; height:auto; padding-top: 10px; padding-bottom: 10px; }
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: 50px;
}
table.borders
{
border-collapse: collapse;
text-align: center;
table-layout: fixed;
width: 100%;
}
th.borders
/* unvisited link */
a:link {
color: #003399 !important;
}
/* visited link */
a:visited {
color: #003399 !important;
}
/* mouse over link */
a:hover {
color: #f57c00 !important;
}
/* selected link */
a:active {
color: #f57c00 !important;
}
{
text-align: center;
background-color: #37474f;
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;
}
td {
display: table-cell;
vertical-align: top;
}
/* {{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;
}
/*#toc {float:right;margin-left:40px};*/
{{multiple image
<!-- Essential parameters -->
| align = <!-- left/right/center/none -->
| direction = <!-- horizontal/vertical -->
| width = <!-- integer width in pixels; no "px" suffix -->
<!-- Image 1 -->
| image1 = <!-- file name only; no "File:" or "Image:" prefix -->
| width1 =
| alt1 =
| caption1 =
<!-- Image 2 -->
| image2 = <!-- file name only; no "File:" or "Image:" prefix -->
| width2 =
| alt2 =
| caption2 =
<!-- Image 3 -->
| image3 = <!-- file name only; no "File:" or "Image:" prefix -->
| width3 =
| alt3 =
| caption3 =
<!-- up to |image10 is accepted -->
<!-- Extra parameters -->
| header =
| header_align = <!-- left/right/center -->
| header_background =
| footer =
| footer_align = <!-- left/right/center -->
| footer_background =
| background color =
}}