MediaWiki:Common.css: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* From https://en.wikipedia.org/wiki/MediaWiki:Common.css */


/** Kleinschreibung nicht erzwingen */
/** Kleinschreibung nicht erzwingen */
Line 385: Line 387:
div.reflist,
div.reflist,
div.refbegin {
div.refbegin {
     font-size: 90%;            /* Default font-size */
     font-size: 100%;            /* Default font-size */
     margin-bottom: 0.5em;
     margin-bottom: 0.5em;
}
}
div.refbegin-100 {
div.refbegin-100 {
     font-size: 100%;          /* Option for normal fontsize in {{refbegin}} */
     font-size: 80%;          /* Option for normal fontsize in {{refbegin}} */
}
}
div.reflist ol.references {
div.reflist ol.references {
     font-size: 100%;          /* Reset font-size when nested in div.reflist */
     font-size: 80%;          /* Reset font-size when nested in div.reflist */
     margin-bottom: 0;          /* Avoid double margin when nested in dev.reflist */
     margin-bottom: 0;          /* Avoid double margin when nested in dev.reflist */
     list-style-type: inherit;  /* Enable custom list style types */
     list-style-type: inherit;  /* Enable custom list style types */
Line 660: Line 662:
     font-weight: normal;
     font-weight: normal;
     /* @noflip */
     /* @noflip */
    text-align: right;
/*    text-align: right; Fix for download and DVD links */
}
}
.navbox .mw-collapsible-toggle {
.navbox .mw-collapsible-toggle {
Line 668: Line 670:
/* Infobox template style */
/* Infobox template style */
.infobox {
.infobox {
    border: 1px solid #a2a9b1;
border: 1px solid #a2a9b1;
    border-spacing: 3px;
border-spacing: 3px;
    background-color: #f8f9fa;
background-color: #f8f9fa;
    color: black;
color: black;
    /* @noflip */
/* @noflip */
    margin: 0.5em 0 0.5em 1em;
margin: 0.5em 0 0.5em 1em;
    padding: 0.2em;
padding: 0.2em;
    /* @noflip */
/* @noflip */
    float: right;
float: right;
    /* @noflip */
/* @noflip */
    clear: right;
clear: right;
    font-size: 88%;
font-size: 88%;
    line-height: 1.5em;
line-height: 1.5em;
width: 22em;
}
}
.infobox caption {
 
    font-size: 125%;
.infobox-header,
    font-weight: bold;
.infobox-label,
    padding: 0.2em;
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
vertical-align: top;
}
}
.infobox td,
 
.infobox th {
.infobox-label,
    vertical-align: top;
.infobox-data,
    /* @noflip */
/* Remove element selector when every .infobox thing is using the standard module/templates  */
    text-align: left;
.infobox th,
.infobox td {
/* @noflip */
text-align: left;
}
}
.infobox.bordered {
 
    border-collapse: collapse;
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-above,
.infobox .infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
font-size: 125%;
font-weight: bold;
text-align: center;
}
}
.infobox.bordered td,
 
.infobox.bordered th {
.infobox-title,
    border: 1px solid #a2a9b1;
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
padding: 0.2em;
}
}
.infobox.bordered .borderless td,
 
.infobox.bordered .borderless th {
/* Remove .infobox when element selectors above are removed */
    border: 0;
.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
text-align: center;
}
}


.infobox.sisterproject {
/* Remove .infobox when element selectors above are removed */
    width: 20em;
.infobox .infobox-navbar {
    font-size: 90%;
/* @noflip */
}
text-align: right;
 
.infobox.standard-talk {
    border: 1px solid #c0c090;
    background-color: #f8eaba;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
    border: 1px solid #c0c090;
}
 
/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
    border: 0;
    border-top: 1px solid #a2a9b1;
    /* @noflip */
    border-right: 1px solid #a2a9b1;
}
 
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
    border: 0;
    /* @noflip */
    border-right: 1px solid #a2a9b1;
}
 
/* Styles for geography infoboxes, eg countries,
  country subdivisions, cities, etc.            */
.infobox.geography {
    border-collapse: collapse;
    line-height: 1.2em;
    font-size: 90%;
}
 
.infobox.geography  td,
.infobox.geography  th {
    border-top: 1px solid #a2a9b1;
    padding: 0.4em 0.6em 0.4em 0.6em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
    border-top: 1px solid #a2a9b1;
    padding: 0.4em 0.6em 0.2em 0.6em;
}
 
.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
    border: 0;
    padding: 0 0.6em 0.2em 0.6em;
}
 
.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
    border-top: 0;
    border-bottom: 1px solid #a2a9b1;
    padding: 0 0.6em 0.4em 0.6em;
}
 
.infobox.geography .maptable td,
.infobox.geography .maptable th {
    border: 0;
    padding: 0;
}
}


Line 1,727: Line 1,695:
     display: none;
     display: none;
}
}
/* From https://www.mediawiki.org/wiki/Manual:Tagline_(Site_Subtitle)
      Display "From Pornopedia, the sexy encyclopedia" in skins that support it,
  do not apply to print mode */
#siteSub {
display: block;
}
/*    Hide tagline from main page */
body.page-Main_Page.action-view #siteSub,
body.page-Main_Page.action-submit #siteSub {
    display: none;
}


/* Hide FlaggedRevs notice UI when there are no pending changes */
/* Hide FlaggedRevs notice UI when there are no pending changes */
Line 1,732: Line 1,715:
.flaggedrevs_stable_synced {
.flaggedrevs_stable_synced {
     display: none;
     display: none;
}
/* Based on https://en.wikipedia.org/wiki/Wikipedia:Main_Page/styles.css */
@media (max-width: 875px) {
/* We need to improve Template:POTD as used on the main page so that these
* hacks aren't necessary */
#mp-tfp table,
#mp-tfp tr,
#mp-tfp td,
#mp-tfp tbody {
display: block !important;
width: 100% !important;
box-sizing: border-box;
}
#mp-tfp tr:first-child td:first-child a {
text-align: center;
display: table;
margin: 0 auto;
}
}
@media (min-width: 875px) {
#mp-upper {
display: flex;
}
#mp-left {
/* flex: 1 1 55%; */
flex: 1 1 50%;
margin-right: 2px;
}
#mp-right {
/* flex: 1 1 45%; */
flex: 1 1 50%;
margin-left: 2px;
}
}
}
AVS, avs, Bureaucrats, editinterface, Interface administrators, oversight, staff, Administrators
19,559

edits