Created
August 29, 2012 20:56
-
-
Save shepazu/3518830 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
/* These styles create the dropdown menus. */ | |
#breadcrumbmenu { | |
margin: 0; | |
padding: 0; | |
height: 1em; | |
} | |
#breadcrumbmenu li { | |
list-style: none; | |
float: left; | |
} | |
#breadcrumbmenu li a { | |
display: block; | |
padding: 3px 8px; | |
color: black; | |
text-decoration: none; | |
} | |
#breadcrumbmenu li ul { | |
display: none; | |
width: 10em; /* Width to help Opera out */ | |
background-color: #F0EBDD; | |
border-radius: 0.9em; | |
border-top-left-radius: 0; | |
border-top-right-radius: 0.9em; | |
border-bottom-right-radius: 0.9em; | |
border: thin black solid; | |
} | |
ul#breadcrumbmenu > li > a { | |
border: thin black solid; | |
margin-left: -1.5em; | |
padding-left: 2em; | |
} | |
#breadcrumbmenu li:hover ul { | |
display: block; | |
position: absolute; | |
margin: 0; | |
padding: 0; | |
border: thin black solid; | |
} | |
#breadcrumbmenu li:hover li { | |
float: none; | |
} | |
ul#breadcrumbmenu > li > a { | |
background-color: #F0EBDD; | |
border-top-right-radius: 0.9em; | |
border-bottom-right-radius: 0.9em; | |
} | |
ul#breadcrumbmenu > li:hover > a { | |
border-bottom-right-radius: 0; | |
border-bottom-color: #F0EBDD; | |
} | |
#breadcrumbmenu li:hover li a { | |
background-color: none; | |
border-bottom: 1px solid #fff; | |
color: #000; | |
} | |
#breadcrumbmenu li li a:hover { | |
background-color: none; | |
} | |
ul#breadcrumbmenu > li, ul#breadcrumbmenu > li > ul { | |
position: relative; | |
} | |
ul#breadcrumbmenu > li:first-child { | |
margin-left: 0; | |
border-left: solid 2px black; | |
} | |
ul#breadcrumbmenu > li:nth-child(1) { | |
z-index: 2000; | |
} | |
ul#breadcrumbmenu > li:nth-child(1) > ul { | |
z-index: 1995; | |
} | |
ul#breadcrumbmenu > li:nth-child(2) { | |
z-index: 1990; | |
} | |
ul#breadcrumbmenu > li:nth-child(2) > ul { | |
z-index: 1985; | |
z-index: 2000; | |
} | |
ul#breadcrumbmenu > li:nth-child(3) { | |
z-index: 1980; | |
} | |
ul#breadcrumbmenu > li:nth-child(3) > ul { | |
z-index: 1975; | |
} | |
ul#breadcrumbmenu > li:nth-child(4) { | |
z-index: 1970; | |
} | |
ul#breadcrumbmenu > li:nth-child(4) > ul { | |
z-index: 1965; | |
} | |
ul#breadcrumbmenu > li:nth-child(5) { | |
z-index: 1960; | |
} | |
ul#breadcrumbmenu > li:nth-child(6) { | |
z-index: 1950; | |
} | |
ul#breadcrumbmenu > li:nth-child(7) { | |
z-index: 1940; | |
} | |
ul#breadcrumbmenu > li:nth-child(8) { | |
z-index: 1930; | |
} | |
ul#breadcrumbmenu > li:nth-child(9) { | |
z-index: 1920; | |
} | |
ul#breadcrumbmenu > li > ul, ul#breadcrumbmenu > li:hover > ul { | |
margin-top: -10px; | |
/*padding-top: -1px;*/ | |
margin-left: -0.5em; | |
padding-left: 0.5em; | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="breadcrumbs"> | |
<ul id="breadcrumbmenu"> | |
<li><a href="http://webplatform.org/">Home</a></li> | |
<li><a href="/docs/Main_Page">Docs</a> | |
<ul> | |
<li><a href="http://webplatform.org/docs/css">CSS</a> | |
<li><a href="http://webplatform.org/docs/html">html</a> | |
<li><a href="http://webplatform.org/docs/js">JS</a> | |
<li><a href="http://webplatform.org/docs/svg">SVG</a> | |
<li><a href="http://webplatform.org/docs/mathml">MathML</a> | |
</ul> | |
<li><a href="http://webplatform.org/docs/css">CSS</a> | |
<ul> | |
<li><a href="http://webplatform.org/docs/css/properties">properties</a></li> | |
<li><a href="http://webplatform.org/docs/css/selectors">selectors</a></li> | |
</ul> | |
<li><a href="http://webplatform.org/docs/css/properties">properties</a> | |
<ul> | |
<li><a href="http://webplatform.org/docs/css/properties/border-radius">border-radius</a></li> | |
<li><a href="http://webplatform.org/docs/css/properties/font-size">font-size</a></li> | |
</ul> | |
<li><a href="http://webplatform.org/docs/css/properties/border-radius">border-radius</a></li> | |
</ul> | |
</div> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment