MediaWiki:Wikia.css/CustomNavigation.css

/* Wiki navigation revision */ /* Credit to the Sims Wiki */ .WikiHeaderRestyle .navbackground div { background-color: transparent; } .WikiHeaderRestyle .navbackground { background-color: navy; background-image: -moz-linear-gradient(top, #126180 0%, navy 100%); background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0%, #126180), color-stop(100%, navy)); background-image: -o-linear-gradient(top, #126180 0%, navy 100%); background-image: -ms-linear-gradient(top, #126180 0%, navy 100%); } .WikiHeaderRestyle > nav li.marked { background-image: -moz-linear-gradient(top, #126180 0%, navy 100%); background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0%, #126180), color-stop(100%, navy)); background-image: -o-linear-gradient(top, #126180 0%, navy 100%); background-image: -ms-linear-gradient(top, #126180 0%, navy 100%); } .WikiHeaderRestyle > nav .subnav-2 { background-image: -moz-linear-gradient(top, #126180 0%, navy 100%); background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0%, #126180), color-stop(100%, navy)); background-image: -o-linear-gradient(top, #126180 0%, navy 100%); background-image: -ms-linear-gradient(top, #126180 0%, navy 100%); } /* Rounded corners for nav */ .WikiHeaderRestyle .navbackground, .WikiHeaderRestyle > nav .subnav-2 { border-radius: 0 0.75em 0 0.75em; } .WikiHeaderRestyle > nav li:first-child { border-radius: 0.75em 0 0 0; } .WikiHeaderRestyle > nav li:last-child { border-radius: 0 0.75em 0 0; } .WikiHeaderRestyle nav li.marked, .WikiHeaderRestyle > nav .subnav-2 li.marked2 .subnav-2a { border-radius: 0.75em 0.75em 0 0; } .WikiHeaderRestyle nav { border-radius: 1em 1em 0 0; } .WikiHeaderRestyle > nav li.marked > a { border-top: none; } .WikiHeaderRestyle > nav .subnav-3 { border-radius: 0 0.75em 0.75em 0.75em; } .GlobalNavigation .subnav { border-radius: 0 0 0.75em 0.75em; }