Difference between revisions of "Template:UNC-Chapel Hill"
Line 31: | Line 31: | ||
− | drop_menu { | + | drop_menu { |
− | + | background:#005555; | |
− | + | padding:4px; | |
− | + | margin:0; | |
− | + | list-style-type:none; | |
− | + | height:30px; | |
− | } | + | } |
− | + | ||
− | + | ||
Line 119: | Line 117: | ||
vertical-align: text-top; | vertical-align: text-top; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
/*CLASSES */ | /*CLASSES */ | ||
Line 201: | Line 138: | ||
} | } | ||
− | + | .header { | |
− | + | height: 100px; | |
− | + | background: #F0F0F0; | |
− | + | border: 1px solid #CCC; | |
− | + | position: fixed; | |
− | + | top: 0px; | |
− | + | width: 100%; | |
− | + | } | |
− | .drop_menu li { float:left; | + | .drop_menu li { float:left; } |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | } | + | |
− | /* Submenu */ | + | .drop_menu li a { |
− | .drop_menu ul { | + | padding:9px 20px; |
− | + | display:block; | |
− | + | color:#005555; | |
− | + | text-decoration:none; | |
− | + | font:12px arial, verdana, sans-serif; | |
− | } | + | } |
− | .drop_menu li:hover { position:relative; background:#5FD367; } | + | |
− | .drop_menu li:hover ul { | + | /* 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; } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | .drop_menu li:hover ul li a:hover { background:#005555; } | + | |
</style> | </style> |
Revision as of 15:45, 7 June 2015