Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/** <nowiki>
* Replacing the start a wiki button with various other tools
* Corresponding js can be found in [[User:Cåm/startWiki.js]]
* @author Cåm
*/
/* Inheriting colours
* Undo Wikia's styling before
*/
/* Account nav */
.nav-mimic .AccountNavigation {
line-height:normal;
top:auto;
right:auto;
}
/* ul tags */
.nav-mimic .AccountNavigation .subnav {
position:static;
}
/* CSS hover
* This doesn't work on IE 8 compatibility mode because IE is stupid
* Wikia has officially dropped IE 8 support so we can safely ignore them
*/
.list-container {
display:none !important;
}
.hover-container:hover .list-container {
display:inline !important;
}
/* Chevron for skin submenu */
.start-a-wiki .chevron-right {
border-color:transparent transparent transparent #000;
top:18px;
}
/* Styling */
nav > ul > li.start-a-wiki {
border-left:none !important;
height:33px;
}
li.start-a-wiki:hover {
background:#000; /* Older browsers */
background:-moz-linear-gradient(top, transparent 0%, #000 100%); /* Firefox 3.6+ */
background:-webkit-linear-gradient(top, transparent 0%, #000 100%); /* Chrome 11.0+ & Safari 5.1+ */
background:-o-linear-gradient(top, transparent 0%, #000 100%); /* Opera 11.10+ */
background:-ms-linear-gradient(top, transparent 0%, #000 100%); /* Internet Explorer 10.0+ */
background:linear-gradient(top, transparent 0%, #000 100%); /* W3C recommendation */
}
/* Causing double hover */
li.nav-mimic.start-a-wiki:hover {
background:none;
}
li.start-a-wiki .hover-container {
width:100%;
height:100%;
display:inline-block;
}
.nav-mimic .nav-header {
color:#fff;
}
/* List styling */
.nav-mimic .list-container {
margin-top:4px;
margin-left:-14px;
position:absolute;
}
.list-container .startwiki-list {
display:inline-block;
}
.startwiki-list > li {
float:none !important;
font-size:60%;
height:auto;
margin-top:0;
padding:0;
}
.startwiki-list > li > a {
min-width:70px;
padding:10px;
display:block;
}
/* Submenu */
/* Submenu hover */
.skin-submenu {
display:none;
}
.skin-container:hover .skin-submenu {
display:inline !important;
}
/* Submenu styling */
.skin-submenu {
position:absolute;
margin-left:155px;
z-index:1;
margin-top:-44px;
border-width:2px 4px 4px;
border-style:solid;
border-color:#000;
background-color:#fff8dc;
}
.skin-submenu > li {
width:100%;
padding:0;
margin:0 !important;
height:auto;
}
.skin-submenu > li:hover {
background:#eaeaea;
}
.skin-submenu > li > a {
padding:10px;
display:block !important;
color:#3a3a3a;
}
/* </nowiki> */