Difference between revisions of "Widget:Home-style"
From PCGamingWiki, the wiki about fixing PC games
Line 38: | Line 38: | ||
#subheader-what-is-button {background:#556db3} | #subheader-what-is-button {background:#556db3} | ||
#header-search input[type="search"] {color:black} | #header-search input[type="search"] {color:black} | ||
+ | |||
+ | /* Width change */ | ||
+ | #masthead {max-width:1200px} | ||
+ | #sidebar {display:none} | ||
/* Hide MW page header */ | /* Hide MW page header */ |
Latest revision as of 10:25, 25 July 2020
<style>
pcgw-home-header {
background-color: #556db3; color: #fff; width: 100%; height: 180px; display: block; text-align: center; padding-top: 28px;
}
.home-subheader {
width: 100%; background-color: #fff; box-shadow: 0 4px 5px 0 rgba(0,0,0,0.15); height: 56px; text-align: center; padding: 9px;
}
.subheader-button {
width: 250px; height: 38px; display: inline-block; border-radius: 4px; font-size: 1.6rem; margin: 0 5px; padding: 2px; text-align: center; transition: 300ms background-color;
}
/* Header restyling*/ .header-item-left-container {display:none}
- header-search {background:white;margin:5px;left:auto;right:400px}
- header-search input[type="search"] {width:400px}
- subheader-what-is-button {background:#556db3}
- header-search input[type="search"] {color:black}
/* Width change */
- masthead {max-width:1200px}
- sidebar {display:none}
/* Hide MW page header */
- mw-head, .article-title, .article-header, #site-sub {display:none}
.table-assignment-body-row:nth-of-type(2n) {
background: url(https://pcgamingwiki.ams3.digitaloceanspaces.com/5/51/Home_-_Notable_Releases_bg.png) no-repeat; background-color: #f5f5f5;
}
/* Hide ads */
- mpu, #nitro-anyclip, .ad-header-container {display:none}
</style>