foreground.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326
  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. h3 small.label {
  20. font-size: small;
  21. display:block;
  22. width:6em;
  23. }
  24. .large-2 {
  25. text-align: right;
  26. }
  27. .large-2 strong, .large-2 b {
  28. font-size: 0.875em;
  29. color: #4d4d4d;
  30. display: block;
  31. font-weight: 500;
  32. }
  33. /* LAYOUT */
  34. .row .row {
  35. margin-bottom: 0.9em;
  36. }
  37. div.small-10 .row {
  38. margin: 1em 0 0 0;
  39. }
  40. div.small-9.columns textarea {
  41. margin-bottom: 0.25em;
  42. }
  43. footer.row {
  44. margin-top: 3em;
  45. text-align: center;
  46. font-size: 80%;
  47. color: grey;
  48. }
  49. div {
  50. line-height: 1.60em;
  51. }
  52. /* NOTICES, ALERTS, WARNINGS */
  53. div#userloginprompt, p#userloginlink {
  54. font-size: 80%;
  55. }
  56. /* LISTS */
  57. #mw-content-text ul,
  58. footer.row ul {
  59. list-style-type: none;
  60. margin: .5em 1.25em;
  61. }
  62. /*.columns li {
  63. float:left;
  64. width: 45%;
  65. }*/
  66. .columns ul.special li {
  67. float:none;
  68. width: 100%;
  69. }
  70. .columns div#uploadtext ul {
  71. list-style-type: disc;
  72. }
  73. .columns div#uploadtext ul li {
  74. float: none;
  75. width: 95%;
  76. margin-left: 2em;
  77. }
  78. .mw-specialpages-table td ul.columns li {width: 50%;}
  79. #mw-content-text .columns li {float:none;width:90%;}
  80. footer.row ul.columns li { display: inline;float:none;}
  81. .columns #mw-normal-catlinks ul li {
  82. float: none;
  83. width: auto;
  84. }
  85. #mw-normal-catlinks a.new {
  86. color: white;
  87. }
  88. /* HEADERS */
  89. h1,h2,h3,h4,h5,h6 {
  90. margin-bottom: 0em;
  91. }
  92. .page-Special_SpecialPages h2 {
  93. margin-bottom: 0.5em;
  94. }
  95. h2 {
  96. font-size: 2em;
  97. }
  98. h2 .editsection {
  99. font-weight: normal;
  100. font-size: 0.3em;
  101. }
  102. h3 {
  103. font-weight: normal;
  104. font-size:1em;
  105. }
  106. .ns-subject h3,
  107. .ns-special h3,
  108. .page-Main_Page h3 {
  109. font-weight: bold;
  110. font-size: 2em;
  111. }
  112. p.title {
  113. padding: 0.9375em;
  114. }
  115. /* TABLES */
  116. table.formtable {
  117. border: none;
  118. }
  119. /* TURN OFF TABLE STRIPING FOR EDITFORMS */
  120. table.formedit tr.even,
  121. table.formedit tr.alt,
  122. table.formedit tr:nth-of-type(even) {
  123. background-color: transparent;
  124. }
  125. table {
  126. width: 100%;
  127. }
  128. td.mw-label {
  129. width: 20%;
  130. }
  131. td.mw-input {
  132. width: 80%;
  133. }
  134. thead tr th {
  135. cursor: pointer;
  136. }
  137. table.formtable th {
  138. text-align: right !important;
  139. }
  140. td.smwpropname, th.smwpropname, td.smwspecname {
  141. text-align:left;
  142. }
  143. table tbody tr td, table tr td {
  144. line-height: 1.6em;
  145. }
  146. table.wikitable {
  147. margin: 0em 0 1em 0;
  148. }
  149. table.wikitable > tr > th,
  150. table.wikitable > * > tr > th {
  151. text-align: left;
  152. }
  153. table.wikitable > tr > th,
  154. table.wikitable > tr > td,
  155. table.wikitable > * > tr > th,
  156. table.wikitable > * > tr > td {
  157. border: 3px #fff solid;
  158. padding: 0.6em;
  159. }
  160. /* FORMS, INPUTS, FIELDSETS */
  161. .multipleTemplateInstance {
  162. background-color: none;
  163. border: none;
  164. border-bottom: 1px dashed #999999;
  165. }
  166. .multipleTemplateInstance table {
  167. border: none;
  168. }
  169. .novalue {
  170. color: #999999;
  171. font-style:italic;
  172. font-size:small;
  173. }
  174. .inputSpan select.createboxInput
  175. .dateInput select.monthInput,
  176. .dateInput input.dayInput,
  177. .dateInput input.yearInput {
  178. width: auto;
  179. float: left;
  180. margin-right: 1em;
  181. }
  182. input.createboxInput {
  183. width: 100%;
  184. }
  185. .action-view .large-12.columns form {
  186. margin: -2em 0 0 0;
  187. float:right;
  188. cursor: pointer;
  189. border: none;
  190. -webkit-box-shadow: none;
  191. box-shadow: none;
  192. font-weight: normal;
  193. background-color: #5da423;
  194. border-color: #457a1a;
  195. }
  196. input[type="radio"],
  197. input[type="checkbox"] {
  198. display:inline;
  199. }
  200. input[type='file'] {
  201. margin-top: 0.4em;
  202. }
  203. input:not([type]),
  204. textarea,
  205. p.meta {
  206. margin-bottom: 4px;
  207. }
  208. label { display: inline;}
  209. .mw-input label { font-weight: normal; }
  210. li label.inline {
  211. margin-bottom: 2px;
  212. padding: 0;
  213. }
  214. div.small-9.columns label,
  215. div.small-10.columns label {
  216. font-weight: normal;
  217. }
  218. button, .button {
  219. margin: 0.5em 0;
  220. padding: 0.3em 0.75em 0.4em 0.75em;
  221. }
  222. input[type="submit"] {
  223. background-color: #5da423;
  224. border-color: #457a1a;
  225. color: white;
  226. -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
  227. box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
  228. -webkit-transition: background-color 300ms ease-out;
  229. -moz-transition: background-color 300ms ease-out;
  230. transition: background-color 300ms ease-out;
  231. }
  232. legend {
  233. font-size: 0.875em;
  234. color: #4d4d4d;
  235. cursor: pointer;
  236. display: block;
  237. font-weight: 500;
  238. }
  239. fieldset {
  240. line-height: 1.6em;
  241. padding: 0.25em 1.25em 1em 1.25em;
  242. }
  243. span.smwbuiltin,
  244. span.smwttactiveinline span.smwbuiltin {
  245. font-style: normal;
  246. }
  247. /* MW still generates a label column for checkboxes, this minimizes is */
  248. div.mw-htmlform-field-HTMLCheckField div.mw-label { height:0; }
  249. /* UNTIL I CAN DETERMINE WHY toolboxend GENERATES AN EMPTY <li> IN THE MENU, I'M HIDING IT */
  250. #p-toolboxend { display:none;}
  251. y {background-color: green;}
  252. }