MediaWiki:Gadget-MainPageStyle.css: Difference between revisions
From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Jump to navigationJump to search
mNo edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
/* Site styles */ | /* Site styles */ | ||
.main-box { | |||
color: #fff !important; | |||
font-weight: bold !important; | |||
background: url(https://kh.wiki.gallery/images/c/c3/Main-boxbg.jpg) #11072C !important; | |||
} | |||
.main-box a { | |||
color: #ccc !important; | |||
} | |||
body.page-Main_Page.action-view .mw-parser-output table img { | |||
max-width: 100% !important; | |||
height: auto !important; | |||
} | |||
/* Responsive fixes */ | /* Responsive fixes */ | ||
@media all and (max-width: 719px) { | |||
#welcomeTable { | |||
padding: 0 !important; | |||
} | |||
#welcomeText { | |||
font-size: 140% !important; | |||
} | |||
#welcomeTagline { | |||
margin-top: -5px; | |||
font-size: 85% !important; | |||
} | |||
#aboutText { | |||
font-size: 85% !important; | |||
} | |||
} |
Revision as of 21:33, 6 March 2022
/* CSS styling and responsive support for the main page */
/* Site styles */
.main-box {
color: #fff !important;
font-weight: bold !important;
background: url(https://kh.wiki.gallery/images/c/c3/Main-boxbg.jpg) #11072C !important;
}
.main-box a {
color: #ccc !important;
}
body.page-Main_Page.action-view .mw-parser-output table img {
max-width: 100% !important;
height: auto !important;
}
/* Responsive fixes */
@media all and (max-width: 719px) {
#welcomeTable {
padding: 0 !important;
}
#welcomeText {
font-size: 140% !important;
}
#welcomeTagline {
margin-top: -5px;
font-size: 85% !important;
}
#aboutText {
font-size: 85% !important;
}
}