User:Felice/print.css

From OLPC
Jump to: navigation, search

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: 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.
{{OLPC}}
<pre>
/*
Title:      Archambault CSS Print Friendly
Author:     Cristian Deschamps, cristian.deschamps@nurun.com
Updated:    Jun 16 2005

Content:	Master Formating
			Body
			Links
			Common Elements
			Formating Elements
			Form Elements
			Misc
*/
/* ---[ Print Friendly ]------------------------------- */
body {
	margin: 0;
	padding: 0;
	background-color: white;
	font-size: 12pt;
	}
	
div {
	background: #fff;
	background-image: none !important;
	}
/* print URLs after link text 
#content a:link:after, #content a:visited:after {
	content: " (" attr(href) ") ";
	}
	*/

h2 {
	font-size: 140%;
	padding-top: 12px !important;
	}	
	
a:link, a:visited {
	text-decoration: none !important;
	}

/* Show content for printing. */
#logo-print {
	position: absolute;
	z-index: 8000;
	top: 12px;
	right: 0;
	display: block !important;
	padding: 0 0 15px 0;
	}
#logo-print img {
	display: block !important;
	}

#container,
#div-body,
#main-content,
#content-header,
#content {
	width: auto;
	padding: 0;
	margin: 0;	
	}

#content-header {	
	padding-top: 10px;
	border-bottom: 1px solid #000;
	}
	
#footer-navigation {
	padding: 15px 0 0 0;
	border-top: 1px solid #000;
	}	

	
/* Hide content from printing. */
#logo,
#main-navigation,
#sidebar,
#tools,
#footer-navigation ul {
	display: none !important;
	}

table {
	display: table !important;
	}

</pre>
[[Category:Laptop.org]]