Team:ATOMS-Turkiye/Templates/Style
From 2013.igem.org
(Difference between revisions)
Line 97: | Line 97: | ||
} | } | ||
- | #menu { | + | #menu a { |
- | + | display: block; | |
- | + | width: 100%; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
#menu li a { | #menu li a { | ||
Line 118: | Line 109: | ||
padding: 0px; | padding: 0px; | ||
text-decoration: none; | text-decoration: none; | ||
+ | top: -14px; | ||
} | } | ||
#menu li a:hover{ | #menu li a:hover{ | ||
Line 123: | Line 115: | ||
} | } | ||
#menu, #menu ul { | #menu, #menu ul { | ||
- | + | background: #9abf2e; | |
- | + | list-style-type:none; | |
- | + | padding: 0; | |
+ | margin: 0; | ||
+ | list-style: none; | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
#menu li { | #menu li { | ||
- | + | display:inline; | |
- | + | float: left; | |
+ | width: 12.5%; | ||
} | } | ||
#menu li ul { | #menu li ul { | ||
- | + | position: absolute; | |
- | + | width: 10em; | |
} | } | ||
#menu li ul li{ | #menu li ul li{ | ||
- | + | width: 100%; | |
} | } | ||
</style> | </style> | ||
</html> | </html> |
Revision as of 16:08, 30 September 2013