shared.css 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343
  1. /**
  2. * CSS in this file is used by *all* skins (that have any CSS at all). Be
  3. * careful what you put in here, since what looks good in one skin may not in
  4. * another, but don't ignore the poor non-Monobook users either.
  5. */
  6. .mw-plusminus-null { color: #aaa; }
  7. .texvc { direction: ltr; unicode-bidi: embed; }
  8. img.tex { vertical-align: middle; }
  9. span.texhtml { font-family: serif; }
  10. /* add a bit of margin space between the preview and the toolbar */
  11. /* this replaces the ugly <p><br /></p> we used to insert into the page source */
  12. #wikiPreview.ontop { margin-bottom: 1em; }
  13. /* Stop floats from intruding into edit area in previews */
  14. #editform, #toolbar, #wpTextbox1 { clear: both; }
  15. div#mw-js-message {
  16. margin: 1em 5%;
  17. padding: 0.5em 2.5%;
  18. border: solid 1px #ddd;
  19. background-color: #fcfcfc;
  20. }
  21. /* Edit section links */
  22. .editsection {
  23. float: right;
  24. margin-left: 5px;
  25. }
  26. /**
  27. * File histories
  28. */
  29. table.filehistory {
  30. border:1px solid #ccc;
  31. border-collapse:collapse;
  32. }
  33. table.filehistory th,
  34. table.filehistory td {
  35. padding: 0 0.2em 0 0.2em;
  36. vertical-align:top;
  37. border:1px solid #ccc;
  38. }
  39. table.filehistory th {
  40. text-align: left;
  41. }
  42. table.filehistory td.mw-imagepage-filesize,
  43. table.filehistory th.mw-imagepage-filesize {
  44. white-space:nowrap;
  45. }
  46. table.filehistory td.filehistory-selected {
  47. font-weight: bold;
  48. }
  49. /*
  50. * rev_deleted stuff
  51. */
  52. li span.deleted, span.history-deleted {
  53. text-decoration: line-through;
  54. color: #888;
  55. font-style: italic;
  56. }
  57. /**
  58. * Forms
  59. */
  60. body.ltr td.mw-label { text-align: right; }
  61. body.ltr td.mw-input { text-align: left; }
  62. body.ltr td.mw-submit { text-align: left; }
  63. body.rtl td.mw-label { text-align: left; }
  64. body.rtl td.mw-input { text-align: right; }
  65. body.rtl td.mw-submit { text-align: right; }
  66. td.mw-label { vertical-align: top; }
  67. td.mw-submit { white-space: nowrap; }
  68. /**
  69. * Image captions
  70. */
  71. body.rtl .thumbcaption { text-align:right; }
  72. body.rtl .magnify { float:left; }
  73. body.ltr .thumbcaption { text-align:left; }
  74. body.ltr .magnify { float:right; }
  75. /**
  76. * Hidden categories
  77. */
  78. .mw-hidden-cats-hidden { display: none; }
  79. .catlinks-allhidden { display: none; }
  80. /* Convenience links to edit block, delete and protect reasons */
  81. p.mw-ipb-conveniencelinks, p.mw-protect-editreasons,
  82. p.mw-filedelete-editreasons, p.mw-delete-editreasons {
  83. font-size: 90%;
  84. float: right;
  85. }
  86. /* Search results */
  87. div.searchresult {
  88. font-size: 95%;
  89. width:38em;
  90. }
  91. .mw-search-results li {
  92. padding-bottom: 1em;
  93. list-style:none;
  94. }
  95. .mw-search-result-data {
  96. color: green;
  97. font-size: 97%;
  98. }
  99. td#mw-search-menu {
  100. padding-left:6em;
  101. font-size:85%;
  102. }
  103. div#mw-search-interwiki {
  104. float: right;
  105. width: 18em;
  106. border-style: solid;
  107. border-color: #AAAAAA;
  108. border-width: 1px;
  109. margin-top: 2ex;
  110. }
  111. div#mw-search-interwiki li {
  112. font-size: 95%;
  113. }
  114. .mw-search-interwiki-more {
  115. float: right;
  116. font-size: 90%;
  117. }
  118. span.searchalttitle {
  119. font-size: 95%;
  120. }
  121. div.searchdidyoumean {
  122. font-size: 127%;
  123. margin-bottom: 1ex;
  124. margin-top: 1ex;
  125. /* Note that this color won't affect the link, as desired. */
  126. color: #c00;
  127. }
  128. div.searchdidyoumean em {
  129. font-weight: bold;
  130. }
  131. .searchmatch {
  132. font-weight: bold;
  133. }
  134. div.searchresults {
  135. border:1px solid darkblue;
  136. padding-top: 10px;
  137. padding-bottom: 10px;
  138. padding-left: 20px;
  139. padding-right: 20px;
  140. }
  141. /*
  142. * UserRights stuff
  143. */
  144. .mw-userrights-disabled {
  145. color: #888;
  146. }
  147. table.mw-userrights-groups * td,table.mw-userrights-groups * th {
  148. padding-right: 1.5em;
  149. }
  150. /*
  151. * OpenSearch ajax suggestions
  152. */
  153. .os-suggest {
  154. overflow: auto;
  155. overflow-x: hidden;
  156. position: absolute;
  157. top: 0px;
  158. left: 0px;
  159. width: 0px;
  160. background-color: white;
  161. background-color: Window;
  162. border-style: solid;
  163. border-color: #AAAAAA;
  164. border-width: 1px;
  165. z-index:99;
  166. visibility:hidden;
  167. font-size:95%;
  168. }
  169. table.os-suggest-results {
  170. font-size: 95%;
  171. cursor: pointer;
  172. border: 0;
  173. border-collapse: collapse;
  174. width: 100%;
  175. }
  176. td.os-suggest-result, td.os-suggest-result-hl {
  177. white-space: nowrap;
  178. background-color: white;
  179. background-color: Window;
  180. color: black;
  181. color: WindowText;
  182. padding: 2px;
  183. }
  184. td.os-suggest-result-hl,
  185. td.os-suggest-result-hl-webkit {
  186. background-color: #4C59A6;
  187. color: white;
  188. }
  189. td.os-suggest-result-hl {
  190. /* System colors are misimplemented in Safari 3.0 and earlier,
  191. making highlighted text illegible... */
  192. background-color: Highlight;
  193. color: HighlightText;
  194. }
  195. .os-suggest-toggle {
  196. position: relative;
  197. left: 1ex;
  198. font-size: 65%;
  199. }
  200. .os-suggest-toggle-def {
  201. position: absolute;
  202. top: 0px;
  203. left: 0px;
  204. font-size: 65%;
  205. visibility: hidden;
  206. }
  207. /* Page history styling */
  208. /* the auto-generated edit comments */
  209. .autocomment { color: gray; }
  210. #pagehistory .history-user {
  211. margin-left: 0.4em;
  212. margin-right: 0.2em;
  213. }
  214. #pagehistory span.minor { font-weight: bold; }
  215. #pagehistory li { border: 1px solid white; }
  216. #pagehistory li.selected {
  217. background-color: #f9f9f9;
  218. border: 1px dashed #aaa;
  219. }
  220. /*
  221. * Special:ListGroupRights styling
  222. * Special:Statistics styling
  223. * Special:Tags styling
  224. */
  225. table.mw-listgrouprights-table,
  226. table.mw-statistics-table,
  227. table.mw-tags-table {
  228. border: 1px solid #ccc;
  229. border-collapse: collapse;
  230. }
  231. table.mw-listgrouprights-table tr {
  232. vertical-align: top;
  233. }
  234. table.mw-listgrouprights-table td, table.mw-listgrouprights-table th,
  235. table.mw-statistics-table td, table.mw-statistics-table th,
  236. table.mw-tags-table td, table.mw-tags-table th {
  237. padding: 0.5em 0.2em 0.5em 0.2em;
  238. border: 1px solid #ccc;
  239. }
  240. td.mw-statistics-numbers {
  241. text-align: right;
  242. }
  243. /* Special:SpecialPages styling */
  244. h4.mw-specialpagesgroup {
  245. background-color: #dcdcdc;
  246. padding: 2px;
  247. margin: .3em 0em 0em 0em;
  248. }
  249. .mw-specialpagerestricted {
  250. font-weight: bold;
  251. }
  252. #shared-image-dup, #shared-image-conflict {
  253. font-style: italic;
  254. }
  255. /* Special:EmailUser styling */
  256. table.mw-emailuser-table {
  257. width: 98%;
  258. }
  259. td#mw-emailuser-sender, td#mw-emailuser-recipient {
  260. font-weight: bold;
  261. }
  262. /* Special:Prefixindex styling */
  263. table#mw-prefixindex-list-table,
  264. table#mw-prefixindex-nav-table {
  265. width: 98%;
  266. background-color: transparent;
  267. }
  268. td#mw-prefixindex-nav-form {
  269. font-size: smaller;
  270. margin-bottom: 1em;
  271. text-align: right;
  272. vertical-align: top;
  273. }
  274. /*
  275. * Recreating deleted page warning
  276. * Reupload file warning
  277. * Page protection warning
  278. * incl. log entries for these warnings
  279. */
  280. div.mw-warning-with-logexcerpt {
  281. padding: 3px;
  282. margin-bottom: 3px;
  283. border: 2px solid #2F6FAB;
  284. }
  285. div.mw-warning-with-logexcerpt ul li {
  286. font-size: 90%;
  287. }
  288. /* (show/hide) revision deletion links */
  289. span.mw-revdelundel-link,
  290. strong.mw-revdelundel-link {
  291. font-family: monospace;
  292. font-size: smaller;
  293. }
  294. /* feed links */
  295. a.feedlink {
  296. background: url("images/feed-icon.png") center left no-repeat;
  297. padding-left: 16px;
  298. }