MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 187: | Line 187: | ||
color: #ffd37a; | color: #ffd37a; | ||
text-decoration: none; | text-decoration: none; | ||
} | |||
/* Main Page banner. | |||
Desktop/small-desktop uses the full single-line parchment banner. Mobile and | |||
tablet use the transparent no-background version so the header sits cleanly | |||
inside Citizen's narrow layout. */ | |||
.page-banner { | |||
width: 100%; | |||
margin: 0 auto 24px; | |||
text-align: center; | |||
} | |||
.page-banner-desktop, | |||
.page-banner-mobile { | |||
width: 100%; | |||
} | |||
.page-banner-mobile { | |||
display: none; | |||
} | |||
.page-banner img { | |||
display: block; | |||
width: 100%; | |||
max-width: 100%; | |||
height: auto; | |||
margin: 0 auto; | |||
} | |||
@media (max-width: 899px) { | |||
.page-banner-desktop { | |||
display: none; | |||
} | |||
.page-banner-mobile { | |||
display: block; | |||
} | |||
} | } | ||