MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Ralph (Diskussion | Beiträge) |
Ralph (Diskussion | Beiträge) |
||
Zeile 24: | Zeile 24: | ||
/* GRID OF TWO */ | /* GRID OF TWO */ | ||
.span_2_of_2 { | .span_2_of_2 { | ||
width: | width: 100%; | ||
} | } | ||
.span_1_of_2 { | .span_1_of_2 { |
Version vom 18. November 2016, 08:56 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */ /* SECTIONS */ .section { clear: both; padding: 0px; margin: 0px; } /* COLUMN SETUP */ .col { display: block; float:left; margin: 1% 0 1% 1.6%; } .col:first-child { margin-left: 0; } /* GROUPING */ .group:before, .group:after { content:""; display:table; } .group:after { clear:both;} .group { zoom:1; /* For IE 6/7 */ } /* GRID OF TWO */ .span_2_of_2 { width: 100%; } .span_1_of_2 { width: 45%; } /* GO FULL WIDTH AT LESS THAN 480 PIXELS */ @media only screen and (max-width: 480px) { .col { margin: 1% 0 1% 0%; } } @media only screen and (max-width: 480px) { .span_2_of_2, .span_1_of_2 { width: 100%; } }