dataworkbench-jekyll-theme 0.1.2 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +9 -0
- data/_includes/conventions.md +28 -0
- data/_sass/{dataworkbench-theme.scss → dataworkbench-jekyll-theme.scss} +33 -17
- data/_sass/lib/flatly.scss +20 -0
- data/_sass/lib/html.scss +61 -0
- data/_sass/lib/{_mermaid.scss → mermaid.scss} +48 -40
- data/_sass/lib/syntax.scss +73 -0
- metadata +8 -7
- data/_sass/lib/_flatly.scss +0 -20
- data/_sass/lib/_html.scss +0 -32
- data/_sass/lib/_syntax.scss +0 -73
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21dee37bacdf9d60c07b07e6d91e5704933d0dd3
|
4
|
+
data.tar.gz: 45fd135eed4e211e81a6576360a8b225c2a3c5a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9302a703d82aafddc633f23bc0666c674dbada5defe27460a601f1778020d3c26bbbd026f00b3a5096984b9b6457b7262db0b6fb11a9d70cc6e7b42017cb4a91
|
7
|
+
data.tar.gz: de598a4df4ca769a0c5957ae31cb770bd4306f3fc3cc2b9540db711203aeee84ebc975bdc1b06c5fb0e07b7c275eb37ca3ec8430d60a41d834a6e7a03295ffbd
|
data/README.md
CHANGED
@@ -47,6 +47,15 @@ To build a new version of the gem, update the version in `dataworkbench-jekyll-t
|
|
47
47
|
|
48
48
|
With sufficient privileges, the new gem can be published on RubyGems with `gem push dataworkbench-jekyll-theme`. After a `bundle update` this should be available in the documentation sites (such as the `gh-pages` branch in this repository).
|
49
49
|
|
50
|
+
To work on both the theme and the documentation at the same time:
|
51
|
+
|
52
|
+
- Checkout this repository as usual.
|
53
|
+
- Checkout the documentation in a folder `docs`, using the same repository:
|
54
|
+
|
55
|
+
`git worktree add docs gh-pages`
|
56
|
+
|
57
|
+
* Run `bundle exec jekyll serve` in the docs folder to preview the documentation.
|
58
|
+
|
50
59
|
## License
|
51
60
|
|
52
61
|
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
@@ -0,0 +1,28 @@
|
|
1
|
+
### Conventions used
|
2
|
+
|
3
|
+
We use inline `code snippets` for short commands or pieces of code, and also for file and folder names on a system.
|
4
|
+
|
5
|
+
Larger pieces of code will be shown in their own block, where possible with syntax highlighting.
|
6
|
+
|
7
|
+
```
|
8
|
+
This is a block of code without an associated language.
|
9
|
+
In general, code blocks have the same left-hand border colour.
|
10
|
+
```
|
11
|
+
|
12
|
+
There is one main variation for code blocks.
|
13
|
+
|
14
|
+
```bash
|
15
|
+
$ This is a block of command line code, using bash syntax highlighting.
|
16
|
+
$ The command line blocks use a different left-hand border colour.
|
17
|
+
$ Usually, a command line begins with '$ '.
|
18
|
+
```
|
19
|
+
|
20
|
+
There are a few ways to highlight a paragraph.
|
21
|
+
|
22
|
+
{:.warning}
|
23
|
+
|
24
|
+
A warning block offers information about potential pitfalls or errors.
|
25
|
+
|
26
|
+
{:.info}
|
27
|
+
|
28
|
+
An info block provides important hints or pointers.
|
@@ -1,11 +1,11 @@
|
|
1
|
-
@import
|
2
|
-
@import
|
3
|
-
@import
|
4
|
-
@import
|
1
|
+
@import 'lib/flatly';
|
2
|
+
@import 'lib/html';
|
3
|
+
@import 'lib/mermaid';
|
4
|
+
@import 'lib/syntax';
|
5
5
|
|
6
6
|
body {
|
7
|
-
padding-top: 70px;
|
8
7
|
font-size: 13pt;
|
8
|
+
padding-top: 70px;
|
9
9
|
}
|
10
10
|
|
11
11
|
img {
|
@@ -13,27 +13,28 @@ img {
|
|
13
13
|
}
|
14
14
|
|
15
15
|
dd {
|
16
|
-
padding-left: 3em;
|
17
16
|
padding-bottom: 1em;
|
17
|
+
padding-left: 3em;
|
18
18
|
}
|
19
19
|
|
20
|
-
th,
|
20
|
+
th,
|
21
|
+
td {
|
21
22
|
border: 1px solid $cs-aux-primary;
|
22
|
-
text-align: left;
|
23
23
|
margin: 0;
|
24
24
|
padding: 6px 13px;
|
25
|
+
text-align: left;
|
25
26
|
}
|
26
27
|
|
27
28
|
pre {
|
28
|
-
color: $cs-primary;
|
29
29
|
background-color: white;
|
30
30
|
border: 0;
|
31
31
|
border-radius: 0;
|
32
|
+
color: $cs-primary;
|
32
33
|
}
|
33
34
|
|
34
35
|
pre.highlight {
|
35
|
-
|
36
|
-
|
36
|
+
background-color: $cs-bg-primary;
|
37
|
+
border-left: .2em solid $cs-success;
|
37
38
|
}
|
38
39
|
|
39
40
|
footer {
|
@@ -49,14 +50,29 @@ footer {
|
|
49
50
|
}
|
50
51
|
|
51
52
|
.logo {
|
52
|
-
margin: 0 0
|
53
|
+
margin: 0 0 .5em;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
.panel-body {
|
58
|
+
padding: 0;
|
59
|
+
|
60
|
+
table {
|
61
|
+
tr {
|
62
|
+
td {
|
63
|
+
padding-left: 15px;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
|
68
|
+
.table {
|
69
|
+
margin-bottom: 0;
|
53
70
|
}
|
54
71
|
}
|
55
72
|
|
56
|
-
.panel-body { padding:0px; }
|
57
|
-
.panel-body table tr td { padding-left: 15px }
|
58
|
-
.panel-body .table {margin-bottom: 0px; }
|
59
73
|
|
60
|
-
table
|
61
|
-
|
74
|
+
table {
|
75
|
+
a:not(.btn) {
|
76
|
+
text-decoration: none;
|
77
|
+
}
|
62
78
|
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
|
2
|
+
// Flatly colour scheme
|
3
|
+
|
4
|
+
$cs-primary: #2c3e50;
|
5
|
+
$cs-success: #18bc9c;
|
6
|
+
$cs-info: #3498db;
|
7
|
+
$cs-warning: #f39c12;
|
8
|
+
$cs-danger: #e74c3c;
|
9
|
+
|
10
|
+
$cs-aux-primary: #95a5a6;
|
11
|
+
$cs-aux-success: #0f7864;
|
12
|
+
|
13
|
+
$cs-bg-primary: #ecf0f1;
|
14
|
+
$cs-bg-success: #3be6c4;
|
15
|
+
|
16
|
+
$cs-maintext: #212529;
|
17
|
+
$cs-lighttext: rgba(0, 0, 0, .5);
|
18
|
+
$cs-whitetext: #fff;
|
19
|
+
|
20
|
+
$cs-font: Lato, Roboto;
|
data/_sass/lib/html.scss
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
body {
|
2
|
+
color: $cs-maintext;
|
3
|
+
}
|
4
|
+
|
5
|
+
h1,
|
6
|
+
h2 {
|
7
|
+
color: $cs-danger;
|
8
|
+
}
|
9
|
+
|
10
|
+
h3 {
|
11
|
+
color: $cs-success;
|
12
|
+
}
|
13
|
+
|
14
|
+
code,
|
15
|
+
tt {
|
16
|
+
background-color: $cs-bg-primary;
|
17
|
+
color: $cs-danger;
|
18
|
+
}
|
19
|
+
|
20
|
+
a {
|
21
|
+
color: $cs-info;
|
22
|
+
}
|
23
|
+
|
24
|
+
footer {
|
25
|
+
a {
|
26
|
+
color: $cs-success;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
:target::before {
|
31
|
+
content: '';
|
32
|
+
display: block;
|
33
|
+
height: 70px; // fixed header height
|
34
|
+
margin: -70px 0 0; // negative fixed header height
|
35
|
+
}
|
36
|
+
|
37
|
+
@mixin alertbox($colour) {
|
38
|
+
border-color: $colour;
|
39
|
+
border-style: solid;
|
40
|
+
border-width: 1px 1px 1px 1em;
|
41
|
+
padding: .5em;
|
42
|
+
}
|
43
|
+
|
44
|
+
.success { @include alertbox($cs-success) }
|
45
|
+
|
46
|
+
.info { @include alertbox($cs-info) }
|
47
|
+
|
48
|
+
.warning { @include alertbox($cs-warning) }
|
49
|
+
|
50
|
+
.danger { @include alertbox($cs-danger) }
|
51
|
+
|
52
|
+
pre.highlight {
|
53
|
+
background-color: $cs-bg-primary;
|
54
|
+
border-left: .2em solid $cs-success;
|
55
|
+
}
|
56
|
+
|
57
|
+
.language-bash {
|
58
|
+
pre.highlight {
|
59
|
+
border-left-color: $cs-primary;
|
60
|
+
}
|
61
|
+
}
|
@@ -1,29 +1,29 @@
|
|
1
1
|
|
2
2
|
// Partly based on Mermaid LESS sources
|
3
3
|
// Taken from https://github.com/knsv/mermaid/tree/master/src/less/default
|
4
|
-
@import
|
4
|
+
@import 'flatly';
|
5
5
|
|
6
6
|
.language-mermaid svg {
|
7
7
|
|
8
|
-
font-size: 1em;
|
9
8
|
font-family: $cs-font;
|
9
|
+
font-size: 1em;
|
10
10
|
|
11
11
|
.node {
|
12
12
|
background-color: $cs-success;
|
13
13
|
|
14
14
|
.label {
|
15
|
-
color:
|
15
|
+
color: $cs-whitetext;
|
16
16
|
}
|
17
17
|
|
18
18
|
ellipse,
|
19
19
|
rect {
|
20
|
-
fill
|
20
|
+
fill: $cs-primary;
|
21
21
|
stroke: $cs-primary;
|
22
22
|
}
|
23
23
|
|
24
24
|
polygon,
|
25
25
|
circle {
|
26
|
-
fill
|
26
|
+
fill: $cs-warning;
|
27
27
|
stroke: inherit;
|
28
28
|
}
|
29
29
|
|
@@ -37,15 +37,15 @@
|
|
37
37
|
}
|
38
38
|
|
39
39
|
.actor {
|
40
|
-
stroke: $cs-primary;
|
41
40
|
fill: $cs-primary;
|
41
|
+
stroke: $cs-primary;
|
42
42
|
|
43
43
|
}
|
44
44
|
|
45
45
|
text.actor {
|
46
|
-
fill
|
47
|
-
|
48
|
-
|
46
|
+
fill: $cs-whitetext;
|
47
|
+
font-family: $cs-font;
|
48
|
+
stroke: none;
|
49
49
|
}
|
50
50
|
|
51
51
|
.edgePath {
|
@@ -65,34 +65,34 @@
|
|
65
65
|
}
|
66
66
|
|
67
67
|
.actor-line {
|
68
|
-
stroke
|
69
|
-
stroke-width:1.5;
|
68
|
+
stroke: $cs-success;
|
69
|
+
stroke-width: 1.5;
|
70
70
|
}
|
71
71
|
|
72
72
|
.messageLine0 {
|
73
|
-
|
74
|
-
|
75
|
-
stroke
|
73
|
+
marker-end: 'url(#arrowhead)';
|
74
|
+
stroke: $cs-primary;
|
75
|
+
stroke-dasharray: '2 2';
|
76
76
|
}
|
77
77
|
|
78
78
|
.messageLine1 {
|
79
|
-
stroke
|
80
|
-
stroke
|
79
|
+
stroke: $cs-lighttext;
|
80
|
+
stroke-dasharray: '2 2';
|
81
81
|
}
|
82
82
|
|
83
83
|
#arrowhead {
|
84
|
-
fill
|
84
|
+
fill: $cs-primary;
|
85
85
|
}
|
86
86
|
|
87
87
|
.messageText {
|
88
|
-
fill
|
89
|
-
font-size:14px;
|
90
|
-
stroke:none;
|
88
|
+
fill: $cs-maintext;
|
89
|
+
font-size: 14px;
|
90
|
+
stroke: none;
|
91
91
|
}
|
92
92
|
|
93
93
|
.label {
|
94
|
-
font-size: inherit;
|
95
94
|
color: $cs-primary;
|
95
|
+
font-size: inherit;
|
96
96
|
}
|
97
97
|
|
98
98
|
.labelBox {
|
@@ -101,50 +101,58 @@
|
|
101
101
|
}
|
102
102
|
|
103
103
|
.labelText {
|
104
|
-
fill:
|
105
|
-
stroke:none;
|
104
|
+
fill: $cs-whitetext;
|
105
|
+
stroke: none;
|
106
106
|
}
|
107
107
|
|
108
108
|
.loopText {
|
109
|
-
fill
|
110
|
-
stroke:none;
|
109
|
+
fill: $cs-warning;
|
110
|
+
stroke: none;
|
111
|
+
|
111
112
|
tspan {
|
112
113
|
fill: $cs-info;
|
113
114
|
}
|
114
115
|
}
|
115
116
|
|
116
117
|
.loopLine {
|
117
|
-
|
118
|
-
marker-end:"url(#arrowhead)";
|
118
|
+
marker-end: 'url(#arrowhead)';
|
119
119
|
stroke: $cs-warning;
|
120
|
+
xstroke-dasharray: '2 2';
|
120
121
|
}
|
121
122
|
|
122
123
|
.note {
|
123
|
-
stroke: $cs-info;
|
124
124
|
fill: $cs-info;
|
125
|
+
stroke: $cs-info;
|
125
126
|
}
|
126
127
|
|
127
128
|
.noteText {
|
128
|
-
fill:
|
129
|
-
stroke:none;
|
129
|
+
fill: $cs-whitetext;
|
130
|
+
stroke: none;
|
131
|
+
|
130
132
|
tspan {
|
131
|
-
fill:
|
133
|
+
fill: $cs-whitetext;
|
132
134
|
}
|
133
135
|
}
|
134
136
|
|
135
|
-
.cluster
|
136
|
-
|
137
|
-
|
137
|
+
.cluster {
|
138
|
+
rect {
|
139
|
+
fill: $cs-bg-primary;
|
140
|
+
stroke: $cs-bg-primary;
|
141
|
+
}
|
138
142
|
}
|
139
143
|
|
140
|
-
g:not([class])
|
141
|
-
|
142
|
-
|
144
|
+
g:not([class]) {
|
145
|
+
rect:not([class]) {
|
146
|
+
fill: $cs-whitetext;
|
147
|
+
stroke: $cs-success;
|
148
|
+
}
|
143
149
|
}
|
144
150
|
|
145
|
-
g.node
|
146
|
-
|
147
|
-
|
151
|
+
g.node {
|
152
|
+
rect:not([class]) {
|
153
|
+
fill: $cs-success;
|
154
|
+
stroke: $cs-success;
|
155
|
+
}
|
148
156
|
}
|
149
157
|
|
150
158
|
}
|
@@ -0,0 +1,73 @@
|
|
1
|
+
|
2
|
+
.highlight {
|
3
|
+
color: $cs-primary;
|
4
|
+
|
5
|
+
.c { background-color: $cs-bg-primary; color: $cs-success; font-weight: bold; } // Comment
|
6
|
+
.err { color: $cs-danger; } // Error
|
7
|
+
.k { color: $cs-info; } // Keyword
|
8
|
+
.ch { color: $cs-lighttext; } // Comment.Hashbang
|
9
|
+
.cm { color: $cs-lighttext; } // Comment.Multiline
|
10
|
+
.cp { color: $cs-aux-primary; font-weight: bold; } // Comment.Preproc
|
11
|
+
.cpf { color: $cs-lighttext; } // Comment.PreprocFile
|
12
|
+
.c1 { color: $cs-lighttext; } // Comment.Single
|
13
|
+
.cs { background-color: $cs-bg-primary; color: $cs-success; font-weight: bold; } // Comment.Special
|
14
|
+
.gd { background-color: $cs-bg-primary; color: $cs-danger; } // Generic.Deleted
|
15
|
+
.ge { font-style: italic; } // Generic.Emph
|
16
|
+
.gi { background-color: $cs-bg-success; color: $cs-maintext; } // Generic.Inserted
|
17
|
+
.gs { font-weight: bold; } // Generic.Strong
|
18
|
+
.kc { color: $cs-info; font-weight: bold; } // Keyword.Constant
|
19
|
+
.kd { color: $cs-info; font-weight: bold; } // Keyword.Declaration
|
20
|
+
.kn { color: $cs-info; font-weight: bold; } // Keyword.Namespace
|
21
|
+
.kp { color: $cs-info; } // Keyword.Pseudo
|
22
|
+
.kr { color: $cs-info; font-weight: bold; } // Keyword.Reserved
|
23
|
+
.kt { color: $cs-lighttext; font-weight: bold; } // Keyword.Type
|
24
|
+
.m { color: $cs-warning; font-weight: bold; } // Literal.Number
|
25
|
+
.s { color: $cs-warning; font-weight: bold; } // Literal.String
|
26
|
+
.na { color: $cs-info; } // Name.Attribute
|
27
|
+
.nc { color: $cs-success; font-weight: bold; } // Name.Class
|
28
|
+
.no { color: $cs-info; font-weight: bold; } // Name.Constant
|
29
|
+
.nd { color: $cs-lighttext; } // Name.Decorator
|
30
|
+
.ne { color: $cs-success; font-weight: bold; } // Name.Exception
|
31
|
+
.nf { color: $cs-info; font-weight: bold; } // Name.Function
|
32
|
+
.nt { color: $cs-success; font-weight: bold; } // Name.Tag
|
33
|
+
.ow { color: $cs-danger; } // Operator.Word
|
34
|
+
.mb { color: $cs-warning; font-weight: bold; } // Literal.Number.Bin
|
35
|
+
.mf { color: $cs-warning; font-weight: bold; } // Literal.Number.Float
|
36
|
+
.mh { color: $cs-warning; font-weight: bold; } // Literal.Number.Hex
|
37
|
+
.mi { color: $cs-warning; font-weight: bold; } // Literal.Number.Integer
|
38
|
+
.mo { color: $cs-warning; font-weight: bold; } // Literal.Number.Oct
|
39
|
+
.sa { color: $cs-danger; } // Literal.String.Affix
|
40
|
+
.sb { background-color: $cs-bg-primary; color: $cs-danger; } // Literal.String.Backtick
|
41
|
+
.sc { background-color: $cs-bg-primary; color: $cs-danger; } // Literal.String.Char
|
42
|
+
.dl { background-color: $cs-bg-primary; color: $cs-danger; } // Literal.String.Delimiter
|
43
|
+
.sd { background-color: $cs-bg-primary; color: $cs-danger; } // Literal.String.Doc
|
44
|
+
.s2 { background-color: $cs-bg-primary; color: $cs-danger; } // Literal.String.Double
|
45
|
+
.se { background-color: $cs-bg-primary; color: $cs-info; } // Literal.String.Escape
|
46
|
+
.sh { background-color: $cs-bg-primary; color: $cs-danger; } // Literal.String.Heredoc
|
47
|
+
.si { background-color: $cs-bg-primary; color: $cs-info; } // Literal.String.Interpol
|
48
|
+
.sx { background-color: #f0fff0; color: $cs-info; } // Literal.String.Other
|
49
|
+
.sr { background-color: #fff0ff; color: $cs-info; } // Literal.String.Regex
|
50
|
+
.s1 { background-color: $cs-bg-primary; color: $cs-danger; } // Literal.String.Single
|
51
|
+
.ss { background-color: $cs-bg-primary; color: $cs-warning; } // Literal.String.Symbol
|
52
|
+
.il { color: $cs-warning; font-weight: bold; } // Literal.Number.Integer.Long
|
53
|
+
|
54
|
+
.hll { background-color: $cs-bg-primary; }
|
55
|
+
.gr { color: $cs-danger; } // Generic.Error
|
56
|
+
.gh { color: $cs-success; } // Generic.Heading
|
57
|
+
.go { color: $cs-lighttext; } // Generic.Output
|
58
|
+
.gp { color: $cs-lighttext; } // Generic.Prompt
|
59
|
+
.gu { color: $cs-lighttext; } // Generic.Subheading
|
60
|
+
.gt { color: $cs-danger; } // Generic.Traceback
|
61
|
+
.nb { color: $cs-info; } // Name.Builtin
|
62
|
+
.nl { color: $cs-info; font-style: italic; } // Name.Label
|
63
|
+
.nn { color: $cs-success; font-weight: bold; } // Name.Namespace
|
64
|
+
.py { color: $cs-info; font-weight: bold; } // Name.Property
|
65
|
+
.nv { color: $cs-info; } // Name.Variable
|
66
|
+
.w { color: $cs-bg-primary; } // Text.Whitespace
|
67
|
+
.bp { color: $cs-info; } // Name.Builtin.Pseudo
|
68
|
+
.fm { color: $cs-info; font-weight: bold; } // Name.Function.Magic
|
69
|
+
.vc { color: $cs-info; } // Name.Variable.Class
|
70
|
+
.vg { color: $cs-warning; } // Name.Variable.Global
|
71
|
+
.vi { color: $cs-info; } // Name.Variable.Instance
|
72
|
+
.vm { color: $cs-info; } // Name.Variable.Magic
|
73
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dataworkbench-jekyll-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rolf Kleef
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -61,16 +61,17 @@ extra_rdoc_files: []
|
|
61
61
|
files:
|
62
62
|
- LICENSE.txt
|
63
63
|
- README.md
|
64
|
+
- _includes/conventions.md
|
64
65
|
- _includes/footer-left.html
|
65
66
|
- _includes/footer-right.html
|
66
67
|
- _includes/sidemenu.html
|
67
68
|
- _includes/toc.html
|
68
69
|
- _layouts/default.html
|
69
|
-
- _sass/dataworkbench-theme.scss
|
70
|
-
- _sass/lib/
|
71
|
-
- _sass/lib/
|
72
|
-
- _sass/lib/
|
73
|
-
- _sass/lib/
|
70
|
+
- _sass/dataworkbench-jekyll-theme.scss
|
71
|
+
- _sass/lib/flatly.scss
|
72
|
+
- _sass/lib/html.scss
|
73
|
+
- _sass/lib/mermaid.scss
|
74
|
+
- _sass/lib/syntax.scss
|
74
75
|
- assets/css/bootstrap.min.css
|
75
76
|
- assets/css/fuelux.min.css
|
76
77
|
- assets/css/main.scss
|
data/_sass/lib/_flatly.scss
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
|
2
|
-
// Flatly colour scheme
|
3
|
-
|
4
|
-
$cs-primary: #2C3E50;
|
5
|
-
$cs-success: #18BC9C;
|
6
|
-
$cs-info: #3498DB;
|
7
|
-
$cs-warning: #F39C12;
|
8
|
-
$cs-danger: #E74C3C;
|
9
|
-
|
10
|
-
$cs-aux-primary: #95a5a6;
|
11
|
-
$cs-aux-success: #0f7864;
|
12
|
-
|
13
|
-
$cs-bg-primary: #ecf0f1;
|
14
|
-
$cs-bg-success: #3be6c4;
|
15
|
-
|
16
|
-
$cs-maintext: #212529;
|
17
|
-
$cs-lighttext: rgba(0,0,0,0.5);
|
18
|
-
$cs-whitetext: #ffffff;
|
19
|
-
|
20
|
-
$cs-font: Lato,Roboto;
|
data/_sass/lib/_html.scss
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
body {
|
2
|
-
color: $cs-maintext;
|
3
|
-
}
|
4
|
-
|
5
|
-
h1, h2 {
|
6
|
-
color: $cs-danger;
|
7
|
-
}
|
8
|
-
|
9
|
-
:target:before {
|
10
|
-
content:"";
|
11
|
-
display:block;
|
12
|
-
height: 70px; /* fixed header height*/
|
13
|
-
margin: -70px 0 0; /* negative fixed header height */
|
14
|
-
}
|
15
|
-
|
16
|
-
h3 {
|
17
|
-
color: $cs-success;
|
18
|
-
}
|
19
|
-
|
20
|
-
code,
|
21
|
-
tt {
|
22
|
-
color: $cs-danger;
|
23
|
-
background-color: $cs-bg-primary;
|
24
|
-
}
|
25
|
-
|
26
|
-
a {
|
27
|
-
color: $cs-info;
|
28
|
-
}
|
29
|
-
|
30
|
-
footer a {
|
31
|
-
color: $cs-success;
|
32
|
-
}
|
data/_sass/lib/_syntax.scss
DELETED
@@ -1,73 +0,0 @@
|
|
1
|
-
|
2
|
-
.highlight {
|
3
|
-
color: $cs-primary;
|
4
|
-
|
5
|
-
.c { color: $cs-success; font-weight: bold; background-color: $cs-bg-primary} /* Comment */
|
6
|
-
.err { color: $cs-danger } /* Error */
|
7
|
-
.k { color: $cs-info } /* Keyword */
|
8
|
-
.ch { color: $cs-lighttext } /* Comment.Hashbang */
|
9
|
-
.cm { color: $cs-lighttext } /* Comment.Multiline */
|
10
|
-
.cp { color: $cs-aux-primary; font-weight: bold } /* Comment.Preproc */
|
11
|
-
.cpf { color: $cs-lighttext } /* Comment.PreprocFile */
|
12
|
-
.c1 { color: $cs-lighttext } /* Comment.Single */
|
13
|
-
.cs { color: $cs-success; font-weight: bold; background-color: $cs-bg-primary } /* Comment.Special */
|
14
|
-
.gd { color: $cs-danger; background-color: $cs-bg-primary } /* Generic.Deleted */
|
15
|
-
.ge { font-style: italic } /* Generic.Emph */
|
16
|
-
.gi { color: $cs-maintext; background-color: $cs-bg-success } /* Generic.Inserted */
|
17
|
-
.gs { font-weight: bold } /* Generic.Strong */
|
18
|
-
.kc { color: $cs-info; font-weight: bold } /* Keyword.Constant */
|
19
|
-
.kd { color: $cs-info; font-weight: bold } /* Keyword.Declaration */
|
20
|
-
.kn { color: $cs-info; font-weight: bold } /* Keyword.Namespace */
|
21
|
-
.kp { color: $cs-info } /* Keyword.Pseudo */
|
22
|
-
.kr { color: $cs-info; font-weight: bold } /* Keyword.Reserved */
|
23
|
-
.kt { color: $cs-lighttext; font-weight: bold } /* Keyword.Type */
|
24
|
-
.m { color: $cs-warning; font-weight: bold } /* Literal.Number */
|
25
|
-
.s { color: $cs-warning; font-weight: bold } /* Literal.String */
|
26
|
-
.na { color: $cs-info } /* Name.Attribute */
|
27
|
-
.nc { color: $cs-success; font-weight: bold } /* Name.Class */
|
28
|
-
.no { color: $cs-info; font-weight: bold } /* Name.Constant */
|
29
|
-
.nd { color: $cs-lighttext } /* Name.Decorator */
|
30
|
-
.ne { color: $cs-success; font-weight: bold } /* Name.Exception */
|
31
|
-
.nf { color: $cs-info; font-weight: bold } /* Name.Function */
|
32
|
-
.nt { color: $cs-success; font-weight: bold } /* Name.Tag */
|
33
|
-
.ow { color: $cs-danger } /* Operator.Word */
|
34
|
-
.mb { color: $cs-warning; font-weight: bold } /* Literal.Number.Bin */
|
35
|
-
.mf { color: $cs-warning; font-weight: bold } /* Literal.Number.Float */
|
36
|
-
.mh { color: $cs-warning; font-weight: bold } /* Literal.Number.Hex */
|
37
|
-
.mi { color: $cs-warning; font-weight: bold } /* Literal.Number.Integer */
|
38
|
-
.mo { color: $cs-warning; font-weight: bold } /* Literal.Number.Oct */
|
39
|
-
.sa { color: $cs-danger; background-color: $cs-bg-primary } /* Literal.String.Affix */
|
40
|
-
.sb { color: $cs-danger; background-color: $cs-bg-primary } /* Literal.String.Backtick */
|
41
|
-
.sc { color: $cs-danger; background-color: $cs-bg-primary } /* Literal.String.Char */
|
42
|
-
.dl { color: $cs-danger; background-color: $cs-bg-primary } /* Literal.String.Delimiter */
|
43
|
-
.sd { color: $cs-danger; background-color: $cs-bg-primary } /* Literal.String.Doc */
|
44
|
-
.s2 { color: $cs-danger; background-color: $cs-bg-primary } /* Literal.String.Double */
|
45
|
-
.se { color: $cs-info; background-color: $cs-bg-primary } /* Literal.String.Escape */
|
46
|
-
.sh { color: $cs-danger; background-color: $cs-bg-primary } /* Literal.String.Heredoc */
|
47
|
-
.si { color: $cs-info; background-color: $cs-bg-primary } /* Literal.String.Interpol */
|
48
|
-
.sx { color: $cs-info; background-color: #f0fff0 } /* Literal.String.Other */
|
49
|
-
.sr { color: $cs-info; background-color: #fff0ff } /* Literal.String.Regex */
|
50
|
-
.s1 { color: $cs-danger; background-color: $cs-bg-primary } /* Literal.String.Single */
|
51
|
-
.ss { color: $cs-warning; background-color: $cs-bg-primary } /* Literal.String.Symbol */
|
52
|
-
.il { color: $cs-warning; font-weight: bold } /* Literal.Number.Integer.Long */
|
53
|
-
|
54
|
-
.hll { background-color: $cs-bg-primary }
|
55
|
-
.gr { color: $cs-danger } /* Generic.Error */
|
56
|
-
.gh { color: $cs-success } /* Generic.Heading */
|
57
|
-
.go { color: $cs-lighttext } /* Generic.Output */
|
58
|
-
.gp { color: $cs-lighttext } /* Generic.Prompt */
|
59
|
-
.gu { color: $cs-lighttext } /* Generic.Subheading */
|
60
|
-
.gt { color: $cs-danger } /* Generic.Traceback */
|
61
|
-
.nb { color: $cs-info } /* Name.Builtin */
|
62
|
-
.nl { color: $cs-info; font-style: italic } /* Name.Label */
|
63
|
-
.nn { color: $cs-success; font-weight: bold } /* Name.Namespace */
|
64
|
-
.py { color: $cs-info; font-weight: bold } /* Name.Property */
|
65
|
-
.nv { color: $cs-info } /* Name.Variable */
|
66
|
-
.w { color: $cs-bg-primary } /* Text.Whitespace */
|
67
|
-
.bp { color: $cs-info } /* Name.Builtin.Pseudo */
|
68
|
-
.fm { color: $cs-info; font-weight: bold } /* Name.Function.Magic */
|
69
|
-
.vc { color: $cs-info } /* Name.Variable.Class */
|
70
|
-
.vg { color: $cs-warning } /* Name.Variable.Global */
|
71
|
-
.vi { color: $cs-info } /* Name.Variable.Instance */
|
72
|
-
.vm { color: $cs-info } /* Name.Variable.Magic */
|
73
|
-
}
|