Template:CSS/Delft2014 main
From 2014.igem.org
(Difference between revisions)
Dschmieden (Talk | contribs) |
Dschmieden (Talk | contribs) |
||
Line 284: | Line 284: | ||
} | } | ||
- | #nav li.sub-menu { | + | #nav li.sub-menu a { |
display: block; | display: block; | ||
width: 260px; | width: 260px; | ||
Line 294: | Line 294: | ||
margin-left: 1px; | margin-left: 1px; | ||
border-left: 8px solid #dcffdc; | border-left: 8px solid #dcffdc; | ||
- | border-right: 8px solid #dcffdc; | + | border-right: 8px solid #dcffdc; |
+ | color: #383838; | ||
} | } | ||
- | #nav li.sub-menu:last-child { | + | #nav li.sub-menu:last-child a { |
border-bottom: 8px solid #dcffdc; | border-bottom: 8px solid #dcffdc; | ||
} | } | ||
- | #nav li.sub-menu | + | #nav li.sub-menu .link { |
font-weight: bold; | font-weight: bold; | ||
- | + | font-size: 16px; | |
} | } | ||
Line 310: | Line 311: | ||
} | } | ||
- | #nav li.sub-menu:hover { | + | #nav li.sub-menu a:hover { |
cursor: pointer; | cursor: pointer; | ||
background-color: #dcffdc; | background-color: #dcffdc; | ||
border-left: 8px solid #54beaa; | border-left: 8px solid #54beaa; | ||
border-right: 8px solid #54beaa; | border-right: 8px solid #54beaa; | ||
+ | text-decoration: none; | ||
} | } | ||
- | #nav li.sub-menu:last-child:hover { | + | #nav li.sub-menu:last-child a:hover { |
border-bottom: 8px solid #54beaa; | border-bottom: 8px solid #54beaa; | ||
} | } | ||
- | #nav li.sub-menu:hover | + | #nav li.sub-menu a:hover .link { |
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
- | #nav li.sub-menu | + | #nav li.sub-menu a:hover .desc { |
- | + | text-decoration: none; | |
} | } | ||
</style> | </style> | ||
</html> | </html> |
Revision as of 10:05, 16 October 2014