foreground.css 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. body {
  2. line-height: 1.6em;
  3. }
  4. p {
  5. margin-bottom: 0.25em;
  6. }
  7. td.mw-submit a,
  8. .htmlform-tip,
  9. #mw-upload-permitted p {
  10. font-size: 90%;
  11. }
  12. code {
  13. font-weight: normal;
  14. color: #222222;
  15. }
  16. small {
  17. font-size: 80%;
  18. }
  19. /* LAYOUT */
  20. div.small-10 .row {
  21. margin: 1em 0 0 0;
  22. }
  23. div.small-9.columns textarea {
  24. margin-bottom: 0.25em;
  25. }
  26. footer.row {
  27. margin-top: 3em;
  28. text-align: center;
  29. font-size: 80%;
  30. color: grey;
  31. }
  32. div {
  33. line-height: 1.60em;
  34. }
  35. /* NOTICES, ALERTS, WARNINGS */
  36. div#userloginprompt, p#userloginlink {
  37. font-size: 80%;
  38. }
  39. /* LISTS */
  40. #mw-content-text ul,
  41. footer.row ul {
  42. list-style-type: none;
  43. margin: .5em 1.25em;
  44. }
  45. .columns li {
  46. float:left;
  47. width: 45%;
  48. }
  49. .columns ul.special li {
  50. float:none;
  51. width: 100%;
  52. }
  53. .columns div#uploadtext ul {
  54. list-style-type: disc;
  55. }
  56. .columns div#uploadtext ul li {
  57. float: none;
  58. width: 95%;
  59. margin-left: 2em;
  60. }
  61. .mw-specialpages-table td ul.columns li {width: 50%;}
  62. #mw-content-text .columns li {float:none;width:90%;}
  63. footer.row ul.columns li { display: inline;float:none;}
  64. /* HEADERS */
  65. h1,h2,h3,h4,h5,h6 {
  66. margin-bottom: 0em;
  67. }
  68. .page-Special_SpecialPages h2 {
  69. margin-bottom: 0.5em;
  70. }
  71. h2 {
  72. font-size: 2em;
  73. }
  74. h2 .editsection {
  75. font-weight: normal;
  76. font-size: 0.3em;
  77. }
  78. h3 {
  79. font-weight: normal;
  80. font-size:1em;
  81. }
  82. .ns-subject h3,
  83. .ns-special h3,
  84. .page-Main_Page h3 {
  85. font-weight: bold;
  86. font-size: 2em;
  87. }
  88. /* TABLES */
  89. table {
  90. width: 100%;
  91. }
  92. td.mw-label {
  93. width: 20%;
  94. }
  95. td.mw-input {
  96. width: 80%;
  97. }
  98. thead tr th {
  99. cursor: pointer;
  100. }
  101. table.formtable th {
  102. text-align: right;
  103. padding-top: 1.5em;
  104. }
  105. td.smwpropname, th.smwpropname, td.smwspecname { text-align:left; }
  106. table tbody tr td, table tr td {
  107. line-height: 1.6em;
  108. }
  109. table.wikitable {
  110. margin: 0em 0 1em 0;
  111. }
  112. table.wikitable > tr > th,
  113. table.wikitable > * > tr > th {
  114. text-align: left;
  115. }
  116. table.wikitable > tr > th,
  117. table.wikitable > tr > td,
  118. table.wikitable > * > tr > th,
  119. table.wikitable > * > tr > td {
  120. border: 3px #fff solid;
  121. padding: 0.6em;
  122. }
  123. /* FORMS, INPUTS, FIELDSETS */
  124. /* MW doesn't seem to add type="text" to input fields, so we're styling them here. */
  125. input:not([type]) {
  126. background-color: white;
  127. font-family: inherit;
  128. border: 1px solid #cccccc;
  129. -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  130. box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  131. color: rgba(0, 0, 0, 0.75);
  132. display: block;
  133. font-size: 0.875em;
  134. margin: 0 0 0;
  135. padding: 0.5em;
  136. -moz-box-sizing: border-box;
  137. -webkit-box-sizing: border-box;
  138. box-sizing: border-box;
  139. -webkit-transition: all 0.15s linear;
  140. -moz-transition: all 0.15s linear;
  141. transition: all 0.15s linear; }
  142. input[type="radio"],
  143. input[type="checkbox"] {
  144. display:inline;
  145. }
  146. input[type='file'] {
  147. margin-top: 0.4em;
  148. }
  149. input:not([type]), textarea, p.meta {
  150. margin-bottom: 4px;
  151. }
  152. label { display: inline;}
  153. .mw-input label { font-weight: normal; }
  154. li label.inline {
  155. margin-bottom: 2px;
  156. padding: 0;
  157. }
  158. div.small-9.columns label,
  159. div.small-10.columns label {
  160. font-weight: normal;
  161. }
  162. button, .button {
  163. margin: 0.5em 0;
  164. padding: 0.3em 0.75em 0.4em 0.75em;
  165. }
  166. input[type="submit"] {
  167. background-color: #5da423;
  168. border-color: #457a1a;
  169. color: white;
  170. -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
  171. box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
  172. -webkit-transition: background-color 300ms ease-out;
  173. -moz-transition: background-color 300ms ease-out;
  174. transition: background-color 300ms ease-out;
  175. }
  176. legend {
  177. font-size: 0.875em;
  178. color: #4d4d4d;
  179. cursor: pointer;
  180. display: block;
  181. font-weight: 500;
  182. }
  183. fieldset {
  184. line-height: 1.6em;
  185. padding: 0.25em 1.25em 1em 1.25em;
  186. }
  187. /* MW still generates a label column for checkboxes, this minimizes is */
  188. div.mw-htmlform-field-HTMLCheckField div.mw-label { height:0; }
  189. /* UNTIL I CAN DETERMINE WHY toolboxend GENERATES AN EMPTY <li> IN THE MENU, I'M HIDING IT */
  190. #p-toolboxend { display:none;}