oldshared.css 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467
  1. /**
  2. * oldshared.css
  3. * This file contains CSS settings common to Wikistandard, Nostalgia and
  4. * CologneBlue, the old pre-Monobook skins
  5. */
  6. /* For clarity, explicitly state some recommendations from
  7. * http://www.w3.org/TR/CSS21/sample.html to make sure the editsection links scale right
  8. */
  9. h1 { font-size: 2em; }
  10. h2 { font-size: 1.5em; }
  11. h3 { font-size: 1.17em; }
  12. h5 { font-size: .83em; }
  13. h6 { font-size: .75em; }
  14. h1, h2, h3, h4, h5, h6 {
  15. font-weight: bolder;
  16. }
  17. /* Now the custom parts */
  18. /* Make edit sections (which are inside h# tags) normal-sized */
  19. .editsection {
  20. font-weight: normal;
  21. }
  22. h1 .editsection { font-size: 50%; }
  23. h2 .editsection { font-size: 66.7%; }
  24. h3 .editsection { font-size: 85.5%; }
  25. h5 .editsection { font-size: 120%; }
  26. h6 .editsection { font-size: 133%; }
  27. #footer { clear: both }
  28. /* images */
  29. /* @noflip */
  30. div.floatright {
  31. float: right;
  32. clear: right;
  33. margin: 0 0 1em 1em;
  34. }
  35. /* @noflip */
  36. div.floatright p {
  37. font-style: italic;
  38. }
  39. /* @noflip */
  40. div.floatleft {
  41. float: left;
  42. clear: left;
  43. margin: 0.3em 0.5em 0.5em 0;
  44. }
  45. /* @noflip */
  46. div.floatleft p {
  47. font-style: italic;
  48. }
  49. /* Print-specific things to hide */
  50. .printfooter {
  51. display: none;
  52. }
  53. /* table standards */
  54. table.rimage {
  55. float: right;
  56. margin-left: 1em;
  57. margin-bottom: 1em;
  58. text-align: center;
  59. font-size: smaller;
  60. }
  61. /* thumbnails */
  62. div.thumb {
  63. margin-bottom: .5em;
  64. border-style: solid;
  65. border-color: white;
  66. width: auto;
  67. }
  68. div.thumbinner {
  69. border: 1px solid #ccc;
  70. padding: 3px !important;
  71. background-color: #f9f9f9;
  72. font-size: 94%;
  73. text-align: center;
  74. overflow: hidden;
  75. }
  76. html .thumbimage {
  77. border: 1px solid #ccc;
  78. }
  79. html .thumbcaption {
  80. border: none;
  81. text-align: left;
  82. line-height: 1.4em;
  83. padding: 3px !important;
  84. font-size: 94%;
  85. }
  86. div.magnify {
  87. float: right;
  88. border: none !important;
  89. background: none !important;
  90. }
  91. div.magnify a,
  92. div.magnify img {
  93. display: block;
  94. border: none !important;
  95. background: none !important;
  96. }
  97. /* @noflip */
  98. div.tright {
  99. clear: right;
  100. float: right;
  101. border-width: .5em 0 .8em 1.4em;
  102. }
  103. /* @noflip */
  104. div.tleft {
  105. float: left;
  106. clear: left;
  107. margin-right: .5em;
  108. border-width: .5em 1.4em .8em 0;
  109. }
  110. img.thumbborder {
  111. border: 1px solid #dddddd;
  112. }
  113. /* Page history styling */
  114. /* the auto-generated edit comments */
  115. .autocomment { color: #4b4b4b; }
  116. img { border: none; }
  117. #toc,
  118. .toc {
  119. border: 1px solid #bba;
  120. background-color: #f7f8ff;
  121. padding: 5px;
  122. font-size: 95%;
  123. text-align: center;
  124. }
  125. #toc h2,
  126. .toc h2 {
  127. display: inline;
  128. border: none;
  129. padding: 0;
  130. font-size: 100%;
  131. font-weight: bold;
  132. }
  133. #toc ul,
  134. .toc ul {
  135. list-style-type: none;
  136. list-style-image: none;
  137. padding: 0;
  138. text-align: left;
  139. }
  140. #toc ul ul,
  141. .toc ul ul {
  142. margin: 0 0 0 2em;
  143. }
  144. #toc .toctoggle,
  145. .toc .toctoggle {
  146. font-size: 94%;
  147. }
  148. .error {
  149. color: red;
  150. font-size: larger;
  151. }
  152. /* preference page with js-genrated toc */
  153. #mw-pref-clear {
  154. clear: both;
  155. }
  156. #preftoc {
  157. float: left;
  158. margin: 1em 1em 1em 1em;
  159. width: 13em;
  160. }
  161. #preftoc li {
  162. border: 1px solid White;
  163. }
  164. #preftoc li.selected {
  165. background-color:#f9f9f9;
  166. border:1px dashed #aaaaaa;
  167. }
  168. #preftoc a,
  169. #preftoc a:active {
  170. display: block;
  171. color: #005189;
  172. }
  173. .mw-prefs-buttons {
  174. clear: left;
  175. float: left;
  176. margin-top: 1em;
  177. }
  178. div.htmlform-tip {
  179. font-size: 94%;
  180. margin-top: 0.4em;
  181. color: #666;
  182. }
  183. fieldset.prefsection {
  184. margin-top: 1em;
  185. }
  186. fieldset.operaprefsection {
  187. margin-left: 15em;
  188. }
  189. /* emulate center */
  190. .center {
  191. width: 100%;
  192. text-align: center;
  193. }
  194. *.center * {
  195. margin-left: auto;
  196. margin-right: auto;
  197. }
  198. /* small for tables and similar */
  199. .small {
  200. font-size: 94%;
  201. }
  202. table.small {
  203. font-size: 100%;
  204. }
  205. /* use this instead of #toc for page content */
  206. .toccolours {
  207. border: 1px solid #aaaaaa;
  208. background-color: #f9f9f9;
  209. padding: 5px;
  210. font-size: 95%;
  211. }
  212. #siteNotice {
  213. border: 1px solid #aaaaaa;
  214. padding-left: 0.5em;
  215. padding-right: 0.5em;
  216. }
  217. .redirectText {
  218. font-size: 150%;
  219. margin: 5px;
  220. }
  221. .sharedUploadNotice {
  222. font-style: italic;
  223. }
  224. span.unpatrolled {
  225. font-weight: bold;
  226. color: red;
  227. }
  228. span.updatedmarker {
  229. color: black;
  230. background-color: #00FF00;
  231. }
  232. div.gallerybox {
  233. width: 150px;
  234. }
  235. span.comment {
  236. font-style: italic;
  237. }
  238. span.changedby {
  239. font-size: 95%;
  240. }
  241. .previewnote {
  242. text-align: center;
  243. color: #cc0000;
  244. }
  245. .editExternally {
  246. border-style: solid;
  247. border-width: 1px;
  248. border-color: gray;
  249. background: #ffffff;
  250. padding: 3px;
  251. margin-top: 0.5em;
  252. float: left;
  253. font-size: small;
  254. text-align: center;
  255. }
  256. .editExternallyHelp {
  257. font-style: italic;
  258. color: gray;
  259. }
  260. li span.deleted {
  261. text-decoration: line-through;
  262. color: #888;
  263. font-style: italic;
  264. }
  265. /* Classes for EXIF data display */
  266. table.mw_metadata {
  267. margin-left: 0.5em;
  268. }
  269. table.mw_metadata caption {
  270. font-weight: bold;
  271. }
  272. table.mw_metadata th {
  273. font-weight: normal;
  274. }
  275. table.mw_metadata td {
  276. padding: 0.1em;
  277. }
  278. table.mw_metadata {
  279. border: none;
  280. border-collapse: collapse;
  281. }
  282. table.mw_metadata td,
  283. table.mw_metadata th {
  284. border: 1px solid #aaaaaa;
  285. padding-left: 4px;
  286. padding-right: 4px;
  287. }
  288. table.mw_metadata th {
  289. background-color: #f9f9f9;
  290. }
  291. table.mw_metadata td {
  292. background-color: #fcfcfc;
  293. }
  294. table.mw_metadata td.spacer {
  295. background: inherit;
  296. border-top: none;
  297. border-bottom: none;
  298. }
  299. table.collapsed tr.collapsable {
  300. display: none;
  301. }
  302. .visualClear {
  303. clear: both;
  304. }
  305. /* Allmessages table */
  306. #allmessagestable th {
  307. background-color: #b2b2ff;
  308. }
  309. #allmessagestable tr.orig {
  310. background-color: #ffe2e2;
  311. }
  312. #allmessagestable tr.new {
  313. background-color: #e2ffe2;
  314. }
  315. #allmessagestable tr.def {
  316. background-color: #f0f0ff;
  317. }
  318. #jump-to-nav {
  319. display: none;
  320. }
  321. div.multipageimagenavbox {
  322. border: solid 1px silver;
  323. padding: 4px;
  324. margin: 1em;
  325. background: #f0f0f0;
  326. }
  327. div.multipageimagenavbox div.thumb {
  328. border: none;
  329. margin-left: 2em;
  330. margin-right: 2em;
  331. }
  332. div.multipageimagenavbox hr {
  333. margin: 6px;
  334. }
  335. table.multipageimage td {
  336. text-align: center;
  337. }
  338. /*
  339. Table pager (e.g. Special:Imagelist)
  340. - remove underlines from the navigation link
  341. - collapse borders
  342. - set the borders to outsets (similar to Special:Allmessages)
  343. - remove line wrapping for all td and th, set background color
  344. - restore line wrapping for the last two table cells (description and size)
  345. */
  346. .TablePager_nav a {
  347. text-decoration: none;
  348. }
  349. .TablePager {
  350. border-collapse: collapse;
  351. }
  352. .TablePager,
  353. .TablePager td,
  354. .TablePager th {
  355. border: 0.15em solid #777777;
  356. padding: 0 0.15em 0 0.15em;
  357. }
  358. .TablePager th {
  359. background-color: #eeeeff;
  360. }
  361. .TablePager td {
  362. background-color: #ffffff;
  363. }
  364. .TablePager tr:hover td {
  365. background-color: #eeeeff;
  366. }
  367. .imagelist td,
  368. .imagelist th {
  369. white-space: nowrap;
  370. }
  371. .imagelist .TablePager_col_links {
  372. background-color: #eeeeff;
  373. }
  374. .imagelist .TablePager_col_img_description {
  375. white-space: normal;
  376. }
  377. .imagelist th.TablePager_sort {
  378. background-color: #ccccff;
  379. }
  380. .templatesUsed {
  381. margin-top: 1em;
  382. }
  383. .MediaTransformError {
  384. border: thin solid #777;
  385. background-color: #ccc;
  386. padding: 0.1em;
  387. }
  388. .MediaTransformError td {
  389. text-align: center;
  390. vertical-align: middle;
  391. font-size: 90%;
  392. }
  393. form#specialpages {
  394. display: inline;
  395. }
  396. body {
  397. direction: ltr;
  398. unicode-bidi: embed;
  399. background-color: #ffffec;
  400. }
  401. body.ns-0 {
  402. background-color: white;
  403. }
  404. /** RTL specific CSS starts here **/
  405. /**
  406. * Lists:
  407. * The following lines don't have a visible effect on non-Gecko browsers
  408. * They fix a problem with Gecko browsers rendering lists to the right of
  409. * left-floated objects in an RTL layout.
  410. */
  411. /* @noflip */
  412. html > body.rtl div#article ul {
  413. display: table;
  414. }
  415. /* @noflip */
  416. html > body.rtl div#bodyContent ul#filetoc {
  417. display: block;
  418. }
  419. /* RTL specific CSS ends here **/