MediaWiki:Common.css: Difference between revisions

PSW Copy
 
mNo edit summary
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* Increases Logo size to fit with Nameplate */
.mw-logo-icon {
    height: 75px;
    width: 75px;
    margin-right: -10px;
}


/* Infobox template style */
/* Infobox template style */
Line 6: Line 12:
border: 1px solid #a2a9b1;
border: 1px solid #a2a9b1;
border-spacing: 3px;
border-spacing: 3px;
background-color: #f8f9fa;
color: black;
/* @noflip */
/* @noflip */
margin: 0.5em 0 0.5em 1em;
margin: 0.5em 0 0.5em 1em;
Line 41: Line 45:
.infobox td {
.infobox td {
/* @noflip */
/* @noflip */
text-align: left;
text-align: center;
}
}


Line 73: Line 77:
/* @noflip */
/* @noflip */
text-align: right;
text-align: right;
}
.infobox-table{
width: inherit;
}
}


Line 89: Line 97:
   box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
   box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
}
/* forced nightmode */
@media screen {
/* Approved Rev Indicator */
    html.skin-theme-clientpref-night .approved-revision {
    background-color: transparent !important;
    color: white !important;
    border: solid #008000 !important;
    }
   
    /* DarkMode for MSUpload */
    html.skin-theme-clientpref-night #msupload-div{
        background: none;
    }
    html.skin-theme-clientpref-night #msupload-list > li{
        background: none;
    }
}
/* automatic mode */
@media screen and (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .approved-revision {
    background-color: transparent !important;
    color: white !important;
    border: solid #008000 !important;
    }
}
/* Image: Thumb | Temp till rework*/
figure[typeof~="mw:File/Thumb"],
figure[typeof~="mw:File/Thumb"] > figcaption {
  background: var(--primary-bg-color);
}
@media screen {
  html.skin-theme-clientpref-night
    .mw-parser-output
    > figure[typeof^="mw:File"]
    img , html.skin-theme-clientpref-night #file img {
    background-color: inherit;
  }
}
/* Forms blackout */
.multipleTemplateInstance {
  background-color:#000
}
/**************************
* [[Template:Blank Cell]] *
**************************/
th .blankCell,
td .blankCell {
    display: flex;
    cursor: not-allowed;
    text-align: center;
}
th .blankCell:after,
td .blankCell:after {
    content: "∅";
    flex: 1;
    align-self: center;
}
/* END Template:Blank Cell*/