commonPrint.css 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388
  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. /* Thanks to A List Apart (http://alistapart.com/) for useful extras */
  9. a.stub,
  10. a.new {
  11. color: #ba0000;
  12. text-decoration: none;
  13. }
  14. #toc {
  15. border: 1px solid #aaaaaa;
  16. background-color: #f9f9f9;
  17. padding: 5px;
  18. }
  19. /* images */
  20. div.floatright {
  21. float: right;
  22. clear: right;
  23. position: relative;
  24. margin: 0.5em 0 0.8em 1.4em;
  25. }
  26. div.floatright p {
  27. font-style: italic;
  28. }
  29. div.floatleft {
  30. float: left;
  31. clear: left;
  32. position: relative;
  33. margin: 0.5em 1.4em 0.8em 0;
  34. }
  35. div.floatleft p {
  36. font-style: italic;
  37. }
  38. div.center {
  39. text-align: center;
  40. }
  41. /* thumbnails */
  42. div.thumb {
  43. border: none;
  44. width: auto;
  45. margin-top: 0.5em;
  46. margin-bottom: 0.8em;
  47. background-color: transparent;
  48. }
  49. div.thumbinner {
  50. border:1px solid #cccccc;
  51. padding: 3px !important;
  52. background-color: White;
  53. font-size: 94%;
  54. text-align: center;
  55. overflow: hidden;
  56. }
  57. html .thumbimage {
  58. border: 1px solid #cccccc;
  59. }
  60. html .thumbcaption {
  61. border: none;
  62. text-align: left;
  63. line-height: 1.4em;
  64. padding: 3px !important;
  65. font-size: 94%;
  66. }
  67. div.magnify {
  68. display: none;
  69. }
  70. /* @noflip */
  71. div.tright {
  72. float: right;
  73. clear: right;
  74. margin: 0.5em 0 0.8em 1.4em;
  75. }
  76. /* @noflip */
  77. div.tleft {
  78. float: left;
  79. clear: left;
  80. margin: 0.5em 1.4em 0.8em 0;
  81. }
  82. img.thumbborder {
  83. border: 1px solid #dddddd;
  84. }
  85. /* table standards */
  86. table.rimage {
  87. float: right;
  88. width: 1pt;
  89. position: relative;
  90. margin-left: 1em;
  91. margin-bottom: 1em;
  92. text-align: center;
  93. }
  94. body {
  95. background: white;
  96. color: black;
  97. margin: 0;
  98. padding: 0;
  99. }
  100. .noprint,
  101. div#jump-to-nav,
  102. .mw-jump,
  103. div.top,
  104. div#column-one,
  105. #colophon,
  106. .editsection,
  107. .toctoggle,
  108. .tochidden,
  109. div#f-poweredbyico,
  110. div#f-copyrightico,
  111. li#viewcount,
  112. li#about,
  113. li#disclaimer,
  114. li#mobileview,
  115. li#privacy,
  116. #footer-places,
  117. .mw-hidden-catlinks,
  118. tr.mw-metadata-show-hide-extended,
  119. span.mw-filepage-other-resolutions,
  120. #filetoc {
  121. /* Hides all the elements irrelevant for printing */
  122. display: none;
  123. }
  124. ul {
  125. list-style-type: square;
  126. }
  127. #content {
  128. background: none;
  129. border: none !important;
  130. padding: 0 !important;
  131. margin: 0 !important;
  132. direction: ltr;
  133. }
  134. #footer {
  135. background : white;
  136. color : black;
  137. margin-top: 1em;
  138. border-top: 1px solid #AAA;
  139. direction: ltr;
  140. }
  141. h1, h2, h3, h4, h5, h6 {
  142. font-weight: bold;
  143. }
  144. p {
  145. margin: 1em 0;
  146. line-height: 1.2em;
  147. }
  148. pre {
  149. border: 1pt dashed black;
  150. white-space: pre;
  151. font-size: 8pt;
  152. overflow: auto;
  153. padding: 1em 0;
  154. background: white;
  155. color: black;
  156. }
  157. table.listing,
  158. table.listing td {
  159. border: 1pt solid black;
  160. border-collapse: collapse;
  161. }
  162. a {
  163. color: black !important;
  164. background: none !important;
  165. padding: 0 !important;
  166. }
  167. a:link, a:visited {
  168. color: #520;
  169. background: transparent;
  170. text-decoration: underline;
  171. }
  172. #content a.external.text:after,
  173. #content a.external.autonumber:after {
  174. /* Expand URLs for printing */
  175. content: " (" attr(href) ") ";
  176. }
  177. #globalWrapper {
  178. width: 100% !important;
  179. min-width: 0 !important;
  180. }
  181. #content {
  182. background: white;
  183. color: black;
  184. }
  185. #column-content {
  186. margin: 0 !important;
  187. }
  188. #column-content #content {
  189. padding: 1em;
  190. margin: 0 !important;
  191. }
  192. /* MSIE/Win doesn't understand 'inherit' */
  193. a,
  194. a.external,
  195. a.new,
  196. a.stub {
  197. color: black !important;
  198. text-decoration: none !important;
  199. }
  200. /* Continue ... */
  201. a,
  202. a.external,
  203. a.new,
  204. a.stub {
  205. color: inherit !important;
  206. text-decoration: inherit !important;
  207. }
  208. img {
  209. border: none;
  210. vertical-align: middle;
  211. }
  212. /* math */
  213. span.texhtml {
  214. font-family: serif;
  215. }
  216. #siteNotice {
  217. display: none;
  218. }
  219. /* Galleries (see shared.css for more info) */
  220. li.gallerybox {
  221. vertical-align: top;
  222. border: solid 2px white;
  223. display: -moz-inline-box;
  224. display: inline-block;
  225. }
  226. ul.gallery, li.gallerybox {
  227. zoom: 1;
  228. *display: inline;
  229. }
  230. ul.gallery {
  231. margin: 2px;
  232. padding: 2px;
  233. display: block;
  234. }
  235. li.gallerycaption {
  236. font-weight: bold;
  237. text-align: center;
  238. display: block;
  239. word-wrap: break-word;
  240. }
  241. li.gallerybox div.thumb {
  242. text-align: center;
  243. border: 1px solid #ccc;
  244. margin: 2px;
  245. }
  246. div.gallerytext {
  247. overflow: hidden;
  248. font-size: 94%;
  249. padding: 2px 4px;
  250. word-wrap: break-word;
  251. }
  252. /**
  253. * Diff rendering
  254. */
  255. table.diff {
  256. background: white;
  257. }
  258. td.diff-otitle {
  259. background: #ffffff;
  260. }
  261. td.diff-ntitle {
  262. background: #ffffff;
  263. }
  264. td.diff-addedline {
  265. background: #ccffcc;
  266. font-size: smaller;
  267. border: solid 2px black;
  268. }
  269. td.diff-deletedline {
  270. background: #ffffaa;
  271. font-size: smaller;
  272. border: dotted 2px black;
  273. }
  274. td.diff-context {
  275. background: #eeeeee;
  276. font-size: smaller;
  277. }
  278. .diffchange {
  279. color: silver;
  280. font-weight: bold;
  281. text-decoration: underline;
  282. }
  283. /**
  284. * Table rendering
  285. * As on shared.css but with white background.
  286. */
  287. table.wikitable,
  288. table.mw_metadata {
  289. margin: 1em 1em 1em 0;
  290. border: 1px #aaa solid;
  291. background: white;
  292. border-collapse: collapse;
  293. }
  294. table.wikitable > tr > th, table.wikitable > tr > td,
  295. table.wikitable > * > tr > th, table.wikitable > * > tr > td,
  296. .mw_metadata th, .mw_metadata td {
  297. border: 1px #aaa solid;
  298. padding: 0.2em;
  299. }
  300. table.wikitable > tr > th,
  301. table.wikitable > * > tr > th,
  302. .mw_metadata th {
  303. text-align: center;
  304. background: white;
  305. font-weight: bold;
  306. }
  307. table.wikitable > caption,
  308. .mw_metadata caption {
  309. font-weight: bold;
  310. }
  311. a.sortheader {
  312. margin: 0 0.3em;
  313. }
  314. /* Some pagination options */
  315. .wikitable, .thumb, img {
  316. page-break-inside: avoid;
  317. }
  318. h2, h3, h4, h5, h6, h7 {
  319. page-break-after: avoid;
  320. }
  321. p {
  322. widows: 3;
  323. orphans: 3;
  324. }
  325. /**
  326. * Categories
  327. */
  328. .catlinks ul {
  329. display: inline;
  330. margin: 0;
  331. padding: 0;
  332. list-style: none;
  333. list-style-type: none;
  334. list-style-image: none;
  335. vertical-align: middle !ie;
  336. }
  337. .catlinks li {
  338. display: inline-block;
  339. line-height: 1.15em;
  340. padding: 0 .4em;
  341. border-left: 1px solid #AAA;
  342. margin: 0.1em 0;
  343. zoom: 1;
  344. display: inline !ie;
  345. }
  346. .catlinks li:first-child {
  347. padding-left: .2em;
  348. border-left: none;
  349. }