Changeset 121 for trunk/docs/_static
- Timestamp:
- Mar 12, 2011, 12:18:49 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/_static/default.css
r120 r121 258 258 border-bottom: 1px solid #ac9; 259 259 } 260 261 /* Menu Bar ---------------------------------------- */ 262 263 ul.topnav { 264 position:relative; 265 top:0; 266 left:0; 267 list-style: none; 268 padding: 0 ; 269 margin: 0; 270 float: left; 271 width: 100%; 272 height:40px; 273 background: #563404; 274 filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#563404', endColorstr='#663e05'); /* for IE */ 275 background:-webkit-gradient(linear, left top, left bottom, from(#563404), to(#663e05)); /* for webkit browsers */ 276 background:-moz-linear-gradient(top, #563404, #663e05); /* for firefox 3.6+ */ 277 font-size: 1.2em; 278 } 279 ul.topnav li { 280 float: left; 281 margin: 0; 282 padding: 0 15px 0 0; 283 position: relative; /*--Declare X and Y axis base--*/ 284 } 285 ul.topnav li a{ 286 padding: 6px 10px 10px 20px; 287 color: #fff; 288 display: block; 289 text-decoration: none; 290 float: left; 291 292 } 293 ul.topnav li a:hover{ 294 background: transparent; 295 color:#ffcd0b; 296 } 297 ul.topnav li span { /*--Drop down trigger styles--*/ 298 width: 17px; 299 height: 35px; 300 float: left; 301 } 302 ul.topnav li span.subhover {background-position: center bottom; cursor: pointer;} /*--Hover effect for trigger--*/ 303 ul.topnav li ul.subnav { 304 list-style: none; 305 position: absolute; /*--Important - Keeps subnav from affecting main navigation flow--*/ 306 left: 20px; top: 35px; 307 margin: 0; padding: 0; 308 display: none; 309 float: left; 310 width: 170px; 311 -moz-border-radius-bottomleft: 5px; 312 -moz-border-radius-bottomright: 5px; 313 -webkit-border-bottom-left-radius: 5px; 314 -webkit-border-bottom-right-radius: 5px; 315 border: 1px solid #663e05; 316 z-index:1000000; 317 318 319 } 320 ul.topnav li ul.subnav li{ 321 margin: 0; padding: 0; 322 323 clear: both; 324 width: 125px; 325 } 326 html ul.topnav li ul.subnav li a { 327 font-size:.8em; 328 float: left; 329 width: 155px; 330 background: #663e05; 331 padding:3px 5px 3px 10px ; 332 333 } 334 html ul.topnav li ul.subnav li a:hover { /*--Hover effect for subnav links--*/ 335 336 }
Note: See TracChangeset
for help on using the changeset viewer.