Difference between revisions of "MediaWiki:Common.css"

From Power Wiki
Jump to navigation Jump to search
Line 1: Line 1:
body {
 
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
 
    background: #fff !important;
 
}
 
 
a {
 
    color: #742774 !important;
 
    text-decoration: none;
 
}
 
 
a:hover {
 
    color: #005580 !important;
 
    text-decoration: underline;
 
}
 
 
h1 {
 
    border: 0px !important;
 
    font-family: 'Arial' !important;
 
    font-weight: 700 !important;
 
    font-size: 36px !important;
 
}
 
 
h2 {
 
    border: 0px !important;
 
    font-family: 'Arial' !important;
 
    font-weight: 400 !important;
 
    font-size: 26px !important;
 
}
 
 
h3 {
 
    border: 0px !important;
 
    font-family: 'Arial' !important;
 
    font-weight: 400 !important;
 
    font-size: 16px !important;
 
}
 
 
#content h3 {
 
    font-size: 20px !important;
 
}
 
 
p {
 
    font-weight: 300 !important;
 
    line-height: 1.9 !important;
 
}
 
 
table, td, th {
 
    border: 0px !important;
 
    border-collapse: collapse !important;
 
    padding: 5px !important;
 
}
 
 
ul, li {
 
    background: transparent !important;
 
    border: 0px !important;
 
    line-height: 1.8 !important;
 
    font-size: 14px !important;
 
    font-weight: 300 !important;
 
}
 
 
li span {
 
    background: transparent !important;
 
    border: 0px !important;
 
    font-size: 14px !important;
 
}
 
 
.referencetooltip {
 
    background-color: #EEE !important;
 
}
 
 
dl {
 
    font-weight: 300 !important;
 
}
 
 
dt {
 
    font-style: italic;
 
    font-size: 16px !important;
 
    margin-top: 10px !important;
 
}
 
 
dd {
 
    font-size: 15px !important;
 
}
 
 
.mw-wiki-logo {
 
    padding-left: 15px !important;
 
    padding-top: 10px !important;
 
    border: none !important;
 
}
 
 
/*#p-logo a {
 
    background-image: url('https://i.imgur.com/ur4m5Ia.png') !important;
 
}*/
 
 
code {
 
    padding: 3px !important;
 
    background: transparent !important;
 
    color: #39892f !important;
 
}
 
 
tt {
 
    font-family: 'Source Code Pro', 'Lucida Sans Unicode', 'Courier New' !important;
 
    font-size: 16px !important;
 
}
 
 
.new, .new:link, .new:visited {
 
    color: #cd5b45 !important;
 
}
 
 
blockquote {
 
    border: 0px !important;
 
    font-style: italic !important;
 
    font-size: 20px !important;
 
    margin: 35px 75px !important;
 
    line-height: 1.5 !important;
 
    font-weight: 300 !important;
 
    background: transparent !important;
 
}
 
 
select {
 
    padding: 0px 10px;
 
}
 
 
.mw-ui-button, .mw-ui-progressive {
 
    border-radius: 4px !important;
 
    border: 1px solid #347Bff !important;
 
    color: #347Bff !important;
 
    background: #fff !important;
 
    text-shadow: 0px 0px 0px;
 
}
 
 
.mw-ui-button.mw-ui-progressive:hover, .mw-ui-button.mw-ui-progressive:focus, .mw-ui-button.mw-ui-progressive:active, .mw-ui-button:hover, .mw-ui-progressive:hover, .mw-ui-button:focus, .mw-ui-progressive:focus {
 
    box-shadow: 0px 0px 0px !important;
 
    text-shadow: 0px 0px 0px !important;
 
    border: 1px solid #347Bff !important;
 
}
 
 
#wpSave, #wpPreview, #wpDiff {
 
    border-radius: 4px !important;
 
    border: 1px solid #347Bff !important;
 
    color: #347Bff !important;
 
    background: #fff !important;
 
    text-shadow: 0px 0px 0px;
 
    padding: 0.5em 1em;
 
    cursor: pointer;
 
}
 
 
#wpSave:hover, #wpPreview:hover, #wpDiff:hover {
 
    color: rgba(52, 123, 255, 0.5) !important;
 
    ;
 
}
 
 
/* Search */
 
 
#simpleSearch {
 
    background: transparent !important;
 
    border-color: #ccc !important;
 
}
 
 
#searchInput {
 
    background: transparent !important;
 
}
 
 
.mw-ui-input {
 
    border: 1px solid #347Bff !important;
 
    color: #000 !important;
 
    background: #fff !important;
 
    font-size: 16px !important;
 
}
 
 
.mw-ui-input:focus {
 
    box-shadow: 0px 0px 0px !important;
 
}
 
 
.mw-content-ltr pre {
 
    font-family: "Courier New", Lucida Console, sans-serif !important;
 
    color: #000d26 !important;
 
}
 
 
.suggestions {
 
    font-weight: 300 !important;
 
    font-size: 15px !important;
 
    max-width: 300px !important;
 
    margin-top: 15px !important;
 
    border: 0px !important;
 
    box-shadow: 2px 2px 10px 2px rgba(0, 0, 0, 0.5);
 
}
 
 
.suggestions-results {
 
    border: 0px !important;
 
}
 
 
.suggestions-result {
 
    padding: 10px !important;
 
}
 
 
.imeselector, #searchEngines {
 
    display: none !important;
 
}
 
 
.mw-search-formheader {
 
    border: 0px !important;
 
    background: transparent !important;
 
}
 
 
.central-featured-logo {
 
    background-image: url('https://i.imgur.com/nRDTbeb.png') !important;
 
}
 
 
.mw-search-result-heading, .searchresult, .searchmatch {
 
    font-size: 14px !important;
 
    font-weight: 400 !important;
 
    padding: 3px 0px !important;
 
}
 
 
.searchmatch {
 
    font-weight: 700 !important;
 
}
 
 
.mw-search-result-data, .mw-search-createlink {
 
    display: none;
 
}
 
 
#mw-page-base, .vectorTabs {
 
    background: transparent !important;
 
    border: 0px !important;
 
}
 
 
#content {
 
    border: 0px !important;
 
    margin-left: 215px !important;
 
}
 
 
.portal {
 
    background: transparent !important;
 
}
 
 
#mw-panel {
 
    width: 200px !important;
 
    border-right: 1px solid #bbb;
 
    background: white !important;
 
    padding-left: 10px !important;
 
}
 
 
#p-logo {
 
    left: 0px;
 
    padding-left: 10px;
 
    background-color: white;
 
}
 
 
#p-logo a {
 
    padding-left: 40px;
 
    background-color: white;
 
    left: 0px;
 
    border-right: 1px solid #aaa;
 
}
 
 
#p-logo a:hover {
 
    opacity: 1.0;
 
}
 
 
#mw-head {
 
    background-color: #f9f9f9;
 
    opacity: 1.0;
 
    box-shadow: 0px 1px 2px #aaa;
 
    -webkit-transition-property: opacity !important;
 
    -moz-transition-property: opacity !important;
 
    -o-transition-property: opacity !important;
 
    -ms-transition-property: opacity !important;
 
    transition-property: opacity !important;
 
    -webkit-transition-duration: 0.5s !important;
 
    -moz-transition-duration: 0.5s !important;
 
    -o-transition-duration: 0.5s !important;
 
    -ms-transition-duration: 0.5s !important;
 
    transition-duration: 0.25s !important;
 
}
 
 
#mw-head:hover {
 
    opacity: 1.0 !important;
 
}
 
 
.uls-settings-trigger {
 
    display: none !important;
 
}
 
 
#left-navigation {
 
    margin-left: 233px !important;
 
}
 
  
.wikitable {
+
#mp-topbanner {
     font-weight: 300 !important;
+
    clear: both;
 +
    position: relative;
 +
    box-sizing: border-box;
 +
    width: 100%;
 +
    margin-top: 1.2em;
 +
    min-width: 47em;
 +
    border-color: #ddd;
 +
    background-color: #F9F9F9;
 +
     white-space: nowrap;
 
}
 
}
  
.wikitable td, .wikitable th {
+
.mp-bordered, .mp-h2, body.skin-timeless .mp-h2 {
     border: 1px dashed rgba(0, 0, 0, 0.07) !important;
+
    /* Timeless needs a higher specificity */
 +
     border-width: 1px;
 +
    border-style: solid;
 
}
 
}
  
pre {
+
#mp-topbanner, .mp-h2, #mp-left {
    line-height: 1.3 !important;
+
     color: #000;
    font-family: "Courier New", Lucida Console, sans-serif !important;
 
    border: 0px !important;
 
    background: 0px !important;
 
     font-size: 16px !important;
 
 
}
 
}
  
.mw-code {
+
#mp-welcomecount {
     border: 0px !important;
+
     margin: 0.4em;
    padding: 17px !important;
+
     width: 22em;
     background: 0px !important;
+
     text-align: center;
     font-size: 16px !important;
 
 
}
 
}
  
.toc {
+
#mp-welcome {
     background: transparent !important;
+
     font-size: 162%;
    border-style: dashed !important;
+
     padding: 0.1em;
     display: block !important;
 
    max-width: 300px !important;
 
 
}
 
}
  
.toctoggle {
+
#mp-free {
     display: none !important;
+
     font-size: 95%;
 
}
 
}
  
.thumbinner, .thumb, .toccolours, .graytable {
+
#articlecount {
    background: transparent !important;
+
     font-size: 85%;
    border: 0px !important;
 
     font-size: 16px !important;
 
 
}
 
}
  
.thumbimage {
+
#mp-portals {
     border: 0px !important;
+
    position: absolute;
 +
    right: -1em;
 +
    top: 50%;
 +
    margin-top: -2.4em;
 +
    width: 38%;
 +
    min-width: 25em;
 +
     font-size: 95%;
 
}
 
}
  
.thumbcaption {
+
#mp-portals li {
     font-style: italic !important;
+
     position: absolute;
     margin: 7px 0px !important;
+
    left: 0;
 +
     top: 0;
 
}
 
}
  
.thumbimage:hover {
+
#mp-portals .portal-hmid {
     opacity: 0.85 !important;
+
     left: 33%;
 
}
 
}
  
.dablink {
+
#mp-portals .portal-hright {
     margin: 14px 0px !important;
+
     left: 66%;
    font-weight: 300 !important;
 
    font-size: 18px !important;
 
 
}
 
}
  
#siteSub, .flaggedrevs_preview {
+
#mp-portals .portal-vmid {
     display: none !important;
+
     top: 1.6em;
 
}
 
}
  
.ambox, .tmbox, .Note, .informationbox {
+
#mp-portals .portal-vbot {
     margin: 5px 0px !important;
+
     top: 3.2em;
    font-size: 18px !important;
 
    font-weight: 700 !important;
 
    line-height: 1.5 !important;
 
    border: 1px dashed #aaa !important;
 
    max-width: 550px !important;
 
    font-weight: 300 !important;
 
 
}
 
}
  
.ambox td, .tmbox td {
+
.portal-hright.portal-vbot {
     padding: 10px !important;
+
     font-weight: bold;
 
}
 
}
  
.ambox-text-small, .mbox-text, .Note td {
+
#mp-banner {
     font-size: 14px !important;
+
     margin-top: 4px;
     font-weight: 300 !important;
+
    padding: 0.5em;
     color: #000 !important;
+
     background-color: #fffaf5;
 +
     border-color: #f2e0ce;
 
}
 
}
  
.ambox-image, .mbox-image {
+
.mp-h2, body.skin-timeless .mp-h2 {
     display: none;
+
     /* Timeless needs a higher specificity */
 +
    margin: 0.5em;
 +
    padding: 0.2em 0.4em;
 +
    font-size: 120%;
 +
    font-weight: bold;
 +
    font-color: %fff;
 +
    font-family: sans-serif;
 
}
 
}
  
#request_for_deletion, .ambox-serious {
+
h2.mp-h2::after {
     background: rgba(255, 0, 0, 0.1) !important;
+
     /* Remove borders in Timeless */
     border: 1px dashed rgba(255, 0, 0, 0.15) !important;
+
     border: none;
    color: #a00000 !important;
 
 
}
 
}
  
.tmbox-notice, .tmbox-move, .Note {
+
.mp-later {
     background: rgba(150, 75, 0, 0.1) !important;
+
     font-size: 85%;
     border: 1px dashed rgba(150, 75, 0, 0.15) !important;
+
     font-weight: normal;
 
}
 
}
  
.informationbox {
+
#mp-upper {
     background: #fff !important;
+
     width: 100%;
     padding: 10px !important;
+
    margin-top: 4px;
     font-size: 14px !important;
+
    margin-bottom: 0;
 +
     border-spacing: 0;
 +
     border-collapse: separate;
 
}
 
}
  
.editOptions {
+
#mp-upper .mid-table {
    background: #fff !important;
+
     border-color: transparent;
     border: 0px !important;
 
 
}
 
}
  
.catlinks {
+
#mp-left {
     background: transparent !important;
+
     width: 50%;
     border: 1px dashed #aaa !important;
+
     background: #fff;
     font-size: 16px !important;
+
     border: 1px solid #CCC;
 
}
 
}
  
.infobox, .tright, .toccolours {
+
#mp-right {
     border: 0px !important;
+
     width: 50%;
     background: transparent !important;
+
     background: #fff;
     border-collapse: collapse !important;
+
     border: 1px solid #CCC;
 
}
 
}
  
.infobox td, .infobox th, .tright td, .tright th, .toccolours td, .toccolours th {
+
#mp-left, #mp-right {
     padding: 5px !important;
+
     padding: 0;
    background: transparent !important;
+
     vertical-align: top;
     font-weight: 400 !important;
 
    border: 1px dashed rgba(0, 0, 0, 0.07) !important;
 
 
}
 
}
  
.image img:hover {
+
#mp-left .mp-h2 {
     opacity: 0.85 !important;
+
    color: #fff;
}
+
    font-family: sans-serif;
 +
     background: #594F9F;
 +
    border: 1px solid #CCC;}
  
.globegris {
+
#mp-right .mp-h2 {
     background: transparent !important;
+
     background: #C06FBE;
 +
    color: #fff;
 +
    font-family: sans-serif;
 +
    border: 1px solid #CCC;
 
}
 
}
  
.mw-editsection-bracket, .references-small b, .mw-cite-backlink, .plainlinksneverexpand {
+
#mp-tfa, #mp-dyk, #mp-itn, #mp-otd, #mp-other-lower>div {
     display: none !important;
+
     padding: 0.1em 1em;
 
}
 
}
  
#floating_object {
+
#mp-dyk-h2, #mp-otd-h2 {
     display: none;
+
     clear: both;
 
}
 
}
  
.navbox, .nowraplinks {
+
#mp-middle {
     margin: 10px 0px !important;
+
    /* Used for middle lower box on start page */
     border-collapse: collapse !important;
+
     margin-top: 4px;
 +
     border-color: #ddd;
 +
    background: #fff;
 
}
 
}
  
.navbox td, .navbox th, .nowraplinks td, .nowraplinks th {
+
#mp-middle, #mp-lower, #mp-other-lower {
    padding: 9px 6px !important;
+
     overflow: auto;
    font-size: 14px !important;
 
    font-weight: 300 !important;
 
     border: 1px solid #fff !important;
 
 
}
 
}
  
.NavFrame {
+
#mp-tfl-h2 {
     border: 0px !important;
+
    /* Used for middle lower box header on start page */
     background: transparent !important;
+
     border-color: #ddd;
     padding: 0px !important;
+
     background: #594F9F;
 +
    color: #fff;
 +
     font-family: sans-serif;
 
}
 
}
  
.NavHead {
+
#mp-tfl {
    margin: 10px 0px !important;
+
     padding: 0.3em 0.7em;
     padding: 12px !important;
 
    font-size: 16px !important;
 
    font-weight: 700 !important;
 
    background: transparent !important;
 
 
}
 
}
  
.Boxmerge {
+
#mp-lower {
     border: 0px !important;
+
    /* Not used currently */
 +
    color: #fff;
 +
    font-family: sans-serif;
 +
    margin-top: 4px;
 +
    background: #E9F1FF;
 +
     border-color: #ddd;
 
}
 
}
  
#coordinates {
+
#mp-tfp-h2 {
     display: none !important;
+
     /* Not used currently */
 +
    color: #fff;
 +
    font-family: sans-serif;
 +
    background: #fff;
 +
    border-color: #00388c;
 
}
 
}
  
#mw-fr-revisiontag, #mw-fr-reviewnotice {
+
#mp-tfp {
     display: none !important;
+
     margin: 0.1em 0.4em 0.6em;
 
}
 
}
  
div#footer {
+
#mp-other-lower {
     margin-left: 14em !important;
+
    /* Used for bottom box on start page, box */
     padding: 1.25em 1.5em 1.5em !important;
+
     margin-top: 4px;
 +
     border-color: #FFE6FF;
 +
    background: #fff;
 
}
 
}
  
 
+
#mp-dyk, #mp-otd, #mp-other-lower {
 
+
    padding-bottom: 0.5em;
/* CSS used for https://www.mediawiki.org/wiki/MediaWiki/Homepage_improvements_2018 : */
 
.mainpage_row {
 
display: flex;
 
flex-direction: row;
 
flex-flow: row wrap;
 
justify-content: space-between;
 
padding: 0;
 
margin: 0 -5px 0 -5px;
 
}
 
.mainpage_box {
 
flex: 1;
 
margin: 5px;
 
min-width: 210px;
 
border: 1px solid #CCC;
 
padding: 0 10px 10px 10px;
 
box-shadow: 0 2px 2px rgba(0,0,0,0.1);
 
}
 
.mainpage_box h3 {
 
/* Reset padding so is equal across skins */
 
padding: 0;
 
margin: 0.5em 0;
 
}
 
.mainpage_box h3 .header_icon {
 
float: left;
 
margin-right: 5px;
 
}
 
.mainpage_box .items {
 
border-top: 1px solid #CCC;
 
padding-top: 0.5em;
 
}
 
.mainpage_box p:last-child {
 
margin-bottom: 0;
 
}
 
.mainpage_boxcontents_small {
 
font-size: 95%;
 
}
 
/* Style the "other languages" box the same way as other boxes on the main page */
 
.mw-pt-languages {
 
display: block;
 
background: none;
 
border: 1px solid #CCC;
 
box-shadow: 0 2px 2px rgba(0,0,0,0.1);
 
width: auto;
 
}
 
.mw-pt-languages-label {
 
background: none;
 
border-right: none;
 
 
}
 
}
  
@media screen and (max-width: 719px) {
+
#mp-other-lower .mp-h2 {
.thumb {
+
    /* Used for bottom box on start page, header */
float: none;
+
    background: #594F9F;
}
+
    color: #fff;
.thumb, .thumbinner {
+
    font-family: sans-serif;
margin-left: auto;
+
    border-color: #ddd;
margin-right: auto;
 
}
 
 
}
 
}

Revision as of 10:16, 5 November 2020

#mp-topbanner {
    clear: both;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    margin-top: 1.2em;
    min-width: 47em;
    border-color: #ddd;
    background-color: #F9F9F9;
    white-space: nowrap;
}

.mp-bordered, .mp-h2, body.skin-timeless .mp-h2 {
    /* Timeless needs a higher specificity */
    border-width: 1px;
    border-style: solid;
}

#mp-topbanner, .mp-h2, #mp-left {
    color: #000;
}

#mp-welcomecount {
    margin: 0.4em;
    width: 22em;
    text-align: center;
}

#mp-welcome {
    font-size: 162%;
    padding: 0.1em;
}

#mp-free {
    font-size: 95%;
}

#articlecount {
    font-size: 85%;
}

#mp-portals {
    position: absolute;
    right: -1em;
    top: 50%;
    margin-top: -2.4em;
    width: 38%;
    min-width: 25em;
    font-size: 95%;
}

#mp-portals li {
    position: absolute;
    left: 0;
    top: 0;
}

#mp-portals .portal-hmid {
    left: 33%;
}

#mp-portals .portal-hright {
    left: 66%;
}

#mp-portals .portal-vmid {
    top: 1.6em;
}

#mp-portals .portal-vbot {
    top: 3.2em;
}

.portal-hright.portal-vbot {
    font-weight: bold;
}

#mp-banner {
    margin-top: 4px;
    padding: 0.5em;
    background-color: #fffaf5;
    border-color: #f2e0ce;
}

.mp-h2, body.skin-timeless .mp-h2 {
    /* Timeless needs a higher specificity */
    margin: 0.5em;
    padding: 0.2em 0.4em;
    font-size: 120%;
    font-weight: bold;
    font-color: %fff;
    font-family: sans-serif;
}

h2.mp-h2::after {
    /* Remove borders in Timeless */
    border: none;
}

.mp-later {
    font-size: 85%;
    font-weight: normal;
}

#mp-upper {
    width: 100%;
    margin-top: 4px;
    margin-bottom: 0;
    border-spacing: 0;
    border-collapse: separate;
}

#mp-upper .mid-table {
    border-color: transparent;
}

#mp-left {
    width: 50%;
    background: #fff;
    border: 1px solid #CCC;
}

#mp-right {
    width: 50%;
    background: #fff;
    border: 1px solid #CCC;
}

#mp-left, #mp-right {
    padding: 0;
    vertical-align: top;
}

#mp-left .mp-h2 {
    color: #fff;
    font-family: sans-serif;
    background: #594F9F;
    border: 1px solid #CCC;}

#mp-right .mp-h2 {
    background: #C06FBE;
    color: #fff;
    font-family: sans-serif;
    border: 1px solid #CCC;
}

#mp-tfa, #mp-dyk, #mp-itn, #mp-otd, #mp-other-lower>div {
    padding: 0.1em 1em;
}

#mp-dyk-h2, #mp-otd-h2 {
    clear: both;
}

#mp-middle {
    /* Used for middle lower box on start page */
    margin-top: 4px;
    border-color: #ddd;
    background: #fff;
}

#mp-middle, #mp-lower, #mp-other-lower {
    overflow: auto;
}

#mp-tfl-h2 {
    /* Used for middle lower box header on start page */
    border-color: #ddd;
    background: #594F9F;
    color: #fff;
    font-family: sans-serif;
}

#mp-tfl {
    padding: 0.3em 0.7em;
}

#mp-lower {
    /* Not used currently */
    color: #fff;
    font-family: sans-serif;
    margin-top: 4px;
    background: #E9F1FF;
    border-color: #ddd;
}

#mp-tfp-h2 {
    /* Not used currently */
    color: #fff;
    font-family: sans-serif;
    background: #fff;
    border-color: #00388c;
}

#mp-tfp {
    margin: 0.1em 0.4em 0.6em;
}

#mp-other-lower {
    /* Used for bottom box on start page, box */
    margin-top: 4px;
    border-color: #FFE6FF;
    background: #fff;
}

#mp-dyk, #mp-otd, #mp-other-lower {
    padding-bottom: 0.5em;
}

#mp-other-lower .mp-h2 {
    /* Used for bottom box on start page, header */
    background: #594F9F;
    color: #fff;
    font-family: sans-serif;
    border-color: #ddd;
}