2015-09-24 21:37:20 +08:00
|
|
|
html,
|
|
|
|
body {
|
|
|
|
font-family: "Open Sans", sans-serif;
|
|
|
|
color: #333;
|
|
|
|
}
|
2017-06-05 10:58:51 +08:00
|
|
|
body {
|
|
|
|
margin: 0;
|
|
|
|
}
|
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;
|
|
|
|
}
|
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
|
|
|
}
|
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;
|
|
|
|
-webkit-transition: left 0.5s;
|
|
|
|
-moz-transition: left 0.5s;
|
|
|
|
-o-transition: left 0.5s;
|
|
|
|
-ms-transition: left 0.5s;
|
|
|
|
transition: left 0.5s;
|
|
|
|
}
|
|
|
|
@media only screen and (max-width: 1060px) {
|
|
|
|
.sidebar {
|
2015-09-25 02:56:16 +08:00
|
|
|
left: -300px;
|
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 {
|
|
|
|
left: -300px;
|
|
|
|
}
|
2015-09-25 02:56:16 +08:00
|
|
|
.sidebar-visible .sidebar {
|
2015-09-24 22:47:33 +08:00
|
|
|
left: 0;
|
|
|
|
}
|
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 {
|
|
|
|
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 {
|
2017-06-05 10:58:51 +08:00
|
|
|
padding-left: 300px;
|
2015-09-24 21:37:20 +08:00
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
|
|
|
min-height: 100%;
|
2017-06-05 10:58:51 +08:00
|
|
|
-webkit-transition: padding-left 0.5s;
|
|
|
|
-moz-transition: padding-left 0.5s;
|
|
|
|
-o-transition: padding-left 0.5s;
|
|
|
|
-ms-transition: padding-left 0.5s;
|
|
|
|
transition: padding-left 0.5s;
|
2015-09-24 21:37:20 +08:00
|
|
|
}
|
|
|
|
@media only screen and (max-width: 1060px) {
|
|
|
|
.page-wrapper {
|
2017-06-05 10:58:51 +08:00
|
|
|
padding-left: 0;
|
2015-09-24 21:37:20 +08:00
|
|
|
}
|
|
|
|
}
|
2015-09-24 22:47:33 +08:00
|
|
|
.sidebar-hidden .page-wrapper {
|
2017-06-05 10:58:51 +08:00
|
|
|
padding-left: 0;
|
2015-09-24 22:47:33 +08:00
|
|
|
}
|
|
|
|
.sidebar-visible .page-wrapper {
|
2017-06-05 10:58:51 +08:00
|
|
|
padding-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%;
|
|
|
|
}
|
|
|
|
.menu-bar {
|
|
|
|
position: relative;
|
|
|
|
height: 50px;
|
|
|
|
}
|
|
|
|
.menu-bar i {
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
.menu-bar i:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.menu-bar .left-buttons {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
.menu-bar .right-buttons {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
.menu-title {
|
|
|
|
display: inline-block;
|
|
|
|
font-weight: 200;
|
|
|
|
font-size: 20px;
|
|
|
|
line-height: 50px;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
text-align: center;
|
|
|
|
margin: 0;
|
|
|
|
opacity: 0;
|
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
|
|
|
|
filter: alpha(opacity=0);
|
|
|
|
-webkit-transition: opacity 0.5s ease-in-out;
|
|
|
|
-moz-transition: opacity 0.5s ease-in-out;
|
|
|
|
-o-transition: opacity 0.5s ease-in-out;
|
|
|
|
-ms-transition: opacity 0.5s ease-in-out;
|
|
|
|
transition: opacity 0.5s ease-in-out;
|
|
|
|
}
|
|
|
|
.menu-bar:hover .menu-title {
|
|
|
|
opacity: 1;
|
|
|
|
-ms-filter: none;
|
|
|
|
filter: none;
|
|
|
|
}
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
.mobile-nav-chapters {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.nav-chapters:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2017-02-19 18:12:38 +08:00
|
|
|
.previous {
|
2017-06-05 10:58:51 +08:00
|
|
|
left: 315px;
|
|
|
|
-webkit-transition: left 0.5s;
|
|
|
|
-moz-transition: left 0.5s;
|
|
|
|
-o-transition: left 0.5s;
|
|
|
|
-ms-transition: left 0.5s;
|
|
|
|
transition: left 0.5s;
|
|
|
|
}
|
|
|
|
@media only screen and (max-width: 1060px) {
|
|
|
|
.previous {
|
|
|
|
left: 15px;
|
|
|
|
}
|
2015-09-24 21:37:20 +08:00
|
|
|
}
|
|
|
|
.next {
|
2015-12-18 00:34:24 +08:00
|
|
|
right: 15px;
|
2015-09-24 21:37:20 +08:00
|
|
|
}
|
2017-06-05 10:58:51 +08:00
|
|
|
.sidebar-hidden .previous {
|
|
|
|
left: 15px;
|
|
|
|
}
|
|
|
|
.sidebar-visible .previous {
|
|
|
|
left: 315px;
|
|
|
|
}
|
2015-09-24 21:37:20 +08:00
|
|
|
.theme-popup {
|
2016-02-04 00:55:19 +08:00
|
|
|
position: relative;
|
|
|
|
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 {
|
|
|
|
margin: 0;
|
|
|
|
padding: 2px 10px;
|
|
|
|
line-height: 25px;
|
|
|
|
white-space: nowrap;
|
2017-06-23 19:18:06 +08:00
|
|
|
cursor: pointer;
|
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
|
|
|
@media only screen and (max-width: 1250px) {
|
|
|
|
.nav-chapters {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.mobile-nav-chapters {
|
|
|
|
font-size: 2.5em;
|
|
|
|
text-align: center;
|
|
|
|
text-decoration: none;
|
|
|
|
max-width: 150px;
|
|
|
|
min-width: 90px;
|
|
|
|
-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;
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
margin-bottom: 50px;
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
.next {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
.previous {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.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;
|
|
|
|
}
|
2015-09-24 21:37:20 +08:00
|
|
|
.light .sidebar {
|
|
|
|
background-color: #fafafa;
|
|
|
|
color: #364149;
|
|
|
|
}
|
|
|
|
.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,
|
|
|
|
.light .mobile-nav-chapters:visited {
|
2015-09-24 21:37:20 +08:00
|
|
|
color: #ccc;
|
|
|
|
}
|
|
|
|
.light .menu-bar i:hover,
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
.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;
|
|
|
|
}
|
2016-01-03 20:47:59 +08:00
|
|
|
.light pre > .result {
|
2016-01-01 07:32:12 +08:00
|
|
|
margin-top: 10px;
|
|
|
|
}
|
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;
|
|
|
|
}
|
2015-09-24 21:37:20 +08:00
|
|
|
.coal .sidebar {
|
|
|
|
background-color: #292c2f;
|
|
|
|
color: #a1adb8;
|
|
|
|
}
|
|
|
|
.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,
|
|
|
|
.coal .mobile-nav-chapters:visited {
|
2015-09-24 21:37:20 +08:00
|
|
|
color: #43484d;
|
|
|
|
}
|
|
|
|
.coal .menu-bar i:hover,
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
.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;
|
|
|
|
}
|
2016-01-03 20:47:59 +08:00
|
|
|
.coal pre > .result {
|
2016-01-01 07:32:12 +08:00
|
|
|
margin-top: 10px;
|
|
|
|
}
|
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;
|
|
|
|
}
|
2015-09-24 21:37:20 +08:00
|
|
|
.navy .sidebar {
|
|
|
|
background-color: #282d3f;
|
|
|
|
color: #c8c9db;
|
|
|
|
}
|
|
|
|
.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,
|
|
|
|
.navy .mobile-nav-chapters:visited {
|
2015-09-24 21:37:20 +08:00
|
|
|
color: #737480;
|
|
|
|
}
|
|
|
|
.navy .menu-bar i:hover,
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
.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;
|
|
|
|
}
|
2016-01-03 20:47:59 +08:00
|
|
|
.navy pre > .result {
|
2016-01-01 07:32:12 +08:00
|
|
|
margin-top: 10px;
|
|
|
|
}
|
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;
|
|
|
|
}
|
2015-09-24 21:37:20 +08:00
|
|
|
.rust .sidebar {
|
|
|
|
background-color: #3b2e2a;
|
|
|
|
color: #c8c9db;
|
|
|
|
}
|
|
|
|
.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,
|
|
|
|
.rust .mobile-nav-chapters:visited {
|
2015-09-24 21:37:20 +08:00
|
|
|
color: #737480;
|
|
|
|
}
|
|
|
|
.rust .menu-bar i:hover,
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
.rust pre > .result {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
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;
|
|
|
|
}
|
|
|
|
.ayu .sidebar {
|
|
|
|
background-color: #14191f;
|
|
|
|
color: #c8c9db;
|
|
|
|
}
|
|
|
|
.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,
|
|
|
|
.ayu .mobile-nav-chapters:visited {
|
|
|
|
color: #737480;
|
|
|
|
}
|
|
|
|
.ayu .menu-bar i:hover,
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
.ayu pre > .result {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
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;
|
|
|
|
}
|
|
|
|
#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;
|
|
|
|
}
|