mirror of https://gitee.com/bigwinds/arangodb
Fixed some data in the gitbook theme
This commit is contained in:
parent
de9a1c6efc
commit
63b24cc71e
File diff suppressed because one or more lines are too long
Binary file not shown.
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
@ -1 +1 @@
|
||||||
.link-inherit{color:inherit}.link-inherit:hover,.link-inherit:focus{color:inherit}.hljs-comment,.hljs-title{color:#8e908c}.hljs-variable,.hljs-attribute,.hljs-tag,.hljs-regexp,.ruby .hljs-constant,.xml .hljs-tag .hljs-title,.xml .hljs-pi,.xml .hljs-doctype,.html .hljs-doctype,.css .hljs-id,.css .hljs-class,.css .hljs-pseudo{color:#c82829}.hljs-number,.hljs-preprocessor,.hljs-pragma,.hljs-built_in,.hljs-literal,.hljs-params,.hljs-constant{color:#f5871f}.ruby .hljs-class .hljs-title,.css .hljs-rules .hljs-attribute{color:#eab700}.hljs-string,.hljs-value,.hljs-inheritance,.hljs-header,.ruby .hljs-symbol,.xml .hljs-cdata{color:#718c00}.css .hljs-hexcolor{color:#3e999f}.hljs-function,.python .hljs-decorator,.python .hljs-title,.ruby .hljs-function .hljs-title,.ruby .hljs-title .hljs-keyword,.perl .hljs-sub,.javascript .hljs-title,.coffeescript .hljs-title{color:#4271ae}.hljs-keyword,.javascript .hljs-function{color:#8959a8}.hljs{display:block;background:white;color:#4d4d4c;padding:.5em}.coffeescript .javascript,.javascript .xml,.tex .hljs-formula,.xml .javascript,.xml .vbscript,.xml .css,.xml .hljs-cdata{opacity:.5}.book-chapter{display:none}article{page-break-after:always}pre,blockquote{border:1px solid #999;page-break-inside:avoid;background:#f1f1f1;padding:8px}img{max-width:100%!important;page-break-inside:avoid;margin:0 auto}.exercise,.quiz{margin:1cm 0;padding:.4cm;page-break-inside:avoid;border:3px solid #ddd}.exercise .exercise-header,.quiz .exercise-header{margin-bottom:.4cm;padding-bottom:.2cm;border-bottom:1px solid #ddd}.exercise .question,.quiz .question{margin-top:.4cm}
|
.link-inherit{color:inherit}.link-inherit:hover,.link-inherit:focus{color:inherit}.hljs-comment,.hljs-title{color:#8e908c}.hljs-variable,.hljs-attribute,.hljs-tag,.hljs-regexp,.ruby .hljs-constant,.xml .hljs-tag .hljs-title,.xml .hljs-pi,.xml .hljs-doctype,.html .hljs-doctype,.css .hljs-id,.css .hljs-class,.css .hljs-pseudo{color:#c82829}.hljs-number,.hljs-preprocessor,.hljs-pragma,.hljs-built_in,.hljs-literal,.hljs-params,.hljs-constant{color:#f5871f}.ruby .hljs-class .hljs-title,.css .hljs-rules .hljs-attribute{color:#eab700}.hljs-string,.hljs-value,.hljs-inheritance,.hljs-header,.ruby .hljs-symbol,.xml .hljs-cdata{color:#718c00}.css .hljs-hexcolor{color:#3e999f}.hljs-function,.python .hljs-decorator,.python .hljs-title,.ruby .hljs-function .hljs-title,.ruby .hljs-title .hljs-keyword,.perl .hljs-sub,.javascript .hljs-title,.coffeescript .hljs-title{color:#4271ae}.hljs-keyword,.javascript .hljs-function{color:#8959a8}.hljs{display:block;background:white;color:#4d4d4c;padding:.5em}.coffeescript .javascript,.javascript .xml,.tex .hljs-formula,.xml .javascript,.xml .vbscript,.xml .css,.xml .hljs-cdata{opacity:.5}.book-chapter{display:none}pre,blockquote{border:1px solid #999;page-break-inside:avoid;background:#f1f1f1;padding:8px}img{max-width:100%!important;page-break-inside:avoid;margin:0 auto}.exercise,.quiz{margin:1cm 0;padding:.4cm;page-break-inside:avoid;border:3px solid #ddd}.exercise .exercise-header,.quiz .exercise-header{margin-bottom:.4cm;padding-bottom:.2cm;border-bottom:1px solid #ddd}.exercise .question,.quiz .question{margin-top:.4cm}
|
|
@ -7543,7 +7543,7 @@ text-decoration: none;
|
||||||
color: rgba(0,0,0,0.6)
|
color: rgba(0,0,0,0.6)
|
||||||
}
|
}
|
||||||
.book .book-body .navigation.navigation-next {
|
.book .book-body .navigation.navigation-next {
|
||||||
right: 0
|
right: 10
|
||||||
}
|
}
|
||||||
.book .book-body .navigation.navigation-prev {
|
.book .book-body .navigation.navigation-prev {
|
||||||
left: 50px
|
left: 50px
|
||||||
|
|
|
@ -13,6 +13,9 @@ define([
|
||||||
},
|
},
|
||||||
"google-plus": function($el) {
|
"google-plus": function($el) {
|
||||||
window.open("https://plus.google.com/share?url="+encodeURIComponent(url))
|
window.open("https://plus.google.com/share?url="+encodeURIComponent(url))
|
||||||
|
},
|
||||||
|
"weibo": function($el) {
|
||||||
|
window.open("http://service.weibo.com/share/share.php?content=utf-8&url="+encodeURIComponent(url)+"&title="+encodeURIComponent(title))
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -7,23 +7,6 @@
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
article {
|
|
||||||
page-break-after: always;
|
|
||||||
}
|
|
||||||
|
|
||||||
pre, blockquote {
|
|
||||||
border: 1px solid #999;
|
|
||||||
page-break-inside: avoid;
|
|
||||||
background: #f1f1f1;
|
|
||||||
padding: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
|
||||||
max-width: 100% !important;
|
|
||||||
page-break-inside: avoid;
|
|
||||||
margin: 0px auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.exercise, .quiz {
|
.exercise, .quiz {
|
||||||
margin: 1cm 0cm;
|
margin: 1cm 0cm;
|
||||||
padding: 0.4cm;
|
padding: 0.4cm;
|
||||||
|
@ -41,3 +24,9 @@ img {
|
||||||
margin-top: 0.4cm;
|
margin-top: 0.4cm;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: sans-serif;
|
||||||
|
.markdown-content(#333, 1.6);
|
||||||
|
}
|
|
@ -1,5 +1,6 @@
|
||||||
@import "vendors/bootstrap/bootstrap.less";
|
@import "base/normalize.less";
|
||||||
@import "vendors/fontawesome/font-awesome.less";
|
@import "base/preboot.less";
|
||||||
|
@import "../vendors/fontawesome/less/font-awesome.less";
|
||||||
|
|
||||||
@import "mixins.less";
|
@import "mixins.less";
|
||||||
|
|
||||||
|
@ -7,16 +8,17 @@
|
||||||
@import "website/variables.less";
|
@import "website/variables.less";
|
||||||
@import "website/languages.less";
|
@import "website/languages.less";
|
||||||
@import "website/header.less";
|
@import "website/header.less";
|
||||||
|
@import "website/dropdown.less";
|
||||||
|
@import "website/alerts.less";
|
||||||
@import "website/summary.less";
|
@import "website/summary.less";
|
||||||
@import "website/font-settings.less";
|
@import "website/font-settings.less";
|
||||||
@import "website/body.less";
|
@import "website/body.less";
|
||||||
@import "website/exercise.less";
|
@import "website/buttons.less";
|
||||||
@import "website/quiz.less";
|
|
||||||
@import "website/markdown.less";
|
@import "website/markdown.less";
|
||||||
@import "website/progress.less";
|
|
||||||
@import "website/navigation.less";
|
@import "website/navigation.less";
|
||||||
|
|
||||||
* {
|
* {
|
||||||
|
.box-sizing(border-box);
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
-webkit-tap-highlight-color: transparent;
|
-webkit-tap-highlight-color: transparent;
|
||||||
-webkit-text-size-adjust: none;
|
-webkit-text-size-adjust: none;
|
||||||
|
@ -24,12 +26,21 @@
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
html, body {
|
html, body {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html {
|
||||||
|
font-size: 62.5%;
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
text-rendering: optimizeLegibility;
|
text-rendering: optimizeLegibility;
|
||||||
font-smoothing: antialiased;
|
font-smoothing: antialiased;
|
||||||
font-family: @font-family-base;
|
font-family: @font-family-base;
|
||||||
|
font-size: @font-size-base;
|
||||||
}
|
}
|
|
@ -103,27 +103,27 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&.font-size-0 {
|
&.font-size-0 {
|
||||||
.book-body {
|
.book-body .page-inner section {
|
||||||
font-size:@s-font-size;
|
font-size:@s-font-size;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
&.font-size-1 {
|
&.font-size-1 {
|
||||||
.book-body {
|
.book-body .page-inner section {
|
||||||
font-size:@m-font-size;
|
font-size:@m-font-size;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
&.font-size-2 {
|
&.font-size-2 {
|
||||||
.book-body {
|
.book-body .page-inner section {
|
||||||
font-size:@l-font-size;
|
font-size:@l-font-size;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
&.font-size-3{
|
&.font-size-3{
|
||||||
.book-body {
|
.book-body .page-inner section {
|
||||||
font-size:@xl-font-size;
|
font-size:@xl-font-size;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
&.font-size-4 {
|
&.font-size-4 {
|
||||||
.book-body {
|
.book-body .page-inner section {
|
||||||
font-size:@xxl-font-size;
|
font-size:@xxl-font-size;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,12 +44,16 @@
|
||||||
padding-right: 200px;
|
padding-right: 200px;
|
||||||
.transition(margin-left 0.5s ease);
|
.transition(margin-left 0.5s ease);
|
||||||
|
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
|
||||||
a, a:hover {
|
a, a:hover {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 800px) {
|
@media (max-width: 1000px) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -49,10 +49,14 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.book.color-theme-1 .book-body {
|
.book.color-theme-1 .book-body {
|
||||||
.navigation:hover{
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.book.color-theme-2 .book-body {
|
.book.color-theme-2 .book-body {
|
||||||
.navigation:hover{
|
.navigation {
|
||||||
|
color: rgba(255, 255, 255, 0.4);
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: rgba(255, 255, 255, 0.9);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue