|
| 1 | +html { |
| 2 | + margin: 0; |
| 3 | + padding: 0px; |
| 4 | + font-family: "Open Sans", sans-serif; |
| 5 | + font-size: 1rem; |
| 6 | + color: #333; |
| 7 | +} |
| 8 | +code { |
| 9 | + font-family: "Source Code Pro", Consolas, "Ubuntu Mono", Menlo, "DejaVu Sans Mono", monospace; |
| 10 | + font-size: 0.875em; |
| 11 | +} |
| 12 | +.hidden { |
| 13 | + display: none; |
| 14 | +} |
| 15 | +.sidebar { |
| 16 | + width: 300px; |
| 17 | + top: 0; |
| 18 | + bottom: 0; |
| 19 | + position: fixed; |
| 20 | + background-color: #292c2f; |
| 21 | + color: #a1adb8; |
| 22 | + padding: 10px 10px; |
| 23 | + font-size: 0.875em; |
| 24 | + -webkit-overflow-scrolling: touch; |
| 25 | + overscroll-behavior-y: contain; |
| 26 | + -webkit-box-sizing: border-box; |
| 27 | + -moz-box-sizing: border-box; |
| 28 | + box-sizing: border-box; |
| 29 | +} |
| 30 | +.sidebar .chapter li a:hover { |
| 31 | + text-decoration: none; |
| 32 | +} |
| 33 | +.sidebar .chapter { |
| 34 | + list-style: none outside none; |
| 35 | + line-height: 2.2em; |
| 36 | +} |
| 37 | +.sidebar .section li { |
| 38 | + -o-text-overflow: ellipsis; |
| 39 | + text-overflow: ellipsis; |
| 40 | + overflow: hidden; |
| 41 | + white-space: nowrap; |
| 42 | +} |
| 43 | +.sidebar .chapter li a { |
| 44 | + padding: 0; |
| 45 | + text-decoration: none; |
| 46 | + display: block; |
| 47 | +} |
| 48 | +.content { |
| 49 | + overflow-y: auto; |
| 50 | + padding: 0 15px; |
| 51 | + padding-bottom: 50px; |
| 52 | +} |
| 53 | +.content a { |
| 54 | + text-decoration: none; |
| 55 | +} |
| 56 | +.content a.header:target h1::before, |
| 57 | +.content a.header:target h2::before, |
| 58 | +.content a.header:target h3::before, |
| 59 | +.content a.header:target h4::before { |
| 60 | + display: inline-block; |
| 61 | + content: "»"; |
| 62 | + width: 30px; |
| 63 | +} |
| 64 | +.content main { |
| 65 | + margin-left: auto; |
| 66 | + margin-right: auto; |
| 67 | + max-width: 750px; |
| 68 | +} |
| 69 | +.search { |
| 70 | + margin-left: auto; |
| 71 | + margin-right: auto; |
| 72 | + max-width: 750px; |
| 73 | +} |
| 74 | +.search input { |
| 75 | + width: 100%; |
| 76 | + margin: 5px auto 0px auto; |
| 77 | + padding: 10px 16px; |
| 78 | + border-radius: 3px; |
| 79 | + -webkit-transition: box-shadow 300ms ease-in-out; |
| 80 | + -moz-transition: box-shadow 300ms ease-in-out; |
| 81 | + -o-transition: box-shadow 300ms ease-in-out; |
| 82 | + -ms-transition: box-shadow 300ms ease-in-out; |
| 83 | + transition: box-shadow 300ms ease-in-out; |
| 84 | +} |
| 85 | +.search-results { |
| 86 | + margin-left: auto; |
| 87 | + margin-right: auto; |
| 88 | + max-width: 750px; |
| 89 | +} |
| 90 | +.search-results-header { |
| 91 | + font-weight: bold; |
| 92 | + font-size: 1em; |
| 93 | + padding: 18px 0 0 5px; |
| 94 | +} |
| 95 | +.search-outer { |
| 96 | + margin-left: auto; |
| 97 | + margin-right: auto; |
| 98 | + max-width: 750px; |
| 99 | +} |
| 100 | +ul.search-results-items { |
| 101 | + list-style: none; |
| 102 | + padding-left: 20px; |
| 103 | +} |
| 104 | +.menu-bar { |
| 105 | + position: -webkit-sticky; |
| 106 | + position: sticky; |
| 107 | + top: 0; |
| 108 | + z-index: 101; |
| 109 | +} |
| 110 | +.menu-bar > .menu-bar-sticky-container { |
| 111 | + display: -webkit-box; |
| 112 | + display: -moz-box; |
| 113 | + display: -webkit-flex; |
| 114 | + display: -ms-flexbox; |
| 115 | + display: box; |
| 116 | + display: flex; |
| 117 | + -webkit-box-lines: multiple; |
| 118 | + -moz-box-lines: multiple; |
| 119 | + -o-box-lines: multiple; |
| 120 | + -webkit-flex-wrap: wrap; |
| 121 | + -ms-flex-wrap: wrap; |
| 122 | + flex-wrap: wrap; |
| 123 | +} |
| 124 | +.menu-title { |
| 125 | + display: inline-block; |
| 126 | + font-weight: 200; |
| 127 | + font-size: 20px; |
| 128 | + line-height: 50px; |
| 129 | + text-align: center; |
| 130 | + margin: 0; |
| 131 | + -webkit-box-flex: 1; |
| 132 | + -moz-box-flex: 1; |
| 133 | + -o-box-flex: 1; |
| 134 | + box-flex: 1; |
| 135 | + -webkit-flex: 1; |
| 136 | + -ms-flex: 1; |
| 137 | + flex: 1; |
| 138 | + white-space: nowrap; |
| 139 | + overflow: hidden; |
| 140 | + -o-text-overflow: ellipsis; |
| 141 | + text-overflow: ellipsis; |
| 142 | +} |
| 143 | +.menu-bar i, .menu-bar .icon-button { |
| 144 | + position: relative; |
| 145 | + margin: 0 10px; |
| 146 | + z-index: 10; |
| 147 | + line-height: 50px; |
| 148 | + cursor: pointer; |
| 149 | + -webkit-transition: color 0.5s; |
| 150 | + -moz-transition: color 0.5s; |
| 151 | + -o-transition: color 0.5s; |
| 152 | + -ms-transition: color 0.5s; |
| 153 | + transition: color 0.5s; |
| 154 | + background: transparent; |
| 155 | + border: 0px; |
| 156 | +} |
| 157 | +.mobile-nav-chapters { |
| 158 | + font-size: 2.5em; |
| 159 | + text-align: center; |
| 160 | + text-decoration: none; |
| 161 | + width: 90px; |
| 162 | + border-radius: 5px; |
| 163 | +} |
| 164 | +.nav-wrapper { |
| 165 | + margin-top: 50px; |
| 166 | + /*display: none;*/ |
| 167 | +} |
0 commit comments