User additions to AugsburgWrestling.info are currently disabled due to repeated vandalism.

Please contact us to create an account and start editing.

MediaWiki:Print.css: Difference between revisions

From Augsburg Wrestling Wiki
Jump to navigation Jump to search
(Update CSS.)
 
No edit summary
Line 1: Line 1:
/* <source lang="css"> */
/* Do not print:
/* Do not print:
   1: When in mainspace: Article message boxes,
   1: When in mainspace: Article message boxes,
       navboxes, sister project boxes, disambig links,
       navboxes, sister project boxes, disambig links,
       and items marked as metadata.
       and items marked as metadata.
   2: Privacy, about, disclaimer, redirect and section edit links.
   2: section edit links.
   3: Show/hide toggles for collapsible items.
   3: navbar links.
  4: Items marked as noprint.
  4: Show/hide toggles for collapsible items.
*/
*/
.ns-0 .ambox,  
.ns-0 .ambox,  
.ns-0 .navbox,  
.ns-0 .navbox,  
.ns-0 .vertical-navbox,
.ns-0 .infobox.sisterproject,  
.ns-0 .infobox.sisterproject,  
.ns-0 .dablink,  
.ns-0 .dablink,  
.ns-0 .metadata,  
.ns-0 .metadata,
#privacy, #about, #disclaimer, .editlink,
.editlink,
span.collapseButton, a.NavToggle,
.navbar,
.noprint {
a.NavToggle, span.collapseButton, span.mw-collapsible-toggle,
     display: none;
th .sortkey, td .sortkey {
     display: none !important;
}
}
 
/* Add formatting to make sure that "external references" from templates
/* Add formatting to make sure that "external references" from templates
   like [[Template:Ref]] do not get URL expansion, not even when printed.
   like [[Template:Ref]] do not get URL expansion, not even when printed.
Line 32: Line 32:
     display: none !important;
     display: none !important;
}
}
 
/* Uncollapse collapsible tables/divs.
/* Uncollapse collapsible tables/divs.
   The proper way to do this for tables is to use display:table-row,
   The proper way to do this for tables is to use display:table-row,
Line 43: Line 43:
     display: table-row !important;
     display: table-row !important;
}
}
 
/* Hiding some items when printing with Simple skin */
/* On websites with siteSub visible, the margin on the firstHeading is not needed. */
.skin-simple div#column-one,
#firstHeading {
.skin-simple div#f-poweredbyico,
    margin: 0px;
.skin-simple div#f-copyrightico,
}
.skin-simple .editsection {  
 
    display: none;  
/* We don't want very long URLs (that are added to the content in print) to widen the canvas */
#content a.external.text:after,
#content a.external.autonumber:after {
word-wrap: break-word;
}
}
/* </source> */

Revision as of 18:33, 4 February 2014

/* Do not print:
   1: When in mainspace: Article message boxes,
      navboxes, sister project boxes, disambig links,
      and items marked as metadata.
   2: section edit links.
   3: navbar links.
   4: Show/hide toggles for collapsible items.
*/
.ns-0 .ambox, 
.ns-0 .navbox, 
.ns-0 .vertical-navbox, 
.ns-0 .infobox.sisterproject, 
.ns-0 .dablink, 
.ns-0 .metadata,
.editlink,
.navbar,
a.NavToggle, span.collapseButton, span.mw-collapsible-toggle,
th .sortkey, td .sortkey {
    display: none !important;
}

/* Add formatting to make sure that "external references" from templates
   like [[Template:Ref]] do not get URL expansion, not even when printed.
   The anchor itself has class "external autonumber" and the url expansion
   is inserted when printing (see the common printing style sheet at
   http://en.wikipedia.org/skins-1.5/common/commonPrint.css) using the
   ":after" pseudo-element of CSS. Also hide in <cite> elements.
*/
#content cite a.external.text:after,
.nourlexpansion a.external.text:after,
.nourlexpansion a.external.autonumber:after {
    display: none !important;
}

/* Uncollapse collapsible tables/divs.
   The proper way to do this for tables is to use display:table-row,
   but this is not supported by all browsers, so use display:block as fallback.
*/
table.collapsible tr, div.NavPic, div.NavContent {
    display: block !important;
}
table.collapsible tr {
    display: table-row !important;
}

/* On websites with siteSub visible, the margin on the firstHeading is not needed. */
#firstHeading {
    margin: 0px;
}

/* We don't want very long URLs (that are added to the content in print) to widen the canvas */
#content a.external.text:after,
#content a.external.autonumber:after {
	word-wrap: break-word;
}