1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- header {
- position: relative;
- padding: 0 20px;
- font-size: 30px;
- line-height: 60px;
- color: #fff;
- background: #2fc9da;
- }
- .link-github {
- position: absolute;
- top: 15px;
- right: 20px;
- padding: 5px 15px;
- font-size: 14px;
- line-height: 20px;
- color: #333;
- background: #fff;
- border-radius: 15px;
- }
- .link-github svg {
- margin-right: 5px;
- vertical-align: middle;
- }
- .link-github:hover,
- .link-github:active {
- background: #eee;
- }
- #item-container {
- position: fixed;
- top: 60px;
- left: 0;
- right: 0;
- width: 100%;
- bottom: 0;
- overflow: auto;
- background: #f7f7f7;
- }
- #item-container li {
- padding: 10px 20px;
- border-bottom: 1px solid #ccc;
- }
- #item-container li:last-child {
- border-bottom: none;
- }
- .index-sidebar-container {
- position: fixed;
- top: 70px;
- right: 0;
- overflow: visible;
- -webkit-user-select: none;
- user-select: none;
- cursor: default;
- z-index: 999;
- }
- .index-sidebar-container ul {
- padding: 0 5px;
- list-style: none;
- font-size: 13px;
- line-height: 1.5;
- color: #999;
- }
- .index-sidebar-container li {
- text-align: center;
- }
- .index-sidebar-container .current-char {
- display: none;
- position: fixed;
- top: 0;
- left: 0;
- margin-left: -80px;
- margin-top: -20px;
- height: 40px;
- width: 40px;
- line-height: 40px;
- font-size: 32px;
- text-align: center;
- color: #999;
- }
|