Difference between revisions of "Template:NTU-LIHPAO-Taiwan"
Line 3: | Line 3: | ||
<!-- Declare that you are going to use html code instead of wiki code --> | <!-- Declare that you are going to use html code instead of wiki code --> | ||
<html> | <html> | ||
− | + | ||
− | + | /* Removes "teams" from the menubar */ | |
− | # | + | #menubar > ul > li:last-child { |
− | display:none;} | + | display: none;} |
− | # | + | /* Resizes the menubar to fik the links (default is 400px) */ |
− | + | #menubar { | |
+ | width: auto;} | ||
+ | |||
body { | body { | ||
− | + | margin: 10px 0 0 0; | |
+ | padding: 0;} | ||
#top-section { | #top-section { | ||
− | + | width: 965px; | |
+ | height: 0; | ||
+ | margin: 0 auto; | ||
+ | padding: 0; | ||
+ | border: none;} | ||
#menubar { | #menubar { | ||
− | + | font-size: 1%; | |
+ | top: -14px;} | ||
.left-menu:hover { | .left-menu:hover { | ||
− | + | background-color: transparent;} | |
#menubar li a { | #menubar li a { | ||
− | + | background-color: transparent;} | |
#menubar:hover { | #menubar:hover { | ||
− | + | color: white;} | |
#menubar li a { | #menubar li a { | ||
− | + | color: transparent;} | |
#menubar:hover li a { | #menubar:hover li a { | ||
− | + | color: white;} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</html> | </html> |
Revision as of 17:44, 11 July 2015
/* Removes "teams" from the menubar */ #menubar > ul > li:last-child { display: none;} /* Resizes the menubar to fik the links (default is 400px) */ #menubar { width: auto;} body { margin: 10px 0 0 0; padding: 0;} #top-section { width: 965px; height: 0; margin: 0 auto; padding: 0; border: none;} #menubar { font-size: 1%; top: -14px;} .left-menu:hover { background-color: transparent;} #menubar li a { background-color: transparent;} #menubar:hover { color: white;} #menubar li a { color: transparent;} #menubar:hover li a { color: white;}