foreground.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814
  1. body {
  2. line-height: 1.6em;
  3. }
  4. p {
  5. margin-bottom: 0.25em;
  6. }
  7. a.label:hover,
  8. a.label:focus {
  9. color: white;
  10. }
  11. a.label.new { background-color: #d0d0d0; }
  12. a.button.dropdown { float:right;}
  13. /* Hide the page actions button for special pages (cuz there's nothing in it) */
  14. .mw-special-FormEdit a.button.dropdown, .ns-special a.button.dropdown { display:none; }
  15. /* Hide some rows on form-edit (e.g. a thing's title) */
  16. body.action-formedit .row.hide-on-form-edit { display: none;}
  17. /* Move the MediaWiki notification area so it isn't on top of the Action menu */
  18. .mw-notification-area {
  19. margin-top: 2em;
  20. }
  21. /* Also adjust z-index of action menu to force it on top */
  22. #p-cactions #drop1 {
  23. z-index: 100000;
  24. white-space: nowrap;
  25. }
  26. #p-cactions #drop1 a {
  27. width: 100%;
  28. text-align: left;
  29. }
  30. /* Make sure top bar is even more z-indx! */
  31. #toolbox-dropdown {
  32. z-index: 10000000;
  33. }
  34. #personal-tools-dropdown {
  35. z-index: 10000000;
  36. }
  37. /* Dropdown Icon Alignment */
  38. div.drop-icon {
  39. display: inline;
  40. margin-right: 4px;
  41. }
  42. td.mw-submit a,
  43. .htmlform-tip,
  44. #mw-upload-permitted p {
  45. font-size: 90%;
  46. }
  47. alert.label a {color: pink;}
  48. code {
  49. font-weight: normal;
  50. color: #222222;
  51. }
  52. small {
  53. font-size: 80%;
  54. }
  55. h4.namespace.label {
  56. font-size: small;
  57. display:inline-block;
  58. }
  59. .label {
  60. padding-bottom: 0.39em;
  61. }
  62. h2 span {
  63. display: inline-block;
  64. }
  65. h2.title {
  66. margin-bottom: 0.1em;
  67. }
  68. h3#tagline {
  69. font-style: italic;
  70. font-size: small;
  71. margin-bottom: 0.5em;
  72. color: #6f6f6f;
  73. }
  74. .clear_both {
  75. clear:both;
  76. }
  77. .large-2 strong, .large-2 b {
  78. display: block;
  79. }
  80. .large-2 strong, .large-2 b, table th {
  81. font-size: 0.875em;
  82. color: #4d4d4d;
  83. font-weight: 500;
  84. }
  85. /* LAYOUT */
  86. .row .row {
  87. margin-bottom: 0.9em;
  88. }
  89. div.small-10 .row {
  90. margin: 1em 0 0 0;
  91. }
  92. div.small-9.columns textarea {
  93. margin-bottom: 0.25em;
  94. }
  95. footer.row {
  96. margin-top: 2em;
  97. color: grey;
  98. }
  99. div {
  100. line-height: 1.60em;
  101. }
  102. /* NOTICES, ALERTS, WARNINGS */
  103. div#userloginprompt, p#userloginlink {
  104. font-size: 80%;
  105. }
  106. /* LISTS */
  107. ul#drop1.f-dropdown {
  108. margin-left:0;
  109. margin-top:.5em;
  110. margin-bottom:.25em;
  111. padding:.25em;
  112. }
  113. #mw-content-text ul {
  114. margin: .5em 1.25em;
  115. }
  116. footer.row ul {
  117. list-style-type: none;
  118. margin: 0 0 1em 0;
  119. }
  120. footer.row ul.views.columns li {
  121. margin-right: 1em;
  122. }
  123. #footer footer.row ul {
  124. margin: 0;
  125. list-style-type: none;
  126. }
  127. /* Make social footer center need overflow:hidden and other div classes */
  128. .social-footer {
  129. margin: 0 0 1em;
  130. font-size: 90%;
  131. overflow: hidden;
  132. }
  133. /* Hide all text in p elements */
  134. .social-footer p {
  135. display: none;
  136. }
  137. /* Outer wrap */
  138. .social-links {
  139. position: relative;
  140. left: 50%;
  141. float: left;
  142. }
  143. /* addThis container (inner wrap) */
  144. .addthis_horizontal_follow_toolbox {
  145. position: relative;
  146. left: -50%;
  147. float: left;
  148. z-index: 100000;
  149. }
  150. /* end social footer classes */
  151. #footer-left {
  152. font-size: 90%;
  153. text-align: left;
  154. }
  155. #footer-right-icons {
  156. font-size: 85%;
  157. text-align: center;
  158. }
  159. #footer-right-icons li {
  160. display: inline-block;
  161. text-align: center;
  162. margin: 0 0 .5em .5em;
  163. }
  164. li#footer-privacy {
  165. float: left;
  166. margin-right: 2em;
  167. }
  168. li#footer-about {
  169. float: left;
  170. margin-right: 2em;
  171. }
  172. li#footer-disclaimer {
  173. float: left;
  174. margin-right: 2em;
  175. }
  176. .text-center #footer-left li {
  177. float: none;
  178. margin: 0;
  179. }
  180. .text-center #footer-left {
  181. text-align: center;
  182. }
  183. @media only screen and (max-width: 768px) {
  184. #footer-left { font-size: 85%; text-align: center;}
  185. #footer-right-icons { font-size: 80%;}
  186. li#footer-privacy { float: none; margin-right: 0;}
  187. li#footer-about { float: none; margin-right: 0;}
  188. li#footer-disclaimer { float: none; margin-right: 0;}
  189. }
  190. .columns ul.special li {
  191. float:none;
  192. width: 100%;
  193. }
  194. .columns div#uploadtext ul {
  195. list-style-type: disc;
  196. }
  197. .columns div#uploadtext ul li {
  198. float: none;
  199. width: 95%;
  200. margin-left: 2em;
  201. }
  202. .catlinks li {border-left:none;}
  203. .mw-specialpages-table td ul.columns li {width: 50%;}
  204. /*#mw-content-text .columns li {float:none;width:90%;}*/
  205. footer.row ul.columns li { display: inline;float:none;}
  206. .columns #mw-normal-catlinks ul li {
  207. float: none;
  208. width: auto;
  209. }
  210. #mw-normal-catlinks a.new {
  211. color: white;
  212. }
  213. ul.vcard { padding: 0.5em 0.5em 0.55em 0.5em; }
  214. /* HEADERS */
  215. h1,h2,h3,h4,h5,h6 {
  216. margin-top: 0em;
  217. line-height: 1em;
  218. }
  219. .page-Special_SpecialPages h2 {
  220. margin-bottom: 0.5em;
  221. }
  222. .editsection {
  223. font-weight: normal;
  224. font-size: 0.4em;
  225. }
  226. h3 {
  227. font-weight: normal;
  228. font-size:1em;
  229. }
  230. .ns-subject h3,
  231. .ns-special h3,
  232. .page-Main_Page h3 {
  233. font-weight: bold;
  234. font-size: 2em;
  235. }
  236. p.title {
  237. padding: 0.9375em;
  238. }
  239. /* TABLES */
  240. .mw-content-ltr table#toc {
  241. float:right;
  242. width: auto;
  243. }
  244. .mw-content-rtl table#toc {
  245. float:left;
  246. width: auto;
  247. }
  248. table.formtable {
  249. border: none;
  250. }
  251. table td[align="right"] {text-align: right;}
  252. /* TURN OFF TABLE STRIPING FOR EDITFORMS */
  253. table.formedit tr.even,
  254. table.formedit tr.alt,
  255. table.formedit tr:nth-of-type(even) {
  256. background: transparent;
  257. }
  258. table {
  259. width: 100%;
  260. }
  261. td.mw-label {
  262. width: 20%;
  263. }
  264. td.mw-input {
  265. width: 80%;
  266. }
  267. thead tr th {
  268. cursor: pointer;
  269. }
  270. table.formtable th {
  271. text-align: right !important;
  272. }
  273. td.smwpropname, th.smwpropname, td.smwspecname {
  274. text-align:left;
  275. }
  276. table tbody tr td, table tr td {
  277. line-height: 1.6em;
  278. }
  279. table.wikitable {
  280. margin: 0em 0 1em 0;
  281. }
  282. table.wikitable > tr > th,
  283. table.wikitable > * > tr > th {
  284. text-align: left;
  285. }
  286. table.wikitable > tr > th,
  287. table.wikitable > tr > td,
  288. table.wikitable > * > tr > th,
  289. table.wikitable > * > tr > td {
  290. border: 3px #fff solid;
  291. padding: 0.6em;
  292. }
  293. /* FORMS, INPUTS, FIELDSETS */
  294. .multipleTemplateInstance {
  295. background-color: white !important;
  296. border: none !important;
  297. border-bottom: 1px dashed #999999 !important;
  298. }
  299. .multipleTemplateInstance table {
  300. border: none !important;
  301. }
  302. .multipleTemplateAdder {
  303. font-size: 0.9em;
  304. padding: 0.4125em 0.5em 0.55em 0.5em;
  305. }
  306. .novalue {
  307. color: #999999;
  308. font-style:italic;
  309. font-size:small;
  310. }
  311. input[type="file"],
  312. input[type="checkbox"],
  313. input[type="radio"],
  314. select {
  315. padding: 5px;
  316. }
  317. input[type="file"],
  318. select {
  319. padding: 5px;
  320. border: 1px solid #cccccc;
  321. }
  322. .inputSpan select.createboxInput,
  323. .dateInput select.monthInput,
  324. input.hourInput,
  325. input.minuteInput,
  326. input.secondInput,
  327. input.dayInput,
  328. input.yearInput,
  329. input[name="*[* date][hour]"],
  330. input[name="*[* date][minute]"],
  331. input[name="*[* date][second]"] {
  332. width: auto;
  333. margin-right: 1em;
  334. }
  335. /*
  336. .inputSpan input.createboxInput {
  337. width: 100%;
  338. }
  339. */
  340. .inputSpan button,
  341. .inputSpan .button {
  342. margin: -4px 0 0 0;
  343. padding:0.37em 0.75em 0.6em 0.70em;
  344. }
  345. .ms-selectable input[type="text"] {
  346. width: 100%;
  347. }
  348. button.ui-button-icon-only {
  349. height: 2.24em !important;
  350. }
  351. select {width:auto;}
  352. input[type="checkbox"].createboxInput {
  353. width: auto;
  354. }
  355. label.checkboxLabel {
  356. margin-right: 0.5em;
  357. }
  358. .edit_with_form {
  359. margin: -2em 0 0 0;
  360. float:right;
  361. }
  362. input[type="radio"],
  363. input[type="checkbox"] {
  364. display:inline;
  365. }
  366. input[type='file'] {
  367. margin-top: 0.4em;
  368. }
  369. input:not([type]),
  370. textarea,
  371. p.meta {
  372. margin-bottom: 4px;
  373. }
  374. label {
  375. display: inline;
  376. font-weight: normal;
  377. }
  378. .mw-input label { font-weight: normal; }
  379. #mw-content-text ul.SFI_timepicker_hours,
  380. #mw-content-text ul.SFI_timepicker_minutes {
  381. list-style-type: none;
  382. }
  383. #mw-content-text ul.SFI_timepicker_hours li {
  384. margin: 2px 2px;
  385. padding: 4px;
  386. }
  387. .sminput.sminput-googlemaps3 p button {
  388. padding-top: 0.35em;
  389. padding-bottom: 0.6em;
  390. }
  391. li label.inline {
  392. margin-bottom: 2px;
  393. padding: 0;
  394. }
  395. button, .button {
  396. margin: 0.5em 0;
  397. padding: 0.3em 0.75em 0.4em 0.75em;
  398. }
  399. .top-bar .button.search {
  400. top: 0px;
  401. }
  402. .top-bar .button.search {
  403. margin-left: 10px;
  404. }
  405. .top-bar-section .has-form {
  406. padding: 0 5px;
  407. }
  408. .top-bar input {
  409. top: 0px;
  410. }
  411. @media only screen and (min-width: 768px) {
  412. .top-bar .button.search {
  413. top: 1px; }
  414. .top-bar .button.search {
  415. margin-left: -4px; }
  416. }
  417. .top-bar-section .dropdown {
  418. z-index: 100;
  419. }
  420. input[type="submit"] {
  421. background-color: #5da423;
  422. border-color: #457a1a;
  423. color: white;
  424. -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
  425. box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
  426. -webkit-transition: background-color 300ms ease-out;
  427. -moz-transition: background-color 300ms ease-out;
  428. transition: background-color 300ms ease-out;
  429. }
  430. input#wpPreview {
  431. background-color: #e9e9e9;
  432. border-color: #d0d0d0;
  433. color: black;
  434. -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
  435. box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
  436. -webkit-transition: background-color 300ms ease-out;
  437. -moz-transition: background-color 300ms ease-out;
  438. transition: background-color 300ms ease-out;
  439. }
  440. .editButtons input[type="submit"] {
  441. display: inline-block;
  442. }
  443. legend {
  444. font-size: 0.875em;
  445. color: #4d4d4d;
  446. cursor: pointer;
  447. display: block;
  448. font-weight: 500;
  449. }
  450. fieldset {
  451. line-height: 1.6em;
  452. padding: 0 1.25em 1em 1.25em;
  453. margin-top: 0;
  454. }
  455. span.smwbuiltin,
  456. span.smwttactiveinline span.smwbuiltin {
  457. font-style: normal;
  458. }
  459. /* MW still generates a label column for checkboxes, this minimizes is */
  460. div.mw-htmlform-field-HTMLCheckField div.mw-label { height:0; }
  461. /* ZUBR IE8 FIXES */
  462. /* GRID: https://gist.github.com/zurbchris/5068210 */
  463. .lt-ie9 .row { width: 940px; max-width: 100%; min-width: 768px; margin: 0 auto; }
  464. .lt-ie9 .row .row { width: auto; max-width: none; min-width: 0; margin: 0 -15px; }
  465. .lt-ie9 .row.large-collapse .column,
  466. .lt-ie9 .row.large-collapse .columns { padding: 0; }
  467. .lt-ie9 .row .row { width: auto; max-width: none; min-width: 0; margin: 0 -15px; }
  468. .lt-ie9 .row .row.large-collapse { margin: 0; }
  469. .lt-ie9 .column, .lt-ie9 .columns { float: left; min-height: 1px; padding: 0 15px; position: relative; }
  470. .lt-ie9 .column.large-centered, .columns.large-centered { float: none; margin: 0 auto; }
  471. .lt-ie9 [class*="column"] + [class*="column"]:last-child { float: right; }
  472. .lt-ie9 [class*="column"] + [class*="column"].end { float: left; }
  473. .lt-ie9 .large-1,
  474. .lt-ie9 .row .large-1 { width: 8.33333%; }
  475. .lt-ie9 .large-2,
  476. .lt-ie9 .row .large-2 { width: 16.66667%; }
  477. .lt-ie9 .large-3,
  478. .lt-ie9 .row .large-3 { width: 25%; }
  479. .lt-ie9 .large-4,
  480. .lt-ie9 .row .large-4 { width: 33.33333%; }
  481. .lt-ie9 .large-5,
  482. .lt-ie9 .row .large-5 { width: 41.66667%; }
  483. .lt-ie9 .large-6,
  484. .lt-ie9 .row .large-6 { width: 50%; }
  485. .lt-ie9 .large-7,
  486. .lt-ie9 .row .large-7 { width: 58.33333%; }
  487. .lt-ie9 .large-8,
  488. .lt-ie9 .row .large-8 { width: 66.66667%; }
  489. .lt-ie9 .large-9,
  490. .lt-ie9 .row .large-9 { width: 75%; }
  491. .lt-ie9 .large-10,
  492. .lt-ie9 .row .large-10 { width: 83.33333%; }
  493. .lt-ie9 .large-11,
  494. .lt-ie9 .row .large-11 { width: 91.66667%; }
  495. .lt-ie9 .large-12,
  496. .lt-ie9 .row .large-12 { width: 100%; }
  497. .lt-ie9 .row .large-offset-1 { margin-left: 8.33333%; }
  498. .lt-ie9 .row .large-offset-2 { margin-left: 16.66667%; }
  499. .lt-ie9 .row .large-offset-3 { margin-left: 25%; }
  500. .lt-ie9 .row .large-offset-4 { margin-left: 33.33333%; }
  501. .lt-ie9 .row .large-offset-5 { margin-left: 41.66667%; }
  502. .lt-ie9 .row .large-offset-6 { margin-left: 50%; }
  503. .lt-ie9 .row .large-offset-7 { margin-left: 58.33333%; }
  504. .lt-ie9 .row .large-offset-8 { margin-left: 66.66667%; }
  505. .lt-ie9 .row .large-offset-9 { margin-left: 75%; }
  506. .lt-ie9 .row .large-offset-10 { margin-left: 83.33333%; }
  507. .lt-ie9 .pull-2 { right: 16.66667%; }
  508. .lt-ie9 .pull-3 { right: 25%; }
  509. .lt-ie9 .pull-4 { right: 33.33333%; }
  510. .lt-ie9 .pull-5 { right: 41.66667%; }
  511. .lt-ie9 .pull-6 { right: 50%; }
  512. .lt-ie9 .pull-7 { right: 58.33333%; }
  513. .lt-ie9 .pull-8 { right: 66.66667%; }
  514. .lt-ie9 .pull-9 { right: 75%; }
  515. .lt-ie9 .pull-10 { right: 83.33333%; }
  516. .lt-ie9 .push-2 { left: 16.66667%; }
  517. .lt-ie9 .push-3 { left: 25%; }
  518. .lt-ie9 .push-4 { left: 33.33333%; }
  519. .lt-ie9 .push-5 { left: 41.66667%; }
  520. .lt-ie9 .push-6 { left: 50%; }
  521. .lt-ie9 .push-7 { left: 58.33333%; }
  522. .lt-ie9 .push-8 { left: 66.66667%; }
  523. .lt-ie9 .push-9 { left: 75%; }
  524. .lt-ie9 .push-10 { left: 83.33333%; }
  525. /* Nicolas Gallagher's micro clearfix */
  526. .lt-ie9 .row { *zoom: 1; }
  527. .lt-ie9 .row:before, .row:after { content: " "; display: table; }
  528. .lt-ie9 .row:after { clear: both; }
  529. /* END IE8 GRID */
  530. .lt-ie9 .hide-for-small { display: block !important; }
  531. /* TOP NAV */
  532. .lt-ie9 .top-bar-section {
  533. display:block;
  534. }
  535. .lt-ie9 .top-bar-section ul {
  536. height: auto;
  537. width: 100%;
  538. }
  539. .lt-ie9 .top-bar .top-bar-section ul,
  540. .lt-ie9 .top-bar .top-bar-section ul li {
  541. float: left;
  542. display: inline;
  543. }
  544. /* END OTHER IE8 FIXES */
  545. /* UNTIL I CAN DETERMINE WHY toolboxend GENERATES AN EMPTY <li> IN THE MENU, I'M HIDING IT */
  546. #p-toolboxend { display:none;}
  547. /* Jamie's Header Hider */
  548. body.page-Main_Page h1.firstHeading,
  549. body.page-Main_Page #siteSub,
  550. body.page-Extension_Main_Page h1.firstHeading,
  551. body.page-Extension_Main_Page #siteSub,
  552. body.page-Skin_Main_Page h1.firstHeading,
  553. body.page-Skin_Main_Page #siteSub,
  554. body.page-Farm_Main_Pageh1.firstHeading,
  555. body.page-Farm_Main_Page #siteSub,
  556. body.mw-special-Userlogin h2.title {
  557. display:none;
  558. }
  559. /* Don't like the black top bar? Copy this into your Common.css and change the colors
  560. .top-bar,
  561. .top-bar-section ul,
  562. .top-bar-section ul li.active > a,
  563. .top-bar-section li a:not(.button),
  564. .top-bar-section .has-form,
  565. .top-bar.expanded .title-area {
  566. background: black;
  567. color: white;
  568. }
  569. .top-bar-section > ul > .divider,
  570. .top-bar-section > ul > [role="separator"] {
  571. border-color: black;
  572. }
  573. */
  574. /* Add improved styling for the Echo extension */
  575. #echo-notifications {
  576. float: right;
  577. display: inline-block;
  578. margin: .5em 1em;
  579. }
  580. #echo-notifications #pt-notifications {
  581. position: relative;
  582. list-style: none;
  583. }
  584. #echo-notifications #pt-notifications .mw-echo-notifications-badge
  585. {
  586. width: 30px;
  587. height: 35px;
  588. text-align: center;
  589. border-radius: 6px;
  590. margin: 0;
  591. padding:6px;
  592. }
  593. #echo-notifications #pt-notifications a.mw-echo-short-link .mw-badge
  594. {
  595. margin:0;
  596. padding:6px;
  597. }
  598. #echo-notifications #pt-notifications .mw-badge-content {
  599. font-size: 1.3em;
  600. line-height: 1.1;
  601. }
  602. #echo-notifications .mw-echo-overlay-pokey {
  603. top: 30px;
  604. left: -1px;
  605. }
  606. #echo-notifications .mw-echo-overlay {
  607. left: -185px;
  608. width: 300px;
  609. top: 40px;
  610. }
  611. #echo-notifications .mw-echo-overlay-title {
  612. padding: 10px;
  613. }
  614. #echo-notifications .mw-echo-icon {
  615. margin: 5px;
  616. }
  617. #echo-notifications a.mw-echo-short-link .mw-badge {
  618. margin-left: 0;
  619. }
  620. #echo-notifications #mw-echo-overlay-pref-link {
  621. background-image:none;
  622. font-size: 14px;
  623. padding-left:0;
  624. border-left:none;
  625. }
  626. #echo-notifications #mw-echo-overlay-link {
  627. padding: 10px 0px 10px 15px;
  628. background-position: left 50%;
  629. border-right: none;
  630. margin-right:0;
  631. }
  632. #echo-notifications .mw-echo-dismiss {
  633. padding: 10px;
  634. font-size: .8em;
  635. min-width: 100%;
  636. }
  637. #echo-notifications .mw-echo-notification {
  638. overflow: visible;
  639. }
  640. #echo-notifications .mw-echo-title {
  641. max-width: 99%;
  642. }
  643. /* Make Echo extension more mobile friendly on small widths */
  644. @media only screen and (min-width: 550px) {
  645. #echo-notifications .mw-echo-overlay { left: -420px; width: 450px; }
  646. #echo-notifications #mw-echo-overlay-pref-link { padding: 10px 0 10px 30px; }
  647. #echo-notifications #mw-echo-overlay-link { border-right: 1px solid #DDDDDD; margin-right: 2em; }
  648. }