Carry zhang (Talk | contribs) |
Carry zhang (Talk | contribs) |
||
Line 2: | Line 2: | ||
<html> | <html> | ||
<style> | <style> | ||
− | h1,h2{padding-top: 20px;line-height:1.1;} | + | h1,h2{padding-top: 20px; margin: 10px 0;line-height:1.1;} |
h4{padding-top: .5em;padding-bottom: .17em} | h4{padding-top: .5em;padding-bottom: .17em} | ||
.nav-pills>li{width: 100%} | .nav-pills>li{width: 100%} | ||
ul#navwrap{ | ul#navwrap{ | ||
width: 250px; | width: 250px; | ||
+ | /*border-right-style:solid; | ||
+ | border-image: linear-gradient(to top,#ffc8bd,#d9534f)5; | ||
+ | border-width:6px;*/ | ||
} | } | ||
ul#navwrap li a{ | ul#navwrap li a{ | ||
− | + | font-size: 18px; | |
+ | font-weight: bold; | ||
} | } | ||
− | .nav-pills li | + | .nav-pills>li>a{ |
− | + | color: #4d5251; | |
− | background-color: | + | } |
+ | .nav>li>a:focus, .nav>li>a:hover{ | ||
+ | background-color: transparent; | ||
} | } | ||
.nav-pills li a:focus,.nav-pills li a:hover{ | .nav-pills li a:focus,.nav-pills li a:hover{ | ||
+ | color: #d9534f; | ||
+ | } | ||
+ | .nav-pills li.active a,.affix-top li:first-child a, .nav-pills li.active a:focus, .nav-pills li.active a:hover{ | ||
color: #fff; | color: #fff; | ||
− | + | background-color: #d9534f ; | |
} | } | ||
.affix{ | .affix{ | ||
Line 24: | Line 33: | ||
} | } | ||
</style> | </style> | ||
+ | |||
<script> | <script> | ||
$(document).ready(function() { | $(document).ready(function() { |
Revision as of 13:51, 10 October 2017