commonPrint.css 4.7 KB

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