MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(19 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
#firstHeading { | #firstHeading { | ||
font-family: Sans-Serif; | font-family: Sans-Serif; | ||
Line 13: | Line 6: | ||
.mainPageLinksBox | .mainPageLinksBox | ||
{ | { | ||
min-height: | min-height: 200px; | ||
float: left; | float: left; | ||
width: | width: 24%; | ||
} | } | ||
.mainPageLinksBox:not(:last-child) | .mainPageLinksBox:not(:last-child) | ||
Line 21: | Line 14: | ||
margin-right: 5px; | margin-right: 5px; | ||
} | } | ||
} | } | ||
Line 43: | Line 29: | ||
{ | { | ||
border: none !important; | border: none !important; | ||
padding: 5px !important; | |||
padding: 5px; | |||
} | } | ||
Line 55: | Line 40: | ||
.wikitable-callback td:nth-child(3) | .wikitable-callback td:nth-child(3) | ||
{ | { | ||
line-height: 23px; | |||
font-family: 'Source Code Pro', monospace; | font-family: 'Source Code Pro', monospace; | ||
} | } | ||
.wikitable-parameters tr:not(:last-child) td, | .wikitable-parameters tr:not(:last-child) td, | ||
.wikitable-callback tr:not(:last-child) td | .wikitable-callback tr:not(:last-child) td | ||
{ | { | ||
Line 65: | Line 50: | ||
} | } | ||
.wikitable-parameters tr:hover td, | |||
.wikitable-callback tr:hover td | |||
. | { | ||
background-color: #E5FDFE; | |||
} | } | ||
Line 78: | Line 63: | ||
.mainPageLinksBox | .mainPageLinksBox | ||
{ | { | ||
min-height: | min-height: 648px; | ||
float: left; | float: left; | ||
width: | width: 24%; | ||
} | } | ||
.mainPageLinksBox:not(:last-child) | .mainPageLinksBox:not(:last-child) | ||
Line 88: | Line 73: | ||
} | } | ||
. | /* CSS placed here will be applied to all skins */ | ||
{ | .mw-highlight pre { | ||
font-size: 90%; | |||
font-family: "Courier New", monospace; | |||
border: 0px; | |||
padding: 1px; | |||
margin: 1px; | |||
} | |||
.code pre { | |||
font-size: 90%; | |||
font-family: "Courier New", monospace; | |||
border: 0px; | |||
padding: 1px; | |||
margin: 1px; | |||
} | } |
Latest revision as of 11:03, 1 September 2025
#firstHeading {
font-family: Sans-Serif;
}
@media only screen and (min-width: 850px) {
.mainPageLinksBox
{
min-height: 200px;
float: left;
width: 24%;
}
.mainPageLinksBox:not(:last-child)
{
margin-right: 5px;
}
}
.wikitable-parameters,
.wikitable-returns,
.wikitable-callback
{
border: none !important;
background-color: #fff;
}
.wikitable-parameters td,
.wikitable-returns td,
.wikitable-callback td
{
border: none !important;
padding: 5px !important;
}
.wikitable-parameters td:nth-child(1),
.wikitable-parameters td:nth-child(2),
.wikitable-parameters td:nth-child(3),
.wikitable-returns td:nth-child(1),
.wikitable-callback td:nth-child(1),
.wikitable-callback td:nth-child(2),
.wikitable-callback td:nth-child(3)
{
line-height: 23px;
font-family: 'Source Code Pro', monospace;
}
.wikitable-parameters tr:not(:last-child) td,
.wikitable-callback tr:not(:last-child) td
{
border-bottom: solid 1px #cccccc !important;
}
.wikitable-parameters tr:hover td,
.wikitable-callback tr:hover td
{
background-color: #E5FDFE;
}
#firstHeading {
font-family: Sans-Serif;
}
@media only screen and (min-width: 850px) {
.mainPageLinksBox
{
min-height: 648px;
float: left;
width: 24%;
}
.mainPageLinksBox:not(:last-child)
{
margin-right: 5px;
}
}
/* CSS placed here will be applied to all skins */
.mw-highlight pre {
font-size: 90%;
font-family: "Courier New", monospace;
border: 0px;
padding: 1px;
margin: 1px;
}
.code pre {
font-size: 90%;
font-family: "Courier New", monospace;
border: 0px;
padding: 1px;
margin: 1px;
}