commonElements.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. /*
  2. ** MediaWiki style sheet for general styles on basic content elements
  3. */
  4. /* Links */
  5. a {
  6. text-decoration: none;
  7. color: #0645ad;
  8. background: none;
  9. }
  10. a:visited {
  11. color: #0b0080;
  12. }
  13. a:active {
  14. color: #faa700;
  15. }
  16. a:hover, a:focus {
  17. text-decoration: underline;
  18. }
  19. a.stub {
  20. color: #772233;
  21. }
  22. a.new, #p-personal a.new {
  23. color: #ba0000;
  24. }
  25. a.new:visited, #p-personal a.new:visited {
  26. color: #a55858;
  27. }
  28. /* Interwiki Styling */
  29. .mw-body a.extiw,
  30. .mw-body a.extiw:active {
  31. color: #36b;
  32. }
  33. .mw-body a.extiw:visited {
  34. color: #636;
  35. }
  36. .mw-body a.extiw:active {
  37. color: #b63;
  38. }
  39. /* External links */
  40. .mw-body a.external {
  41. color: #36b;
  42. }
  43. .mw-body a.external:visited {
  44. color: #636; /* bug 3112 */
  45. }
  46. .mw-body a.external:active {
  47. color: #b63;
  48. }
  49. /* Inline Elements */
  50. img {
  51. border: none;
  52. vertical-align: middle;
  53. }
  54. hr {
  55. height: 1px;
  56. color: #aaa;
  57. background-color: #aaa;
  58. border: 0;
  59. margin: .2em 0;
  60. }
  61. /* Structural Elements */
  62. h1,
  63. h2,
  64. h3,
  65. h4,
  66. h5,
  67. h6 {
  68. color: black;
  69. background: none;
  70. font-weight: normal;
  71. margin: 0;
  72. overflow: hidden;
  73. padding-top: .5em;
  74. padding-bottom: .17em;
  75. border-bottom: 1px solid #aaa;
  76. width: auto;
  77. }
  78. h1 {
  79. font-size: 188%;
  80. }
  81. h1 .editsection {
  82. font-size: 53%;
  83. }
  84. h2 {
  85. font-size: 150%;
  86. }
  87. h2 .editsection {
  88. font-size: 67%;
  89. }
  90. h3,
  91. h4,
  92. h5,
  93. h6 {
  94. border-bottom: none;
  95. font-weight: bold;
  96. }
  97. h3 {
  98. font-size: 132%;
  99. }
  100. h3 .editsection {
  101. font-size: 76%;
  102. font-weight: normal;
  103. }
  104. h4 {
  105. font-size: 116%;
  106. }
  107. h4 .editsection {
  108. font-size: 86%;
  109. font-weight: normal; }
  110. h5 {
  111. font-size: 100%;
  112. }
  113. h5 .editsection {
  114. font-weight: normal;
  115. }
  116. h6 {
  117. font-size: 80%;
  118. }
  119. h6 .editsection {
  120. font-size: 125%;
  121. font-weight: normal;
  122. }
  123. /* Some space under the headers in the content area */
  124. h1,
  125. h2 {
  126. margin-bottom: .6em;
  127. }
  128. h3,
  129. h4,
  130. h5 {
  131. margin-bottom: .3em;
  132. }
  133. p {
  134. margin: .4em 0 .5em 0;
  135. line-height: 1.5em;
  136. }
  137. p img {
  138. margin: 0;
  139. }
  140. ul {
  141. line-height: 1.5em;
  142. list-style-type: square;
  143. margin: .3em 0 0 1.6em;
  144. padding: 0;
  145. }
  146. ol {
  147. line-height: 1.5em;
  148. margin: .3em 0 0 3.2em;
  149. padding: 0;
  150. list-style-image: none;
  151. }
  152. li {
  153. margin-bottom: .1em;
  154. }
  155. dt {
  156. font-weight: bold;
  157. margin-bottom: .1em;
  158. }
  159. dl {
  160. margin-top: .2em;
  161. margin-bottom: .5em;
  162. }
  163. dd {
  164. line-height: 1.5em;
  165. margin-left: 1.6em;
  166. margin-bottom: .1em;
  167. }
  168. q {
  169. font-family: Times, "Times New Roman", serif;
  170. font-style: italic;
  171. }
  172. /* Disabled for now
  173. blockquote {
  174. font-family: Times, "Times New Roman", serif;
  175. font-style: italic;
  176. }*/
  177. pre, code, tt, kbd, samp {
  178. /*
  179. * Some browsers will render the monospace text too small, namely Firefox, Chrome and Safari.
  180. * Specifying any valid, second value will trigger correct behaviour without forcing a different font.
  181. */
  182. font-family: monospace, Courier;
  183. }
  184. code {
  185. background-color: #f9f9f9;
  186. }
  187. pre {
  188. padding: 1em;
  189. border: 1px dashed #2f6fab;
  190. color: black;
  191. background-color: #f9f9f9;
  192. }
  193. /* Tables */
  194. table {
  195. font-size: 100%;
  196. }
  197. /* Forms */
  198. fieldset {
  199. border: 1px solid #2f6fab;
  200. margin: 1em 0 1em 0;
  201. padding: 0 1em 1em;
  202. line-height: 1.5em;
  203. }
  204. fieldset.nested {
  205. margin: 0 0 0.5em 0;
  206. padding: 0 0.5em 0.5em;
  207. }
  208. legend {
  209. padding: .5em;
  210. font-size: 95%;
  211. }
  212. form {
  213. border: none;
  214. margin: 0;
  215. }
  216. textarea {
  217. width: 100%;
  218. padding: .1em;
  219. }
  220. select {
  221. vertical-align: top;
  222. }
  223. /* Emulate Center */
  224. .center {
  225. width: 100%;
  226. text-align: center;
  227. }
  228. *.center * {
  229. margin-left: auto;
  230. margin-right: auto;
  231. }
  232. /* Small for tables and similar */
  233. .small {
  234. font-size: 94%;
  235. }
  236. table.small {
  237. font-size: 100%;
  238. }