User:Felice/print.css

From OLPC

< User:Felice
Revision as of 23:23, 17 March 2007 by Walter (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Note - After saving, you may have to bypass your browser's cache to see the changes. Mozilla / Firefox / Safari: hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (Command-R on a Macintosh); Konqueror: click Reload or press F5; Opera: clear the cache in Tools → Preferences; Internet Explorer: hold Ctrl while clicking Refresh, or press Ctrl-F5.

{{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]]
Personal tools
  • Log in
  • Login with OpenID
About OLPC
About the laptop
About the tablet
Projects
OLPC wiki
Toolbox