Difference between revisions of "MediaWiki:Monobook.css"

From Limestone
Jump to: navigation, search
m (test)
m (Replaced content with "→‎CSS placed here will affect users of the MonoBook skin: body { font: small sans-serif; }")
 
Line 3: Line 3:
 
body {
 
body {
 
     font: small sans-serif;
 
     font: small sans-serif;
−
}
 
−
 
−
/* content template for a box with a max width */
 
−
div.content1 {
 
−
    max-width:1000px;
 
−
    margin-left:0px;
 
−
}
 
−
 
−
/* From wikipedia css */
 
−
/* Highlight linked elements (such as clicked references) in blue */
 
−
body.action-info :target,
 
−
.citation:target {
 
−
    background-color: #DEF;  /* Fallback */
 
−
    background-color: rgba(255, 127, 255, 0.133);
 
−
}
 
−
 
−
/* Change the external link icon to an Adobe icon for all PDF files
 
−
  in browsers that support these CSS selectors, like Mozilla and Opera */
 
−
div#content a[href$=".pdf"].external,
 
−
div#content a[href*=".pdf?"].external,
 
−
div#content a[href*=".pdf#"].external,
 
−
div#content a[href$=".PDF"].external,
 
−
div#content a[href*=".PDF?"].external,
 
−
div#content a[href*=".PDF#"].external,
 
−
div#mw_content a[href$=".pdf"].external,
 
−
div#mw_content a[href*=".pdf?"].external,
 
−
div#mw_content a[href*=".pdf#"].external,
 
−
div#mw_content a[href$=".PDF"].external,
 
−
div#mw_content a[href*=".PDF?"].external,
 
−
div#mw_content a[href*=".PDF#"].external {
 
−
    background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
 
−
    /* @noflip */
 
−
    padding-right: 18px;
 
 
}
 
}

Latest revision as of 11:49, 3 February 2017

/* CSS placed here will affect users of the MonoBook skin */

body {
    font: small sans-serif;
}