Différences entre versions de « Utilisateur:EvaNeeChance/monobook.css »

De Wiki Dofus
Aller à la navigationAller à la recherche
m
m
 
(3 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
 
/*<pre>*/
 
/*<pre>*/
 
+
/*
 
div.home.featured {
 
div.home.featured {
 
background: url(http://wiki-dofus.eu/_images/0/04/Fff.gif);
 
background: url(http://wiki-dofus.eu/_images/0/04/Fff.gif);
Ligne 9 : Ligne 9 :
 
background: url(http://wiki-dofus.eu/_images/5/58/Cf0.gif);
 
background: url(http://wiki-dofus.eu/_images/5/58/Cf0.gif);
 
}
 
}
 +
*/
 +
/*</pre>*/
  
/*</pre>*/
+
 +
/* based on http://css-tricks.com/2282-simple-jquery-dropdowns/ */
 +
div.dropdownmenu {}
 +
div.dropdownmenu a  { text-decoration: none; }
 +
div.dropdownmenu ul { margin: 0; padding: 0; list-style: none; position: relative; text-wrap: avoid}
 +
div.dropdownmenu ul li      { float: left; zoom: 1; background: #ccc}
 +
div.dropdownmenu>ul>li      { border-top: 1px solid #000; border-bottom: 1px solid #000; margin-bottom:1em}
 +
div.dropdownmenu ul a:hover  { color: #000; }
 +
div.dropdownmenu ul a:active { color: #ffa500; }
 +
div.dropdownmenu ul li span    { display: block; padding: 4px 8px; border-right: 1px solid #333; color: #222; }
 +
div.dropdownmenu span.selectedmenu {display: block; background-color:#eee; font-weight: bold}
 +
div.dropdownmenu ul li:last-child span { border-right: none; } /* Doesn't work in IE */
 +
/*div.dropdownmenu ul ul li { display: inline; width: 100%; } */
 +
div.dropdownmenu ul li.hover,
 +
div.dropdownmenu ul li:hover  { background: #F3D673; color: black; position: relative; }
 +
div.dropdownmenu ul li.hover a { color: black; }
 +
div.dropdownmenu ul ul       { width: 220px; visibility: hidden; position: absolute; top: 100%; left: 0; border: 1px solid black; padding: 0.2em; background-color: #ccc}
 +
div.dropdownmenu ul ul li      { font-weight: normal; background: #f6f6f6; color: #000; border-bottom: 1px solid #ccc; float: none; }
 +
div.dropdownmenu ul ul li a    { width:180px; display: inline-block; }
 +
div.dropdownmenu ul ul li a:first-child { display: inline; }
 +
div.dropdownmenu ul ul ul      { left: 100%; top: 0; }
 +
div.dropdownmenu ul li:hover > ul { visibility: visible; }

Version actuelle datée du 19 avril 2013 à 23:40

/*<pre>*/
/*
div.home.featured {
	background: url(http://wiki-dofus.eu/_images/0/04/Fff.gif);
}

div.home.wnews {
	border-color: #97bf87;
	background: url(http://wiki-dofus.eu/_images/5/58/Cf0.gif);
}
*/
/*</pre>*/

 
/* based on http://css-tricks.com/2282-simple-jquery-dropdowns/ */
div.dropdownmenu {}
div.dropdownmenu a  { text-decoration: none; }
div.dropdownmenu ul { margin: 0; padding: 0; list-style: none; position: relative; text-wrap: avoid}
div.dropdownmenu ul li       { float: left; zoom: 1; background: #ccc}
div.dropdownmenu>ul>li       { border-top: 1px solid #000; border-bottom: 1px solid #000; margin-bottom:1em}
div.dropdownmenu ul a:hover  { color: #000; }
div.dropdownmenu ul a:active { color: #ffa500; }
div.dropdownmenu ul li span     { display: block; padding: 4px 8px; border-right: 1px solid #333; color: #222; }
div.dropdownmenu span.selectedmenu {display: block; background-color:#eee; font-weight: bold}
div.dropdownmenu ul li:last-child span { border-right: none; } /* Doesn't work in IE */
/*div.dropdownmenu ul ul li { display: inline; width: 100%; } */
div.dropdownmenu ul li.hover,
div.dropdownmenu ul li:hover   { background: #F3D673; color: black; position: relative; }
div.dropdownmenu ul li.hover a { color: black; }
div.dropdownmenu ul ul 	       { width: 220px; visibility: hidden; position: absolute; top: 100%; left: 0; border: 1px solid black; padding: 0.2em; background-color: #ccc}
div.dropdownmenu ul ul li      { font-weight: normal; background: #f6f6f6; color: #000; border-bottom: 1px solid #ccc; float: none; }
div.dropdownmenu ul ul li a    { width:180px; display: inline-block; } 
div.dropdownmenu ul ul li a:first-child { display: inline; } 
div.dropdownmenu ul ul ul      { left: 100%; top: 0; }
div.dropdownmenu ul li:hover > ul { visibility: visible; }