MediaWiki:Citizen.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 6: | Line 6: | ||
* for shared components that need a different narrow-screen presentation. | * for shared components that need a different narrow-screen presentation. | ||
*/ | */ | ||
/* ========================================================================== | |||
Responsive Layout Standard | |||
-------------------------------------------------------------------------- | |||
Phone: 0-599px; tablet / large phone: 600-899px; small desktop / | |||
landscape tablet: 900-1199px; full desktop: 1200px+. | |||
Citizen is developed directly as the mobile/tablet skin; MobileFrontend is | |||
not required or assumed by these rules. | |||
========================================================================== */ | |||
/* ========================================================================== | /* ========================================================================== | ||
| Line 202: | Line 211: | ||
} | } | ||
/* | /* Tablet and wider Citizen layouts use larger icons while retaining the same | ||
predictable four-column arrangement. The 600px boundary is the standard | |||
start of the tablet range. */ | |||
@media screen and (min-width: 600px) { | @media screen and (min-width: 600px) { | ||
.skin-citizen .wizlords-mainpage-items, | .skin-citizen .wizlords-mainpage-items, | ||
| Line 228: | Line 238: | ||
/* ========================================================================== | /* ========================================================================== | ||
Phone And Tablet Table Of Contents | |||
========================================================================== */ | ========================================================================== */ | ||
@media screen and (max-width: | @media screen and (max-width: 899px) { | ||
.skin-citizen .citizen-page-container { | .skin-citizen .citizen-page-container { | ||
padding-right: max(var(--padding-page, 16px), env(safe-area-inset-right)); | padding-right: max(var(--padding-page, 16px), env(safe-area-inset-right)); | ||
| Line 248: | Line 258: | ||
/* ========================================================================== | /* ========================================================================== | ||
Phone And Tablet Shared Component Adjustments | |||
========================================================================== */ | ========================================================================== */ | ||
@media screen and (max-width: | @media screen and (max-width: 899px) { | ||
.skin-citizen .wizlords-mainpage-left, | .skin-citizen .wizlords-mainpage-left, | ||
.skin-citizen .wizlords-mainpage-right { | .skin-citizen .wizlords-mainpage-right { | ||