Created own theme
This commit is contained in:
4
assets/css/bootstrap/bootstrap-toc.min.css
vendored
Normal file
4
assets/css/bootstrap/bootstrap-toc.min.css
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
/*!
|
||||
* Bootstrap Table of Contents v1.0.1 (http://afeld.github.io/bootstrap-toc/)
|
||||
* Copyright 2015 Aidan Feldman
|
||||
* Licensed under MIT (https://github.com/afeld/bootstrap-toc/blob/gh-pages/LICENSE.md) */nav[data-toggle=toc] .nav>li>a{display:block;padding:4px 20px;font-size:13px;font-weight:500;color:#767676}nav[data-toggle=toc] .nav>li>a:focus,nav[data-toggle=toc] .nav>li>a:hover{padding-left:19px;color:#563d7c;text-decoration:none;background-color:transparent;border-left:1px solid #563d7c}nav[data-toggle=toc] .nav-link.active,nav[data-toggle=toc] .nav-link.active:focus,nav[data-toggle=toc] .nav-link.active:hover{padding-left:18px;font-weight:700;color:#563d7c;background-color:transparent;border-left:2px solid #563d7c}nav[data-toggle=toc] .nav-link+ul{display:none;padding-bottom:10px}nav[data-toggle=toc] .nav .nav>li>a{padding-top:1px;padding-bottom:1px;padding-left:30px;font-size:12px;font-weight:400}nav[data-toggle=toc] .nav .nav>li>a:focus,nav[data-toggle=toc] .nav .nav>li>a:hover{padding-left:29px}nav[data-toggle=toc] .nav .nav>li>.active,nav[data-toggle=toc] .nav .nav>li>.active:focus,nav[data-toggle=toc] .nav .nav>li>.active:hover{padding-left:28px;font-weight:500}nav[data-toggle=toc] .nav-link.active+ul{display:block}
|
||||
7
assets/css/bootstrap/bootstrap.min.css
vendored
Normal file
7
assets/css/bootstrap/bootstrap.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
assets/css/bootstrap/bootstrap.min.css.map
Normal file
1
assets/css/bootstrap/bootstrap.min.css.map
Normal file
File diff suppressed because one or more lines are too long
8
assets/css/colors.css
Normal file
8
assets/css/colors.css
Normal file
@@ -0,0 +1,8 @@
|
||||
:root {
|
||||
--main-color: #28a745;
|
||||
--nav-bg-color: #343a40;
|
||||
--footer-bg-color: #dbdbdb;
|
||||
--footer-color: #99979c;
|
||||
--link-color: var(--main-color);
|
||||
--link-color-hover: #1C7330;
|
||||
}
|
||||
28
assets/css/components/nav.css
Normal file
28
assets/css/components/nav.css
Normal file
@@ -0,0 +1,28 @@
|
||||
/* CSS for toc sidebar */
|
||||
|
||||
nav[data-toggle='toc'] {
|
||||
padding-top: 28px;
|
||||
}
|
||||
|
||||
nav[data-toggle='toc'] .nav > li > a:hover,
|
||||
nav[data-toggle='toc'] .nav-link.active,
|
||||
nav[data-toggle='toc'] .nav-link.active:focus,
|
||||
nav[data-toggle='toc'] .nav-link.active:hover,
|
||||
nav[data-toggle='toc'] .nav > li > a:focus {
|
||||
color: var(--main-color);
|
||||
border-left: 1px solid var(--main-color);
|
||||
}
|
||||
nav[data-toggle='toc'] .nav > .active > a,
|
||||
nav[data-toggle='toc'] .nav > .active:hover > a,
|
||||
nav[data-toggle='toc'] .nav > .active:focus > a {
|
||||
color: var(--main-color);
|
||||
border-left: 2px solid var(--main-color);
|
||||
}
|
||||
|
||||
/* small screens */
|
||||
@media (max-width: 768px) {
|
||||
/* override the Affix plugin so that the navigation isn't sticky */
|
||||
nav.affix[data-toggle='toc'] {
|
||||
position: static;
|
||||
}
|
||||
}
|
||||
72
assets/css/components/syntax.css
Normal file
72
assets/css/components/syntax.css
Normal file
@@ -0,0 +1,72 @@
|
||||
.highlight, pre.highlight {
|
||||
background: #282c34;
|
||||
color: #abb2bf;
|
||||
border: 0;
|
||||
padding: 5px;
|
||||
border-radius: 3px;
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.highlight pre { background: #282c34 }
|
||||
.highlight .hll { background: #282c34 }
|
||||
.highlight .c { color: #5c6370; font-style: italic }
|
||||
.highlight .err { color: #960050; background-color: #1e0010 }
|
||||
.highlight .k { color: #c678dd }
|
||||
.highlight .l { color: #98c379 }
|
||||
.highlight .n { color: #abb2bf }
|
||||
.highlight .o { color: #abb2bf }
|
||||
.highlight .p { color: #abb2bf }
|
||||
.highlight .cm { color: #5c6370; font-style: italic }
|
||||
.highlight .cp { color: #5c6370; font-style: italic }
|
||||
.highlight .c1 { color: #5c6370; font-style: italic }
|
||||
.highlight .cs { color: #5c6370; font-style: italic }
|
||||
.highlight .ge { font-style: italic }
|
||||
.highlight .gs { font-weight: 700 }
|
||||
.highlight .kc { color: #c678dd }
|
||||
.highlight .kd { color: #c678dd }
|
||||
.highlight .kn { color: #c678dd }
|
||||
.highlight .kp { color: #c678dd }
|
||||
.highlight .kr { color: #c678dd }
|
||||
.highlight .kt { color: #c678dd }
|
||||
.highlight .ld { color: #98c379 }
|
||||
.highlight .m { color: #d19a66 }
|
||||
.highlight .s { color: #98c379 }
|
||||
.highlight .na { color: #d19a66 }
|
||||
.highlight .nb { color: #e5c07b }
|
||||
.highlight .nc { color: #e5c07b }
|
||||
.highlight .no { color: #e5c07b }
|
||||
.highlight .nd { color: #e5c07b }
|
||||
.highlight .ni { color: #e5c07b }
|
||||
.highlight .ne { color: #e5c07b }
|
||||
.highlight .nf { color: #abb2bf }
|
||||
.highlight .nl { color: #e5c07b }
|
||||
.highlight .nn { color: #abb2bf }
|
||||
.highlight .nx { color: #abb2bf }
|
||||
.highlight .py { color: #e5c07b }
|
||||
.highlight .nt { color: #e06c75 }
|
||||
.highlight .nv { color: #e5c07b }
|
||||
.highlight .ow { color: #c678dd;/* font-weight: 700 */}
|
||||
.highlight .w { color: #f8f8f2 }
|
||||
.highlight .mf { color: #d19a66 }
|
||||
.highlight .mh { color: #d19a66 }
|
||||
.highlight .mi { color: #d19a66 }
|
||||
.highlight .mo { color: #d19a66 }
|
||||
.highlight .sb { color: #98c379 }
|
||||
.highlight .sc { color: #98c379 }
|
||||
.highlight .sd { color: #98c379 }
|
||||
.highlight .s2 { color: #98c379 }
|
||||
.highlight .se { color: #98c379 }
|
||||
.highlight .sh { color: #98c379 }
|
||||
.highlight .si { color: #98c379 }
|
||||
.highlight .sx { color: #98c379 }
|
||||
.highlight .sr { color: #56b6c2 }
|
||||
.highlight .s1 { color: #98c379 }
|
||||
.highlight .ss { color: #56b6c2 }
|
||||
.highlight .bp { color: #e5c07b }
|
||||
.highlight .vc { color: #e5c07b }
|
||||
.highlight .vg { color: #e5c07b }
|
||||
.highlight .vi { color: #e06c75 }
|
||||
.highlight .il { color: #d19a66 }
|
||||
.highlight .gu { color: #75715e }
|
||||
.highlight .gd { color: #f92672 }
|
||||
.highlight .gi { color: #a6e22e }
|
||||
64
assets/css/components/syntaxOld.css
Normal file
64
assets/css/components/syntaxOld.css
Normal file
@@ -0,0 +1,64 @@
|
||||
.highlight .hll, .highlight pre { background-color: #272822; border: 0; padding: 5px; border-radius: 3px; padding-left: 10px;}
|
||||
.highlight .c { color: #75715e } /* Comment */
|
||||
.highlight .err { color: #960050; background-color: #1e0010 } /* Error */
|
||||
.highlight .k { color: #66d9ef } /* Keyword */
|
||||
.highlight .l { color: #ae81ff } /* Literal */
|
||||
.highlight .n { color: #f8f8f2 } /* Name */
|
||||
.highlight .o { color: #f92672 } /* Operator */
|
||||
.highlight .p { color: #f8f8f2 } /* Punctuation */
|
||||
.highlight .cm { color: #75715e } /* Comment.Multiline */
|
||||
.highlight .cp { color: #75715e } /* Comment.Preproc */
|
||||
.highlight .c1 { color: #75715e } /* Comment.Single */
|
||||
.highlight .cs { color: #75715e } /* Comment.Special */
|
||||
.highlight .ge { font-style: italic } /* Generic.Emph */
|
||||
.highlight .gs { font-weight: bold } /* Generic.Strong */
|
||||
.highlight .kc { color: #66d9ef } /* Keyword.Constant */
|
||||
.highlight .kd { color: #66d9ef } /* Keyword.Declaration */
|
||||
.highlight .kn { color: #f92672 } /* Keyword.Namespace */
|
||||
.highlight .kp { color: #66d9ef } /* Keyword.Pseudo */
|
||||
.highlight .kr { color: #66d9ef } /* Keyword.Reserved */
|
||||
.highlight .kt { color: #66d9ef } /* Keyword.Type */
|
||||
.highlight .ld { color: #e6db74 } /* Literal.Date */
|
||||
.highlight .m { color: #ae81ff } /* Literal.Number */
|
||||
.highlight .s { color: #e6db74 } /* Literal.String */
|
||||
.highlight .na { color: #a6e22e } /* Name.Attribute */
|
||||
.highlight .nb { color: #f8f8f2 } /* Name.Builtin */
|
||||
.highlight .nc { color: #a6e22e } /* Name.Class */
|
||||
.highlight .no { color: #66d9ef } /* Name.Constant */
|
||||
.highlight .nd { color: #a6e22e } /* Name.Decorator */
|
||||
.highlight .ni { color: #f8f8f2 } /* Name.Entity */
|
||||
.highlight .ne { color: #a6e22e } /* Name.Exception */
|
||||
.highlight .nf { color: #a6e22e } /* Name.Function */
|
||||
.highlight .nl { color: #f8f8f2 } /* Name.Label */
|
||||
.highlight .nn { color: #f8f8f2 } /* Name.Namespace */
|
||||
.highlight .nx { color: #a6e22e } /* Name.Other */
|
||||
.highlight .py { color: #f8f8f2 } /* Name.Property */
|
||||
.highlight .nt { color: #f92672 } /* Name.Tag */
|
||||
.highlight .nv { color: #f8f8f2 } /* Name.Variable */
|
||||
.highlight .ow { color: #f92672 } /* Operator.Word */
|
||||
.highlight .w { color: #f8f8f2 } /* Text.Whitespace */
|
||||
.highlight .mf { color: #ae81ff } /* Literal.Number.Float */
|
||||
.highlight .mh { color: #ae81ff } /* Literal.Number.Hex */
|
||||
.highlight .mi { color: #ae81ff } /* Literal.Number.Integer */
|
||||
.highlight .mo { color: #ae81ff } /* Literal.Number.Oct */
|
||||
.highlight .sb { color: #e6db74 } /* Literal.String.Backtick */
|
||||
.highlight .sc { color: #e6db74 } /* Literal.String.Char */
|
||||
.highlight .sd { color: #e6db74 } /* Literal.String.Doc */
|
||||
.highlight .s2 { color: #e6db74 } /* Literal.String.Double */
|
||||
.highlight .se { color: #ae81ff } /* Literal.String.Escape */
|
||||
.highlight .sh { color: #e6db74 } /* Literal.String.Heredoc */
|
||||
.highlight .si { color: #e6db74 } /* Literal.String.Interpol */
|
||||
.highlight .sx { color: #e6db74 } /* Literal.String.Other */
|
||||
.highlight .sr { color: #e6db74 } /* Literal.String.Regex */
|
||||
.highlight .s1 { color: #e6db74 } /* Literal.String.Single */
|
||||
.highlight .ss { color: #e6db74 } /* Literal.String.Symbol */
|
||||
.highlight .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */
|
||||
.highlight .vc { color: #f8f8f2 } /* Name.Variable.Class */
|
||||
.highlight .vg { color: #f8f8f2 } /* Name.Variable.Global */
|
||||
.highlight .vi { color: #f8f8f2 } /* Name.Variable.Instance */
|
||||
.highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */
|
||||
|
||||
.highlight .gh { } /* Generic Heading & Diff Header */
|
||||
.highlight .gu { color: #75715e; } /* Generic.Subheading & Diff Unified/Comment? */
|
||||
.highlight .gd { color: #f92672; } /* Generic.Deleted & Diff Deleted */
|
||||
.highlight .gi { color: #a6e22e; } /* Generic.Inserted & Diff Inserted */
|
||||
114
assets/css/components/theme.css
Normal file
114
assets/css/components/theme.css
Normal file
@@ -0,0 +1,114 @@
|
||||
@import url("../colors.css");
|
||||
@import url("syntax.css");
|
||||
@import url("nav.css");
|
||||
|
||||
#navbarTop {
|
||||
background-color: var(--nav-bg-color) !important;
|
||||
min-height: 3.5rem;
|
||||
}
|
||||
|
||||
.jumbotron {
|
||||
background:var(--main-color);
|
||||
background: -moz-linear-gradient(-45deg,var(--main-color) 0%, var(--main-color) 100%);
|
||||
background: -webkit-gradient(left top, right bottom, color-stop(0%,var(--main-color)), color-stop(100%, var(--main-color)));
|
||||
background: -webkit-linear-gradient(-45deg,var(--main-color) 0%, var(--main-color) 100%);
|
||||
background: -o-linear-gradient(-45deg,var(--main-color) 0%, var(--main-color) 100%);
|
||||
background: -ms-linear-gradient(-45deg,var(--main-color) 0%, var(--main-color) 100%);
|
||||
background: linear-gradient(135deg,var(--main-color) 0%, var(--main-color) 100%);
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
img {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
max-height: 80%;
|
||||
max-width: 80%;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-weight: 500;
|
||||
padding-top: 1rem;
|
||||
}
|
||||
|
||||
.mdg-nav {
|
||||
font-size: .9rem;
|
||||
}
|
||||
|
||||
.page-header {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.list-group {
|
||||
padding: 4rem 0;
|
||||
}
|
||||
|
||||
.page-header .anchorjs-link {
|
||||
text-decoration: none
|
||||
}
|
||||
|
||||
h1 .anchorjs-link {
|
||||
text-decoration: none
|
||||
}
|
||||
|
||||
h2 .anchorjs-link {
|
||||
text-decoration: none
|
||||
}
|
||||
|
||||
h3 .anchorjs-link {
|
||||
text-decoration: none
|
||||
}
|
||||
|
||||
h4 .anchorjs-link {
|
||||
text-decoration: none
|
||||
}
|
||||
|
||||
.site-footer {
|
||||
padding-top: 2.5rem;
|
||||
padding-bottom: 1.8rem;
|
||||
margin-top: 2.5rem;
|
||||
height: 8.5rem;
|
||||
color: var(--footer-color);
|
||||
background-color: var(--footer-bg-color);
|
||||
}
|
||||
|
||||
.site-footer a {
|
||||
color: var(--link-color);
|
||||
}
|
||||
|
||||
.footnotes {
|
||||
margin-top: 40px;
|
||||
padding-top: 20px;
|
||||
border-top-width: 1px;
|
||||
border-top-style: solid;
|
||||
border-top-color: rgb(238, 238, 238);
|
||||
}
|
||||
|
||||
.highlight {
|
||||
padding-top: 1rem;
|
||||
padding-right: 1rem;
|
||||
padding-left: 1rem;
|
||||
padding-bottom: 1px;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
background: #f9f9f9;
|
||||
border-left: .8rem solid #ccc;
|
||||
margin: 1.5em 1rem;
|
||||
padding: 1em .8rem 0.1em .8rem;
|
||||
quotes: "\201C""\201D""\2018""\2019";
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--link-color);
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: var(--link-color-hover);
|
||||
}
|
||||
|
||||
.MJX_LiveRegion {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
37
assets/css/default.css
Normal file
37
assets/css/default.css
Normal file
@@ -0,0 +1,37 @@
|
||||
@import url("components/theme.css");
|
||||
|
||||
.jumbotron {
|
||||
margin-bottom: 1.25rem;
|
||||
border-radius: 0;
|
||||
height: 12.5rem;
|
||||
}
|
||||
|
||||
.jumbotron h1 {
|
||||
font-weight: 300;
|
||||
font-size: 3.2rem;
|
||||
margin-top: -2.8rem;
|
||||
}
|
||||
|
||||
.jumbotron p {
|
||||
padding: 0.4rem 0 0 0;
|
||||
font-size: 1.5rem;
|
||||
font-weight: 300;
|
||||
margin-bottom: 0.6rem;
|
||||
}
|
||||
|
||||
@media(max-width: 576px) {
|
||||
.jumbotron p {
|
||||
padding: 0.4rem 0 0 0;
|
||||
font-size: 1rem;
|
||||
font-weight: 300;
|
||||
margin-bottom: 0.6rem;
|
||||
}
|
||||
.jumbotron h1 {
|
||||
font-size: 3.2rem;
|
||||
margin-top: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
#main {
|
||||
min-height: calc(100vh - 28.25rem);
|
||||
}
|
||||
60
assets/css/home.css
Normal file
60
assets/css/home.css
Normal file
@@ -0,0 +1,60 @@
|
||||
@import url("components/theme.css");
|
||||
|
||||
|
||||
|
||||
.jumbotron {
|
||||
padding: 5.5rem 0 5rem 0;
|
||||
border-radius: 0;
|
||||
min-height: 20rem;
|
||||
}
|
||||
|
||||
.jumbotron .container {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.jumbotron p {
|
||||
padding: 2.5rem 0 0 0;
|
||||
font-size: 1.75rem;
|
||||
font-weight: 300;
|
||||
width: 85%;
|
||||
text-align: center;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
|
||||
#main {
|
||||
min-height: calc(100vh - 47.75rem);
|
||||
}
|
||||
|
||||
.home-link>a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.icon {
|
||||
font-size: 5rem;
|
||||
height: 6rem;
|
||||
margin-bottom: 1.25rem;
|
||||
}
|
||||
|
||||
.homepage-main {
|
||||
padding-top: 1.875rem;
|
||||
padding-bottom: 2.5rem;
|
||||
font-size: 1rem;
|
||||
line-height: 1.5;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.col-sm-4 p {
|
||||
font-size: 1rem;
|
||||
font-weight: 300;
|
||||
color: #555;
|
||||
width: 95%;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
padding-top: 0px;
|
||||
}
|
||||
|
||||
37
assets/css/page.css
Normal file
37
assets/css/page.css
Normal file
@@ -0,0 +1,37 @@
|
||||
@import url("components/theme.css");
|
||||
|
||||
.jumbotron {
|
||||
margin-bottom: 1.25rem;
|
||||
border-radius: 0;
|
||||
min-height: 12.5rem;
|
||||
}
|
||||
|
||||
.jumbotron h1 {
|
||||
font-weight: 300;
|
||||
font-size: 3.2rem;
|
||||
margin-top: -2.8rem;
|
||||
}
|
||||
|
||||
.jumbotron p {
|
||||
padding: 0.4rem 0 0 0;
|
||||
font-size: 1.5rem;
|
||||
font-weight: 300;
|
||||
margin-bottom: 0.6rem;
|
||||
}
|
||||
|
||||
@media(max-width: 576px) {
|
||||
.jumbotron p {
|
||||
padding: 0.4rem 0 0 0;
|
||||
font-size: 1rem;
|
||||
font-weight: 300;
|
||||
margin-bottom: 0.6rem;
|
||||
}
|
||||
.jumbotron h1 {
|
||||
font-size: 3.2rem;
|
||||
margin-top: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
#main {
|
||||
min-height: calc(100vh - 28.25rem);
|
||||
}
|
||||
Reference in New Issue
Block a user