source: documentation/trunk/packages/templates/greenstone-monobook/static/3rd/wikipedia/commonPrint.css@ 30114

Last change on this file since 30114 was 30114, checked in by jmt12, 9 years ago

Updated Greenstone customizations for Detritus, but rearranged to move into separate plugin. Initial checkin of plugins, template, special wiki pages.

File size: 4.4 KB
Line 
1/*
2** MediaWiki Print style sheet for CSS2-capable browsers.
3** Copyright Gabriel Wicke, http://www.aulinx.de/
4**
5** Derived from the plone (http://plone.org/) styles
6** Copyright Alexander Limi
7*/
8
9/* Thanks to A List Apart (http://alistapart.com/) for useful extras */
10a.stub,
11a.new{ color:#ba0000; text-decoration:none; }
12
13#toc {
14 /*border:1px solid #2f6fab;*/
15 border:1px solid #aaaaaa;
16 background-color:#f9f9f9;
17 padding:5px;
18}
19.tocindent {
20 margin-left: 2em;
21}
22.tocline {
23 margin-bottom: 0px;
24}
25
26/* images */
27div.floatright {
28 float: right;
29 clear: right;
30 margin: 0;
31 position:relative;
32 border: 0.5em solid White;
33 border-width: 0.5em 0 0.8em 1.4em;
34}
35div.floatright p { font-style: italic;}
36div.floatleft {
37 float: left;
38 margin: 0.3em 0.5em 0.5em 0;
39 position:relative;
40 border: 0.5em solid White;
41 border-width: 0.5em 1.4em 0.8em 0;
42}
43div.floatleft p { font-style: italic; }
44/* thumbnails */
45div.thumb {
46 margin-bottom: 0.5em;
47 border-style: solid; border-color: White;
48 width: auto;
49 overflow: hidden;
50}
51div.thumb div {
52 border:1px solid #cccccc;
53 padding: 3px !important;
54 background-color:#f9f9f9;
55 font-size: 94%;
56 text-align: center;
57}
58div.thumb div a img {
59 border:1px solid #cccccc;
60}
61div.thumb div div.thumbcaption {
62 border: none;
63 padding: 0.3em 0 0.1em 0;
64}
65div.magnify { display: none; }
66div.tright {
67 float: right;
68 clear: right;
69 border-width: 0.5em 0 0.8em 1.4em;
70}
71div.tleft {
72 float: left;
73 margin-right:0.5em;
74 border-width: 0.5em 1.4em 0.8em 0;
75}
76img.thumbborder {
77 border: 1px solid #dddddd;
78}
79
80/* table standards */
81table.rimage {
82 float:right;
83 width:1pt;
84 position:relative;
85 margin-left:1em;
86 margin-bottom:1em;
87 text-align:center;
88}
89
90body {
91 background: White;
92 /*font-size: 11pt !important;*/
93 color: Black;
94 margin: 0;
95 padding: 0;
96}
97
98.noprint,
99div#jump-to-nav,
100div.top,
101div#column-one,
102#colophon,
103.editsection,
104.toctoggle,
105.tochidden,
106div#f-poweredbyico,
107div#f-copyrightico,
108li#viewcount,
109li#about,
110li#disclaimer,
111li#privacy,
112#mw-hidden-catlinks {
113 /* Hides all the elements irrelevant for printing */
114 display: none;
115}
116
117ul {
118 list-style-type: square;
119}
120
121#content {
122 background: none;
123 border: none ! important;
124 padding: 0 ! important;
125 margin: 0 ! important;
126}
127#footer {
128 background : white;
129 color : black;
130 border-top: 1px solid black;
131}
132
133h1, h2, h3, h4, h5, h6 {
134 font-weight: bold;
135}
136
137p, .documentDescription {
138 margin: 1em 0 ! important;
139 line-height: 1.2em;
140}
141
142.tocindent p {
143 margin: 0 0 0 0 ! important;
144}
145
146pre {
147 border: 1pt dashed black;
148 white-space: pre;
149 font-size: 8pt;
150 overflow: auto;
151 padding: 1em 0;
152 background : white;
153 color : black;
154}
155
156table.listing,
157table.listing td {
158 border: 1pt solid black;
159 border-collapse: collapse;
160}
161
162a {
163 color: Black !important;
164 background: none !important;
165 padding: 0 !important;
166}
167
168a:link, a:visited {
169 color: #520;
170 background: transparent;
171 text-decoration: underline;
172}
173
174#content a.external.text:after, #content a.external.autonumber:after {
175 /* Expand URLs for printing */
176 content: " (" attr(href) ") ";
177}
178
179#globalWrapper {
180 width: 100% !important;
181 min-width: 0 !important;
182}
183
184#content {
185 background : white;
186 color : black;
187}
188
189#column-content {
190 margin: 0 !important;
191}
192
193#column-content #content {
194 padding: 1em;
195 margin: 0 !important;
196}
197/* MSIE/Win doesn't understand 'inherit' */
198a, a.external, a.new, a.stub {
199 color: black ! important;
200 text-decoration: none ! important;
201}
202
203/* Continue ... */
204a, a.external, a.new, a.stub {
205 color: inherit ! important;
206 text-decoration: inherit ! important;
207}
208
209img { border: none; }
210img.tex { vertical-align: middle; }
211span.texhtml { font-family: serif; }
212
213#siteNotice { display: none; }
214
215div.gallerybox {
216 border: 1px solid #cccccc;
217 background-color:#f9f9f9;
218 width: 150px;
219}
220
221div.gallerytext {
222 overflow: visible;
223}
224
225/*
226** Diff rendering
227*/
228table.diff { background:white; }
229td.diff-otitle { background:#ffffff; }
230td.diff-ntitle { background:#ffffff; }
231td.diff-addedline {
232 background:#ccffcc;
233 font-size: smaller;
234 border: solid 2px black;
235}
236td.diff-deletedline {
237 background:#ffffaa;
238 font-size: smaller;
239 border: dotted 2px black;
240}
241td.diff-context {
242 background:#eeeeee;
243 font-size: smaller;
244}
245.diffchange {
246 color: silver;
247 font-weight: bold;
248 text-decoration: underline;
249}
Note: See TracBrowser for help on using the repository browser.