Difference between revisions of "Template:SJTU-BioX-Shanghai/Navigator1"
Line 69: | Line 69: | ||
background-color: white; | background-color: white; | ||
+ | } | ||
+ | |||
+ | #nav nav { | ||
+ | margin-left: 1em; | ||
} | } | ||
Line 85: | Line 89: | ||
top: 50%; | top: 50%; | ||
fill: white; | fill: white; | ||
+ | } | ||
+ | |||
+ | #nav nav ul { | ||
+ | position: relative; | ||
+ | margin: 0px; | ||
+ | padding: 0px; | ||
+ | list-style: none; | ||
+ | font-size: 0.8em; | ||
+ | } | ||
+ | #nav ul ul { | ||
+ | margin: 0px; | ||
+ | position: absolute; | ||
+ | left: 15em; | ||
+ | top: 0px; | ||
+ | transition: opacity 0.3s ease-out 0.2s, width 0s linear 0.5s; | ||
+ | opacity: 0; | ||
+ | width: 0em; | ||
+ | overflow: hidden; | ||
+ | } | ||
+ | #nav nav ul:hover ul { | ||
+ | opacity: 1; | ||
+ | width: 15em; | ||
+ | } | ||
+ | |||
+ | #nav nav a { | ||
+ | color: #8AA28E; | ||
+ | font-weight: 500; | ||
+ | text-transform: uppercase; | ||
+ | text-decoration: none; | ||
+ | display: block; | ||
+ | box-sizing: border-box; | ||
+ | height: 2em; | ||
} | } | ||
Revision as of 07:01, 17 September 2015