MediaWiki:NewNav.css

/* ================  NEW NAV 1.0

written by User:CzechOut 22 September 2012 for use at tardis.wikia.com and released under the CC-BY-SA 3.0 license

Though almost all styling elements are unique to tardis, grateful acknowledgement is certainly due to fellow code monkeys at  memory-alpha.org, yoshi.wikia.com, all the respondents at  community:Admin_Forum:Restyling_the_new_WikiHeader_navigation, and various members of Wikia Staff ================

On 3 October 2012, Wikia made compulsory a new system of top-of-page navigation which radically supplanted the previous drop-down-only notion.

This design is the homegrown tardis.wikia.com response to  the new requirement. */

/* ================   BASICS -- or -- DEALING WITH WikiHeaderRestyle ================

+++++++++++++++  Retaining artistic background from previous iteration of WikiHeader +++++++++++++++ */

background-image:url(http://images.wikia.com/tardis/images/1/17/WikiHeaderFullLengthWithGap.png) !important; background-repeat:no-repeat !important; font-size:10pt; padding-left:none; padding-right:none; }
 * 1) WikiHeader/*.WikiHeaderRestyle*/ {

/* +++++++++++++++  Removing border on top of tabs +++++++++++++++ */ .WikiHeader > nav li.marked > a, .WikiHeader > nav li.marked > a:hover { border:none !important; background-color:transparent!important; text-decoration:none; padding-left:none; padding-right:none; font-size:10pt; }

/* +++++++++++++++  Removing accent mark under bottom and top row +++++++++++++++ */

.WikiHeader .navbackground { background-color:transparent!important; font-size:10pt; width:575px!important; /*keeps dividing line between tiers the width of the framing box */ }

/* ================  Top row ================ */

/* +++++++++++++++  Main style of WikiHeaderRestyle but because its margin-bottom is  stretched, this effectively "creates an envelope/div" which becomes the most visible aspect of the nav the major style of the entire new nav.

Alternately, think of this as the top row in an   unhovered state. +++++++++++++++ */

.WikiHeader > nav { background:transparent url(http://images.wikia.com/tardistest/images/c/ce/70opacitywhite.png); /* peek-a-boo, I see you! */  border:3px solid #003d67; /* possibly too thick */ -moz-border-radius:10px; -webkit-border-radius:10px; -o-border-radius:10px; -ms-border-radius:10px; border-radius:10px; -moz-box-shadow:0 0 40px #003d67; -webkit-box-shadow:0 0 40px #003d67; -o-box-shadow:0 0 40px #003d67; -ms-box-shadow:0 0 40px #003d67; box-shadow:0 0 40px #003d67; color:#003d67; font-family: 'Lucida Grande', 'Trebuchet MS', 'Gill Sans', Verdana, 'URW Gothic L','Nimbus Sans L',sans-serif; padding-top:0px; padding-bottom:32px!important; /* "extends the shields" around bottom tier */ letter-spacing:1.5 px; font-weight:normal !important; text-transform:uppercase; /*margin-top:-20px; moves it all up beyond reach of search/user masthead */ z-index:-10px; /* for kicks */ font-size:10pt!important; }

/* +++++++++++++++  Other styling +++++++++++++++ */

.WikiHeader > nav li { border: none; font-size:10pt; letter-spacing:2px!important; font-weight:bold!important; } .WikiHeader > nav li.marked { border:none; color:#003d67; background-color: transparent!important; text-decoration: none; font-size:10pt!important; letter-spacing:2px!important; text-transform:uppercase; font-weight:bold !important; }

.WikiHeader > nav li.marked > a:hover { border:none; color:#003d67; text-decoration: none; font-size:10pt!important; letter-spacing:2px!important; text-transform:uppercase; font-weight:bold !important; background-color:transparent!important; }

.WikiHeader > nav li.marked a { border: none; color:#003d67; font-family: 'Lucida Grande', 'Trebuchet MS', 'Gill Sans', Verdana, 'URW Gothic L','Nimbus Sans L',sans-serif; font-size:10pt; padding:none; font-weight:bold !important; text-transform:uppercase; letter-spacing:2px !important; background-color:transparent!important; }

/* ================  Bottom row ================ */

/* This is the main selector for the actual drop down */ .WikiHeader > nav .subnav { background:transparent url(http://images.wikia.com/tardistest/images/c/ce/70opacitywhite.png); /* peek-a-boo, I see you! */ -moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px; border:1px solid #003d67; -moz-box-shadow:0 0 40px #003d67; -webkit-box-shadow:0 0 40px #003d67; box-shadow:0 0 40px #003d67; color:#003d67; font-family: 'Lucida Grande', 'Trebuchet MS', 'Gill Sans', Verdana, 'URW Gothic L','Nimbus Sans L',sans-serif; padding:1px; line-height:8pt; font-size:9pt; font-weight:bold !important; text-transform:uppercase; letter-spacing:2px; margin-top:-40px!important; } .WikiHeader > nav .subnav-2 accent { background-color: transparent !important; } .WikiHeader > nav subnav-2 { border:none!important; } .WikiHeader > nav .subnav-2 li a.subnav-2a { background-color:#transparent !important; color:#003d67 !important; background-image:none; font-weight:bold !important; font-family: 'Lucida Grande', 'Trebuchet MS', 'Gill Sans', Verdana, 'URW Gothic L','Nimbus Sans L',sans-serif; text-transform:uppercase; letter-spacing:1px; width:auto!important; z-index: 100; display: block; border: 0px solid transparent; margin: 0px 0px 0px 0px; height: 25px; padding-left:7.5px!important; padding-right:3.5px!important; }

.WikiHeader > nav .subnav-2 li.marked2 a.subnav-2a { background-color:transparent }

.WikiHeader > nav li.marked .subnav-2 > li a:hover, .WikiHeader > nav li.marked .subnav-2 .marked2 a:hover { background-image: none; border: medium none !important; color: #003d67 !important; font-family: 'Lucida Grande','Trebuchet MS','Gill Sans',Verdana,'URW Gothic L','Nimbus Sans L',sans-serif; font-weight: bold !important; }

/* .WikiHeader > nav li.marked .subnav-2 > li a:hover, .WikiHeaderRestyle > nav li.marked .subnav-2 .marked2 a:hover {

background: none repeat scroll 0px 0px #D5D4F0 !important; }

.WikiHeader > nav .subnav-2 li a.subnav-2a:hover { color: rgb(47, 44, 184) !important; background-color:none!important; font-weight: bold !important; font-family: 'Lucida Grande','Trebuchet MS','Gill Sans',Verdana,'URW Gothic L','Nimbus Sans L',sans-serif; text-transform: uppercase; letter-spacing: 1px; width: auto !important; }

/* Keeping the hover background for tier 2 separate from tier 3 */ .WikiHeaderRestyle > nav li.marked .subnav-2 > li ul li:hover { background-color:#ececec !important; }

/* ================  Floaty dropdown row ================ */

/* Get rid of annoying overlay of white */ .subnav-3 li { background:transparent !important }

.WikiHeader > nav .subnav-3 { background:transparent url(http://images.wikia.com/tardistest/images/c/ce/70opacitywhite.png); /* peek-a-boo, I see you! */     -moz-border-radius:10px; -webkit-border-radius:10px; -o-border-radius:10px; -ms-border-radius:10px; border-radius:10px; border:1px solid #003d67; -moz-box-shadow:0 0 40px #003d67; -webkit-box-shadow:0 0 40px #003d67; -o-box-shadow:0 0 40px #003d67; -ms-box-shadow:0 0 40px #003d67; box-shadow:0 0 40px #003d67; color:#003d67; /*font-family: 'Book Antiqua','Calisto MT','Lucida Bright',Georgia,'DejaVu Serif',serif;*/ font-family: 'Lucida Grande', 'Trebuchet MS', 'Gill Sans', Verdana, 'URW Gothic L','Nimbus Sans L',sans-serif; font-size:8pt; line-height:8pt; padding:1.5px; font-weight:bold !important; text-transform:uppercase!important; font-style:normal; margin-top:15px!important; } .WikiHeader > nav .subnav-3 li a { background-color:transparent !important; color:#003d67 !important; background-image:none; font-weight:bold !important; font-family: 'Lucida Grande', 'Trebuchet MS', 'Gill Sans', Verdana, 'URW Gothic L','Nimbus Sans L',sans-serif; text-transform:uppercase!important; letter-spacing:0px; font-size:8pt; padding:5px!important; line-height:8pt!important; font-style:normal; } .WikiHeader > nav .subnav-3 li a:hover { background-color:none !important; color:#003d67 !important; border:none !important; font-weight:bold !important; background-image:none; font-family: 'Lucida Grande', 'Trebuchet MS', 'Gill Sans', Verdana, 'URW Gothic L','Nimbus Sans L',sans-serif; text-transform:uppercase!important; letter-spacing:0px; font-style:normal; padding:5px!important; line-height:8pt!important; }

/* =====================  Things that have happened as a RESULT of New Nav, but which aren't strictly PART OF New Nav ===================== */

/* +++++++++++++++++++++  BASELINE FOR BOTH BUTTONS +++++++++++++++++++++ */

.WikiHeader .buttons .wikia-button, .WikiHeaderRestyle .buttons .wikia-menu-button { height: 20px; font-size: 12pt!important; font-weight:bold!important; vertical-align: top; z-index: 3; margin: 40px 0px 0px 0px !important; }

/* +++++++++++++++++++++  SHARE button +++++++++++++++++++++ */ .WikiHeader .buttons .contribute-button, .WikiHeader .buttons .share-button { padding: 1px 0px 1px 3px !important; position: relative; margin-top: 20px; margin-right:10px; font-size:12pt }

.WikiHeader .buttons .share-button .share-dot { display: none; }

/* ++++++++++++++++++++++  CONTRIBUTE button ++++++++++++++++++++++ */ /* .wikia-menu-button.secondary.combined { padding: 1px 0px 1px 3px !important; margin-top: 40px !important; margin-left: 40px !important; margin-right:0px!important; font-size:12pt } /* .wikia-menu-button.contribute.secondary.combined { padding: 1px 0px 1px 3px !important; margin-top: 40px !important; margin-left: 40px !important; margin-right:0px!important; font-size:12pt }*/

.WikiHeader .buttons .contribute { padding-top: 2px; vertical-align: middle; margin-top: 40px; font-size: 16px; padding-bottom: 2px; }

.sprite.contribute { display: none; }

/* Contribute drop down */

.WikiHeader .buttons .contribute ul { background:transparent url(http://images.wikia.com/tardistest/images/c/ce/70opacitywhite.png); /* peek-a-boo, I see you! */     -moz-border-radius:10px; -webkit-border-radius:0px 10px 10px 0; border-radius:10px; border:1px solid #003d67; -moz-box-shadow:0 0 40px #003d67; -webkit-box-shadow:0 0 40px #003d67; box-shadow:0 0 40px #003d67; color:#003d67; font-family: 'Book Antiqua','Calisto MT','Lucida Bright',Georgia,'DejaVu Serif',serif; font-size:9pt; line-height:8pt; padding:1.5px; font-weight:bold !important; text-transform:lowercase; font-style:italic; margin-top:10px!important; z-index:1007; }

.WikiHeader .buttons .contribute ul li a { line-height: 14px; background:none!important; border:none!important; }

.WikiHeader .buttons .contribute ul { border:#003d67 2px solid; background:transparent url(http://images.wikia.com/tardistest/images/c/ce/70opacitywhite.png) !important; }

.WikiHeader .buttons .contribute li { border:none!important; background:none; }

/* ++++++++++++++++++++++++++  Discussion button ++++++++++++++++++++++++++ */

.wikinav2 .WikiaPageHeader > .comments { margin: 2px 10px 0px; display: inline; background-color: transparent !important; border: none; color: #003d67 !important; font-size:12pt!important; }

.commentsbubble { display:inline !important; font-size:16pt!important; font-family: 'Lucida Grande', 'Trebuchet MS', 'Gill Sans', Verdana, 'URW Gothic L','Nimbus Sans L',sans-serif; font-style:normal; padding:5px } .commentsbubble:before { content:" " !important; } .commentsbubble:after { content:" " !important; }

/* +++++++++++++++++++++++++++  Pages on wiki thingie +++++++++++++++++++++++++++ */

/* Fixing article tally */

.wikinav2 .WikiaPageHeader > .tally { position: absolute; right: 0px !important; top: 0px; }

.wikinav2 .WikiaPageHeader > .tally span { font-family: 'Futura','Gill Sans','Helvetica Neue','Trebuchet MS',Verdana,'URW Gothic L','Nimbus Sans L',sans-serif; text-transform: uppercase; font-weight: normal; top: 40px !important; margin-top: 30px !important; margin-left: -110px !important; }

body.mainpage .WikiaPageHeader > .tally span, body.mainpage .WikiaPageHeader > .tally em { margin-left:-500px !important; }

/* body.mainpage .wikinav2 .WikiaPageHeader > .tally { margin-left:-490px !important; display:none; } /* body.mainpage .WikiaPageHeader > .tally span, body.mainpage .WikiaPageHeader > .tally em, body.page-Doctor-Who-Wiki .wikinav2 .WikiaPageHeader > .tally span { margin-left:-30px !important; display:none !important }*/

body.mainpage h1 {background-color:red!important:font-family:Monaco;fantasy!important}