Zisang Yang (Talk | contribs) |
Zisang Yang (Talk | contribs) |
||
Line 5: | Line 5: | ||
#sideMenu, | #sideMenu, | ||
#top_title { | #top_title { | ||
− | + | display: none; | |
} | } | ||
#content { | #content { | ||
− | + | padding: 0px; | |
− | + | width: 100%; | |
} | } | ||
body { | body { | ||
− | + | background-color: #f9e3e6; | |
− | + | width: 100%; | |
+ | margin: 0px; | ||
} | } | ||
Line 23: | Line 24: | ||
#bodyContent h4, | #bodyContent h4, | ||
#bodyContent h5 { | #bodyContent h5 { | ||
− | + | margin-bottom: 0px; | |
} | } | ||
#bodyContent { | #bodyContent { | ||
− | + | padding-right: 0px; | |
} | } | ||
#globalWrapper { | #globalWrapper { | ||
− | + | font-size: 100%; | |
− | + | padding: 0px; | |
− | + | margin: -10px -20px -20px -20px; | |
} | } | ||
.navbar-collapse { | .navbar-collapse { | ||
− | + | padding-left: 0px; | |
} | } | ||
#banner { | #banner { | ||
− | + | margin-top: 50px; | |
} | } | ||
#sideMenu { | #sideMenu { | ||
− | + | margin-top: 10px; | |
} | } | ||
.dropdown-menu li:hover .sub-menu { | .dropdown-menu li:hover .sub-menu { | ||
− | + | visibility: visible; | |
} | } | ||
.dropdown:hover .dropdown-menu { | .dropdown:hover .dropdown-menu { | ||
− | + | display: block; | |
} | } | ||
.navbar-nav .dropdown-menu, | .navbar-nav .dropdown-menu, | ||
.navbar .dropdown-menu { | .navbar .dropdown-menu { | ||
− | + | margin-top: 0; | |
} | } | ||
Line 65: | Line 66: | ||
− | + | ||
− | + | body { | |
− | + | ||
background-color: #f9e3e6; | background-color: #f9e3e6; | ||
+ | width: 100%; | ||
+ | margin: 0px; | ||
} | } | ||
− | + | #navigation { | |
− | + | margin: 0; | |
− | + | padding: 0; | |
− | + | background: #EEA2AD; | |
− | + | height: 3em; | |
− | + | list-style: none; | |
− | + | ||
− | + | ||
} | } | ||
− | + | #navigation > li { | |
− | float: left; | + | float: left; |
− | + | height: 100%; | |
+ | margin-right: 0.5em; | ||
+ | padding: 0 1em; | ||
} | } | ||
− | + | #navigation > li > a { | |
− | + | float: left; | |
− | + | height: 100%; | |
− | + | color: white ; | |
− | color: white; | + | text-decoration: none; |
− | + | line-height: 3; | |
− | + | font-weight: bold; | |
− | font- | + | text-transform: uppercase; |
− | + | ||
} | } | ||
− | + | #navigation > li > a:hover { | |
− | + | color: #e26174; | |
+ | text-decoration: underline; | ||
} | } | ||
− | . | + | #navigation > li.sub { |
− | + | position: relative; | |
− | position: | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | . | + | #navigation > li.sub ul { |
− | + | width: 10em; | |
− | + | margin: 0; | |
− | + | padding: 0.5em 0; | |
+ | list-style: none; | ||
+ | background: pink; | ||
+ | position: absolute; | ||
+ | top: -1000em; | ||
} | } | ||
+ | #navigation > li.sub ul li { | ||
+ | width: 90%; | ||
+ | margin: 0 auto 0.3em auto; | ||
+ | } | ||
− | . | + | #navigation > li.sub ul li a { |
− | + | height: 100%; | |
− | + | display: block; | |
+ | padding: 0.4em; | ||
+ | color: #fff; | ||
+ | font-weight: bold; | ||
+ | text-decoration: none; | ||
} | } | ||
− | . | + | #navigation > li.sub ul li a:hover { |
− | + | background: #a67179; | |
+ | text-decoration: underline; | ||
} | } | ||
− | + | #navigation > li.sub:hover ul { | |
+ | top: 3em; | ||
+ | } | ||
</style> | </style> | ||
</html> | </html> |
Revision as of 06:03, 17 October 2018