MediaWiki:Common.css: Forskelle mellem versioner
Fra AarhusWiki
Cjk (diskussion | bidrag) mNo edit summary |
Cjk (diskussion | bidrag) mNo edit summary |
||
Linje 61: | Linje 61: | ||
} | } | ||
@media only screen and (max-width: | @media only screen and (max-width: 860px) { | ||
/* Decouple the columns on narrow screens */ | /* Decouple the columns on narrow screens */ | ||
.portal-column-left, | .portal-column-left, |
Versionen fra 11. jul. 2016, 10:04
/** CSS inkluderet her vil være aktivt for alle brugere. */ /* #mainContent { font-size: 110%; } - CJK var måske alligevel for stort */ #container {max-width: 1024px;} /* */ .page-Forside #firstHeading, .page-Forside #contentSub { display: none; } .page-Forside h2 { padding-top: 0; margin-top: 0; } /* Logo */ #header h1 a { text-transform: none; text-indent: .5em !important; text-shadow: none !important; } /* Headers */ h1, h2, h3 { text-shadow: none !important; } label[for=wpCaptchaWord] { font-size: 120%; font-weight: bold; color: red; } /* For portals, added 2011-12-07 -bv */ /* On wide screens, show these as two columns */ /* On narrow and mobile screens, let them collapse into a single column */ .portal-column-left { float: left; width: 50%; } .portal-column-right { float: right; width: 48%; } .portal-column-left-wide { float: left; width: 60%; } .portal-column-right-narrow { float: right; width: 38%; } .portal-column-left-extra-wide { float: left; width: 70%; } .portal-column-right-extra-narrow { float: right; width: 28%; } @media only screen and (max-width: 860px) { /* Decouple the columns on narrow screens */ .portal-column-left, .portal-column-right, .portal-column-left-wide, .portal-column-right-narrow, .portal-column-left-extra-wide, .portal-column-right-extra-narrow { float: none; display: block; width: 100%; } }