MediaWiki:Common.css: Difference between revisions

Till Kraemer (talk | contribs)
No edit summary
Till Kraemer (talk | contribs)
mNo edit summary
 
(4 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 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%;
    font-weight: bold;
    padding: 0.2em;
}
.infobox td,
.infobox th {
    vertical-align: top;
    /* @noflip */
    text-align: left;
}
.infobox.bordered {
    border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
    border: 1px solid #a2a9b1;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
    border: 0;
}
}


.infobox.sisterproject {
.infobox-header,
    width: 20em;
.infobox-label,
    font-size: 90%;
.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.standard-talk {
.infobox-label,
    border: 1px solid #c0c090;
.infobox-data,
    background-color: #f8eaba;
/* Remove element selector when every .infobox thing is using the standard module/templates  */
}
.infobox th,
.infobox.standard-talk.bordered td,
.infobox td {
.infobox.standard-talk.bordered th {
/* @noflip */
    border: 1px solid #c0c090;
text-align: left;
}
}


/* styles for bordered infobox with merged rows */
/* Remove .infobox when element selectors above are removed */
.infobox.bordered .mergedtoprow td,
.infobox .infobox-above,
.infobox.bordered .mergedtoprow th {
.infobox .infobox-title,
    border: 0;
/* Remove element selector when every .infobox thing is using the standard module/templates  */
    border-top: 1px solid #a2a9b1;
.infobox caption {
    /* @noflip */
font-size: 125%;
    border-right: 1px solid #a2a9b1;
font-weight: bold;
text-align: center;
}
}


.infobox.bordered .mergedrow td,
.infobox-title,
.infobox.bordered .mergedrow th {
/* Remove element selector when every .infobox thing is using the standard module/templates  */
    border: 0;
.infobox caption {
    /* @noflip */
padding: 0.2em;
    border-right: 1px solid #a2a9b1;
}
}


/* Styles for geography infoboxes, eg countries,
/* Remove .infobox when element selectors above are removed */
  country subdivisions, cities, etc.           */
.infobox .infobox-header,
.infobox.geography {
.infobox .infobox-subheader,
    border-collapse: collapse;
.infobox .infobox-image,
    line-height: 1.2em;
.infobox .infobox-full-data,
    font-size: 90%;
.infobox .infobox-below {
}
text-align: center;
 
.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,
/* Remove .infobox when element selectors above are removed */
.infobox.geography .maptable th {
.infobox .infobox-navbar {
    border: 0;
/* @noflip */
    padding: 0;
text-align: right;
}
}


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 */