MediaWiki:Wikia.css

/*================================= WELCOME TO THE BRICKFILMS WIKI'S CSS STYLE SHEET!!!

=
======================= OTHER CSS used on the wiki: -http://brickfilms.wikia.com/wiki/MediaWiki:BFW-CategoryBoxes.css Contains styles for the category boxes on the community portal

=
=======================

If you have any questions about the CSS below feel free to contact User:BoatsAreRockable. NOTE THE CSS BELOW DOES NOT DISPLAY IN THE WIKIA-MOBILE SKIN

=
======================= CSS TO DO LIST:
 * Move community portal category boxes over to new format (ie same as the main page)

/*==================   IMPORT URLS

=
=======

/*Font used for article titles*/ @import url(http://fonts.googleapis.com/css?family=Roboto+Slab:700,400); /*==================   ON ALL PAGES

=
======= /*Background*/ .WikiaSiteWrapper{ background-image: url("http://www.bricksinmotion.com/images/bg_gradient.png") !important; background-repeat: repeat-x; background-color: #CFE3EA; } /*Wiki Articles*/ header#WikiaPageHeader.WikiaPageHeader h1, .WikiaArticle h2, .WikiaArticle h3, #wkRelPagHead{ font-family: "Roboto Slab", sans-serif; font-weight: 600; } header#WikiaPageHeader.WikiaPageHeader h1{ font-size: 26px; } /*Wiki Top Navigation (from Pokemon wikia)*/ #WikiHeader > div.buttons > nav > ul {width:125px; border-top-right-radius:5px;} #WikiHeader > nav > ul > li.nav-item.marked {border-radius:5px 5px 0px 0px; } #WikiHeader > nav > div {border-bottom-left-radius:5px; border-top-right-radius:0px} #WikiHeader > nav > ul > li.nav-item.marked > a {border-top:0px;} #WikiHeader > div.buttons > nav > ul {width:125px; border-top-right-radius:5px; }

#WikiHeader > nav > ul > li.nav-item.marked > a {border-top:0px; color:#FFFFFF; } #WikiHeader > nav > ul > li.nav-item.marked > ul > li > a {color:#fff; } #WikiHeader > nav > div > div {display:none;} #WikiHeader > nav > ul > li {border-bottom:0px;} #WikiHeader > nav > div > img {display:none;}

.WikiHeader > nav .subnav-2 li.marked2 .subnav-2a {color:#3a3a3a;}

ul.nav{ background-color: transparent; border-top-left-radius:10px; border-top-right-radius:4px; } /*==================   ON CATEGORY PAGES

=
======= /*Fixing crazy amount of shadow on category galleries*/ .category-gallery-item img { box-shadow: 0px 2px 5px 0px #E0E0E0; } .category-gallery { border-top: 1px solid #d8d8d8; } /*Category headings*/ .categoryintro{ background: #f2f2f2; padding: 5px 20px 15px 20px; }

/*==================   OASIS SIDEBAR

=
======= .WikiaRail .module { border: 1px solid #d8d8d8; border-radius: 6px; padding: 0px; box-shadow: 0px 2px 5px 0px #E0E0E0; background: #Fff; } .WikiaRail .module ul{ margin:3px 10px; } .WikiaRail .module p{   margin:3px 10px; } /*Sidebar titles*/ .sidebartitle, section#activities.module h1, .WikiaRail .module h2, .WikiaRail .module h2.activity-heading, .WikiaRail .module h1.tight, .WikiaBlogListingBox h2, .module.ForumActivityModule h2, section.HotSpotsModule.module h1, .CommunityCornerModule h2.dark_text_2, section.FollowedPagesModule.module h1, section.insights-module.module h2{ padding: 10px; margin: 0px 0px 5px 0px; text-align: left; background: rgb(0,108,176); font-size: 22px; border-radius: 5px 5px 0 0; color: #ffffff; font-weight: 600; line-height: 26px; font-family: Sans-serif; } /*Tidying up recent blogs module*/ div.author-details h1{ background-color: #fff; }

.WikiaBlogListingBox a.wikia-button{ position: relative; top: 12px; right: 5px; } .WikiaBlogListing h1{ font-size: 18px !important; line-height: 19px; margin-right: 0px; } .WikiaBlogListing .author-details{ position: relative; left: -65px; width: 90%; } .WikiaBlogListing .avatar { display: none; } /*See more links*/ .more{ padding: 5px 10px 10px 10px; } /*==================   THE MAIN PAGE

=
======= h2.mainpagetitle { overflow: hidden; padding: 10px; margin: 0px 0px 5px 0px; text-align: left; background: rgb(0,108,176); font-size: 22px; border-radius: 5px 5px 0 0; color: #ffffff; font-weight: 600; line-height: 26px; font-family: Sans-serif; } .mainpagetitle a{   color: #d8d8d8; } .wikia-menu-button a{   color: #fff; } .mainpagecontainer{ border: 1px solid #d8d8d8; border-radius: 6px; padding: 0px; margin: 0 0 10px 0; box-shadow: 0px 2px 5px 0px #E0E0E0; } .mainpagecontainer p{   padding: 3px 10px; } /*Making Forum Activity Module look better on main page*/ .mw-content-ltr .ForumActivityModule{ padding: 0; border: 1px solid #d8d8d8; border-radius: 5px; margin: 0 0 10px 0; } .mw-content-ltr .ForumActivityModule p{   margin: 0; } .mw-content-ltr .ForumActivityModule ul{ margin-left: 7px; } /*==================   MAIN PAGE CATEGORY BOXES (v2)

=
======= /*Styling of captions*/ font-weight: 700; display: block; padding: 7px 0; border-radius: 5px; background: #CCE1EF; box-shadow: 0px 2px 5px 0px #E0E0E0; border: 1px solid #d8d8d8; }   color: #fff; background: #4B97C6; } /*Making imgs highlight on hover*/ opacity: 0.8; } /*==================   SPECIAL:FORUM
 * 1) gallery-0 .wikia-gallery-item div.lightbox-caption a{
 * 1) gallery-0 .wikia-gallery-item div.lightbox-caption a:hover{
 * 1) gallery-0 .wikia-gallery-item .thumb:hover{

=
======= /*Board thread lists*/ .Forum .ThreadList .thread:nth-child(2n+1) { background-color: #f3f3f3; } .Forum .ThreadList h4{ margin-top: 0; } .Forum .ThreadList h4 a { width: 72%; float: left; } .Forum .ThreadList .last-post { width: 22%; float: left; } .Forum .ThreadList .thread-left { width: 88%; } .Forum .ThreadList .thread-right { float: left; } .posts{ display: none; height: 0; padding: 0; margin: 0; } .Forum .ThreadList .timestamp { margin-left: 35px; } /*Following button*/ .Forum .ThreadList .activity li.following{ background-color: #006CB0; opacity: 0.7; color: #fff; padding: 0 5px; border-radius: 5px; text-align: center; } /*Forum index .Forum .board:nth-child(2n+1){ background-color: #f3f3f3; padding: 6px 5px; } /*==================   HIGHLIGHTING USER RIGHTS

=
======= /*on forums and message walls*/ .edited-by a[href="http://brickfilms.wikia.com/wiki/Message_Wall:BoatsAreRockable"]:first-of-type::after, .edited-by a[href="http://brickfilms.wikia.com/wiki/Message_Wall:NathanWells"]:first-of-type::after, .edited-by a[href="http://brickfilms.wikia.com/wiki/Message_Wall:Sillypenta"]:first-of-type::after{ content: 'Admin'; position: inline; background: #F5F6CE; border-radius: 5px; padding: 2px 5px; color: #3A3A3A; position: relative; top: -2px; font-weight: 400; font-size: 12px; margin: 0 5px; } /*==================   .red and .yellow colour options

=
======= div.mainpagecontainer.yellow{ background:#F5F6CE; } h2.mainpagetitle.yellow{ background: rgb(246, 242, 135); color: #000; } h2 .mainpagetitle .yellow a{   color: #606060; } div.mainpagecontainer .red{ background:#fee; } h2.mainpagetitle.red{ background: #F95656; color: #000; } div.articlenoticecontainer.yellow{ background:#F5F6CE; } h3.articlenoticetitle.yellow, div.articlenoticetitle.yellow{ background: rgb(246, 242, 135); color: #000; } div.articlenoticecontainer.red{ background:#fee; } h3.articlenoticetitle.red, div.articlenoticetitle.red{ background: #F95656; color: #000; } /*=====================   CSS USED ON TEMPLATES

=
========== /*Customising infoboxs*/ .wikia-infobox th.wikia-infobox-header { padding: 9px 10px; background: #D8E8F3; line-height: 19px; } .wikia-infobox .wikia-infobox-image{ border-top: solid 3px #fff; } .wikia-infobox { padding: 0 0 4px 0; border-spacing: 0px; } .wikia-infobox td, .wikia-infobox th{ padding: 4px 6px; } /*Friends*/ a[href*="http://en.brickimedia.org/wiki/"].external:after{ display: none; }

/*CSS for Template:MP-FeaturedFilm*/ div#MP-FeaturedFilm.mainpagecontainer div.center figure.article-thumb.tnone.show-info-icon figcaption p.title{ height: 0px; overflow: hidden; display: none; } /*For select filmography and results table show more buttons*/ span.mw-customtoggle-filmography1.wikia-menu-button:hover { opacity: 0.85; } /*Used to function Template:Plainlist (from wikipedia)*/ .plainlist ul { line-height: 0; list-style: none none; margin: 0; padding: 0; } .plainlist ul li { margin: 0 0 7px 0; line-height: 12px !important; } /*Used for article management templates such as delete, noinfobox, underconstruction*/ .articlenoticecontainer { border: solid 1px #d8d8d8; border-width: 1px; margin: 0px 0px 10px 0px; color: #000; border-radius: 5px; padding: 0px; box-shadow: 0px 2px 5px 0px #E0E0E0; font-size: 12px; } .articlenoticecontainer p{   padding: 11px 15px 15px 20px; margin: 0; color: #000; font-size: 13px; line-height: 18px; } div .articlenoticetitle{ padding: 7px 10px 7px 20px; margin: 0px; text-align: left; font-weight: 600; font-size: 16px; color: #000; border: 1px solid #d8d8d8; border-style: none none solid none; font-family: sans-serif; border-radius: 5px 5px 0 0; } div.articlenoticetitle h3{ margin-top: 0; width: 85%; } /*For looking nicer on smaller screens*/ @media only screen and (max-width: 1023px) { #WikiHeader > nav > div { border-bottom-left-radius:0; border-top-right-radius:0; } }