styles/cubometry-style/theme/print.css
changeset 16 d6012dd9347f
parent 10 2829504a06be
equal deleted inserted replaced
15:8804e4d3de74 16:d6012dd9347f
     1 /* Print Style Sheet
       
     2 ---------------------------------------- */
       
     3 
       
     4 
       
     5 /* Lots still TODO here! */
       
     6 
       
     7 /* General markup styles */
       
     8 * {
       
     9 	padding: 0;
       
    10 	margin: 0;
       
    11 }
       
    12 
       
    13 body {
       
    14 	font: 11pt Verdana, Arial, Helvetica, sans-serif;
       
    15 	color:#000000;
       
    16 }
       
    17 
       
    18 a:link		{ color: #000000; text-decoration: none; }
       
    19 a:visited	{ color: #000000; text-decoration: none; }
       
    20 a:active	{ color: #000000; text-decoration: none; }
       
    21 
       
    22 img, .noprint, #sub-header, #sub-footer, .navbar, .box1, .divider, .signature { display: none; }
       
    23 /* Display smilies (Bug #47265) */
       
    24 .content img {
       
    25 	display: inline;
       
    26 }
       
    27 
       
    28 /* Container for the main body */
       
    29 #wrap {
       
    30 	margin: 0 2em;
       
    31 }
       
    32 
       
    33 p { font-size: 85%; }
       
    34 .copyright { font-size: 75%; }
       
    35 .page-number { float:right; width: auto; text-align: right; font-size: 75%; }
       
    36 
       
    37 h1, h2, h3, h1 a, h2 a, h3 a {
       
    38 	font-family: "Trebuchet MS",georgia,Verdana,Sans-serif;
       
    39 	color: #000000;
       
    40 	background: none;
       
    41 	text-decoration: none;
       
    42 	font-weight: bold;
       
    43 }
       
    44 
       
    45 h1 { font-size: 20pt; }
       
    46 h2 { font-size: 16pt; margin-top: 1em; }
       
    47 h3 { font-size: 14pt; margin-top: 1em; }
       
    48 
       
    49 .content {
       
    50 	font-size: 11pt;
       
    51 	line-height: 14pt;
       
    52 	margin-bottom: 1em;
       
    53 	font-family: "Lucida Grande", "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
       
    54 	overflow: hidden;
       
    55 }
       
    56 
       
    57 /* CSS2 Print tip from: http://www.alistapart.com/articles/goingtoprint/ */
       
    58 .postbody a:link, .postbody a:visited, .postbody a:hover, .postbody a:active {
       
    59 	text-decoration: underline;
       
    60 	padding: 0.1em 0.2em;
       
    61 	margin: -0.1em -0.2em;
       
    62 	color: #666;
       
    63 	background: none;
       
    64 	font-size: 100%;
       
    65 }
       
    66 
       
    67 html>body .postbody a:link:after, html>body .postbody a:visited:after {
       
    68 	content: " (" attr(href) ") ";
       
    69 	font-size: 90%;
       
    70 	text-decoration: none;
       
    71 }
       
    72 
       
    73 hr {
       
    74 	height: 1px;
       
    75 	background-color: #999999;
       
    76 	border-width: 0;
       
    77 }
       
    78 
       
    79 .author {
       
    80 	font-family: Verdana, Arial, Helvetica, sans-serif;
       
    81 	font-size: 75%;
       
    82 	margin-bottom: 0.6em;
       
    83 }
       
    84 
       
    85 .date {
       
    86 	font-family: Verdana, Arial, Helvetica, sans-serif;
       
    87 	float: right;
       
    88 	position: relative;
       
    89 	text-align: right;
       
    90 	font-size: 75%;
       
    91 }
       
    92 
       
    93 /* Dont want to print url for names or titles in content area */
       
    94 .postbody .author a:link, .postbody .author a:visited, 
       
    95 html>body .postbody .author a:link:after, 
       
    96 html>body .postbody .author a:visited:after,
       
    97 .postquote .quote-by a:link, .postquote .quote-by a:visited, 
       
    98 html>body .postquote .quote-by a:link:after, 
       
    99 html>body .postquote .quote-by a:visited:after,
       
   100 html>body .postbody h1 a:link:after, html>body .postbody h2 a:link:after {
       
   101 	text-decoration: none;
       
   102 	content: "";
       
   103 }
       
   104 
       
   105 /* Poster profile */
       
   106 .postprofile { display: none; }
       
   107 .grip-show { display:none; }
       
   108 
       
   109 /* Quote */
       
   110 .postquote, blockquote {
       
   111 	font-size: 85%;
       
   112 	margin: 1em 18% 1em 4%;
       
   113 	padding: 0.5em;
       
   114 	position: relative;
       
   115 	line-height: 1.5em;
       
   116 	border: 1px #999999 solid;
       
   117 }
       
   118 
       
   119 .postquote img { display: none; }
       
   120 .postquote span { display: block; }
       
   121 .postquote span .postquote { font-size: 100%; }
       
   122 .quote-by, blockquote cite { 
       
   123 	color: black;
       
   124 	display : block;
       
   125 	font-weight: bold;
       
   126 }
       
   127 
       
   128 /* List */
       
   129 ol, ul {
       
   130 	margin-left: 15pt
       
   131 }
       
   132 
       
   133 /* Misc page elements */
       
   134 div.spacer { clear: both; }
       
   135 
       
   136 /* Accessibility tweaks: Mozilla.org */
       
   137 .skip_link { display: none; }
       
   138 
       
   139 dl.codebox dt { display: none; }