1/* CSS for UI elements (a.k.a. chrome) */
3@import 'variables.css';
8::-webkit-scrollbar-thumb {
9 background: var(--scrollbar);
12 scrollbar-color: var(--scrollbar) var(--bg);
21 text-decoration: underline;
27#menu-bar-hover-placeholder {
29 margin: auto calc(0px - var(--page-padding));
35 background-color: var(--bg);
36 border-bottom-color: var(--bg);
37 border-bottom-width: 1px;
38 border-bottom-style: solid;
41.js #menu-bar-hover-placeholder:hover + #menu-bar,
43.js.sidebar-visible #menu-bar {
44 position: -webkit-sticky;
48#menu-bar-hover-placeholder {
50 position: -webkit-sticky;
52 height: var(--menu-bar-height);
55 border-bottom-color: var(--table-border-color);
57#menu-bar i, #menu-bar .icon-button {
61 line-height: var(--menu-bar-height);
63 transition: color 0.5s;
65@media only screen and (max-width: 420px) {
66 #menu-bar i, #menu-bar .icon-button {
85 text-decoration: none;
97 display: inline-block;
100 line-height: var(--menu-bar-height);
106 text-overflow: ellipsis;
115.nav-chapters:visited,
117.mobile-nav-chapters:visited,
118.menu-bar .icon-button,
124.menu-bar .icon-button:hover,
126.mobile-nav-chapters i:hover {
127 color: var(--icons-hover);
135 text-decoration: none;
145 justify-content: center;
146 align-content: center;
147 flex-direction: column;
149 transition: color 0.5s, background-color 0.5s;
153 text-decoration: none;
154 background-color: var(--theme-hover);
155 transition: background-color 0.15s, color 0.15s;
163.mobile-nav-chapters {
166 text-decoration: none;
169 background-color: var(--sidebar-bg);
178 right: var(--page-padding);
181@media only screen and (max-width: 1080px) {
182 .nav-wide-wrapper { display: none; }
183 .nav-wrapper { display: block; }
186@media only screen and (max-width: 1380px) {
187 .sidebar-visible .nav-wide-wrapper { display: none; }
188 .sidebar-visible .nav-wrapper { display: block; }
195 padding: 0.1em 0.3em;
199:not(pre):not(a):not(td):not(p) > .hljs {
200 color: var(--inline-code-color);
205 text-decoration: underline;
217 color: var(--sidebar-fg);
220pre > .buttons :hover {
221 color: var(--sidebar-active);
226pre > .buttons button {
228 background: transparent;
239 text-decoration: none;
244 padding: 0 3px 1px 3px;
245 margin: 0 -3px -1px -3px;
246 background-color: var(--search-mark-bg);
247 transition: background-color 300ms linear;
252 background-color: rgba(0,0,0,0) !important;
259 max-width: var(--content-max-width);
264 margin: 5px auto 0px auto;
266 transition: box-shadow 300ms ease-in-out;
267 border: 1px solid var(--searchbar-border-color);
269 background-color: var(--searchbar-bg);
270 color: var(--searchbar-fg);
274 box-shadow: 0 0 3px var(--searchbar-shadow-color);
277.searchresults-header {
280 padding: 18px 0 0 5px;
281 color: var(--searchresults-header-fg);
284.searchresults-outer {
287 max-width: var(--content-max-width);
288 border-bottom: 1px dashed var(--searchresults-border-color);
300ul#searchresults li.focus {
301 background-color: var(--searchresults-li-bg);
303ul#searchresults span.teaser {
306 margin: 5px 0 0 20px;
309ul#searchresults span.teaser em {
321 width: var(--sidebar-width);
323 box-sizing: border-box;
324 -webkit-overflow-scrolling: touch;
325 overscroll-behavior-y: contain;
326 background-color: var(--sidebar-bg);
327 color: var(--sidebar-fg);
330 -moz-user-select: none;
331 -webkit-user-select: none;
332 -ms-user-select: none;
335.js:not(.sidebar-resizing) .sidebar {
336 transition: transform 0.3s; /* Animation: slide away */
341.sidebar .sidebar-scrollbox {
349.sidebar .sidebar-resize-handle {
357.js .sidebar .sidebar-resize-handle {
361.sidebar-hidden .sidebar {
362 transform: translateX(calc(0px - var(--sidebar-width)));
364.sidebar::-webkit-scrollbar {
365 background: var(--sidebar-bg);
367.sidebar::-webkit-scrollbar-thumb {
368 background: var(--scrollbar);
371.sidebar-visible .page-wrapper {
372 transform: translateX(var(--sidebar-width));
374@media only screen and (min-width: 620px) {
375 .sidebar-visible .page-wrapper {
377 margin-left: var(--sidebar-width);
382 list-style: none outside none;
393 color: var(--sidebar-non-existent);
397 text-decoration: none;
398 color: var(--sidebar-fg);
402 color: var(--sidebar-active);
405.chapter li a.active {
406 color: var(--sidebar-active);
409.chapter li > a.toggle {
418.chapter li > a.toggle div {
419 transition: transform 0.5s;
422/* collapse the section */
423.chapter li:not(.expanded) + li > ol {
427.chapter li.chapter-item {
428 padding: 1rem 1.5rem;
431.chapter .section li.chapter-item {
432 padding: .5rem .5rem 0 .5rem;
435.chapter li.expanded > a.toggle div {
436 transform: rotate(90deg);
445 background-color: var(--sidebar-spacer);
448@media (-moz-touch-enabled: 1), (pointer: coarse) {
449 .chapter li a { padding: 5px 0; }
450 .spacer { margin: 10px 0; }
454 list-style: none outside none;
459/* Theme Menu Popup */
464 top: var(--menu-bar-height);
469 background: var(--theme-popup-bg);
470 border: 1px solid var(--theme-popup-border);
476.theme-popup .default {
492.theme-popup .theme:hover {
493 background-color: var(--theme-hover);
495.theme-popup .theme:hover:first-child,
496.theme-popup .theme:hover:last-child {
497 border-top-left-radius: inherit;
498 border-top-right-radius: inherit;
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list