Team:Freiburg/css/styles.css
From 2014.igem.org
(Difference between revisions)
Line 301: | Line 301: | ||
+ | /*horizontal navigation bar*/ | ||
#nav { | #nav { | ||
background-color: #222; | background-color: #222; | ||
Line 369: | Line 370: | ||
} | } | ||
+ | /*vertical navigation bar*/ | ||
+ | #sidenav { | ||
+ | float: left; | ||
+ | margin-left: 20px; | ||
+ | padding: 5px; | ||
+ | color: #D6D6C2; | ||
+ | font-size: 18px; | ||
+ | font-family: Times, "Adobe Caslon Pro", "Hoefler Text", Georgia, Garamond, serif; | ||
+ | letter-spacing:0.1em; | ||
+ | text-align:center; | ||
+ | margin: 0; | ||
+ | text-transform: lowercase; | ||
+ | line-height: 145%; | ||
+ | font-variant: small-caps; | ||
+ | } | ||
+ | |||
+ | #sidenav h1{ | ||
+ | margin-left: -85px; | ||
+ | margin-bottom: 7px; | ||
+ | padding-bottom: 15px; | ||
+ | border-bottom: 2px dotted #007A7A; | ||
+ | text-shadow: 2px 4px 6px rgba(0,0,0,0.2), | ||
+ | 0px -5px 20px rgba(255,255,255,0.3); | ||
+ | } | ||
+ | |||
+ | #sidenav ul { | ||
+ | margin: 0; | ||
+ | padding: 5px; | ||
+ | padding-left: 9px; | ||
+ | padding-top: 0px; | ||
+ | list-style: none; | ||
+ | position: relative; | ||
+ | } | ||
+ | |||
+ | #sidenav ul li { | ||
+ | display: block; | ||
+ | padding: 5px; | ||
+ | padding-right: 25px; | ||
+ | margin: 5 px; | ||
+ | border-bottom: 1px solid gray; | ||
+ | border-left: 4px solid #007A7A; | ||
+ | } | ||
+ | |||
+ | #sidenav ul li:hover { | ||
+ | background-color: #F9F9F6; | ||
+ | } | ||
+ | |||
+ | #sidenav ul li a,visited { | ||
+ | display: block; | ||
+ | padding: 10px; | ||
+ | padding-right: 30px; | ||
+ | margin: 5 px; | ||
+ | text-decoration: none; | ||
+ | color: #D6D6C2; | ||
+ | |||
+ | } | ||
+ | |||
+ | #sidenav ul li a:hover { | ||
+ | display: box; | ||
+ | -webkit-background-clip: text; | ||
+ | -moz-background-clip: text; | ||
+ | background-clip: text; | ||
+ | color: #E68A00; | ||
+ | text-shadow: 2px 8px 6px rgba(0,0,0,0.2), | ||
+ | 0px -5px 35px rgba(255,255,255,0.3); | ||
+ | |||
+ | |||
+ | } | ||
Revision as of 13:07, 2 September 2014