shared.css 18 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037
  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 pre-Monobook users either.
  5. */
  6. /* GENERAL CLASSES FOR DIRECTIONALITY SUPPORT */
  7. /**
  8. * These classes should be used for text depending on the content direction.
  9. * Content stuff like editsection, ul/ol and TOC depend on this.
  10. */
  11. .mw-content-ltr {
  12. /* @noflip */
  13. direction: ltr;
  14. }
  15. .mw-content-rtl {
  16. /* @noflip */
  17. direction: rtl;
  18. }
  19. /* Most input fields should be in site direction */
  20. .sitedir-ltr textarea,
  21. .sitedir-ltr input {
  22. /* @noflip */
  23. direction: ltr;
  24. }
  25. .sitedir-rtl textarea,
  26. .sitedir-rtl input {
  27. /* @noflip */
  28. direction: rtl;
  29. }
  30. /* Input types that should follow user direction, like buttons */
  31. /* TODO: What about buttons in wikipage content ? */
  32. input[type="submit"],
  33. input[type="button"],
  34. input[type="reset"],
  35. input[type="file"] {
  36. direction: ltr;
  37. }
  38. /* Override default values */
  39. textarea[dir="ltr"],
  40. input[dir="ltr"] {
  41. /* @noflip */
  42. direction: ltr;
  43. }
  44. textarea[dir="rtl"],
  45. input[dir="rtl"] {
  46. /* @noflip */
  47. direction: rtl;
  48. }
  49. /* Default style for semantic tags */
  50. abbr,
  51. acronym,
  52. .explain {
  53. border-bottom: 1px dotted;
  54. cursor: help;
  55. }
  56. /* Colored watchlist and recent changes numbers */
  57. .mw-plusminus-pos {
  58. color: #006400; /* dark green */
  59. }
  60. .mw-plusminus-neg {
  61. color: #8b0000; /* dark red */
  62. }
  63. .mw-plusminus-null {
  64. color: #aaa; /* gray */
  65. }
  66. /**
  67. * Links to redirects appear italicized on [[Special:AllPages]], [[Special:PrefixIndex]],
  68. * [[Special:Watchlist/edit]] and in category listings.
  69. */
  70. .allpagesredirect,
  71. .redirect-in-category,
  72. .watchlistredir {
  73. font-style: italic;
  74. }
  75. /* Comment and username portions of RC entries */
  76. span.comment {
  77. font-style: italic;
  78. }
  79. span.changedby {
  80. font-size: 95%;
  81. }
  82. /* Math */
  83. .texvc {
  84. direction: ltr;
  85. unicode-bidi: embed;
  86. }
  87. img.tex {
  88. vertical-align: middle;
  89. }
  90. span.texhtml {
  91. font-family: serif;
  92. }
  93. /**
  94. * Add a bit of margin space between the preview and the toolbar.
  95. * This replaces the ugly <p><br /></p> we used to insert into the page source
  96. */
  97. #wikiPreview.ontop {
  98. margin-bottom: 1em;
  99. }
  100. /* Stop floats from intruding into edit area in previews */
  101. #editform,
  102. #toolbar,
  103. #wpTextbox1 {
  104. clear: both;
  105. }
  106. #toolbar img {
  107. cursor: pointer;
  108. }
  109. div#mw-js-message {
  110. margin: 1em 5%;
  111. padding: 0.5em 2.5%;
  112. border: solid 1px #ddd;
  113. background-color: #fcfcfc;
  114. }
  115. /* Edit section links */
  116. .editsection {
  117. float: right;
  118. margin-left: 5px;
  119. }
  120. /* Correct directionality when page dir is different from site/user dir */
  121. .mw-content-ltr .editsection,
  122. .mw-content-rtl .mw-content-ltr .editsection {
  123. /* @noflip */
  124. float: right;
  125. }
  126. .mw-content-rtl .editsection,
  127. .mw-content-ltr .mw-content-rtl .editsection {
  128. /* @noflip */
  129. float: left;
  130. }
  131. /**
  132. * File description page
  133. */
  134. div.mw-filepage-resolutioninfo {
  135. font-size: smaller;
  136. }
  137. /**
  138. * File histories
  139. */
  140. h2#filehistory {
  141. clear: both;
  142. }
  143. table.filehistory th,
  144. table.filehistory td {
  145. vertical-align: top;
  146. }
  147. table.filehistory th {
  148. text-align: left;
  149. }
  150. table.filehistory td.mw-imagepage-filesize,
  151. table.filehistory th.mw-imagepage-filesize {
  152. white-space: nowrap;
  153. }
  154. table.filehistory td.filehistory-selected {
  155. font-weight: bold;
  156. }
  157. /**
  158. * Add a checkered background image on hover for file
  159. * description pages. (bug 26470)
  160. */
  161. .filehistory a img,
  162. #file img:hover {
  163. /* @embed */
  164. background: white url(images/Checker-16x16.png) repeat;
  165. }
  166. /**
  167. * rev_deleted stuff
  168. */
  169. li span.deleted,
  170. span.history-deleted {
  171. text-decoration: line-through;
  172. color: #888;
  173. font-style: italic;
  174. }
  175. /**
  176. * Patrol stuff
  177. */
  178. .not-patrolled {
  179. background-color: #ffa;
  180. }
  181. .unpatrolled {
  182. font-weight: bold;
  183. color: red;
  184. }
  185. div.patrollink {
  186. font-size: 75%;
  187. text-align: right;
  188. }
  189. /**
  190. * Forms
  191. */
  192. td.mw-label {
  193. text-align: right;
  194. }
  195. td.mw-input {
  196. text-align: left;
  197. }
  198. td.mw-submit {
  199. text-align: left;
  200. }
  201. td.mw-label {
  202. vertical-align: top;
  203. }
  204. .prefsection td.mw-label {
  205. width: 20%;
  206. }
  207. .prefsection table {
  208. width: 100%;
  209. }
  210. td.mw-submit {
  211. white-space: nowrap;
  212. }
  213. table.mw-htmlform-nolabel td.mw-label {
  214. width: 1px;
  215. }
  216. tr.mw-htmlform-vertical-label td.mw-label {
  217. text-align: left !important;
  218. }
  219. .mw-htmlform-invalid-input td.mw-input input {
  220. border-color: red;
  221. }
  222. .mw-htmlform-flatlist div.mw-htmlform-flatlist-item {
  223. display: inline;
  224. margin-right: 1em;
  225. white-space: nowrap;
  226. }
  227. input#wpSummary {
  228. width: 80%;
  229. }
  230. /**
  231. * Image captions
  232. */
  233. .thumbcaption {
  234. text-align: left;
  235. }
  236. .magnify {
  237. float: right;
  238. }
  239. /**
  240. * Categories
  241. */
  242. #catlinks {
  243. /**
  244. * Overrides text justification (user preference)
  245. * See bug 31990
  246. */
  247. text-align: left;
  248. }
  249. .catlinks ul {
  250. display: inline;
  251. margin: 0;
  252. padding: 0;
  253. list-style: none;
  254. list-style-type: none;
  255. list-style-image: none;
  256. vertical-align: middle !ie;
  257. }
  258. .catlinks li {
  259. display: inline-block;
  260. line-height: 1.25em;
  261. border-left: 1px solid #AAA;
  262. margin: 0.125em 0;
  263. padding: 0 0.5em;
  264. zoom: 1;
  265. display: inline !ie;
  266. }
  267. .catlinks li:first-child {
  268. padding-left: 0.25em;
  269. border-left: none;
  270. }
  271. /**
  272. * Hidden categories
  273. */
  274. .mw-hidden-cats-hidden {
  275. display: none;
  276. }
  277. .catlinks-allhidden {
  278. display: none;
  279. }
  280. /* Convenience links to edit block, delete and protect reasons */
  281. p.mw-ipb-conveniencelinks,
  282. p.mw-protect-editreasons,
  283. p.mw-filedelete-editreasons,
  284. p.mw-delete-editreasons,
  285. p.mw-revdel-editreasons {
  286. font-size: 90%;
  287. text-align: right;
  288. }
  289. /**
  290. * OpenSearch ajax suggestions
  291. */
  292. .os-suggest {
  293. overflow: auto;
  294. overflow-x: hidden;
  295. position: absolute;
  296. top: 0;
  297. left: 0;
  298. width: 0;
  299. background-color: white;
  300. border-style: solid;
  301. border-color: #AAAAAA;
  302. border-width: 1px;
  303. z-index:99;
  304. font-size:95%;
  305. }
  306. table.os-suggest-results {
  307. font-size: 95%;
  308. cursor: pointer;
  309. border: 0;
  310. border-collapse: collapse;
  311. width: 100%;
  312. }
  313. .os-suggest-result,
  314. .os-suggest-result-hl {
  315. white-space: nowrap;
  316. background-color: white;
  317. color: black;
  318. padding: 2px;
  319. }
  320. .os-suggest-result-hl,
  321. .os-suggest-result-hl-webkit {
  322. background-color: #4C59A6;
  323. color: white;
  324. }
  325. .os-suggest-toggle {
  326. position: relative;
  327. left: 1ex;
  328. font-size: 65%;
  329. }
  330. .os-suggest-toggle-def {
  331. position: absolute;
  332. top: 0;
  333. left: 0;
  334. font-size: 65%;
  335. visibility: hidden;
  336. }
  337. /* Page history styling */
  338. /* The auto-generated edit comments */
  339. .autocomment {
  340. color: gray;
  341. }
  342. #pagehistory .history-user {
  343. margin-left: 0.4em;
  344. margin-right: 0.2em;
  345. }
  346. #pagehistory span.minor {
  347. font-weight: bold;
  348. }
  349. #pagehistory li {
  350. border: 1px solid white;
  351. }
  352. #pagehistory li.selected {
  353. background-color: #f9f9f9;
  354. border: 1px dashed #aaa;
  355. }
  356. .mw-history-revisiondelete-button, #mw-fileduplicatesearch-icon {
  357. float: right;
  358. }
  359. /** Generic minor/bot/newpage styling (recent changes) */
  360. .newpage,
  361. .minoredit,
  362. .botedit {
  363. font-weight: bold;
  364. }
  365. #shared-image-dup,
  366. #shared-image-conflict {
  367. font-style: italic;
  368. }
  369. /**
  370. * Recreating deleted page warning
  371. * Reupload file warning
  372. * Page protection warning
  373. * incl. log entries for these warnings
  374. */
  375. div.mw-warning-with-logexcerpt {
  376. padding: 3px;
  377. margin-bottom: 3px;
  378. border: 2px solid #2F6FAB;
  379. clear: both;
  380. }
  381. div.mw-warning-with-logexcerpt ul li {
  382. font-size: 90%;
  383. }
  384. /* (show/hide) revision deletion links */
  385. span.mw-revdelundel-link,
  386. strong.mw-revdelundel-link {
  387. font-size: 90%;
  388. }
  389. span.mw-revdelundel-hidden,
  390. input.mw-revdelundel-hidden {
  391. visibility: hidden;
  392. }
  393. td.mw-revdel-checkbox,
  394. th.mw-revdel-checkbox {
  395. padding-right: 10px;
  396. text-align: center;
  397. }
  398. /* feed links */
  399. a.feedlink {
  400. /* @embed */
  401. background: url(images/feed-icon.png) center left no-repeat;
  402. padding-left: 16px;
  403. }
  404. /* Plainlinks - this can be used to switch
  405. * off special external link styling */
  406. .plainlinks a {
  407. background: none !important;
  408. padding: 0 !important;
  409. }
  410. /* External URLs should always be treated as LTR (bug 4330) */
  411. /* @noflip */ .rtl a.external.free,
  412. .rtl a.external.autonumber {
  413. direction: ltr;
  414. unicode-bidi: embed;
  415. }
  416. /**
  417. * wikitable class for skinning normal tables
  418. * keep in sync with commonPrint.css
  419. */
  420. table.wikitable {
  421. margin: 1em 1em 1em 0;
  422. background-color: #f9f9f9;
  423. border: 1px #aaa solid;
  424. border-collapse: collapse;
  425. color: black;
  426. }
  427. table.wikitable > tr > th,
  428. table.wikitable > tr > td,
  429. table.wikitable > * > tr > th,
  430. table.wikitable > * > tr > td {
  431. border: 1px #aaa solid;
  432. padding: 0.2em;
  433. }
  434. table.wikitable > tr > th,
  435. table.wikitable > * > tr > th {
  436. background-color: #f2f2f2;
  437. text-align: center;
  438. }
  439. table.wikitable > caption {
  440. font-weight: bold;
  441. }
  442. /* hide initially collapsed collapsable tables */
  443. table.collapsed tr.collapsable {
  444. display: none;
  445. }
  446. /* success and error messages */
  447. .success {
  448. color: green;
  449. font-size: larger;
  450. }
  451. .warning {
  452. color: #FFA500; /* orange */
  453. font-size: larger;
  454. }
  455. .error {
  456. color: red;
  457. font-size: larger;
  458. }
  459. .errorbox,
  460. .warningbox,
  461. .successbox {
  462. font-size: larger;
  463. border: 2px solid;
  464. padding: .5em 1em;
  465. float: left;
  466. margin-bottom: 2em;
  467. color: #000;
  468. }
  469. .errorbox {
  470. border-color: red;
  471. background-color: #fff2f2;
  472. }
  473. .warningbox {
  474. border-color: #FF8C00; /* darkorange */
  475. background-color: #FFFFC0;
  476. }
  477. .successbox {
  478. border-color: green;
  479. background-color: #dfd;
  480. }
  481. .errorbox h2,
  482. .warningbox h2,
  483. .successbox h2 {
  484. font-size: 1em;
  485. font-weight: bold;
  486. display: inline;
  487. margin: 0 .5em 0 0;
  488. border: none;
  489. }
  490. /* general info/warning box for SP */
  491. .mw-infobox {
  492. border: 2px solid #ff7f00;
  493. margin: 0.5em;
  494. clear: left;
  495. overflow: hidden;
  496. }
  497. .mw-infobox-left {
  498. margin: 7px;
  499. float: left;
  500. width: 35px;
  501. }
  502. .mw-infobox-right {
  503. margin: 0.5em 0.5em 0.5em 49px;
  504. }
  505. /* Note on preview page */
  506. .previewnote {
  507. color: #c00;
  508. margin-bottom: 1em;
  509. }
  510. .previewnote p {
  511. text-indent: 3em;
  512. margin: 0.8em 0;
  513. }
  514. .visualClear {
  515. clear: both;
  516. }
  517. #mw_trackbacks {
  518. border: solid 1px #bbbbff;
  519. background-color: #eeeeff;
  520. padding: 0.2em;
  521. }
  522. /**
  523. * Data table style
  524. *
  525. * Transparent table with suddle borders
  526. * and blue row-highlighting.
  527. */
  528. .mw-datatable {
  529. border-collapse: collapse;
  530. }
  531. .mw-datatable,
  532. .mw-datatable td,
  533. .mw-datatable th {
  534. border: 1px solid #aaaaaa;
  535. padding: 0 0.15em 0 0.15em;
  536. }
  537. .mw-datatable th {
  538. background-color: #ddddff;
  539. }
  540. .mw-datatable td {
  541. background-color: #ffffff;
  542. }
  543. .mw-datatable tr:hover td {
  544. background-color: #eeeeff;
  545. }
  546. /**
  547. * TablePager tables generated by the TablePager PHP class
  548. * in MediaWiki (e.g. Special:ListFiles).
  549. */
  550. .TablePager {
  551. min-width: 80%;
  552. }
  553. .TablePager_nav {
  554. margin: 0 auto;
  555. }
  556. .TablePager_nav td {
  557. padding: 3px;
  558. text-align: center;
  559. }
  560. .TablePager_nav a {
  561. text-decoration: none;
  562. }
  563. .imagelist td,
  564. .imagelist th {
  565. white-space: nowrap;
  566. }
  567. .imagelist .TablePager_col_links {
  568. background-color: #eeeeff;
  569. }
  570. .imagelist .TablePager_col_img_description {
  571. white-space: normal;
  572. }
  573. .imagelist th.TablePager_sort {
  574. background-color: #ccccff;
  575. }
  576. /* filetoc */
  577. ul#filetoc {
  578. text-align: center;
  579. border: 1px solid #aaaaaa;
  580. background-color: #f9f9f9;
  581. padding: 5px;
  582. font-size: 95%;
  583. margin-bottom: 0.5em;
  584. margin-left: 0;
  585. margin-right: 0;
  586. }
  587. #filetoc li {
  588. display: inline;
  589. list-style-type: none;
  590. padding-right: 2em;
  591. }
  592. /* Classes for EXIF data display */
  593. table.mw_metadata {
  594. font-size: 0.8em;
  595. margin-left: 0.5em;
  596. margin-bottom: 0.5em;
  597. width: 400px;
  598. }
  599. table.mw_metadata caption {
  600. font-weight: bold;
  601. }
  602. table.mw_metadata th {
  603. font-weight: normal;
  604. }
  605. table.mw_metadata td {
  606. padding: 0.1em;
  607. }
  608. table.mw_metadata {
  609. border: none;
  610. border-collapse: collapse;
  611. }
  612. table.mw_metadata td,
  613. table.mw_metadata th {
  614. text-align: center;
  615. border: 1px solid #aaaaaa;
  616. padding-left: 5px;
  617. padding-right: 5px;
  618. }
  619. table.mw_metadata th {
  620. background-color: #f9f9f9;
  621. }
  622. table.mw_metadata td {
  623. background-color: #fcfcfc;
  624. }
  625. table.mw_metadata ul.metadata-langlist {
  626. list-style-type: none;
  627. list-style-image: none;
  628. padding-right: 5px;
  629. padding-left: 5px;
  630. margin: 0;
  631. }
  632. /* Correct directionality when page dir is different from site/user dir */
  633. .mw-content-ltr ul,
  634. .mw-content-rtl .mw-content-ltr ul {
  635. /* @noflip */
  636. margin: 0.3em 0 0 1.6em;
  637. padding: 0;
  638. }
  639. .mw-content-rtl ul,
  640. .mw-content-ltr .mw-content-rtl ul {
  641. /* @noflip */
  642. margin: 0.3em 1.6em 0 0;
  643. padding: 0;
  644. }
  645. .mw-content-ltr ol,
  646. .mw-content-rtl .mw-content-ltr ol {
  647. /* @noflip */
  648. margin: 0.3em 0 0 3.2em;
  649. padding: 0;
  650. }
  651. .mw-content-rtl ol,
  652. .mw-content-ltr .mw-content-rtl ol {
  653. /* @noflip */
  654. margin: 0.3em 3.2em 0 0;
  655. padding: 0;
  656. }
  657. /* @noflip */
  658. .mw-content-ltr dd,
  659. .mw-content-rtl .mw-content-ltr dd {
  660. margin-left: 1.6em;
  661. margin-right: 0;
  662. }
  663. /* @noflip */
  664. .mw-content-rtl dd,
  665. .mw-content-ltr .mw-content-rtl dd {
  666. margin-right: 1.6em;
  667. margin-left: 0;
  668. }
  669. /* Galleries */
  670. /* These display attributes look nonsensical, but are needed to support IE and FF2 */
  671. /* Don't forget to update commonPrint.css */
  672. li.gallerybox {
  673. vertical-align: top;
  674. border: solid 2px white;
  675. display: -moz-inline-box;
  676. display: inline-block;
  677. }
  678. ul.gallery,
  679. li.gallerybox {
  680. zoom: 1;
  681. *display: inline;
  682. }
  683. ul.gallery {
  684. margin: 2px;
  685. padding: 2px;
  686. display: block;
  687. }
  688. li.gallerycaption {
  689. font-weight: bold;
  690. text-align: center;
  691. display: block;
  692. word-wrap: break-word;
  693. }
  694. li.gallerybox div.thumb {
  695. text-align: center;
  696. border: 1px solid #ccc;
  697. background-color: #f9f9f9;
  698. margin: 2px;
  699. }
  700. li.gallerybox div.thumb img {
  701. display: block;
  702. margin: 0 auto;
  703. }
  704. div.gallerytext {
  705. overflow: hidden;
  706. font-size: 94%;
  707. padding: 2px 4px;
  708. word-wrap: break-word;
  709. }
  710. .mw-ajax-loader {
  711. /* @embed */
  712. background-image: url(images/ajax-loader.gif);
  713. background-position: center center;
  714. background-repeat: no-repeat;
  715. padding: 16px;
  716. position: relative;
  717. top: -16px;
  718. }
  719. .mw-small-spinner {
  720. padding: 10px !important;
  721. margin-right: 0.6em;
  722. /* @embed */
  723. background-image: url(images/spinner.gif);
  724. background-position: center center;
  725. background-repeat: no-repeat;
  726. }
  727. /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
  728. /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
  729. h1:lang(as),
  730. h1:lang(bn),
  731. h1:lang(gu),
  732. h1:lang(hi),
  733. h1:lang(kn),
  734. h1:lang(ml),
  735. h1:lang(mr),
  736. h1:lang(or),
  737. h1:lang(pa),
  738. h1:lang(sa),
  739. h1:lang(ta),
  740. h1:lang(te) {
  741. line-height: 1.5em !important;
  742. }
  743. h2:lang(as), h3:lang(as), h4:lang(as), h5:lang(as), h6:lang(as),
  744. h2:lang(bn), h3:lang(bn), h4:lang(bn), h5:lang(bn), h6:lang(bn),
  745. h2:lang(gu), h3:lang(gu), h4:lang(gu), h5:lang(gu), h6:lang(gu),
  746. h2:lang(hi), h3:lang(hi), h4:lang(hi), h5:lang(hi), h6:lang(hi),
  747. h2:lang(kn), h3:lang(kn), h4:lang(kn), h5:lang(kn), h6:lang(kn),
  748. h2:lang(ml), h3:lang(ml), h4:lang(ml), h5:lang(ml), h6:lang(ml),
  749. h2:lang(mr), h3:lang(mr), h4:lang(mr), h5:lang(mr), h6:lang(mr),
  750. h2:lang(or), h3:lang(or), h4:lang(or), h5:lang(or), h6:lang(or),
  751. h2:lang(pa), h3:lang(pa), h4:lang(pa), h5:lang(pa), h6:lang(pa),
  752. h2:lang(sa), h3:lang(sa), h4:lang(sa), h5:lang(sa), h6:lang(sa),
  753. h2:lang(ta), h3:lang(ta), h4:lang(ta), h5:lang(ta), h6:lang(ta),
  754. h2:lang(te), h3:lang(te), h4:lang(te), h5:lang(te), h6:lang(te) {
  755. line-height: 1.2em;
  756. }
  757. /* Localised ordered list numbering for some languages */
  758. ol:lang(bcc) li,
  759. ol:lang(bqi) li,
  760. ol:lang(fa) li,
  761. ol:lang(glk) li,
  762. ol:lang(kk-arab) li,
  763. ol:lang(mzn) li {
  764. list-style-type: -moz-persian;
  765. list-style-type: persian;
  766. }
  767. ol:lang(ckb) li {
  768. list-style-type: -moz-arabic-indic;
  769. list-style-type: arabic-indic;
  770. }
  771. ol:lang(as) li,
  772. ol:lang(bn) li {
  773. list-style-type: -moz-bengali;
  774. list-style-type: bengali;
  775. }
  776. ol:lang(or) li {
  777. list-style-type: -moz-oriya;
  778. list-style-type: oriya;
  779. }
  780. #toc ul, .toc ul {
  781. margin: .3em 0;
  782. }
  783. /* Correct directionality when page dir is different from site/user dir */
  784. /* @noflip */ .mw-content-ltr .toc ul,
  785. .mw-content-ltr #toc ul,
  786. .mw-content-rtl .mw-content-ltr .toc ul,
  787. .mw-content-rtl .mw-content-ltr #toc ul {
  788. text-align: left;
  789. }
  790. /* @noflip */ .mw-content-rtl .toc ul,
  791. .mw-content-rtl #toc ul,
  792. .mw-content-ltr .mw-content-rtl .toc ul,
  793. .mw-content-ltr .mw-content-rtl #toc ul {
  794. text-align: right;
  795. }
  796. /* @noflip */ .mw-content-ltr .toc ul ul,
  797. .mw-content-ltr #toc ul ul,
  798. .mw-content-rtl .mw-content-ltr .toc ul ul,
  799. .mw-content-rtl .mw-content-ltr #toc ul ul {
  800. margin: 0 0 0 2em;
  801. }
  802. /* @noflip */ .mw-content-rtl .toc ul ul,
  803. .mw-content-rtl #toc ul ul,
  804. .mw-content-ltr .mw-content-rtl .toc ul ul,
  805. .mw-content-ltr .mw-content-rtl #toc ul ul {
  806. margin: 0 2em 0 0;
  807. }
  808. #toc #toctitle,
  809. .toc #toctitle,
  810. #toc .toctitle,
  811. .toc .toctitle {
  812. direction: ltr;
  813. }
  814. /* tooltip styles */
  815. .mw-help-field-hint {
  816. display: none;
  817. margin-left: 2px;
  818. margin-bottom: -8px;
  819. padding: 0 0 0 15px;
  820. /* @embed */
  821. background-image: url('images/help-question.gif');
  822. background-position: left center;
  823. background-repeat: no-repeat;
  824. cursor: pointer;
  825. font-size: .8em;
  826. text-decoration: underline;
  827. color: #0645ad;
  828. }
  829. .mw-help-field-hint:hover {
  830. /* @embed */
  831. background-image: url('images/help-question-hover.gif');
  832. }
  833. .mw-help-field-data {
  834. display: block;
  835. background-color: #d6f3ff;
  836. padding:5px 8px 4px 8px;
  837. border: 1px solid #5dc9f4;
  838. margin-left: 20px;
  839. }
  840. .tipsy {
  841. padding: 5px 5px 10px;
  842. font-size: 12px;
  843. position: absolute;
  844. z-index: 100000;
  845. overflow: visible;
  846. }
  847. .tipsy-inner {
  848. padding: 5px 8px 4px 8px;
  849. background-color: #d6f3ff;
  850. color: black;
  851. border: 1px solid #5dc9f4;
  852. max-width: 300px;
  853. text-align: left;
  854. }
  855. .tipsy-arrow {
  856. position: absolute;
  857. /* @embed */
  858. background: url(images/tipsy-arrow.gif) no-repeat top left;
  859. width: 13px;
  860. height: 13px;
  861. }
  862. .tipsy-se .tipsy-arrow {
  863. bottom: -2px;
  864. right: 10px;
  865. background-position: 0% 100%;
  866. }
  867. #mw-clearyourcache,
  868. #mw-sitecsspreview,
  869. #mw-sitejspreview,
  870. #mw-usercsspreview,
  871. #mw-userjspreview {
  872. direction: ltr;
  873. unicode-bidi: embed;
  874. }
  875. /* Correct user & content directionality when viewing a diff */
  876. .diff-currentversion-title,
  877. .diff {
  878. direction: ltr;
  879. unicode-bidi: embed;
  880. }
  881. /* @noflip */ .diff-contentalign-right td {
  882. direction: rtl;
  883. unicode-bidi: embed;
  884. }
  885. /* @noflip */ .diff-contentalign-left td {
  886. direction: ltr;
  887. unicode-bidi: embed;
  888. }
  889. .diff-otitle,
  890. .diff-ntitle,
  891. .diff-lineno {
  892. direction: ltr !important;
  893. unicode-bidi: embed;
  894. }
  895. #mw-revision-info,
  896. #mw-revision-info-current,
  897. #mw-revision-nav {
  898. direction: ltr;
  899. display: inline;
  900. }
  901. /* Images */
  902. /* @noflip */ div.tright,
  903. div.floatright,
  904. table.floatright {
  905. clear: right;
  906. float: right;
  907. }
  908. /* @noflip */ div.tleft,
  909. div.floatleft,
  910. table.floatleft {
  911. float: left;
  912. clear: left;
  913. }
  914. div.floatright,
  915. table.floatright,
  916. div.floatleft,
  917. table.floatleft {
  918. position: relative;
  919. }
  920. /* bug 12205 */
  921. #mw-credits a {
  922. unicode-bidi: embed;
  923. }
  924. /* Accessibility */
  925. .mw-jump,
  926. #jump-to-nav {
  927. overflow: hidden;
  928. height: 0;
  929. zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
  930. }
  931. /* For developpers */
  932. .xdebug-error {
  933. position: absolute;
  934. z-index: 99;
  935. }