MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 124: | Line 124: | ||
td.noborders:first-child { | td.noborders:first-child { | ||
border-top: none !important; | border-top: none !important; | ||
} | |||
/* Standard Navigationsleisten, aka box hiding thingy | |||
from .de. Documentation at [[Wikipedia:NavFrame]]. */ | |||
div.NavFrame { | |||
margin: 0; | |||
padding: 4px; | |||
border: 1px solid #a2a9b1; | |||
text-align: center; | |||
border-collapse: collapse; | |||
font-size: 95%; | |||
} | |||
div.NavFrame + div.NavFrame { | |||
border-top-style: none; | |||
border-top-style: hidden; | |||
} | |||
div.NavPic { | |||
background-color: #fff; | |||
margin: 0; | |||
padding: 2px; | |||
/* @noflip */ | |||
float: left; | |||
} | |||
div.NavFrame div.NavHead { | |||
line-height: 1.6em; | |||
font-weight: bold; | |||
background-color: #ccf; | |||
position: relative; | |||
} | |||
div.NavFrame p, | |||
div.NavFrame div.NavContent, | |||
div.NavFrame div.NavContent p { | |||
font-size: 100%; | |||
} | |||
div.NavEnd { | |||
margin: 0; | |||
padding: 0; | |||
line-height: 1px; | |||
clear: both; | |||
} | |||
a.NavToggle { | |||
position: absolute; | |||
top: 0; | |||
/* @noflip */ | |||
right: 3px; | |||
font-weight: normal; | |||
font-size: 90%; | |||
} | |||
.client-js .NavFrame.collapsed > .NavContent { | |||
display: none; | |||
} | } |
Revision as of 15:14, 18 January 2021
/* 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;
}
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;
}
/* Standard Navigationsleisten, aka box hiding thingy
from .de. Documentation at [[Wikipedia:NavFrame]]. */
div.NavFrame {
margin: 0;
padding: 4px;
border: 1px solid #a2a9b1;
text-align: center;
border-collapse: collapse;
font-size: 95%;
}
div.NavFrame + div.NavFrame {
border-top-style: none;
border-top-style: hidden;
}
div.NavPic {
background-color: #fff;
margin: 0;
padding: 2px;
/* @noflip */
float: left;
}
div.NavFrame div.NavHead {
line-height: 1.6em;
font-weight: bold;
background-color: #ccf;
position: relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
font-size: 100%;
}
div.NavEnd {
margin: 0;
padding: 0;
line-height: 1px;
clear: both;
}
a.NavToggle {
position: absolute;
top: 0;
/* @noflip */
right: 3px;
font-weight: normal;
font-size: 90%;
}
.client-js .NavFrame.collapsed > .NavContent {
display: none;
}