Print.css

Revision as of 12:45, 16 October 2020 by Registered User

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* W2042:Review done with JMU and NSA the 16/10/2020 : script is not used. To delete*/
/* CSS placed here will affect the print output */

/* Important Note: The content of this page is a copy of the "@media print" section in MediaWiki:Vector.css 
   SO PLEASE DO NOT EDIT THIS PAGE BUT UPDATE THE ORIGINAL AND MAKE A COPY HERE THEN */

body { 
    /* Show the ST logo on all pages */
    background: url(skins/st/images/logo_hires2.png) no-repeat scroll -34px 0px transparent;
    background-size:300px 97px  ; /* 558px 160px logo_hires.png: 300px 97px as Multiple of the original size 1300x420 */
    /* Rewrite font info because Mediawiki print default css is not so nice */
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8em;
    color: black;
    overflow-x: visible; 
}

/* Correct the space for the content (including the ST top logo) */
div#content {
    margin-top: 0em;
    margin-bottom: 0em;
    /*margin-left: 5%;
    margin-right: 5%;*/
    top: 10em; /* space for the logo */
    /*padding: 0;*/
    position: absolute;
}

/* Remove gray & image backgrounds */
div#content {background-image: none;}
div#footer {background-image: none;}
div#background {background-image: none;}

/* Remove the site subtitle */
#siteSub {display: none;}

/* Remove the message "Retrieve from ..." at the bottom of the page */
.printfooter {display: none;}

/* Offer a "next page" class. You can use it for instance:
 * <p class="nextpage"></p>
 * <h1 class="FirstHeading, nextpage">Something</h1>
 */
.nextpage {page-break-before: always;}

/* Remove the footer information */
#footer {display: none;}
/* or it could possible to remove only the footer counter keeping the copyright by un-commenting the next line */
/* #footer-info-viewcount {display: none;}*/ 

/* Remove the sort arrow in tables */
.sortarrow {display: none;}

/* Remove the category list at the bottom */
#catlinks {display: none;}

/* Avoid table to be splitted */
table {page-break-before: auto;}
.wikitable {page-break-before: auto;}


/* Main Content colors (including internal and external links), add "!important" to bypass default print configuration */
div#bodyContent a, div#bodyContent a.external {color: /*COLLINKALT*/ #39A9DC !important;}

/* Colors for new pages/categories, add "!important" to bypass default print configuration */
div#bodyContent a.new {color: /*COLLINKNEW*/ #D4007A !important;}

/* ul images (instead of the black square) */
ul {
    padding: 0 0 0 1em;
    margin: 0;
    line-height: 1.5em;
    list-style-image: 
url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAANCAYAAABhPKSIAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACtJREFUeF7NjbEJAAAIw7zRu/w5ouBUBEeHDM2QGiA8kObBULuFcJbSXN8T78SqnpKltAIAAAAASUVORK5CYII=");
}

/* Remove the bullet image for the toc */
#toc ul, .toc ul {
    list-style-image: none;
    list-style-type: none;
}

#toc ul ul, .toc ul ul {
margin: 0 0 0 1em;
}

ul {page-break-before: avoid; page-break-after: avoid;}
li {page-break-before: avoid; page-break-after: avoid;}

/* Color for the pre format + remove the scroll-bars */
pre {
    background-color: #F9F9F9;
    border: 1px dashed #2F6FAB;
    /*text-overflow: visible; */
    overflow: visible;
    height: auto;
    max-height: none;
    padding: 1em;
}

/*h1 {border-bottom: 2px solid #AAAAAA;}*/

hr {border: none; border-bottom: 2px solid black;/*#AAAAAA;*/}

/* Bigger and better toc */
table.toc {width: 95%;}
#toctitle h2:before {content:"Table Of ";}
#toctitle h2 {margin: 0em; padding: 0;}


/* !!! following do not work in FF */

/* Remove the Lingo dotted lines */
.tooltip_abbr {border-bottom: 0px;}

/* Better orphans & widows */
p, blockquote, div {orphans:3; widows:3;}

/* Default collapsible open */
div.NavContent {display:block !important;}

@page:header
{content:,,"STMicroelectronicsUserGuide"; border-bottom: thin solid black;}
@page:footer
{content:"Copyright STMicroelectronics",,decimal(pageno)"/"decimal(pages); border-top: thin solid black;}