9098:fb9351497cea | 9099:0e511e0e94a3 |
---|---|
154 text-decoration: underline; | 154 text-decoration: underline; |
155 color: inherit; | 155 color: inherit; |
156 } | 156 } |
157 } | 157 } |
158 | 158 |
159 .hidden { | |
160 display: none; | |
161 } | |
162 | |
159 // Page structure | 163 // Page structure |
160 header { | 164 header { |
161 background: $light-gray1; | 165 background: $light-gray1; |
162 @include background-dark(black); | 166 @include background-dark(black); |
163 width: 100%; | 167 width: 100%; |
172 h2 { | 176 h2 { |
173 margin-top: .5em; | 177 margin-top: .5em; |
174 font-size: 1em; | 178 font-size: 1em; |
175 } | 179 } |
176 | 180 |
181 p.text { | |
182 margin: .5em 0 -.5em; | |
183 color: $light-gray5; | |
184 @include color-dark($dark-gray5); | |
185 font-style: italic; | |
186 } | |
187 | |
177 &.sticky { | 188 &.sticky { |
178 position: fixed; | 189 position: fixed; |
179 left: 0; | 190 left: 0; |
180 right: 0; | 191 right: 0; |
181 height: 2.5em; | 192 height: 2.5em; |
206 main { | 217 main { |
207 position: relative; | 218 position: relative; |
208 z-index: 1; | 219 z-index: 1; |
209 } | 220 } |
210 | 221 |
211 .indexfile footer { | 222 footer { |
212 margin: 1rem $left-gutter; | 223 margin: 1rem $left-gutter; |
213 } | 224 |
214 | 225 .content { |
215 .pyfile footer { | 226 padding: 0; |
216 margin: 1rem 1rem; | 227 color: $light-gray5; |
217 } | 228 @include color-dark($dark-gray5); |
218 | 229 font-style: italic; |
219 footer .content { | 230 } |
220 padding: 0; | |
221 color: $light-gray5; | |
222 @include color-dark($dark-gray5); | |
223 font-style: italic; | |
224 } | 231 } |
225 | 232 |
226 #index { | 233 #index { |
227 margin: 1rem 0 0 $left-gutter; | 234 margin: 1rem 0 0 $left-gutter; |
228 } | 235 } |
349 top: 25px; | 356 top: 25px; |
350 right: 0; | 357 right: 0; |
351 padding: .75em; | 358 padding: .75em; |
352 border: 1px solid #883; | 359 border: 1px solid #883; |
353 | 360 |
361 color: #333; | |
362 | |
363 .keyhelp p { | |
364 margin-top: .75em; | |
365 } | |
366 | |
354 .legend { | 367 .legend { |
355 font-style: italic; | 368 font-style: italic; |
356 margin-bottom: 1em; | 369 margin-bottom: 1em; |
357 } | 370 } |
358 | 371 |
359 .indexfile & { | 372 .indexfile & { |
360 width: 25em; | 373 width: 25em; |
361 //min-height: 4em; | |
362 } | 374 } |
363 | 375 |
364 .pyfile & { | 376 .pyfile & { |
365 width: 18em; | 377 width: 18em; |
366 //min-height: 8em; | |
367 } | 378 } |
368 | 379 |
369 #help_panel_state:checked ~ & { | 380 #help_panel_state:checked ~ & { |
370 display: block; | 381 display: block; |
371 } | 382 } |
372 } | |
373 | |
374 .keyhelp { | |
375 margin-top: .75em; | |
376 } | 383 } |
377 | 384 |
378 kbd { | 385 kbd { |
379 border: 1px solid black; | 386 border: 1px solid black; |
380 border-color: #888 #333 #333 #888; | 387 border-color: #888 #333 #333 #888; |