MediaWiki:Wikia.css: Difference between revisions
From Katawa Shoujo Wiki
imported>Schiffy No edit summary |
imported>Schiffy No edit summary |
||
Line 22: | Line 22: | ||
width: 1000px; | width: 1000px; | ||
} | } | ||
/* Dropdown CSS */ | |||
/* __NOWYSIWYG__ <source lang="css"> */ | |||
.custom-dropdown { | |||
padding: 1px 8px; | |||
} | |||
.custom-dropdown > :first-child:after { | |||
background-image: url("data:image/gif;base64,R0lGODlhAQABAIABAAAAAP///yH5BAEAAAEALAAAAAABAAEAQAICTAEAOw%3D%3D"); | |||
border-color: white transparent transparent; | |||
border-style: solid; | |||
border-width: 4px; | |||
content: ""; | |||
display: inline-block; | |||
height: 1px; | |||
margin-left: 4px; | |||
margin-top: 2px; | |||
position: relative; | |||
vertical-align: middle; | |||
width: 1px; | |||
} | |||
.custom-dropdown:hover { | |||
border-bottom-left-radius: 0px; | |||
border-bottom-right-radius: 0px; | |||
margin-bottom: -1px; | |||
padding-bottom: 2px; | |||
} | |||
.custom-dropdown ul { | |||
list-style: none outside none; | |||
min-width: 100%; | |||
top: 23px; | |||
} | |||
.custom-dropdown:hover ul { | |||
display: block; | |||
} | |||
.custom-dropdown li a { | |||
font-size: 12px; | |||
height: 14px; | |||
line-height: 14px; | |||
} | |||
/* </source> */ |
Revision as of 13:43, 11 July 2013
/*LEAVE THIS IMPORT ABOVE EVERYTHING ELSE*/ @import url("http://katawashoujo.wikia.com/wiki/MediaWiki:Common.css?usemsgcache=yes&ctype=text/css&action=raw"); /* Timer CSS */ #displayTimer { font-size: 12px !important; } #showdate a { color: white !important; } .i18ndoc { background-color: #FFF77D; border-bottom: 1px solid lightgrey; font-family: monospace; font-size: 8pt; height: 140px; overflow: auto; padding: 3px; } .page-Main_Page_Edit_copy .WikiaRail { display: none; } .page-Main_Page_Edit_copy .WikiaMainContent { width: 1000px; } /* Dropdown CSS */ /* __NOWYSIWYG__ <source lang="css"> */ .custom-dropdown { padding: 1px 8px; } .custom-dropdown > :first-child:after { background-image: url("data:image/gif;base64,R0lGODlhAQABAIABAAAAAP///yH5BAEAAAEALAAAAAABAAEAQAICTAEAOw%3D%3D"); border-color: white transparent transparent; border-style: solid; border-width: 4px; content: ""; display: inline-block; height: 1px; margin-left: 4px; margin-top: 2px; position: relative; vertical-align: middle; width: 1px; } .custom-dropdown:hover { border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; margin-bottom: -1px; padding-bottom: 2px; } .custom-dropdown ul { list-style: none outside none; min-width: 100%; top: 23px; } .custom-dropdown:hover ul { display: block; } .custom-dropdown li a { font-size: 12px; height: 14px; line-height: 14px; } /* </source> */