MediaWiki:Common.css: Difference between revisions

Till Kraemer (talk | contribs)
Infobox.
Till Kraemer (talk | contribs)
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 668: Line 668:
}
}


/* Infobox template style */
/* Infoboxes */
.infobox {
.infobox {
border: 1px solid #a2a9b1;
border: 1px solid #a2a9b1;
border-spacing: 3px;
background-color: #f8f9fa;
color: black;
color: black;
/* @noflip */
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
padding: 0.2em;
/* @noflip */
float: right;
/* @noflip */
clear: right;
font-size: 88%;
font-size: 88%;
line-height: 1.5em;
line-height: 1.5em;
width: 22em;
border-spacing: 3px;
}
 
@media screen {
.infobox {
background-color: #f8f9fa;
    }
}
 
@media (max-width: 640px) {
.infobox {
width: 100%;
}
   
.infobox .nowrap {
white-space: normal;
}
}
 
@media (min-width: 640px) {
.infobox {
/* @noflip */
margin: 0.5em 0 0.5em 1em;
/* @noflip */
float: right;
/* @noflip */
clear: right;
width: 22em;
}
}
}


Line 741: Line 761:
}
}


/* Normal font styling for table row headers with scope="row" tag */
/* Normal font styling for wikitable row headers with scope="row" tag */
.wikitable.plainrowheaders th[scope=row] {
.wikitable.plainrowheaders th[scope=row],
    font-weight: normal;
.wikitable.plainrowheaders th[scope=rowgroup] {
    /* @noflip */
font-weight: normal;
    text-align: left;
/* @noflip */
text-align: left;
}
}


Line 1,696: Line 1,717:
}
}


/* Display "From Pornopedia, the sexy encyclopedia" in skins that support it,
/* 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 */
  do not apply to print mode */
#siteSub {
#siteSub {
display: block;
display: block;
}
}
/*    Hide tagline from main page */
body.page-Main_Page.action-view #siteSub,
body.page-Main_Page.action-submit #siteSub {
    display: none;
}
}