SilverCrono

dciwiki common.css

May 21st, 2018
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.03 KB | None | 0 0
  1. /***** CSS placed here will be applied to all skins on the entire site. *****/
  2.  
  3. /* Mark redirects in Special:Allpages and Special:Watchlist */
  4. .allpagesredirect {
  5. font-style: italic;
  6. }
  7. .allpagesredirect:after {
  8. color: #FFFFFF; content: " (redirect)"
  9. }
  10. .watchlistredir {
  11. font-style: italic;
  12. }
  13.  
  14. body
  15. {
  16. color:white;
  17. }
  18.  
  19. /* Giving headers and TOC a little extra space */
  20. h2 {
  21. margin-top: 20px;
  22. }
  23. .toc {
  24. margin-top: 20px;
  25. }
  26.  
  27. /* Infobox template style */
  28. .infobox {
  29. border: 1px solid #aaaaaa;
  30. background-color: #f9f9f9;
  31. color: white;
  32. margin-bottom: 0.5em;
  33. margin-left: 1em;
  34. padding: 0.2em;
  35. float: right;
  36. clear: right;
  37. }
  38. .infobox td,
  39. .infobox th {
  40. vertical-align: top;
  41. }
  42. .infobox caption {
  43. font-size: larger;
  44. margin-left: inherit;
  45. }
  46. .infobox.bordered {
  47. border-collapse: collapse;
  48. }
  49. .infobox.bordered td,
  50. .infobox.bordered th {
  51. border: 1px solid #aaaaaa;
  52. }
  53. .infobox.bordered .borderless td,
  54. .infobox.bordered .borderless th {
  55. border: 0;
  56. }
  57.  
  58. /* Forum formatting (by -Algorithm & -Splaka) */
  59. .forumheader {
  60. border: 1px solid #aaa;
  61. margin-top: 1em;
  62. padding: 12px;
  63. }
  64. .forumlist td.forum_edited a {
  65. color: white;
  66. text-decoration: none;
  67. }
  68. .forumlist td.forum_title a {
  69. padding-left: 20px;
  70. }
  71. .forumlist td.forum_title a.forum_new {
  72. font-weight: bold;
  73. background: url(/images/4/4e/Forum_new.gif) center left no-repeat;
  74. padding-left: 20px;
  75. }
  76. .forumlist td.forum_title a.forum_new:visited {
  77. font-weight: normal;
  78. background: none;
  79. padding-left: 20px;
  80. }
  81. .forumlist th.forum_title {
  82. padding-left: 20px;
  83. }
  84.  
  85. /* Recent changes byte indicators */
  86. .mw-plusminus-pos {
  87. color: #006500;
  88. }
  89. .mw-plusminus-neg {
  90. color: #8B0000;
  91. }
  92.  
  93. /* Image frame fix */
  94. div.tright, div.tleft {
  95. border: 1px solid silver;
  96. }
  97.  
  98. div.thumbinner {
  99. background: inherit;
  100. border: none;
  101. color: white;
  102. }
  103. #article div.thumb {
  104. color: white;
  105. }
  106.  
  107. /* === Babel === */
  108.  
  109. div.babelbox {
  110. float: right;
  111. margin-left: 1em;
  112. margin-bottom: 0.5em;
  113. width: 246px;
  114. border: 1px solid #99B3FF;
  115. padding: 2px 0 2px 0;
  116. }
  117. .lang-blockN, .lang-block0, .lang-block1, .lang-block2, .lang-block3 {
  118. margin: 2px 4px 2px 4px; /* t, l, b, r */
  119. width:238px;
  120. border-collapse: collapse;
  121. }
  122. td.lang-codeN, td.lang-code0, td.lang-code1, td.lang-code2, td.lang-code3 {
  123. text-align:center;
  124. font-size:14pt;
  125. width:45px;
  126. height:45px;
  127. }
  128. td.lang-descriptionN, td.lang-description0, td.lang-description1,
  129. td.lang-description2, td.lang-description3 {
  130. font-size:8pt;
  131. padding:4pt;
  132. line-height:1.25em;
  133. }
  134.  
  135. .lang-block0 {
  136. border:1px solid #FFB3B3;
  137. }
  138. td.lang-code0 {
  139. background-color: #FFB3B3;
  140. color: white;
  141. }
  142. td.lang-description0 {
  143. background-color: #FFE0E8;
  144. color: white;
  145. }
  146.  
  147. .lang-block1, .lang-block2, .lang-block3 {
  148. border:1px solid #99B3FF;
  149. }
  150. td.lang-code1, td.lang-code2, td.lang-code3 {
  151. background-color: #99B3FF;
  152. color: white;
  153. }
  154. td.lang-description1, td.lang-description2, td.lang-description3 {
  155. background-color: #E0E8FF;
  156. color: white;
  157. }
  158.  
  159. .lang-blockN {
  160. border:1px solid #6EF7A7;
  161. }
  162. td.lang-codeN {
  163. background-color: #6EF7A7;
  164. color: white;
  165. }
  166. td.lang-descriptionN {
  167. background-color: #C5FCDC;
  168. color: white;
  169. }
  170.  
  171. /* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
  172. in [[MediaWiki:Common.js]] are styled here so they can be customised. */
  173. .collapseButton {
  174. /* @noflip */
  175. float: right;
  176. font-weight: normal;
  177. /* @noflip */
  178. margin-left: 0.5em;
  179. /* @noflip */
  180. text-align: right;
  181. width: auto;
  182. }
  183. /* In navboxes, the show/hide button balances the v·d·e links
  184. from [[Template:Navbar]], so they need to be the same width. */
  185. .navbox .collapseButton {
  186. width: 6em;
  187. }
  188.  
  189. /* Styling for JQuery makeCollapsible, matching that of collapseButton */
  190. .mw-collapsible-toggle {
  191. font-weight: normal;
  192. /* @noflip */
  193. text-align: right;
  194. }
  195. .navbox .mw-collapsible-toggle {
  196. width: 6em;
  197. }
Advertisement
Add Comment
Please, Sign In to add comment