docs template

This commit is contained in:
Milos Stojanovic
2019-06-18 16:34:23 +02:00
parent 4b3f6ddd42
commit e8f1f597de
11 changed files with 772 additions and 2 deletions

7
docs/template/css/bootstrap.min.css vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,45 @@
/* Tomorrow Night Theme */
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
/* Original theme - https://github.com/chriskempson/tomorrow-theme */
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
.tomorrow-comment, pre .comment, pre .title {
color: #969896;
}
.tomorrow-red, pre .variable, pre .attribute, pre .tag, pre .regexp, pre .ruby .constant, pre .xml .tag .title, pre .xml .pi, pre .xml .doctype, pre .html .doctype, pre .css .id, pre .css .class, pre .css .pseudo {
color: #cc6666;
}
.tomorrow-orange, pre .number, pre .preprocessor, pre .built_in, pre .literal, pre .params, pre .constant {
color: #de935f;
}
.tomorrow-yellow, pre .class, pre .ruby .class .title, pre .css .rules .attribute {
color: #f0c674;
}
.tomorrow-green, pre .string, pre .value, pre .inheritance, pre .header, pre .ruby .symbol, pre .xml .cdata {
color: #b5bd68;
}
.tomorrow-aqua, pre .css .hexcolor {
color: #8abeb7;
}
.tomorrow-blue, pre .function, pre .python .decorator, pre .python .title, pre .ruby .function .title, pre .ruby .title .keyword, pre .perl .sub, pre .javascript .title, pre .coffeescript .title {
color: #81a2be;
}
.tomorrow-purple, pre .keyword, pre .javascript .function {
color: #b294bb;
}
pre code {
display: block;
background: #1d1f21;
color: #c5c8c6;
font-family: Menlo, Monaco, Consolas, monospace;
line-height: 1.5;
border: 1px solid #ccc;
padding: 10px;
}

98
docs/template/css/main.css vendored Normal file
View File

@@ -0,0 +1,98 @@
body {
font-size: 19px;
}
main {
margin-top: 90px;
}
section {
margin-bottom: 50px;
}
h1, h2, h3, h4 {
color: #df691a;
}
h3 {
font-size: 23px;
}
li {
margin-bottom: 3px;
}
img {
max-width: 100%;
}
header.navbar {
opacity: 0.9;
}
.navbar .navbar-brand {
font-size: 28px;
height: auto;
line-height: 50px;
margin-left: 20px;
color: #df691a;
}
.navbar a.navbar-brand:hover {
color: #df691a;
}
.navbar .navbar-brand small {
font-size: 18px;
font-weight: 300;
margin-left: 10px;
color: white;
}
@media (min-width: 768px) {
#sidebar {
position:fixed;
}
}
@media (max-width: 960px) {
body {
font-size: 17px;
}
pre {
font-size: 12px;
}
}
.page-header {
margin-top: 0;
}
#sidebar .github-star {
margin-top: 20px;
margin-left: 50px;
}
#sidebar .text-muted {
color: #859AAF;
}
pre {
padding: 0;
border-color: #3D5166;
background-color: #1D2B3A;
border-radius: 4px;
margin: 15px;
}
pre code {
border: none;
background-color: #1D2B3A;
}
code {
font-size: 85%;
padding: 4px 4px 1px;
margin: 0 4px;
border-radius: 3px;
color: #c5c8c6;
border: solid 1px #3D5166;
background-color: #1D2B3A;
white-space: pre-wrap;
white-space: -moz-pre-wrap;
word-wrap: break-word;
}