MediaWiki:Portale.css: Unterschied zwischen den Versionen
Aus Klartraum-Wiki
Steeph (Diskussion | Beiträge) Gemeinsames Stylesheet für die Portalseiten |
Steeph (Diskussion | Beiträge) →Changes for small screens: Spalten untereinander |
||
Zeile 56: | Zeile 56: | ||
margin: 13px; | margin: 13px; | ||
padding: 0px; | padding: 0px; | ||
} | |||
/* Changes for small screens */ | |||
@media screen and (max-width: 750px) { | |||
div#portal-links, div#portal-rechts { | |||
float: none; | |||
width: 100%; | |||
} | |||
} | } |
Aktuelle Version vom 14. November 2014, 17:29 Uhr
div.portal-header { padding:0; margin:12px 6px 0 6px; } div.portal-header img { float: left; display: block; margin: 20px; padding: 0; } div.portal-header p { margin: 0!important; } div.portal-header h2 { font-size: 28px!important; font-family: Times!important; font-weight: 800; margin-top: 13px!important; border: none; } div#portal-links { float: left; width: 50%; } div#portal-rechts { float: right; width: 50%; } div.portal-block { padding: 0; margin: 12px 6px 0 6px; } div.portal-block h3 { padding: 0.1em; padding-left: 20px; text-align: left; font-size: 18px!important; font-weight: 800!important; margin: 0.5em 0!important; } div.portal-block-content { padding: 20px; font-size: 1em; } div.portal-block-content img { float: right; margin: 13px; padding: 0px; } /* Changes for small screens */ @media screen and (max-width: 750px) { div#portal-links, div#portal-rechts { float: none; width: 100%; } }