2.186
redigeringer
Cjk (diskussion | bidrag) mNo edit summary |
Cjk (diskussion | bidrag) mNo edit summary |
||
Linje 36: | Linje 36: | ||
/* On wide screens, show these as two columns */ | /* On wide screens, show these as two columns */ | ||
/* On narrow and mobile screens, let them collapse into a single column */ | /* On narrow and mobile screens, let them collapse into a single column */ | ||
.portal-column-left | .portal-column-left, | ||
.portal-column-right, | |||
.portal-column-left-wide, | |||
.portal-column-right-narrow, | |||
.portal-column-right | .portal-column-left-extra-wide, | ||
.portal-column-left-wide | |||
.portal-column-right-narrow | |||
.portal-column-left-extra-wide | |||
.portal-column-right-extra-narrow { | .portal-column-right-extra-narrow { | ||
float: | float: none; | ||
width: | display: block; | ||
width: 100%; | |||
} | } | ||
@media only screen and ( | @media only screen and (min-width: 900px) { | ||
.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%; | |||
} | |||
} | } |