2017-10-14 07:09:28 +08:00
|
|
|
html {
|
2015-09-24 21:37:20 +08:00
|
|
|
font-family: "Open Sans", sans-serif;
|
|
|
|
color: #333;
|
|
|
|
}
|
2017-06-05 10:58:51 +08:00
|
|
|
body {
|
|
|
|
margin: 0;
|
2017-09-18 17:18:21 +08:00
|
|
|
font-size: 1rem;
|
2017-12-18 11:53:25 +08:00
|
|
|
overflow-x: hidden;
|
2017-06-05 10:58:51 +08:00
|
|
|
}
|
2017-04-13 22:46:54 +08:00
|
|
|
code {
|
CSS: better fallback stack for monospaced fonts
List of system fonts (R, I, B means roman, italic and bold. Ubuntu probably comes with more fonts, but I couldn't find a list to confirm.):
```txt
Windows
----------
Consolas R RI B BI
Courier R
Courier New R RI B BI
Lucida Console R
Mac
----------
Andale Mono R
Courier R RI B BI
Courier New R RI B BI
Menlo R RI B BI
Monaco R
Ubuntu
----------
Ubuntu Mono R RI B BI
DejaVu Sans Mono R RI B BI
```
```css
font-family: Consolas, "Ubuntu Mono", Menlo, "DejaVu Sans Mono", monospace, monospace;
```
Consolas and Ubuntu are professionally designed fonts ([Lucas de Groot][1] and [Dalton Maag][2]), with true, calligraphic italic, so they go at the top of the stack.
Menlo is [based on DejaVu Sans Mono][3], the only difference being a few tweaked glyphs, so DejaVu serves as a fallback for it.
As for Courier New, other than being unreadably spindly, it's the default monospaced font in all browsers, so there's no need to include it in the stack.
The `monospace, monospace;` declaration is, by now, [a standard hack][4] that overrides some browsers' behaviour of defaulting the `monospace` elements to smaller font size. Without it, any relative font size you apply to them will be calculated from that reduced size (seems to be 13 px in all browsers).
[1]: https://en.wikipedia.org/wiki/Luc(as)_de_Groot
[2]: https://en.wikipedia.org/wiki/Dalton_Maag
[3]: http://www.leancrew.com/all-this/2009/10/the-compleat-menlovera-sans-comparison/
[4]: https://stackoverflow.com/questions/38781089/font-family-monospace-monospace
2017-05-24 12:07:58 +08:00
|
|
|
font-family: "Source Code Pro", Consolas, "Ubuntu Mono", Menlo, "DejaVu Sans Mono", monospace, monospace;
|
2017-04-13 22:46:54 +08:00
|
|
|
font-size: 0.875em;
|
|
|
|
}
|
2015-09-24 21:37:20 +08:00
|
|
|
.left {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
.right {
|
|
|
|
float: right;
|
|
|
|
}
|
2015-12-29 19:26:32 +08:00
|
|
|
.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
2017-08-08 06:05:33 +08:00
|
|
|
.play-button.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
2015-11-10 23:26:39 +08:00
|
|
|
h2,
|
|
|
|
h3 {
|
|
|
|
margin-top: 2.5em;
|
|
|
|
}
|
2015-12-30 22:41:49 +08:00
|
|
|
h4,
|
|
|
|
h5 {
|
|
|
|
margin-top: 2em;
|
|
|
|
}
|
|
|
|
.header + .header h3,
|
|
|
|
.header + .header h4,
|
|
|
|
.header + .header h5 {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
2016-01-03 20:47:59 +08:00
|
|
|
table {
|
|
|
|
margin: 0 auto;
|
2016-02-06 01:09:35 +08:00
|
|
|
border-collapse: collapse;
|
2016-01-03 20:47:59 +08:00
|
|
|
}
|
|
|
|
table td {
|
|
|
|
padding: 3px 20px;
|
2016-02-06 01:09:35 +08:00
|
|
|
border: 1px solid;
|
|
|
|
}
|
|
|
|
table thead td {
|
|
|
|
font-weight: 700;
|
2016-01-03 20:47:59 +08:00
|
|
|
}
|
2018-02-02 20:15:48 +08:00
|
|
|
:not(.footnote-definition) + .footnote-definition,
|
|
|
|
.footnote-definition + :not(.footnote-definition) {
|
|
|
|
margin-top: 2em;
|
|
|
|
}
|
|
|
|
.footnote-definition {
|
|
|
|
font-size: 0.9em;
|
|
|
|
margin: 0.5em 0;
|
|
|
|
}
|
|
|
|
.footnote-definition p {
|
|
|
|
display: inline;
|
|
|
|
}
|
2015-09-24 21:37:20 +08:00
|
|
|
.sidebar {
|
2017-06-05 10:58:51 +08:00
|
|
|
position: fixed;
|
2015-09-24 21:37:20 +08:00
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
width: 300px;
|
|
|
|
overflow-y: auto;
|
|
|
|
padding: 10px 10px;
|
|
|
|
font-size: 0.875em;
|
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
|
|
|
-webkit-overflow-scrolling: touch;
|
2018-01-15 21:26:53 +08:00
|
|
|
-webkit-transition: -webkit-transform 0.5s;
|
|
|
|
-moz-transition: -moz-transform 0.5s;
|
|
|
|
-o-transition: -o-transform 0.5s;
|
|
|
|
-ms-transition: -ms-transform 0.5s;
|
|
|
|
transition: transform 0.5s;
|
2015-09-24 21:37:20 +08:00
|
|
|
}
|
2015-12-30 07:50:22 +08:00
|
|
|
.sidebar code {
|
|
|
|
line-height: 2em;
|
|
|
|
}
|
2015-09-24 22:47:33 +08:00
|
|
|
.sidebar-hidden .sidebar {
|
2018-01-15 21:26:53 +08:00
|
|
|
-webkit-transform: translateX(-300px);
|
|
|
|
-moz-transform: translateX(-300px);
|
|
|
|
-o-transform: translateX(-300px);
|
|
|
|
-ms-transform: translateX(-300px);
|
|
|
|
transform: translateX(-300px);
|
2015-09-24 22:47:33 +08:00
|
|
|
}
|
2015-09-24 21:37:20 +08:00
|
|
|
.chapter {
|
|
|
|
list-style: none outside none;
|
|
|
|
padding-left: 0;
|
2016-09-04 23:04:55 +08:00
|
|
|
line-height: 2.2em;
|
2015-09-24 21:37:20 +08:00
|
|
|
}
|
|
|
|
.chapter li a {
|
2018-01-15 21:26:53 +08:00
|
|
|
display: block;
|
2015-09-24 21:37:20 +08:00
|
|
|
padding: 5px 0;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
.chapter li a:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
.chapter .spacer {
|
|
|
|
width: 100%;
|
|
|
|
height: 3px;
|
|
|
|
margin: 10px 0px;
|
|
|
|
}
|
|
|
|
.section {
|
|
|
|
list-style: none outside none;
|
|
|
|
padding-left: 20px;
|
2016-09-04 23:04:55 +08:00
|
|
|
line-height: 1.9em;
|
2015-09-24 21:37:20 +08:00
|
|
|
}
|
|
|
|
.section li {
|
|
|
|
-o-text-overflow: ellipsis;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
.page-wrapper {
|
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
2017-12-18 11:53:25 +08:00
|
|
|
-webkit-transition: padding-left 0.5s, margin-left 0.5s;
|
|
|
|
-moz-transition: padding-left 0.5s, margin-left 0.5s;
|
|
|
|
-o-transition: padding-left 0.5s, margin-left 0.5s;
|
|
|
|
-ms-transition: padding-left 0.5s, margin-left 0.5s;
|
|
|
|
transition: padding-left 0.5s, margin-left 0.5s;
|
2015-09-24 22:47:33 +08:00
|
|
|
}
|
|
|
|
.sidebar-visible .page-wrapper {
|
2017-06-05 10:58:51 +08:00
|
|
|
padding-left: 300px;
|
2017-12-18 11:53:25 +08:00
|
|
|
}
|
|
|
|
@media only screen and (max-width: 1079px) {
|
|
|
|
.sidebar-visible .page-wrapper {
|
|
|
|
padding-left: 0;
|
|
|
|
margin-left: 300px;
|
|
|
|
}
|
2015-09-24 22:47:33 +08:00
|
|
|
}
|
2015-09-24 21:37:20 +08:00
|
|
|
.page {
|
2017-06-16 03:12:28 +08:00
|
|
|
outline: 0;
|
2017-06-05 10:58:51 +08:00
|
|
|
padding: 0 15px;
|
2015-09-24 21:37:20 +08:00
|
|
|
}
|
|
|
|
.content {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
max-width: 750px;
|
|
|
|
padding-bottom: 50px;
|
|
|
|
}
|
|
|
|
.content a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
.content a:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
.content img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2018-01-19 23:41:50 +08:00
|
|
|
#menu-bar {
|
2018-01-23 21:13:11 +08:00
|
|
|
position: -webkit-sticky;
|
2018-01-19 23:41:50 +08:00
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
z-index: 101;
|
|
|
|
}
|
|
|
|
#menu-bar > #menu-bar-sticky-container {
|
2018-01-15 21:26:53 +08:00
|
|
|
display: -webkit-box;
|
|
|
|
display: -moz-box;
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: box;
|
|
|
|
display: flex;
|
|
|
|
-webkit-box-lines: multiple;
|
|
|
|
-moz-box-lines: multiple;
|
|
|
|
-o-box-lines: multiple;
|
|
|
|
-webkit-flex-wrap: wrap;
|
|
|
|
-ms-flex-wrap: wrap;
|
|
|
|
flex-wrap: wrap;
|
2018-01-19 23:41:50 +08:00
|
|
|
-webkit-transition: -webkit-transform 0.5s, border-bottom-color 0.5s;
|
|
|
|
-moz-transition: -moz-transform 0.5s, border-bottom-color 0.5s;
|
|
|
|
-o-transition: -o-transform 0.5s, border-bottom-color 0.5s;
|
|
|
|
-ms-transition: -ms-transform 0.5s, border-bottom-color 0.5s;
|
|
|
|
transition: transform 0.5s, border-bottom-color 0.5s;
|
|
|
|
}
|
|
|
|
#menu-bar i,
|
|
|
|
#menu-bar .icon-button {
|
2015-09-24 21:37:20 +08:00
|
|
|
position: relative;
|
2017-02-19 18:12:38 +08:00
|
|
|
margin: 0 10px;
|
2015-09-24 21:37:20 +08:00
|
|
|
z-index: 10;
|
|
|
|
line-height: 50px;
|
|
|
|
-webkit-transition: color 0.5s;
|
|
|
|
-moz-transition: color 0.5s;
|
|
|
|
-o-transition: color 0.5s;
|
|
|
|
-ms-transition: color 0.5s;
|
|
|
|
transition: color 0.5s;
|
|
|
|
}
|
2018-01-19 23:41:50 +08:00
|
|
|
#menu-bar i:hover,
|
|
|
|
#menu-bar .icon-button:hover {
|
2015-09-24 21:37:20 +08:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
2018-01-19 23:41:50 +08:00
|
|
|
html:not(.sidebar-visible) #menu-bar:not(:hover).folded > #menu-bar-sticky-container {
|
|
|
|
-webkit-transform: translateY(-60px);
|
|
|
|
-moz-transform: translateY(-60px);
|
|
|
|
-o-transform: translateY(-60px);
|
|
|
|
-ms-transform: translateY(-60px);
|
|
|
|
transform: translateY(-60px);
|
|
|
|
}
|
2015-09-24 21:37:20 +08:00
|
|
|
.menu-title {
|
|
|
|
display: inline-block;
|
|
|
|
font-weight: 200;
|
|
|
|
font-size: 20px;
|
|
|
|
line-height: 50px;
|
|
|
|
text-align: center;
|
|
|
|
margin: 0;
|
2018-01-15 21:26:53 +08:00
|
|
|
-webkit-box-flex: 1;
|
|
|
|
-moz-box-flex: 1;
|
|
|
|
-o-box-flex: 1;
|
|
|
|
box-flex: 1;
|
|
|
|
-webkit-flex: 1;
|
|
|
|
-ms-flex: 1;
|
|
|
|
flex: 1;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
-o-text-overflow: ellipsis;
|
|
|
|
text-overflow: ellipsis;
|
2015-09-24 21:37:20 +08:00
|
|
|
}
|
|
|
|
.nav-chapters {
|
|
|
|
font-size: 2.5em;
|
|
|
|
text-align: center;
|
|
|
|
text-decoration: none;
|
2017-06-05 10:58:51 +08:00
|
|
|
position: fixed;
|
2015-09-24 21:37:20 +08:00
|
|
|
top: 50px /* Height of menu-bar */;
|
|
|
|
bottom: 0;
|
|
|
|
margin: 0;
|
|
|
|
max-width: 150px;
|
|
|
|
min-width: 90px;
|
|
|
|
display: -webkit-box;
|
|
|
|
display: -moz-box;
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: box;
|
|
|
|
display: flex;
|
|
|
|
-webkit-box-pack: center;
|
|
|
|
-moz-box-pack: center;
|
|
|
|
-o-box-pack: center;
|
|
|
|
-ms-flex-pack: center;
|
|
|
|
-webkit-justify-content: center;
|
|
|
|
justify-content: center;
|
|
|
|
-ms-flex-line-pack: center;
|
|
|
|
-webkit-align-content: center;
|
|
|
|
align-content: center;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
-o-box-orient: vertical;
|
|
|
|
-webkit-flex-direction: column;
|
|
|
|
-ms-flex-direction: column;
|
|
|
|
flex-direction: column;
|
|
|
|
-webkit-transition: color 0.5s;
|
|
|
|
-moz-transition: color 0.5s;
|
|
|
|
-o-transition: color 0.5s;
|
|
|
|
-ms-transition: color 0.5s;
|
|
|
|
transition: color 0.5s;
|
|
|
|
}
|
2017-12-18 13:14:25 +08:00
|
|
|
.nav-chapters:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
.nav-wrapper {
|
|
|
|
margin-top: 50px;
|
2015-09-24 21:37:20 +08:00
|
|
|
display: none;
|
|
|
|
}
|
2017-12-18 13:14:25 +08:00
|
|
|
.mobile-nav-chapters {
|
|
|
|
font-size: 2.5em;
|
|
|
|
text-align: center;
|
2015-09-24 21:37:20 +08:00
|
|
|
text-decoration: none;
|
2017-12-18 13:14:25 +08:00
|
|
|
width: 90px;
|
|
|
|
border-radius: 5px;
|
2015-09-24 21:37:20 +08:00
|
|
|
}
|
2017-02-19 18:12:38 +08:00
|
|
|
.previous {
|
2017-12-18 13:14:25 +08:00
|
|
|
float: left;
|
2017-06-05 10:58:51 +08:00
|
|
|
}
|
2015-09-24 21:37:20 +08:00
|
|
|
.next {
|
2017-12-18 13:14:25 +08:00
|
|
|
float: right;
|
2015-12-18 00:34:24 +08:00
|
|
|
right: 15px;
|
2015-09-24 21:37:20 +08:00
|
|
|
}
|
2017-12-18 13:14:25 +08:00
|
|
|
@media only screen and (max-width: 1080px) {
|
2018-01-15 21:26:53 +08:00
|
|
|
.nav-wide-wrapper {
|
2017-12-18 13:14:25 +08:00
|
|
|
display: none;
|
2017-10-14 06:25:12 +08:00
|
|
|
}
|
2017-12-06 16:20:22 +08:00
|
|
|
.nav-wrapper {
|
2017-12-18 13:14:25 +08:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media only screen and (max-width: 1380px) {
|
2018-01-15 21:26:53 +08:00
|
|
|
.sidebar-visible .nav-wide-wrapper {
|
2017-12-18 13:14:25 +08:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.sidebar-visible .nav-wrapper {
|
|
|
|
display: block;
|
2017-12-06 16:20:22 +08:00
|
|
|
}
|
|
|
|
}
|
2015-09-24 21:37:20 +08:00
|
|
|
.theme-popup {
|
2017-10-17 09:40:32 +08:00
|
|
|
position: absolute;
|
2016-02-04 00:55:19 +08:00
|
|
|
left: 10px;
|
2016-02-16 15:50:57 +08:00
|
|
|
z-index: 1000;
|
2015-09-24 21:37:20 +08:00
|
|
|
border-radius: 4px;
|
|
|
|
font-size: 0.7em;
|
|
|
|
}
|
|
|
|
.theme-popup .theme {
|
2018-01-15 21:26:53 +08:00
|
|
|
display: inline;
|
|
|
|
border: 0;
|
2015-09-24 21:37:20 +08:00
|
|
|
margin: 0;
|
|
|
|
padding: 2px 10px;
|
|
|
|
line-height: 25px;
|
2018-01-15 21:26:53 +08:00
|
|
|
width: 100%;
|
2015-09-24 21:37:20 +08:00
|
|
|
white-space: nowrap;
|
2018-01-15 21:26:53 +08:00
|
|
|
text-align: left;
|
2017-06-23 19:18:06 +08:00
|
|
|
cursor: pointer;
|
2018-01-15 21:26:53 +08:00
|
|
|
color: inherit;
|
|
|
|
background: inherit;
|
|
|
|
font-size: inherit;
|
2015-09-24 21:37:20 +08:00
|
|
|
}
|
2016-09-13 04:43:29 +08:00
|
|
|
.theme-popup .theme:hover:first-child,
|
|
|
|
.theme-popup .theme:hover:last-child {
|
2016-02-16 05:44:19 +08:00
|
|
|
border-top-left-radius: inherit;
|
|
|
|
border-top-right-radius: inherit;
|
|
|
|
}
|
2015-09-24 21:37:20 +08:00
|
|
|
.light {
|
|
|
|
color: #333;
|
|
|
|
background-color: #fff;
|
2016-01-03 20:47:59 +08:00
|
|
|
/* Inline code */
|
2016-01-01 07:32:12 +08:00
|
|
|
}
|
2016-01-01 17:46:45 +08:00
|
|
|
.light .content .header:link,
|
|
|
|
.light .content .header:visited {
|
|
|
|
color: #333;
|
|
|
|
pointer: cursor;
|
|
|
|
}
|
|
|
|
.light .content .header:link:hover,
|
|
|
|
.light .content .header:visited:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2018-01-19 23:41:50 +08:00
|
|
|
.light .menu-bar {
|
|
|
|
margin: auto -15px;
|
|
|
|
}
|
|
|
|
.light .menu-bar > #menu-bar-sticky-container {
|
|
|
|
background-color: #fff;
|
|
|
|
border-bottom-color: #fff;
|
|
|
|
border-bottom-width: 1px;
|
|
|
|
border-bottom-style: solid;
|
|
|
|
}
|
|
|
|
.light .menu-bar.bordered > #menu-bar-sticky-container {
|
|
|
|
border-bottom-color: #f2f2f2;
|
|
|
|
}
|
2015-09-24 21:37:20 +08:00
|
|
|
.light .sidebar {
|
|
|
|
background-color: #fafafa;
|
|
|
|
color: #364149;
|
|
|
|
}
|
2018-01-26 01:17:02 +08:00
|
|
|
.light .sidebar::-webkit-scrollbar {
|
|
|
|
background: #fafafa;
|
|
|
|
}
|
|
|
|
.light .sidebar::-webkit-scrollbar-thumb {
|
2018-01-27 11:52:43 +08:00
|
|
|
background: #ccc;
|
2018-01-26 01:17:02 +08:00
|
|
|
}
|
2015-09-24 21:37:20 +08:00
|
|
|
.light .chapter li {
|
|
|
|
color: #aaa;
|
|
|
|
}
|
|
|
|
.light .chapter li a {
|
|
|
|
color: #364149;
|
|
|
|
}
|
|
|
|
.light .chapter li .active,
|
|
|
|
.light .chapter li a:hover {
|
|
|
|
/* Animate color change */
|
|
|
|
color: #008cff;
|
|
|
|
}
|
|
|
|
.light .chapter .spacer {
|
|
|
|
background-color: #f4f4f4;
|
|
|
|
}
|
|
|
|
.light .menu-bar,
|
2015-12-30 23:48:46 +08:00
|
|
|
.light .menu-bar:visited,
|
2015-09-24 21:37:20 +08:00
|
|
|
.light .nav-chapters,
|
2015-12-30 23:48:46 +08:00
|
|
|
.light .nav-chapters:visited,
|
|
|
|
.light .mobile-nav-chapters,
|
2017-09-14 04:17:23 +08:00
|
|
|
.light .mobile-nav-chapters:visited,
|
2018-01-04 17:19:20 +08:00
|
|
|
.light .menu-bar .icon-button,
|
2017-09-14 04:17:23 +08:00
|
|
|
.light .menu-bar a i {
|
2015-09-24 21:37:20 +08:00
|
|
|
color: #ccc;
|
|
|
|
}
|
|
|
|
.light .menu-bar i:hover,
|
2018-01-04 17:19:20 +08:00
|
|
|
.light .menu-bar .icon-button:hover,
|
2015-09-24 21:37:20 +08:00
|
|
|
.light .nav-chapters:hover,
|
|
|
|
.light .mobile-nav-chapters i:hover {
|
|
|
|
color: #333;
|
|
|
|
}
|
|
|
|
.light .mobile-nav-chapters i:hover {
|
|
|
|
color: #364149;
|
|
|
|
}
|
|
|
|
.light .mobile-nav-chapters {
|
|
|
|
background-color: #fafafa;
|
|
|
|
}
|
2015-12-30 22:59:18 +08:00
|
|
|
.light .content a:link,
|
2017-05-19 22:53:21 +08:00
|
|
|
.light a:visited,
|
|
|
|
.light a > .hljs {
|
2015-09-24 21:37:20 +08:00
|
|
|
color: #4183c4;
|
|
|
|
}
|
|
|
|
.light .theme-popup {
|
2016-02-04 00:55:19 +08:00
|
|
|
color: #333;
|
2015-09-24 21:37:20 +08:00
|
|
|
background: #fafafa;
|
|
|
|
border: 1px solid #ccc;
|
2018-01-15 21:26:53 +08:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
|
|
|
display: none;
|
2015-09-24 21:37:20 +08:00
|
|
|
}
|
|
|
|
.light .theme-popup .theme:hover {
|
|
|
|
background-color: #e6e6e6;
|
|
|
|
}
|
2016-02-04 00:55:19 +08:00
|
|
|
.light .theme-popup .default {
|
|
|
|
color: #ccc;
|
|
|
|
}
|
2016-01-03 20:47:59 +08:00
|
|
|
.light blockquote {
|
|
|
|
margin: 20px 0;
|
|
|
|
padding: 0 20px;
|
|
|
|
color: #333;
|
|
|
|
background-color: #f2f7f9;
|
|
|
|
border-top: 0.1em solid #e1edf1;
|
|
|
|
border-bottom: 0.1em solid #e1edf1;
|
2015-09-24 21:37:20 +08:00
|
|
|
}
|
2016-02-06 01:09:35 +08:00
|
|
|
.light table td {
|
|
|
|
border-color: #f2f2f2;
|
|
|
|
}
|
|
|
|
.light table tbody tr:nth-child(2n) {
|
|
|
|
background: #f7f7f7;
|
|
|
|
}
|
|
|
|
.light table thead {
|
|
|
|
background: #ccc;
|
|
|
|
}
|
|
|
|
.light table thead td {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
.light table thead tr {
|
|
|
|
border: 1px #ccc solid;
|
|
|
|
}
|
2016-01-03 20:47:59 +08:00
|
|
|
.light :not(pre) > .hljs {
|
2015-12-23 05:30:05 +08:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
padding: 0.1em 0.3em;
|
|
|
|
border-radius: 3px;
|
2017-06-07 04:35:44 +08:00
|
|
|
color: #6e6b5e;
|
2015-12-23 05:30:05 +08:00
|
|
|
}
|
2017-05-19 22:53:21 +08:00
|
|
|
.light a:hover > .hljs {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2016-01-03 20:47:59 +08:00
|
|
|
.light pre {
|
2015-12-29 20:08:25 +08:00
|
|
|
position: relative;
|
|
|
|
}
|
2016-01-03 20:47:59 +08:00
|
|
|
.light pre > .buttons {
|
2015-12-29 20:08:25 +08:00
|
|
|
position: absolute;
|
2017-06-13 22:59:29 +08:00
|
|
|
z-index: 100;
|
2015-12-29 20:08:25 +08:00
|
|
|
right: 5px;
|
|
|
|
top: 5px;
|
2016-01-03 20:47:59 +08:00
|
|
|
color: #364149;
|
2015-12-29 20:08:25 +08:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
2016-01-03 20:47:59 +08:00
|
|
|
.light pre > .buttons :hover {
|
|
|
|
color: #008cff;
|
2015-12-29 20:08:25 +08:00
|
|
|
}
|
2016-01-03 20:47:59 +08:00
|
|
|
.light pre > .buttons i {
|
2016-01-01 07:32:12 +08:00
|
|
|
margin-left: 8px;
|
|
|
|
}
|
2018-01-13 02:44:13 +08:00
|
|
|
.light pre > .buttons button {
|
|
|
|
color: inherit;
|
|
|
|
background: transparent;
|
|
|
|
border: none;
|
|
|
|
cursor: inherit;
|
|
|
|
}
|
2016-01-03 20:47:59 +08:00
|
|
|
.light pre > .result {
|
2016-01-01 07:32:12 +08:00
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2018-01-04 17:19:20 +08:00
|
|
|
.light .icon-button {
|
|
|
|
border: none;
|
|
|
|
background: none;
|
|
|
|
padding: 0;
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
.light .icon-button i {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2018-01-26 01:17:02 +08:00
|
|
|
.light ::-webkit-scrollbar {
|
|
|
|
background: #fff;
|
|
|
|
}
|
|
|
|
.light ::-webkit-scrollbar-thumb {
|
2018-01-27 11:52:43 +08:00
|
|
|
background: #ccc;
|
2018-01-26 01:17:02 +08:00
|
|
|
}
|
2016-01-03 20:47:59 +08:00
|
|
|
.coal {
|
|
|
|
color: #98a3ad;
|
|
|
|
background-color: #141617;
|
|
|
|
/* Inline code */
|
|
|
|
}
|
2016-01-01 17:46:45 +08:00
|
|
|
.coal .content .header:link,
|
|
|
|
.coal .content .header:visited {
|
|
|
|
color: #98a3ad;
|
|
|
|
pointer: cursor;
|
|
|
|
}
|
|
|
|
.coal .content .header:link:hover,
|
|
|
|
.coal .content .header:visited:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2018-01-19 23:41:50 +08:00
|
|
|
.coal .menu-bar {
|
|
|
|
margin: auto -15px;
|
|
|
|
}
|
|
|
|
.coal .menu-bar > #menu-bar-sticky-container {
|
|
|
|
background-color: #141617;
|
|
|
|
border-bottom-color: #141617;
|
|
|
|
border-bottom-width: 1px;
|
|
|
|
border-bottom-style: solid;
|
|
|
|
}
|
|
|
|
.coal .menu-bar.bordered > #menu-bar-sticky-container {
|
|
|
|
border-bottom-color: #1f2223;
|
|
|
|
}
|
2015-09-24 21:37:20 +08:00
|
|
|
.coal .sidebar {
|
|
|
|
background-color: #292c2f;
|
|
|
|
color: #a1adb8;
|
|
|
|
}
|
2018-01-26 01:17:02 +08:00
|
|
|
.coal .sidebar::-webkit-scrollbar {
|
|
|
|
background: #292c2f;
|
|
|
|
}
|
|
|
|
.coal .sidebar::-webkit-scrollbar-thumb {
|
|
|
|
background: #a1adb8;
|
|
|
|
}
|
2015-09-24 21:37:20 +08:00
|
|
|
.coal .chapter li {
|
|
|
|
color: #505254;
|
|
|
|
}
|
|
|
|
.coal .chapter li a {
|
|
|
|
color: #a1adb8;
|
|
|
|
}
|
|
|
|
.coal .chapter li .active,
|
|
|
|
.coal .chapter li a:hover {
|
|
|
|
/* Animate color change */
|
|
|
|
color: #3473ad;
|
|
|
|
}
|
|
|
|
.coal .chapter .spacer {
|
|
|
|
background-color: #393939;
|
|
|
|
}
|
|
|
|
.coal .menu-bar,
|
2015-12-30 23:48:46 +08:00
|
|
|
.coal .menu-bar:visited,
|
2015-09-24 21:37:20 +08:00
|
|
|
.coal .nav-chapters,
|
2015-12-30 23:48:46 +08:00
|
|
|
.coal .nav-chapters:visited,
|
|
|
|
.coal .mobile-nav-chapters,
|
2017-09-14 04:17:23 +08:00
|
|
|
.coal .mobile-nav-chapters:visited,
|
2018-01-04 17:19:20 +08:00
|
|
|
.coal .menu-bar .icon-button,
|
2017-09-14 04:17:23 +08:00
|
|
|
.coal .menu-bar a i {
|
2015-09-24 21:37:20 +08:00
|
|
|
color: #43484d;
|
|
|
|
}
|
|
|
|
.coal .menu-bar i:hover,
|
2018-01-04 17:19:20 +08:00
|
|
|
.coal .menu-bar .icon-button:hover,
|
2015-09-24 21:37:20 +08:00
|
|
|
.coal .nav-chapters:hover,
|
|
|
|
.coal .mobile-nav-chapters i:hover {
|
|
|
|
color: #b3c0cc;
|
|
|
|
}
|
|
|
|
.coal .mobile-nav-chapters i:hover {
|
|
|
|
color: #a1adb8;
|
|
|
|
}
|
|
|
|
.coal .mobile-nav-chapters {
|
|
|
|
background-color: #292c2f;
|
|
|
|
}
|
2015-12-30 22:59:18 +08:00
|
|
|
.coal .content a:link,
|
2017-05-19 22:53:21 +08:00
|
|
|
.coal a:visited,
|
|
|
|
.coal a > .hljs {
|
2015-09-24 21:37:20 +08:00
|
|
|
color: #2b79a2;
|
|
|
|
}
|
|
|
|
.coal .theme-popup {
|
2016-02-04 00:55:19 +08:00
|
|
|
color: #98a3ad;
|
2015-09-24 21:37:20 +08:00
|
|
|
background: #141617;
|
|
|
|
border: 1px solid #43484d;
|
2018-01-15 21:26:53 +08:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
|
|
|
display: none;
|
2015-09-24 21:37:20 +08:00
|
|
|
}
|
|
|
|
.coal .theme-popup .theme:hover {
|
|
|
|
background-color: #1f2124;
|
|
|
|
}
|
2016-02-04 00:55:19 +08:00
|
|
|
.coal .theme-popup .default {
|
|
|
|
color: #43484d;
|
|
|
|
}
|
2016-01-03 20:47:59 +08:00
|
|
|
.coal blockquote {
|
|
|
|
margin: 20px 0;
|
|
|
|
padding: 0 20px;
|
|
|
|
color: #98a3ad;
|
|
|
|
background-color: #242637;
|
|
|
|
border-top: 0.1em solid #2c2f44;
|
|
|
|
border-bottom: 0.1em solid #2c2f44;
|
2015-09-24 21:37:20 +08:00
|
|
|
}
|
2016-02-06 01:09:35 +08:00
|
|
|
.coal table td {
|
|
|
|
border-color: #1f2223;
|
|
|
|
}
|
|
|
|
.coal table tbody tr:nth-child(2n) {
|
|
|
|
background: #1b1d1e;
|
|
|
|
}
|
|
|
|
.coal table thead {
|
|
|
|
background: #3f4649;
|
|
|
|
}
|
|
|
|
.coal table thead td {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
.coal table thead tr {
|
|
|
|
border: 1px #3f4649 solid;
|
|
|
|
}
|
2016-01-03 20:47:59 +08:00
|
|
|
.coal :not(pre) > .hljs {
|
2015-12-23 05:30:05 +08:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
padding: 0.1em 0.3em;
|
|
|
|
border-radius: 3px;
|
2017-06-07 04:35:44 +08:00
|
|
|
color: #c5c8c6;
|
2015-12-23 05:30:05 +08:00
|
|
|
}
|
2017-05-19 22:53:21 +08:00
|
|
|
.coal a:hover > .hljs {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2016-01-03 20:47:59 +08:00
|
|
|
.coal pre {
|
2015-12-29 20:08:25 +08:00
|
|
|
position: relative;
|
|
|
|
}
|
2016-01-03 20:47:59 +08:00
|
|
|
.coal pre > .buttons {
|
2015-12-29 20:08:25 +08:00
|
|
|
position: absolute;
|
2017-06-13 22:59:29 +08:00
|
|
|
z-index: 100;
|
2015-12-29 20:08:25 +08:00
|
|
|
right: 5px;
|
|
|
|
top: 5px;
|
2016-01-03 20:47:59 +08:00
|
|
|
color: #a1adb8;
|
2015-12-29 20:08:25 +08:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
2016-01-03 20:47:59 +08:00
|
|
|
.coal pre > .buttons :hover {
|
|
|
|
color: #3473ad;
|
2015-12-29 20:08:25 +08:00
|
|
|
}
|
2016-01-03 20:47:59 +08:00
|
|
|
.coal pre > .buttons i {
|
2016-01-01 07:32:12 +08:00
|
|
|
margin-left: 8px;
|
|
|
|
}
|
2018-01-13 02:44:13 +08:00
|
|
|
.coal pre > .buttons button {
|
|
|
|
color: inherit;
|
|
|
|
background: transparent;
|
|
|
|
border: none;
|
|
|
|
cursor: inherit;
|
|
|
|
}
|
2016-01-03 20:47:59 +08:00
|
|
|
.coal pre > .result {
|
2016-01-01 07:32:12 +08:00
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2018-01-04 17:19:20 +08:00
|
|
|
.coal .icon-button {
|
|
|
|
border: none;
|
|
|
|
background: none;
|
|
|
|
padding: 0;
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
.coal .icon-button i {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2018-01-26 01:17:02 +08:00
|
|
|
.coal ::-webkit-scrollbar {
|
|
|
|
background: #141617;
|
|
|
|
}
|
|
|
|
.coal ::-webkit-scrollbar-thumb {
|
2018-01-27 11:52:43 +08:00
|
|
|
background: #a1adb8;
|
2018-01-26 01:17:02 +08:00
|
|
|
}
|
2016-01-03 20:47:59 +08:00
|
|
|
.navy {
|
|
|
|
color: #bcbdd0;
|
|
|
|
background-color: #161923;
|
|
|
|
/* Inline code */
|
|
|
|
}
|
2016-01-01 17:46:45 +08:00
|
|
|
.navy .content .header:link,
|
|
|
|
.navy .content .header:visited {
|
|
|
|
color: #bcbdd0;
|
|
|
|
pointer: cursor;
|
|
|
|
}
|
|
|
|
.navy .content .header:link:hover,
|
|
|
|
.navy .content .header:visited:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2018-01-19 23:41:50 +08:00
|
|
|
.navy .menu-bar {
|
|
|
|
margin: auto -15px;
|
|
|
|
}
|
|
|
|
.navy .menu-bar > #menu-bar-sticky-container {
|
|
|
|
background-color: #161923;
|
|
|
|
border-bottom-color: #161923;
|
|
|
|
border-bottom-width: 1px;
|
|
|
|
border-bottom-style: solid;
|
|
|
|
}
|
|
|
|
.navy .menu-bar.bordered > #menu-bar-sticky-container {
|
|
|
|
border-bottom-color: #1f2331;
|
|
|
|
}
|
2015-09-24 21:37:20 +08:00
|
|
|
.navy .sidebar {
|
|
|
|
background-color: #282d3f;
|
|
|
|
color: #c8c9db;
|
|
|
|
}
|
2018-01-26 01:17:02 +08:00
|
|
|
.navy .sidebar::-webkit-scrollbar {
|
|
|
|
background: #282d3f;
|
|
|
|
}
|
|
|
|
.navy .sidebar::-webkit-scrollbar-thumb {
|
|
|
|
background: #c8c9db;
|
|
|
|
}
|
2015-09-24 21:37:20 +08:00
|
|
|
.navy .chapter li {
|
|
|
|
color: #505274;
|
|
|
|
}
|
|
|
|
.navy .chapter li a {
|
|
|
|
color: #c8c9db;
|
|
|
|
}
|
|
|
|
.navy .chapter li .active,
|
|
|
|
.navy .chapter li a:hover {
|
|
|
|
/* Animate color change */
|
|
|
|
color: #2b79a2;
|
|
|
|
}
|
|
|
|
.navy .chapter .spacer {
|
|
|
|
background-color: #2d334f;
|
|
|
|
}
|
|
|
|
.navy .menu-bar,
|
2015-12-30 23:48:46 +08:00
|
|
|
.navy .menu-bar:visited,
|
2015-09-24 21:37:20 +08:00
|
|
|
.navy .nav-chapters,
|
2015-12-30 23:48:46 +08:00
|
|
|
.navy .nav-chapters:visited,
|
|
|
|
.navy .mobile-nav-chapters,
|
2017-09-14 04:17:23 +08:00
|
|
|
.navy .mobile-nav-chapters:visited,
|
2018-01-04 17:19:20 +08:00
|
|
|
.navy .menu-bar .icon-button,
|
2017-09-14 04:17:23 +08:00
|
|
|
.navy .menu-bar a i {
|
2015-09-24 21:37:20 +08:00
|
|
|
color: #737480;
|
|
|
|
}
|
|
|
|
.navy .menu-bar i:hover,
|
2018-01-04 17:19:20 +08:00
|
|
|
.navy .menu-bar .icon-button:hover,
|
2015-09-24 21:37:20 +08:00
|
|
|
.navy .nav-chapters:hover,
|
|
|
|
.navy .mobile-nav-chapters i:hover {
|
|
|
|
color: #b7b9cc;
|
|
|
|
}
|
|
|
|
.navy .mobile-nav-chapters i:hover {
|
|
|
|
color: #c8c9db;
|
|
|
|
}
|
|
|
|
.navy .mobile-nav-chapters {
|
|
|
|
background-color: #282d3f;
|
|
|
|
}
|
2015-12-30 22:59:18 +08:00
|
|
|
.navy .content a:link,
|
2017-05-19 22:53:21 +08:00
|
|
|
.navy a:visited,
|
|
|
|
.navy a > .hljs {
|
2015-09-24 21:37:20 +08:00
|
|
|
color: #2b79a2;
|
|
|
|
}
|
|
|
|
.navy .theme-popup {
|
2016-02-04 00:55:19 +08:00
|
|
|
color: #bcbdd0;
|
2015-09-24 21:37:20 +08:00
|
|
|
background: #161923;
|
|
|
|
border: 1px solid #737480;
|
2018-01-15 21:26:53 +08:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
|
|
|
display: none;
|
2015-09-24 21:37:20 +08:00
|
|
|
}
|
|
|
|
.navy .theme-popup .theme:hover {
|
|
|
|
background-color: #282e40;
|
|
|
|
}
|
2016-02-04 00:55:19 +08:00
|
|
|
.navy .theme-popup .default {
|
|
|
|
color: #737480;
|
|
|
|
}
|
2016-01-03 20:47:59 +08:00
|
|
|
.navy blockquote {
|
|
|
|
margin: 20px 0;
|
|
|
|
padding: 0 20px;
|
|
|
|
color: #bcbdd0;
|
|
|
|
background-color: #262933;
|
|
|
|
border-top: 0.1em solid #2f333f;
|
|
|
|
border-bottom: 0.1em solid #2f333f;
|
2015-09-24 21:37:20 +08:00
|
|
|
}
|
2016-02-06 01:09:35 +08:00
|
|
|
.navy table td {
|
|
|
|
border-color: #1f2331;
|
|
|
|
}
|
|
|
|
.navy table tbody tr:nth-child(2n) {
|
|
|
|
background: #1b1f2b;
|
|
|
|
}
|
|
|
|
.navy table thead {
|
|
|
|
background: #39415b;
|
|
|
|
}
|
|
|
|
.navy table thead td {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
.navy table thead tr {
|
|
|
|
border: 1px #39415b solid;
|
|
|
|
}
|
2016-01-03 20:47:59 +08:00
|
|
|
.navy :not(pre) > .hljs {
|
2015-12-23 05:30:05 +08:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
padding: 0.1em 0.3em;
|
|
|
|
border-radius: 3px;
|
2017-06-07 04:35:44 +08:00
|
|
|
color: #c5c8c6;
|
2015-12-23 05:30:05 +08:00
|
|
|
}
|
2017-05-19 22:53:21 +08:00
|
|
|
.navy a:hover > .hljs {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2016-01-03 20:47:59 +08:00
|
|
|
.navy pre {
|
2015-12-29 20:08:25 +08:00
|
|
|
position: relative;
|
|
|
|
}
|
2016-01-03 20:47:59 +08:00
|
|
|
.navy pre > .buttons {
|
2015-12-29 20:08:25 +08:00
|
|
|
position: absolute;
|
2017-06-13 22:59:29 +08:00
|
|
|
z-index: 100;
|
2015-12-29 20:08:25 +08:00
|
|
|
right: 5px;
|
|
|
|
top: 5px;
|
|
|
|
color: #c8c9db;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2016-01-03 20:47:59 +08:00
|
|
|
.navy pre > .buttons :hover {
|
|
|
|
color: #2b79a2;
|
2015-12-29 20:08:25 +08:00
|
|
|
}
|
2016-01-03 20:47:59 +08:00
|
|
|
.navy pre > .buttons i {
|
2016-01-01 07:32:12 +08:00
|
|
|
margin-left: 8px;
|
|
|
|
}
|
2018-01-13 02:44:13 +08:00
|
|
|
.navy pre > .buttons button {
|
|
|
|
color: inherit;
|
|
|
|
background: transparent;
|
|
|
|
border: none;
|
|
|
|
cursor: inherit;
|
|
|
|
}
|
2016-01-03 20:47:59 +08:00
|
|
|
.navy pre > .result {
|
2016-01-01 07:32:12 +08:00
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2018-01-04 17:19:20 +08:00
|
|
|
.navy .icon-button {
|
|
|
|
border: none;
|
|
|
|
background: none;
|
|
|
|
padding: 0;
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
.navy .icon-button i {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2018-01-26 01:17:02 +08:00
|
|
|
.navy ::-webkit-scrollbar {
|
|
|
|
background: #161923;
|
|
|
|
}
|
|
|
|
.navy ::-webkit-scrollbar-thumb {
|
2018-01-27 11:52:43 +08:00
|
|
|
background: #c8c9db;
|
2018-01-26 01:17:02 +08:00
|
|
|
}
|
2016-01-03 20:47:59 +08:00
|
|
|
.rust {
|
|
|
|
color: #262625;
|
|
|
|
background-color: #e1e1db;
|
|
|
|
/* Inline code */
|
|
|
|
}
|
2016-01-01 17:46:45 +08:00
|
|
|
.rust .content .header:link,
|
|
|
|
.rust .content .header:visited {
|
|
|
|
color: #262625;
|
|
|
|
pointer: cursor;
|
|
|
|
}
|
|
|
|
.rust .content .header:link:hover,
|
|
|
|
.rust .content .header:visited:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2018-01-19 23:41:50 +08:00
|
|
|
.rust .menu-bar {
|
|
|
|
margin: auto -15px;
|
|
|
|
}
|
|
|
|
.rust .menu-bar > #menu-bar-sticky-container {
|
|
|
|
background-color: #e1e1db;
|
|
|
|
border-bottom-color: #e1e1db;
|
|
|
|
border-bottom-width: 1px;
|
|
|
|
border-bottom-style: solid;
|
|
|
|
}
|
|
|
|
.rust .menu-bar.bordered > #menu-bar-sticky-container {
|
|
|
|
border-bottom-color: #d7d7cf;
|
|
|
|
}
|
2015-09-24 21:37:20 +08:00
|
|
|
.rust .sidebar {
|
|
|
|
background-color: #3b2e2a;
|
|
|
|
color: #c8c9db;
|
|
|
|
}
|
2018-01-26 01:17:02 +08:00
|
|
|
.rust .sidebar::-webkit-scrollbar {
|
|
|
|
background: #3b2e2a;
|
|
|
|
}
|
|
|
|
.rust .sidebar::-webkit-scrollbar-thumb {
|
|
|
|
background: #c8c9db;
|
|
|
|
}
|
2015-09-24 21:37:20 +08:00
|
|
|
.rust .chapter li {
|
|
|
|
color: #505254;
|
|
|
|
}
|
|
|
|
.rust .chapter li a {
|
|
|
|
color: #c8c9db;
|
|
|
|
}
|
|
|
|
.rust .chapter li .active,
|
|
|
|
.rust .chapter li a:hover {
|
|
|
|
/* Animate color change */
|
|
|
|
color: #e69f67;
|
|
|
|
}
|
|
|
|
.rust .chapter .spacer {
|
|
|
|
background-color: #45373a;
|
|
|
|
}
|
|
|
|
.rust .menu-bar,
|
2015-12-30 23:48:46 +08:00
|
|
|
.rust .menu-bar:visited,
|
2015-09-24 21:37:20 +08:00
|
|
|
.rust .nav-chapters,
|
2015-12-30 23:48:46 +08:00
|
|
|
.rust .nav-chapters:visited,
|
|
|
|
.rust .mobile-nav-chapters,
|
2017-09-14 04:17:23 +08:00
|
|
|
.rust .mobile-nav-chapters:visited,
|
2018-01-04 17:19:20 +08:00
|
|
|
.rust .menu-bar .icon-button,
|
2017-09-14 04:17:23 +08:00
|
|
|
.rust .menu-bar a i {
|
2015-09-24 21:37:20 +08:00
|
|
|
color: #737480;
|
|
|
|
}
|
|
|
|
.rust .menu-bar i:hover,
|
2018-01-04 17:19:20 +08:00
|
|
|
.rust .menu-bar .icon-button:hover,
|
2015-09-24 21:37:20 +08:00
|
|
|
.rust .nav-chapters:hover,
|
|
|
|
.rust .mobile-nav-chapters i:hover {
|
|
|
|
color: #262625;
|
|
|
|
}
|
|
|
|
.rust .mobile-nav-chapters i:hover {
|
|
|
|
color: #c8c9db;
|
|
|
|
}
|
|
|
|
.rust .mobile-nav-chapters {
|
|
|
|
background-color: #3b2e2a;
|
|
|
|
}
|
2015-12-30 22:59:18 +08:00
|
|
|
.rust .content a:link,
|
2017-05-19 22:53:21 +08:00
|
|
|
.rust a:visited,
|
|
|
|
.rust a > .hljs {
|
2015-09-24 21:37:20 +08:00
|
|
|
color: #2b79a2;
|
|
|
|
}
|
|
|
|
.rust .theme-popup {
|
2016-02-04 00:55:19 +08:00
|
|
|
color: #262625;
|
2015-09-24 21:37:20 +08:00
|
|
|
background: #e1e1db;
|
|
|
|
border: 1px solid #b38f6b;
|
2018-01-15 21:26:53 +08:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
|
|
|
display: none;
|
2015-09-24 21:37:20 +08:00
|
|
|
}
|
|
|
|
.rust .theme-popup .theme:hover {
|
|
|
|
background-color: #99908a;
|
|
|
|
}
|
2016-02-04 00:55:19 +08:00
|
|
|
.rust .theme-popup .default {
|
|
|
|
color: #737480;
|
|
|
|
}
|
2016-01-03 20:47:59 +08:00
|
|
|
.rust blockquote {
|
|
|
|
margin: 20px 0;
|
|
|
|
padding: 0 20px;
|
|
|
|
color: #262625;
|
|
|
|
background-color: #c1c1bb;
|
|
|
|
border-top: 0.1em solid #b8b8b1;
|
|
|
|
border-bottom: 0.1em solid #b8b8b1;
|
|
|
|
}
|
2016-02-06 01:09:35 +08:00
|
|
|
.rust table td {
|
|
|
|
border-color: #d7d7cf;
|
|
|
|
}
|
|
|
|
.rust table tbody tr:nth-child(2n) {
|
|
|
|
background: #dbdbd4;
|
|
|
|
}
|
|
|
|
.rust table thead {
|
|
|
|
background: #b3a497;
|
|
|
|
}
|
|
|
|
.rust table thead td {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
.rust table thead tr {
|
|
|
|
border: 1px #b3a497 solid;
|
|
|
|
}
|
2016-01-03 20:47:59 +08:00
|
|
|
.rust :not(pre) > .hljs {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
padding: 0.1em 0.3em;
|
|
|
|
border-radius: 3px;
|
2017-06-07 04:35:44 +08:00
|
|
|
color: #6e6b5e;
|
2016-01-03 20:47:59 +08:00
|
|
|
}
|
2017-05-19 22:53:21 +08:00
|
|
|
.rust a:hover > .hljs {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2016-01-03 20:47:59 +08:00
|
|
|
.rust pre {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.rust pre > .buttons {
|
|
|
|
position: absolute;
|
2017-06-13 22:59:29 +08:00
|
|
|
z-index: 100;
|
2016-01-03 20:47:59 +08:00
|
|
|
right: 5px;
|
|
|
|
top: 5px;
|
|
|
|
color: #c8c9db;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.rust pre > .buttons :hover {
|
|
|
|
color: #e69f67;
|
|
|
|
}
|
|
|
|
.rust pre > .buttons i {
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
2018-01-13 02:44:13 +08:00
|
|
|
.rust pre > .buttons button {
|
|
|
|
color: inherit;
|
|
|
|
background: transparent;
|
|
|
|
border: none;
|
|
|
|
cursor: inherit;
|
|
|
|
}
|
2016-01-03 20:47:59 +08:00
|
|
|
.rust pre > .result {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2018-01-04 17:19:20 +08:00
|
|
|
.rust .icon-button {
|
|
|
|
border: none;
|
|
|
|
background: none;
|
|
|
|
padding: 0;
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
.rust .icon-button i {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2018-01-26 01:17:02 +08:00
|
|
|
.rust ::-webkit-scrollbar {
|
|
|
|
background: #e1e1db;
|
|
|
|
}
|
|
|
|
.rust ::-webkit-scrollbar-thumb {
|
2018-01-27 11:52:43 +08:00
|
|
|
background: #c8c9db;
|
2018-01-26 01:17:02 +08:00
|
|
|
}
|
2017-06-07 04:35:44 +08:00
|
|
|
.ayu {
|
|
|
|
color: #c5c5c5;
|
|
|
|
background-color: #0f1419;
|
|
|
|
/* Inline code */
|
|
|
|
}
|
|
|
|
.ayu .content .header:link,
|
|
|
|
.ayu .content .header:visited {
|
|
|
|
color: #c5c5c5;
|
|
|
|
pointer: cursor;
|
|
|
|
}
|
|
|
|
.ayu .content .header:link:hover,
|
|
|
|
.ayu .content .header:visited:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2018-01-19 23:41:50 +08:00
|
|
|
.ayu .menu-bar {
|
|
|
|
margin: auto -15px;
|
|
|
|
}
|
|
|
|
.ayu .menu-bar > #menu-bar-sticky-container {
|
|
|
|
background-color: #0f1419;
|
|
|
|
border-bottom-color: #0f1419;
|
|
|
|
border-bottom-width: 1px;
|
|
|
|
border-bottom-style: solid;
|
|
|
|
}
|
|
|
|
.ayu .menu-bar.bordered > #menu-bar-sticky-container {
|
|
|
|
border-bottom-color: #182028;
|
|
|
|
}
|
2017-06-07 04:35:44 +08:00
|
|
|
.ayu .sidebar {
|
|
|
|
background-color: #14191f;
|
|
|
|
color: #c8c9db;
|
|
|
|
}
|
2018-01-26 01:17:02 +08:00
|
|
|
.ayu .sidebar::-webkit-scrollbar {
|
|
|
|
background: #14191f;
|
|
|
|
}
|
|
|
|
.ayu .sidebar::-webkit-scrollbar-thumb {
|
|
|
|
background: #c8c9db;
|
|
|
|
}
|
2017-06-07 04:35:44 +08:00
|
|
|
.ayu .chapter li {
|
|
|
|
color: #5c6773;
|
|
|
|
}
|
|
|
|
.ayu .chapter li a {
|
|
|
|
color: #c8c9db;
|
|
|
|
}
|
|
|
|
.ayu .chapter li .active,
|
|
|
|
.ayu .chapter li a:hover {
|
|
|
|
/* Animate color change */
|
|
|
|
color: #ffb454;
|
|
|
|
}
|
|
|
|
.ayu .chapter .spacer {
|
|
|
|
background-color: #2d334f;
|
|
|
|
}
|
|
|
|
.ayu .menu-bar,
|
|
|
|
.ayu .menu-bar:visited,
|
|
|
|
.ayu .nav-chapters,
|
|
|
|
.ayu .nav-chapters:visited,
|
|
|
|
.ayu .mobile-nav-chapters,
|
2017-09-14 04:17:23 +08:00
|
|
|
.ayu .mobile-nav-chapters:visited,
|
2018-01-04 17:19:20 +08:00
|
|
|
.ayu .menu-bar .icon-button,
|
2017-09-14 04:17:23 +08:00
|
|
|
.ayu .menu-bar a i {
|
2017-06-07 04:35:44 +08:00
|
|
|
color: #737480;
|
|
|
|
}
|
|
|
|
.ayu .menu-bar i:hover,
|
2018-01-04 17:19:20 +08:00
|
|
|
.ayu .menu-bar .icon-button:hover,
|
2017-06-07 04:35:44 +08:00
|
|
|
.ayu .nav-chapters:hover,
|
|
|
|
.ayu .mobile-nav-chapters i:hover {
|
|
|
|
color: #b7b9cc;
|
|
|
|
}
|
|
|
|
.ayu .mobile-nav-chapters i:hover {
|
|
|
|
color: #c8c9db;
|
|
|
|
}
|
|
|
|
.ayu .mobile-nav-chapters {
|
|
|
|
background-color: #14191f;
|
|
|
|
}
|
|
|
|
.ayu .content a:link,
|
|
|
|
.ayu a:visited,
|
|
|
|
.ayu a > .hljs {
|
|
|
|
color: #0096cf;
|
|
|
|
}
|
|
|
|
.ayu .theme-popup {
|
|
|
|
color: #c5c5c5;
|
|
|
|
background: #14191f;
|
|
|
|
border: 1px solid #5c6773;
|
2018-01-15 21:26:53 +08:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
|
|
|
display: none;
|
2017-06-07 04:35:44 +08:00
|
|
|
}
|
|
|
|
.ayu .theme-popup .theme:hover {
|
|
|
|
background-color: #191f26;
|
|
|
|
}
|
|
|
|
.ayu .theme-popup .default {
|
|
|
|
color: #737480;
|
|
|
|
}
|
|
|
|
.ayu blockquote {
|
|
|
|
margin: 20px 0;
|
|
|
|
padding: 0 20px;
|
|
|
|
color: #c5c5c5;
|
|
|
|
background-color: #262933;
|
|
|
|
border-top: 0.1em solid #2f333f;
|
|
|
|
border-bottom: 0.1em solid #2f333f;
|
|
|
|
}
|
|
|
|
.ayu table td {
|
|
|
|
border-color: #182028;
|
|
|
|
}
|
|
|
|
.ayu table tbody tr:nth-child(2n) {
|
|
|
|
background: #141b22;
|
|
|
|
}
|
|
|
|
.ayu table thead {
|
|
|
|
background: #324354;
|
|
|
|
}
|
|
|
|
.ayu table thead td {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
.ayu table thead tr {
|
|
|
|
border: 1px #324354 solid;
|
|
|
|
}
|
|
|
|
.ayu :not(pre) > .hljs {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
padding: 0.1em 0.3em;
|
|
|
|
border-radius: 3px;
|
|
|
|
color: #ffb454;
|
|
|
|
}
|
|
|
|
.ayu a:hover > .hljs {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
.ayu pre {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.ayu pre > .buttons {
|
|
|
|
position: absolute;
|
2017-06-13 22:59:29 +08:00
|
|
|
z-index: 100;
|
2017-06-07 04:35:44 +08:00
|
|
|
right: 5px;
|
|
|
|
top: 5px;
|
|
|
|
color: #c8c9db;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.ayu pre > .buttons :hover {
|
|
|
|
color: #ffb454;
|
|
|
|
}
|
|
|
|
.ayu pre > .buttons i {
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
2018-01-13 02:44:13 +08:00
|
|
|
.ayu pre > .buttons button {
|
|
|
|
color: inherit;
|
|
|
|
background: transparent;
|
|
|
|
border: none;
|
|
|
|
cursor: inherit;
|
|
|
|
}
|
2017-06-07 04:35:44 +08:00
|
|
|
.ayu pre > .result {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2018-01-04 17:19:20 +08:00
|
|
|
.ayu .icon-button {
|
|
|
|
border: none;
|
|
|
|
background: none;
|
|
|
|
padding: 0;
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
.ayu .icon-button i {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2018-01-26 01:17:02 +08:00
|
|
|
.ayu ::-webkit-scrollbar {
|
|
|
|
background: #0f1419;
|
|
|
|
}
|
|
|
|
.ayu ::-webkit-scrollbar-thumb {
|
2018-01-27 11:52:43 +08:00
|
|
|
background: #c8c9db;
|
2018-01-26 01:17:02 +08:00
|
|
|
}
|
2016-09-13 04:43:29 +08:00
|
|
|
@media only print {
|
|
|
|
#sidebar,
|
|
|
|
#menu-bar,
|
|
|
|
.nav-chapters,
|
|
|
|
.mobile-nav-chapters {
|
2016-06-11 01:30:26 +08:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
#page-wrapper {
|
|
|
|
left: 0;
|
|
|
|
overflow-y: initial;
|
|
|
|
}
|
2017-09-19 00:34:57 +08:00
|
|
|
#page-wrapper.page-wrapper {
|
|
|
|
padding-left: 0px;
|
|
|
|
}
|
2016-06-11 01:30:26 +08:00
|
|
|
#content {
|
|
|
|
max-width: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.page {
|
|
|
|
overflow-y: initial;
|
|
|
|
}
|
2016-09-13 04:43:29 +08:00
|
|
|
code {
|
|
|
|
background-color: #666;
|
|
|
|
border-radius: 5px;
|
|
|
|
/* Force background to be printed in Chrome */
|
|
|
|
-webkit-print-color-adjust: exact;
|
2016-06-11 01:30:26 +08:00
|
|
|
}
|
2017-06-29 12:35:20 +08:00
|
|
|
pre > .buttons {
|
|
|
|
z-index: 2;
|
|
|
|
}
|
2016-09-13 04:43:29 +08:00
|
|
|
a,
|
|
|
|
a:visited,
|
|
|
|
a:active,
|
|
|
|
a:hover {
|
|
|
|
color: #4183c4;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
page-break-inside: avoid;
|
|
|
|
page-break-after: avoid;
|
|
|
|
/*break-after: avoid*/
|
|
|
|
}
|
|
|
|
pre,
|
|
|
|
code {
|
|
|
|
page-break-inside: avoid;
|
|
|
|
white-space: pre-wrap /* CSS 3 */;
|
|
|
|
white-space: -moz-pre-wrap /* Mozilla, since 1999 */;
|
|
|
|
white-space: -pre-wrap /* Opera 4-6 */;
|
|
|
|
white-space: -o-pre-wrap /* Opera 7 */;
|
|
|
|
word-wrap: break-word /* Internet Explorer 5.5+ */;
|
2016-06-11 01:30:26 +08:00
|
|
|
}
|
|
|
|
}
|
2017-05-31 07:14:01 +08:00
|
|
|
.tooltiptext {
|
2017-06-01 03:07:30 +08:00
|
|
|
position: absolute;
|
2017-05-31 07:14:01 +08:00
|
|
|
visibility: hidden;
|
|
|
|
color: #fff;
|
2017-06-01 03:07:30 +08:00
|
|
|
background-color: #333;
|
|
|
|
-webkit-transform: translateX(-50%);
|
|
|
|
-moz-transform: translateX(-50%);
|
|
|
|
-o-transform: translateX(-50%);
|
|
|
|
-ms-transform: translateX(-50%);
|
|
|
|
transform: translateX(-50%); /* Center by moving tooltip 50% of its width left */
|
|
|
|
left: -8px; /* Half of the width of the icon */
|
|
|
|
top: -35px;
|
|
|
|
font-size: 0.8em;
|
2017-05-31 07:14:01 +08:00
|
|
|
text-align: center;
|
|
|
|
border-radius: 6px;
|
|
|
|
padding: 5px 8px;
|
|
|
|
margin: 5px;
|
|
|
|
z-index: 1000;
|
|
|
|
}
|
|
|
|
.tooltipped .tooltiptext {
|
|
|
|
visibility: visible;
|
|
|
|
}
|