Team:Oxford
From 2014.igem.org
(Difference between revisions)
Line 192: | Line 192: | ||
top: 35px; | top: 35px; | ||
} | } | ||
+ | #main_navigation { | ||
+ | width: 100%; | ||
+ | background: rgba(0,0,0,0.8); | ||
+ | margin-bottom: 0px; | ||
+ | min-width:600px; | ||
+ | } | ||
+ | |||
+ | #main_navigation ul { | ||
+ | } | ||
+ | |||
+ | |||
+ | #main_navigation > div > ul > li { | ||
+ | display: inline-block; | ||
+ | margin: 0; | ||
+ | margin-left:30px; | ||
+ | |||
+ | padding: 0; | ||
+ | } | ||
+ | |||
+ | #main_navigation > div > ul > li > a { | ||
+ | display: block; | ||
+ | width: 100%; | ||
+ | height: 30px;; | ||
+ | margin-top: 10px; | ||
+ | color: #fff; | ||
+ | text-decoration: none; | ||
+ | text-transform: uppercase; | ||
+ | } | ||
+ | |||
+ | #main_navigation a { | ||
+ | display: block; | ||
+ | color: #fff; | ||
+ | text-decoration: none; | ||
+ | text-transform: uppercase; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | #main_content { | ||
+ | padding: 30px 0 30px 0; | ||
+ | } | ||
+ | |||
+ | .hasdropdown { | ||
+ | position: relative; | ||
+ | } | ||
+ | |||
+ | .dropdown { | ||
+ | position: absolute; | ||
+ | display: none; | ||
+ | background: #012148; | ||
+ | color: #fff; | ||
+ | width: 200px; | ||
+ | left: -10px; | ||
+ | color: #fff; | ||
+ | text-decoration: none; | ||
+ | text-transform: uppercase; | ||
+ | z-index: 10; | ||
+ | font-size:12px; | ||
+ | } | ||
+ | |||
+ | .dropdown li { | ||
+ | padding:10px; | ||
+ | } | ||
+ | |||
+ | .dropdown li:hover { | ||
+ | background:#001d3f; | ||
+ | } | ||
+ | |||
+ | .dropdown li:last-child { | ||
+ | margin-bottom: 0; | ||
+ | } | ||
+ | |||
</style> | </style> | ||
</head> | </head> |
Revision as of 00:12, 5 August 2014