MediaWiki:Mainpage.css

/** General mainpage qualities **/ /* Removing title on main page */ .mainpage .WikiaPage .page-header__title, .mainpage .WikiaPage .page-header__separator { display: none; } .mainpage-wrap .wikia-gallery-caption-below .lightbox-caption { font-family: 'Saira Extra Condensed', sans-serif; font-size: 20px; letter-spacing: 1px; } /* Basic box qualities */ /* Left */ .mainpage-box-characters, .mainpage-box-welcome, .mainpage-box-featured-videos { margin:50px auto auto auto; width:670px; } /* Right */ .mainpage-box-news, .mainpage-box-discussions, .mainpage-box-wiki { margin:50px auto auto auto; } .mainpage-box-news { font-size:14px; } .mainpage-box-wiki, .mainpage-box-discussions { padding:25px; background:#96c4c5; color:#fff; } .mainpage-box-wiki a, .mainpage-box-wiki a:link { color:#fff; text-decoration:underline; } .mainpage-box-discussions a, .mainpage-box-discussions a:link { color:#fff; text-decoration:none; } .mainpage-box-discussions a:hover { text-shadow: none; color: #fff !important; } /** Share box **/ .mainpage-box-share .icons { text-align: left; margin:15px 4px; } .mainpage-box-share .icon { display: inline; margin-right:9px; } /* Headers */ /* Left rail */ .mainpage-box-welcome .header, .mainpage-box-characters .header, .mainpage-box-featured-videos .header { text-align:left; font-size:44px; letter-spacing:5px; text-transform:uppercase; margin:0 auto 10px auto; padding-bottom:10px; font-family: 'Saira Extra Condensed', sans-serif; color:#6F1316; } /* Right rail */ .mainpage-box-news .header, .mainpage-box-share .header { text-transform:uppercase; letter-spacing:3px; font-family: 'Saira Extra Condensed', sans-serif; font-size:28px; text-align:left; color:#6F1316; } .mainpage-box-wiki .header, .mainpage-box-discussions .header { font-weight:normal; text-transform:uppercase; letter-spacing:4px; font-size:25px; font-family: 'Saira Extra Condensed', sans-serif; color:#fff; } .mainpage-box-discussions-post { background:#a2d6d3; border-radius:4px; color:#000; font-weight:bold; line-height:25px; margin:1em 0; padding:10px 15px; display: flex; align-items: center; transition: all 0.3s linear; } .mainpage-box-discussions-post-img { float:right; line-height:36px; margin-right:16px; position:relative; } .mainpage-box-discussions-post:hover { background: #94ceca; -webkit-transition: all .3s linear 0s; -moz-transition: all .3s linear 0s; -ms-transition: all .3s linear 0s; -o-transition: all .3s linear 0s; transition: all .3s linear 0s; } /* Portability */ @media (max-width: 1023px) { .mainpage-box-news, .mainpage-box-discussions, .mainpage-box-wiki { margin:20px auto; display:inline-block; width:290px; } }