MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(page-notice styles (wip) and fullurl link fix) |
||
Line 10: | Line 10: | ||
.rootpage-Main_Page #firstHeading { | .rootpage-Main_Page #firstHeading { | ||
display:none; | display:none; | ||
} | |||
/* Links using fullurl should be plainlinks */ | |||
.mw-parser-output .external[href^="https://wiki.npowned.net/"] { | |||
background: none; | |||
padding: 0; | |||
} | } | ||
Line 55: | Line 61: | ||
} | } | ||
/* | /* Page notices */ | ||
. | .page-notice { | ||
border: 2px solid #2082C3; | |||
margin: 1em auto; | |||
padding: 0. | padding: 0.5em; | ||
width: 50%; | |||
} | } | ||
. | .notice-delete { | ||
/*background-color: ; | |||
border- | border-color: ;*/ | ||
} | } | ||
. | .notice-documentation { | ||
background-color: #EEE; | background-color: #EEE; | ||
border: | border-color: darkgray; | ||
} | |||
.notice-stub { | |||
/*background-color: ; | |||
border-color: ;*/ | |||
} | } | ||
Line 104: | Line 111: | ||
.fileinfo td { | .fileinfo td { | ||
padding: 0 0.5em; | padding: 0 0.5em; | ||
} | |||
/* Template documentation */ | |||
.template-doc { | |||
background-color: #EEE; | |||
border: 1px solid darkgray; | |||
padding: 0.25em 1em; | |||
} | |||
.template-doc > div { | |||
border: solid darkgray; | |||
border-width: 1px 0; | |||
padding-bottom: 1em; | |||
} | } |
Revision as of 04:15, 24 July 2020
/* CSS placed here will be applied to all skins */
/* Hide license selection on Special:Upload as we won't use it that way. */
.mw-special-Upload .mw-htmlform-field-Licenses,
.mw-special-Upload .mw-upload-editlicenses {
display: none;
}
/* Hide page title on Main Page */
.rootpage-Main_Page #firstHeading {
display:none;
}
/* Links using fullurl should be plainlinks */
.mw-parser-output .external[href^="https://wiki.npowned.net/"] {
background: none;
padding: 0;
}
/* Infoboxes */
.infobox {
border-collapse: collapse;
float: right;
margin-bottom: 1em;
margin-left: 1em;
text-align: left;
width: 20%;
}
.infobox th,
.infobox td {
border: 1px solid lightgray;
}
.infobox-images {
font-weight: bold;
text-align: center;
}
.infobox-images > div:not(:first-child) {
margin-top: 1em;
}
.infobox-header {
font-size: 150%;
text-align: center;
}
tr.center-row th,
tr.center-row td {
text-align: center;
}
.infobox.cybernations {
}
.infobox.nationstates {
}
/* Page notices */
.page-notice {
border: 2px solid #2082C3;
margin: 1em auto;
padding: 0.5em;
width: 50%;
}
.notice-delete {
/*background-color: ;
border-color: ;*/
}
.notice-documentation {
background-color: #EEE;
border-color: darkgray;
}
.notice-stub {
/*background-color: ;
border-color: ;*/
}
/* File information */
.fileinfo {
border: 1px solid lightgray;
border-radius:0.5em;
margin-top: 2em;
min-width: 25%;
}
.fileinfo th {
background-color: #2082C3;
border-radius: 0.25em;
color: white;
padding: 0.5em;
text-align: right;
width: 33%;
}
.fileinfo th[colspan] {
font-size: 125%;
text-align: center;
width: 100%;
}
.fileinfo td {
padding: 0 0.5em;
}
/* Template documentation */
.template-doc {
background-color: #EEE;
border: 1px solid darkgray;
padding: 0.25em 1em;
}
.template-doc > div {
border: solid darkgray;
border-width: 1px 0;
padding-bottom: 1em;
}