LGBTdb:Main Page/styles.css

From lgbtDB
Revision as of 19:22, 2 June 2023 by Superraptor (talk | contribs) (Created page with "→‎{{pp|small=yes}}: #mp-topbanner { box-sizing: border-box; border-color: #ddd; background-color: #f9f9f9; } .mp-bordered, .mp-h2, body.skin-timeless .mp-h2 { →‎Timeless needs a higher specificity: border-width: 1px; border-style: solid; } #mp-topbanner, .mp-h2, #mp-left { color: #000; } #mp-welcomecount { margin: 0.4em; text-align: center; } #mp-welcome { font-size: 162%; padding: 0.1em; } #mp-welcome h1 { font-size: inherit; font-family: inherit;...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

/* */

  1. mp-topbanner {

box-sizing: border-box; border-color: #ddd; background-color: #f9f9f9; }

.mp-bordered, .mp-h2, body.skin-timeless .mp-h2 { /* Timeless needs a higher specificity */ border-width: 1px; border-style: solid; }

  1. mp-topbanner,

.mp-h2,

  1. mp-left {

color: #000; }

  1. mp-welcomecount {

margin: 0.4em; text-align: center; }

  1. mp-welcome {

font-size: 162%; padding: 0.1em; }

  1. mp-welcome h1 {

font-size: inherit; font-family: inherit; display: inline; border: none; }

  1. mp-welcome h1::after { /* Timeless bottom border */

content: none; }

  1. mp-free {

font-size: 95%; }

  1. articlecount {

font-size: 85%; }

  1. mp-banner {

margin-top: 4px; padding: 0.5em; background-color: #fffaf5; border-color: #f2e0ce; }

.mp-h2, body.skin-timeless .mp-h2 { /* Timeless needs a higher specificity */ margin: 0.5em; padding: 0.2em 0.4em; font-size: 120%; font-weight: bold; font-family: inherit; }

h2.mp-h2::after { /* Remove borders in Timeless */ border: none; }

.mp-later { font-size: 85%; font-weight: normal; }

  1. mp-upper {

width: 100%; margin-top: 4px; margin-bottom: 0; border-spacing: 0; border-collapse: separate; }

  1. mp-upper .mid-table {

border-color: transparent; }

  1. mp-left {

width: 55%; border-color: #cef2e0; background: #f5fffa; }

  1. mp-right {

width: 45%; border-color: #cedff2; background: #f5faff; }

  1. mp-left,
  2. mp-right {

padding: 0; vertical-align: top; }

  1. mp-left .mp-h2 {

background: #cef2e0; border-color: #a3bfb1; }

  1. mp-right .mp-h2 {

background: #cedff2; border-color: #a3b0bf; }

  1. mp-tfa,
  2. mp-dyk,
  3. mp-itn,
  4. mp-otd,
  5. mp-other-lower > div {

padding: 0.1em 0.6em; }

  1. mp-dyk-h2,
  2. mp-otd-h2 {

clear: both; }

  1. mp-middle {

margin-top: 4px; border-color: #f2cedd; background: #fff5fa; }

  1. mp-middle,
  2. mp-lower,
  3. mp-other-lower {

overflow: auto; }

  1. mp-tfl-h2 {

background: #f2cedd; border-color: #bfa3af; }

  1. mp-tfl {

padding: 0.3em 0.7em; }

  1. mp-lower {

margin-top: 4px; border-color: #ddcef2; background: #faf5ff; }

  1. mp-tfp-h2 {

background: #ddcef2; border-color: #afa3bf; }

  1. mp-tfp {

margin: 0.1em 0.4em 0.6em; }

  1. mp-other-lower {

padding: 0; border-color: #e2e2e2; margin-top: 4px; }

  1. mp-dyk,
  2. mp-otd,
  3. mp-other-lower {

padding-bottom: 0.5em; }

  1. mp-other-lower .mp-h2 {

background: #eee; border-color: #ddd; color: #222; }

@media (max-width: 875px) { body.skin--responsive table, body.skin--responsive tr, body.skin--responsive td, body.skin--responsive tbody { display: block !important; width: 100% !important; box-sizing: border-box; }

body.skin--responsive #mp-tfp tr:first-child td:first-child a { text-align: center; display: table; margin: 0 auto; } }

/* https://phabricator.wikimedia.org/T293232 - Minerva doesn't have this style. */ div.hlist.inline ul, div.hlist.inline li, div.hlist.inline {

   display: inline;

}