Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
v1.1 - Changelog
= ADDED - Highlight.js for code highlighting
  • Loading branch information
Rodgath authored Feb 3, 2019
1 parent 0d9b830 commit 8099537
Show file tree
Hide file tree
Showing 7 changed files with 341 additions and 57 deletions.
7 changes: 4 additions & 3 deletions assets/bootstrap.min.css

Large diffs are not rendered by default.

71 changes: 49 additions & 22 deletions assets/docs.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ h1 small {
h1 span {
padding:10px 12px;
}
section .label {
section .nav-label {
position:absolute;
left:-6px;
top:68px;
Expand Down Expand Up @@ -75,6 +75,26 @@ dfn {
dd {
padding: 0 0 0.5em 0;
}

pre {
display: block;
padding: 9.5px;
margin: 0 0 10px;
font-size: 13px;
line-height: 1.42857143;
color: #333;
word-break: break-all;
word-wrap: break-word;
background-color: #f5f5f5;
border: 1px solid #ccc;
border-radius: 4px;
}

.mark,mark {
padding:.2em;
background-color:#ff0
}

.sidebar .well {
padding:0;
-moz-border-radius:0 0 4px 4px;
Expand Down Expand Up @@ -134,12 +154,25 @@ dd {
border-bottom: 0;
}
.nav>li>a {
padding:8px;
font-size: 0.92rem
}
.nav>li>ul {
padding-bottom:8px;
padding-left: 38px;
}
.nav-label {
display: inline;
padding: .2em .6em .3em;
font-size: 75%;
font-weight: 700;
line-height: 0.96;
color: #fff;
text-align: center;
white-space: nowrap;
vertical-align: baseline;
border-radius: .25em;
}

/* base */
.jumbotron {
margin-bottom:0;
Expand Down Expand Up @@ -197,16 +230,16 @@ font-size: 38px;
color:#fff;
display:inline-block;
text-decoration: none;
width: 20px;
height: 20px;
width: 24px;
height: 22px;
margin-bottom: -5px;
}
.back-to-section-nav a:before {
content:'';
display:block;
position:absolute;
left: 11px;
bottom: 14px;
left: 13px;
bottom: 15px;
width:0;
height:0;
border: solid 4px rgba(0, 0, 0, 0);
Expand All @@ -226,11 +259,12 @@ font-size: 38px;
display:inline-block;
text-decoration: none;
width: 26px;
height: 20px;
line-height: 18px;
height: 22px;
line-height: 1.9;
font-size: 11px;
text-align: center;
font-weight: bold;
vertical-align: bottom
}

/* links */
Expand Down Expand Up @@ -260,7 +294,7 @@ font-size: 38px;
/* section-nav */
.well.section-nav {
min-height: 20px;
padding: 0;
padding: 15px 20px 15px 5px;
margin-bottom: 20px;
background-color: #fafafa;
border: 1px solid #e3e3e3;
Expand All @@ -277,11 +311,13 @@ display: list-item;
padding-left: -30px;
}
.well.section-nav .nav > li a {
padding: 2px
padding: 5px;
display: block;
}
.well.section-nav .nav > li a:hover {
.well.section-nav .nav > li:hover a {
background: transparent;
text-decoration: underline;
text-decoration: none;
background: #f0f0f0;
}
.well.section-nav .nav>li:last-child {
border-bottom: 0;
Expand All @@ -290,7 +326,7 @@ border-bottom: 0;
margin-left: 30px; padding-bottom: 5px; margin-bottom: 0; border-bottom: 1px solid #ddd;
}

.label {
.nav-label {
padding: .3em .6em;
}

Expand Down Expand Up @@ -330,15 +366,6 @@ img {
position: relative;
padding: 40px 20px 40px 60px;
}
.no-p {
padding: 0 !important;
}
.no-m {
margin: 0 !important;
}
.no-b-r {
border-radius: 0 !important;
}
.header {
margin: 0;
position: relative;
Expand Down
1 change: 1 addition & 0 deletions assets/highlight.pack.js

Large diffs are not rendered by default.

155 changes: 155 additions & 0 deletions assets/monokai_sublime.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
/*
Monokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-license.org/
*/

.hljs {
display: block;
overflow-x: auto;
padding: 0.5em;
background: #23241f;
-webkit-text-size-adjust: none;
}

.hljs,
.hljs-tag,
.css .hljs-rule,
.css .hljs-value,
.aspectj .hljs-function,
.css .hljs-function
.hljs-preprocessor,
.hljs-pragma {
color: #f8f8f2;
}

.hljs-strongemphasis,
.hljs-strong,
.hljs-emphasis {
color: #a8a8a2;
}

.hljs-bullet,
.hljs-blockquote,
.hljs-horizontal_rule,
.hljs-number,
.hljs-regexp,
.alias .hljs-keyword,
.hljs-literal,
.hljs-hexcolor {
color: #ae81ff;
}

.hljs-tag .hljs-value,
.hljs-code,
.hljs-title,
.css .hljs-class,
.hljs-class .hljs-title:last-child {
color: #a6e22e;
}

.hljs-link_url {
font-size: 80%;
}

.hljs-strong,
.hljs-strongemphasis {
font-weight: bold;
}

.hljs-emphasis,
.hljs-strongemphasis,
.hljs-class .hljs-title:last-child,
.hljs-typename {
font-style: italic;
}

.hljs-keyword,
.ruby .hljs-class .hljs-keyword:first-child,
.ruby .hljs-function .hljs-keyword,
.hljs-function,
.hljs-change,
.hljs-winutils,
.hljs-flow,
.nginx .hljs-title,
.tex .hljs-special,
.hljs-header,
.hljs-attribute,
.hljs-symbol,
.hljs-symbol .hljs-string,
.hljs-tag .hljs-title,
.hljs-value,
.alias .hljs-keyword:first-child,
.css .hljs-tag,
.css .unit,
.css .hljs-important {
color: #f92672;
}

.hljs-function .hljs-keyword,
.hljs-class .hljs-keyword:first-child,
.hljs-aspect .hljs-keyword:first-child,
.hljs-constant,
.hljs-typename,
.hljs-name,
.css .hljs-attribute {
color: #66d9ef;
}

.hljs-variable,
.hljs-params,
.hljs-class .hljs-title,
.hljs-aspect .hljs-title {
color: #f8f8f2;
}

.hljs-string,
.css .hljs-id,
.hljs-subst,
.hljs-type,
.ruby .hljs-class .hljs-parent,
.hljs-built_in,
.django .hljs-template_tag,
.django .hljs-variable,
.smalltalk .hljs-class,
.django .hljs-filter .hljs-argument,
.smalltalk .hljs-localvars,
.smalltalk .hljs-array,
.hljs-attr_selector,
.hljs-pseudo,
.hljs-addition,
.hljs-stream,
.hljs-envvar,
.apache .hljs-tag,
.apache .hljs-cbracket,
.tex .hljs-command,
.hljs-prompt,
.hljs-link_label,
.hljs-link_url {
color: #e6db74;
}

.hljs-comment,
.hljs-javadoc,
.hljs-annotation,
.hljs-decorator,
.hljs-pi,
.hljs-doctype,
.hljs-deletion,
.hljs-shebang,
.apache .hljs-sqbracket,
.tex .hljs-formula {
color: #75715e;
}

.coffeescript .javascript,
.javascript .xml,
.tex .hljs-formula,
.xml .javascript,
.xml .vbscript,
.xml .css,
.xml .hljs-cdata,
.xml .php,
.php .xml {
opacity: 0.5;
}
Loading

0 comments on commit 8099537

Please sign in to comment.