Welcome to the Club Penguin Wiki! Log in or Create an account to join the community!
MediaWiki:Mobile.css
Jump to navigation
Jump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* CSS placed here will affect users of the mobile site */
/* Note from Refractor:
* MobileFrontend does NOT need ambox styles or such (the skin has its own implementation)
* Some styles DO need copying from Common.css.
*/
/* fix lack of styles on galleries */
li.gallerybox div.thumb {
text-align: center;
border: 1px solid #ccc;
background-color: #f9f9f9;
margin: 2px;
}
li.gallerybox div.thumb img {
display: block;
margin: 0 auto;
}
/* main page CSS */
.mainpage-wrapper {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-flow: row wrap;
-ms-flex-flow: row wrap;
flex-flow: row wrap;
}
.mainpage-wrapper > *, .mainpage-banner-links {
-webkit-box-flex: 1;
-webkit-flex: 1 100%;
-ms-flex: 1 100%;
flex: 1 100%;
}
.mainpage-banner-logo {
margin: 0.1em 0.5em;
}
@media all and (min-width: 800px) {
.mainpage-left {
-webkit-box-flex: 6;
-webkit-flex: 6 1 0px;
-ms-flex: 6 1 0px;
flex: 6 1 0px;
margin-right: 0.5em;
}
.mainpage-right {
-webkit-box-flex: 4;
-webkit-flex: 4 1 0px;
-ms-flex: 4 1 0px;
flex: 4 1 0px;
}
.mainpage-banner-title {
-webkit-box-flex: 5;
-webkit-flex: 5 1 0px;
-ms-flex: 5 1 0px;
flex: 5 1 0px;
}
.mainpage-banner-links {
-webkit-box-flex: 4;
-webkit-flex: 4 1 0px;
-ms-flex: 4 1 0px;
flex: 4 1 0px;
}
}
.mainpage-left, .mainpage-right {
border: 1px solid #b8ecff;
background: #fbfeff;
vertical-align: top;
color: #000;
border-radius: 5px;
}
.mainpage-box {
padding: 2px;
}
.mainpage-box-heading {
margin: 3px;
font-size: 120%;
font-weight: bold;
border: 1px solid #b8ecff;
text-align: left;
color: #FFF;
background-color: #0070b7;
padding: 0.2em 0.4em;
border-radius: 5px;
}
.mainpage-footer .mainpage-box {
background: #ffffd5;
}
.mainpage-footer .mainpage-box-heading {
border: 1px solid yellow;
text-align: left;
background-color: gold;
}
.mainpage-box-content {
color: #000;
padding: 2px 5px 5px;
}
.mainpage-banner {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-flow: row wrap;
-ms-flex-flow: row wrap;
flex-flow: row wrap;
background: #f9f9f9;
margin: 1.2em 0 6px 0;
border: 1px solid #ddd;
border-radius: 5px;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
}
.mainpage-banner-title {
color: #000;
}
.mainpage-banner-title p {
line-height: 1em;
}
.mainpage-banner-title-welcome {
font-size: 1.5em;
}
.mainpage-banner-title-motto {
font-style: italic;
}
.mainpage-banner-title-articles {
font-size: .8em;
}
.mainpage-banner-links, .mainpage-explore-links {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
/*flex-flow: row wrap;*/
-webkit-justify-content: space-around;
-ms-flex-pack: distribute;
justify-content: space-around;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.mainpage-banner-links-link, .mainpage-explore-links-link {
font-weight: bold;
font-variant: small-caps;
text-align: center;
}
.mainpage-banner-links-link a + a, .mainpage-explore-links-link a + a {
display: block;
}
.mainpage-explore-possibilities {
border-radius: 7px;
font-variant: small-caps;
}
.mainpage-explore-possibilities-list {
padding: 4px;
font-weight: bold;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-flow: row wrap;
-ms-flex-flow: row wrap;
flex-flow: row wrap;
}
.mainpage-explore-possibilities-list-heading {
-webkit-box-flex: 2;
-webkit-flex: 2 1 10em;
-ms-flex: 2 1 10em;
flex: 2 1 10em;
}
.mainpage-explore-possibilities-list-links {
-webkit-box-flex: 10;
-webkit-flex: 10 1 32em;
-ms-flex: 10 1 32em;
flex: 10 1 32em;
}
/* end of mainpage */