Difference between revisions of "Template:UNC-Chapel Hill"
Line 30: | Line 30: | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
drop_menu { | drop_menu { | ||
Line 47: | Line 39: | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Line 248: | Line 209: | ||
width: 100%; | width: 100%; | ||
} | } | ||
+ | |||
+ | .drop_menu li { float:left; } | ||
+ | .drop_menu li a { | ||
+ | padding:9px 20px; | ||
+ | display:block; | ||
+ | color:#005555; | ||
+ | text-decoration:none; | ||
+ | font:12px arial, verdana, sans-serif; | ||
+ | } | ||
+ | |||
+ | /* Submenu */ | ||
+ | .drop_menu ul { | ||
+ | position:absolute; | ||
+ | left:-9999px; | ||
+ | top:-9999px; | ||
+ | list-style-type:none; | ||
+ | } | ||
+ | .drop_menu li:hover { position:relative; background:#5FD367; } | ||
+ | .drop_menu li:hover ul { | ||
+ | left:0px; | ||
+ | top:30px; | ||
+ | background:#5FD367; | ||
+ | padding:0px; | ||
+ | } | ||
+ | |||
+ | .drop_menu li:hover ul li a { | ||
+ | padding:5px; | ||
+ | display:block; | ||
+ | width:168px; | ||
+ | text-indent:15px; | ||
+ | background-color:#5FD367; | ||
+ | } | ||
+ | .drop_menu li:hover ul li a:hover { background:#005555; } | ||
</style> | </style> |
Revision as of 15:38, 7 June 2015