techdoc-jekyll-theme 0.1.5 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +21 -0
- data/README.md +3 -31
- data/_layouts/default.html +14 -11
- data/assets/css/styles.css +290 -0
- metadata +4 -4
- data/assets/css/hljs-theme.css +0 -154
- data/assets/css/style.css +0 -190
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6002dde5c49b966408c4dc95986ddc87e48dc9d089c8fbd59f34dd290f99001
|
4
|
+
data.tar.gz: 8840ad1234cf0390989f99ad1a8347e35c712259e93c7990ac19ed67796ce5fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c7d76c6f314e1532f3986f2f07c2adbc1ac653fb61b18d487f6969d725a9d8b8baf380f1532b326d7e72740cee0c4feb7310e25411762deb2c29b20001405f6
|
7
|
+
data.tar.gz: 1797b52369c982a83741e8b5ca0da1b105fd3d0e9398b688b5bac66402554a8ca50e24ab4b220252660c922b9004749d06c015a6490f0758991fcbc35322daaa
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2021 Jianmin Chen
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
CHANGED
@@ -2,52 +2,25 @@
|
|
2
2
|
[![Gem Version](https://badge.fury.io/rb/techdoc-jekyll-theme.svg)](https://badge.fury.io/rb/techdoc-jekyll-theme)
|
3
3
|
|
4
4
|
## About
|
5
|
-
|
6
5
|
TechDoc is a Jekyll theme designed for writing technical documentation. The templates that come with it are very minimal, so you can quickly get started writing documentation.
|
7
6
|
|
8
7
|
## Installation
|
9
|
-
|
10
|
-
Add this line to your Jekyll site's `Gemfile`:
|
11
|
-
|
12
|
-
```ruby
|
13
|
-
gem "techdoc"
|
14
|
-
```
|
15
|
-
|
16
|
-
And add this line to your Jekyll site's `_config.yml`:
|
17
|
-
|
18
|
-
```yaml
|
19
|
-
theme: techdoc
|
20
|
-
```
|
21
|
-
|
22
|
-
And then execute:
|
23
|
-
|
24
|
-
$ bundle
|
25
|
-
|
26
|
-
Or install it yourself as:
|
27
|
-
|
28
|
-
$ gem install techdoc
|
8
|
+
Take a look at this [page](http://jianmin-chen.github.io/techdoc/2021/04/01/using-this-theme.html), which contains detailed instructions for installation.
|
29
9
|
|
30
10
|
## Usage
|
31
|
-
|
32
|
-
Once you've installed the theme using the instructions above, you can start writing technical documentation right away by creating a new `.markdown` file in the `/posts` folder. The file should be named `year-month-day-title.markdown`, and the beginning of the file should look something like this:
|
33
|
-
|
11
|
+
Once you've installed the theme using the page mentioned above, you can start writing technical documentation right away by creating a new `.markdown` file in the `/posts` folder. The file should be named `year-month-day-title.markdown`, and the beginning of the file should look something like this:
|
34
12
|
```markdown
|
35
13
|
---
|
36
14
|
title: <title>
|
37
15
|
layout: post
|
38
16
|
---
|
39
17
|
```
|
40
|
-
|
41
18
|
Once you've got that, you can start writing away! A quick reference on writing content in Markdown can be found [here](https://kramdown.gettalong.org/quickref.html).
|
42
19
|
|
43
|
-
For a more in-depth tutorial, visit the the theme demo.
|
44
|
-
|
45
20
|
## Contributing
|
46
|
-
|
47
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/jianmin-chen/techdoc. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
21
|
+
Bug reports and pull requests are welcome on GitHub at [https://github.com/jianmin-chen/techdoc](https://github.com/jianmin-chen/techdoc). This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
48
22
|
|
49
23
|
## Development
|
50
|
-
|
51
24
|
To set up your environment to develop this theme, run `bundle install`.
|
52
25
|
|
53
26
|
Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
|
@@ -56,5 +29,4 @@ When your theme is released, only the files in `_layouts`, `_includes`, `_sass`
|
|
56
29
|
To add a custom directory to your theme-gem, please edit the regexp in `techdoc.gemspec` accordingly.
|
57
30
|
|
58
31
|
## License
|
59
|
-
|
60
32
|
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/_layouts/default.html
CHANGED
@@ -5,7 +5,8 @@
|
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
7
7
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
8
|
-
<link rel="stylesheet" href="{{ "/assets/css/
|
8
|
+
<link rel="stylesheet" href="{{ "/assets/css/styles.css?v=" | append:site.github.build_revision | relative_url }}">
|
9
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.7.1/build/styles/default.min.css">
|
9
10
|
<script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.7.1/build/highlight.min.js"></script>
|
10
11
|
<script>hljs.highlightAll();</script>
|
11
12
|
</head>
|
@@ -13,16 +14,18 @@
|
|
13
14
|
<div class="row">
|
14
15
|
<nav class="col menu">
|
15
16
|
<div class="menu-content">
|
16
|
-
<
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
{%-
|
23
|
-
|
24
|
-
|
25
|
-
|
17
|
+
<div>
|
18
|
+
<h1 class="display-1"><a href="{{ "/" | absolute_url }}">{{ site.library_name }}</a></h1>
|
19
|
+
<p class="text-muted">{{ site.library_description }}</p>
|
20
|
+
{%- if site.library_link -%}
|
21
|
+
<a class="nav-link" href="{{ site.library_link }}">Source Code</a>
|
22
|
+
{%- endif -%}
|
23
|
+
{%- if site.posts.size > 0 -%}
|
24
|
+
{%- for post in site.posts -%}
|
25
|
+
<a class="nav-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
|
26
|
+
{%- endfor -%}
|
27
|
+
{%- endif -%}
|
28
|
+
</div>
|
26
29
|
</div>
|
27
30
|
</nav>
|
28
31
|
<div class="col content-container">
|
@@ -0,0 +1,290 @@
|
|
1
|
+
/* Import Google Fonts */
|
2
|
+
@import url('https://fonts.googleapis.com/css2?family=Fira+Code&family=Roboto&family=Playfair+Display&display=swap');
|
3
|
+
|
4
|
+
:root {
|
5
|
+
--main-theme-color: #454545;
|
6
|
+
--text-color: #6c757d;
|
7
|
+
}
|
8
|
+
|
9
|
+
* {
|
10
|
+
-webkit-box-sizing: border-box;
|
11
|
+
box-sizing: border-box;
|
12
|
+
}
|
13
|
+
|
14
|
+
/*
|
15
|
+
* Basic setup for body
|
16
|
+
*/
|
17
|
+
body, html {
|
18
|
+
font-family: "Roboto", sans-serif;
|
19
|
+
margin: 0;
|
20
|
+
padding: 0;
|
21
|
+
min-height: 100vh;
|
22
|
+
}
|
23
|
+
|
24
|
+
img {
|
25
|
+
width: 100%;
|
26
|
+
}
|
27
|
+
|
28
|
+
/*
|
29
|
+
* Basic typography setup
|
30
|
+
*/
|
31
|
+
a {
|
32
|
+
color: #454545;
|
33
|
+
font-size: 0.995rem;
|
34
|
+
margin: 5px 0;
|
35
|
+
text-decoration: none;
|
36
|
+
-webkit-transition: opacity 0.2s;
|
37
|
+
-o-transition: opacity 0.2s;
|
38
|
+
transition: opacity 0.2s;
|
39
|
+
}
|
40
|
+
a:hover {
|
41
|
+
opacity: 0.8;
|
42
|
+
}
|
43
|
+
|
44
|
+
code {
|
45
|
+
font-family: "Fira Code", monospace;
|
46
|
+
}
|
47
|
+
|
48
|
+
.display-1 {
|
49
|
+
font-family: "Playfair Display", sans-serif;
|
50
|
+
margin-top: 4rem;
|
51
|
+
}
|
52
|
+
.display-1 a {
|
53
|
+
color: white;
|
54
|
+
display: block;
|
55
|
+
font-size: 5rem;
|
56
|
+
word-wrap: break-word;
|
57
|
+
}
|
58
|
+
|
59
|
+
.text-muted {
|
60
|
+
color: #6c757d;
|
61
|
+
}
|
62
|
+
|
63
|
+
/*
|
64
|
+
* Flex layout
|
65
|
+
*/
|
66
|
+
.row {
|
67
|
+
display: -webkit-box;
|
68
|
+
display: -ms-flexbox;
|
69
|
+
display: flex;
|
70
|
+
}
|
71
|
+
|
72
|
+
/*
|
73
|
+
* Styles for menu
|
74
|
+
*/
|
75
|
+
.menu {
|
76
|
+
background-color: var(--main-theme-color);
|
77
|
+
-webkit-box-flex: 1;
|
78
|
+
-ms-flex: 1;
|
79
|
+
flex: 1;
|
80
|
+
}
|
81
|
+
|
82
|
+
.menu .menu-content {
|
83
|
+
-webkit-box-align: end;
|
84
|
+
-ms-flex-align: end;
|
85
|
+
align-items: flex-end;
|
86
|
+
color: white;
|
87
|
+
display: -webkit-box;
|
88
|
+
display: -ms-flexbox;
|
89
|
+
display: flex;
|
90
|
+
font-size: 1.2rem;
|
91
|
+
padding: 45px;
|
92
|
+
position: -webkit-sticky;
|
93
|
+
position: sticky;
|
94
|
+
top: 0;
|
95
|
+
left: 0;
|
96
|
+
height: 100vh;
|
97
|
+
}
|
98
|
+
|
99
|
+
/* Navigation links */
|
100
|
+
.menu .nav-link {
|
101
|
+
color: white;
|
102
|
+
font-size: 0.995rem;
|
103
|
+
display: block;
|
104
|
+
}
|
105
|
+
|
106
|
+
/*
|
107
|
+
* Styles for content
|
108
|
+
*/
|
109
|
+
.content-container {
|
110
|
+
-webkit-box-flex: 3;
|
111
|
+
-ms-flex: 3;
|
112
|
+
flex: 3;
|
113
|
+
padding: 30px 60px;
|
114
|
+
}
|
115
|
+
|
116
|
+
.content {
|
117
|
+
color: #808080;
|
118
|
+
line-height: 1.5;
|
119
|
+
}
|
120
|
+
|
121
|
+
.content a {font-size: 0.995rem;}
|
122
|
+
|
123
|
+
.content blockquote {
|
124
|
+
background-color: #f1f1f1;
|
125
|
+
color: var(--text-color);
|
126
|
+
margin: 0;
|
127
|
+
padding: 15px 30px;
|
128
|
+
}
|
129
|
+
|
130
|
+
.content dt {font-weight: 800;}
|
131
|
+
|
132
|
+
.content h1, .content h2, .content h3, .content h4, .content h5, .content h6 {
|
133
|
+
border-bottom: 1px solid #f1f1f1;
|
134
|
+
color: gray;
|
135
|
+
font-weight: 400;
|
136
|
+
margin: 15px 0;
|
137
|
+
padding: 5px 0;
|
138
|
+
}
|
139
|
+
|
140
|
+
.content h1 {
|
141
|
+
font-size: 2.5rem;
|
142
|
+
}
|
143
|
+
.content h2 {
|
144
|
+
font-size: 2.4rem;
|
145
|
+
}
|
146
|
+
.content h3 {
|
147
|
+
font-size: 2.3rem;
|
148
|
+
}
|
149
|
+
.content h4 {
|
150
|
+
font-size: 2.2rem;
|
151
|
+
}
|
152
|
+
.content h5 {
|
153
|
+
font-size: 2.1rem;
|
154
|
+
}
|
155
|
+
.content h6 {
|
156
|
+
font-size: 2rem;
|
157
|
+
}
|
158
|
+
|
159
|
+
.content h1:before, .content h2:before, .content h3:before, .content h4:before, .content h5:before, .content h6:before {
|
160
|
+
color: #ccc;
|
161
|
+
margin-right: 10px;
|
162
|
+
}
|
163
|
+
.content h1:before {
|
164
|
+
content: "#";
|
165
|
+
font-size: 2.2rem;
|
166
|
+
}
|
167
|
+
.content h2:before {
|
168
|
+
content: "##";
|
169
|
+
font-size: 2.1rem;
|
170
|
+
}
|
171
|
+
.content h3:before {
|
172
|
+
content: "###";
|
173
|
+
font-size: 2rem;
|
174
|
+
}
|
175
|
+
.content h4:before {
|
176
|
+
content: "####";
|
177
|
+
font-size: 1.9rem;
|
178
|
+
}
|
179
|
+
.content h5:before {
|
180
|
+
content: "#####";
|
181
|
+
font-size: 1.8rem;
|
182
|
+
}
|
183
|
+
.content h6:before {
|
184
|
+
content: "######";
|
185
|
+
font-size: 1.7rem;
|
186
|
+
}
|
187
|
+
|
188
|
+
.content :not(pre) > code {
|
189
|
+
font-size: 0.98rem;
|
190
|
+
font-style: italic;
|
191
|
+
word-wrap: break-word;
|
192
|
+
}
|
193
|
+
|
194
|
+
.content pre > code {
|
195
|
+
border-radius: 15px;
|
196
|
+
font-size: 0.95rem;
|
197
|
+
padding: 15px 30px;
|
198
|
+
white-space: pre-wrap;
|
199
|
+
}
|
200
|
+
|
201
|
+
.content table {
|
202
|
+
border: 1px solid #f1f1f1;
|
203
|
+
border-collapse: collapse;
|
204
|
+
overflow-x: scroll;
|
205
|
+
min-width: 100%;
|
206
|
+
}
|
207
|
+
|
208
|
+
.content thead > tr, .content tr:nth-child(even) {
|
209
|
+
background-color: #f1f1f1;
|
210
|
+
}
|
211
|
+
|
212
|
+
.content th {
|
213
|
+
font-weight: 700;
|
214
|
+
}
|
215
|
+
.content th, .content td {
|
216
|
+
padding: 14px 28px;
|
217
|
+
text-align: left !important;
|
218
|
+
}
|
219
|
+
|
220
|
+
.content ul {
|
221
|
+
margin: 0;
|
222
|
+
}
|
223
|
+
|
224
|
+
/*
|
225
|
+
* Styles for footer
|
226
|
+
*/
|
227
|
+
.footer {
|
228
|
+
border-top: 1px solid #dee2e6;
|
229
|
+
color: #808080;
|
230
|
+
margin: 45px 0 15px 0;
|
231
|
+
padding: 15px;
|
232
|
+
text-align: center;
|
233
|
+
}
|
234
|
+
|
235
|
+
/* Styling for desktop */
|
236
|
+
@media screen and (min-width: 1200px) {
|
237
|
+
.content-container {
|
238
|
+
padding: 60px 120px;
|
239
|
+
}
|
240
|
+
}
|
241
|
+
|
242
|
+
@media screen and (min-width: 992px) {
|
243
|
+
.menu {
|
244
|
+
min-height: 100vh;
|
245
|
+
}
|
246
|
+
|
247
|
+
.content-container {
|
248
|
+
-webkit-box-shadow: 0 4px 8px 0 var(--main-theme-color);
|
249
|
+
box-shadow: 0 4px 8px 0 var(--main-theme-color);
|
250
|
+
}
|
251
|
+
}
|
252
|
+
|
253
|
+
/* Styling for mobile */
|
254
|
+
@media screen and (max-width: 991px) {
|
255
|
+
.display-1 {
|
256
|
+
margin: 2rem 0;
|
257
|
+
}
|
258
|
+
|
259
|
+
.row {
|
260
|
+
display: block;
|
261
|
+
}
|
262
|
+
|
263
|
+
.menu .menu-content {
|
264
|
+
padding: 25px;
|
265
|
+
height: 100%;
|
266
|
+
}
|
267
|
+
|
268
|
+
.content-container {
|
269
|
+
padding: 25px;
|
270
|
+
}
|
271
|
+
|
272
|
+
.content h1 {
|
273
|
+
font-size: 2rem;
|
274
|
+
}
|
275
|
+
.content h2 {
|
276
|
+
font-size: 1.95rem;
|
277
|
+
}
|
278
|
+
.content h3 {
|
279
|
+
font-size: 1.9rem;
|
280
|
+
}
|
281
|
+
.content h4 {
|
282
|
+
font-size: 1.85rem;
|
283
|
+
}
|
284
|
+
.content h5 {
|
285
|
+
font-size: 1.8rem;
|
286
|
+
}
|
287
|
+
.content h6 {
|
288
|
+
font-size: 1.75rem;
|
289
|
+
}
|
290
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: techdoc-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
|
- jianmin-chen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -59,12 +59,12 @@ executables: []
|
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
|
+
- LICENSE
|
62
63
|
- README.md
|
63
64
|
- _config.yml
|
64
65
|
- _layouts/default.html
|
65
66
|
- _layouts/post.html
|
66
|
-
- assets/css/
|
67
|
-
- assets/css/style.css
|
67
|
+
- assets/css/styles.css
|
68
68
|
homepage: https://jianmin-chen.github.io/techdoc/
|
69
69
|
licenses:
|
70
70
|
- MIT
|
data/assets/css/hljs-theme.css
DELETED
@@ -1,154 +0,0 @@
|
|
1
|
-
.hljs {
|
2
|
-
background: #2e3440;
|
3
|
-
display: block;
|
4
|
-
overflow-x: auto;
|
5
|
-
padding: 0.5em;
|
6
|
-
}
|
7
|
-
|
8
|
-
.hljs, .hljs-subst {color: #d8dee9;}
|
9
|
-
|
10
|
-
.hljs-selector-tag {color: #81a1c1;}
|
11
|
-
|
12
|
-
.hljs-selector-id {
|
13
|
-
color: #8fbcbb;
|
14
|
-
font-weight: 700;
|
15
|
-
}
|
16
|
-
|
17
|
-
.hljs-selector-class {color: #8fbcbb;}
|
18
|
-
|
19
|
-
.hljs-selector-attr {color: #8fbcbb;}
|
20
|
-
|
21
|
-
.hljs-selector-pseudo {color: #88c0d0;}
|
22
|
-
|
23
|
-
.hljs-addition {background-color: rgba(163,190,140,.5);}
|
24
|
-
|
25
|
-
.hljs-deletion {background-color: rgba(191,97,106,.5);}
|
26
|
-
|
27
|
-
.hljs-built_in,.hljs-type {color: #8fbcbb;}
|
28
|
-
|
29
|
-
.hljs-class {color: #8fbcbb;}
|
30
|
-
|
31
|
-
.hljs-function {color: #88c0d0;}
|
32
|
-
|
33
|
-
.hljs-function > .hljs-title {color: #88c0d0;}
|
34
|
-
|
35
|
-
.hljs-keyword, .hljs-literal, .hljs-symbol {color: #81a1c1;}
|
36
|
-
|
37
|
-
.hljs-number {color: #b48ead;}
|
38
|
-
|
39
|
-
.hljs-regexp {color: #ebcb8b;}
|
40
|
-
|
41
|
-
.hljs-string {color: #a3be8c;}
|
42
|
-
|
43
|
-
.hljs-title {color: #8fbcbb;}
|
44
|
-
|
45
|
-
.hljs-params {color: #d8dee9;}
|
46
|
-
|
47
|
-
.hljs-bullet {color: #81a1c1;}
|
48
|
-
|
49
|
-
.hljs-code {color: #8fbcbb;}
|
50
|
-
|
51
|
-
.hljs-emphasis {font-style: italic;}
|
52
|
-
|
53
|
-
.hljs-formula {color: #8fbcbb;}
|
54
|
-
|
55
|
-
.hljs-strong {font-weight: 700;}
|
56
|
-
|
57
|
-
.hljs-link:hover {text-decoration: underline;}
|
58
|
-
|
59
|
-
.hljs-quote {color: #4c566a;}
|
60
|
-
|
61
|
-
.hljs-comment {color: #4c566a;}
|
62
|
-
|
63
|
-
.hljs-doctag {color: #8fbcbb;}
|
64
|
-
|
65
|
-
.hljs-meta, .hljs-meta-keyword {color: #5e81ac;}
|
66
|
-
|
67
|
-
.hljs-meta-string {color: #a3be8c;}
|
68
|
-
|
69
|
-
.hljs-attr {color: #8fbcbb;}
|
70
|
-
|
71
|
-
.hljs-attribute {color: #d8dee9;}
|
72
|
-
|
73
|
-
.hljs-builtin-name {color: #81a1c1;}
|
74
|
-
|
75
|
-
.hljs-name {color: #81a1c1;}
|
76
|
-
|
77
|
-
.hljs-section {color: #88c0d0;}
|
78
|
-
|
79
|
-
.hljs-tag {color: #81a1c1;}
|
80
|
-
|
81
|
-
.hljs-variable {color: #d8dee9;}
|
82
|
-
|
83
|
-
.hljs-template-variable {color: #d8dee9;}
|
84
|
-
|
85
|
-
.hljs-template-tag {color: #5e81ac;}
|
86
|
-
|
87
|
-
.abnf .hljs-attribute {color: #88c0d0;}
|
88
|
-
|
89
|
-
.abnf .hljs-symbol {color: #ebcb8b;}
|
90
|
-
|
91
|
-
.apache .hljs-attribute {color: #88c0d0;}
|
92
|
-
|
93
|
-
.apache .hljs-section {color: #81a1c1;}
|
94
|
-
|
95
|
-
.arduino .hljs-built_in {color: #88c0d0;}
|
96
|
-
|
97
|
-
.aspectj .hljs-meta {color: #d08770;}
|
98
|
-
|
99
|
-
.aspectj > .hljs-title {color: #88c0d0;}
|
100
|
-
|
101
|
-
.bnf .hljs-attribute {color: #8fbcbb;}
|
102
|
-
|
103
|
-
.clojure .hljs-name {color: #88c0d0;}
|
104
|
-
|
105
|
-
.clojure .hljs-symbol {color: #ebcb8b;}
|
106
|
-
|
107
|
-
.coq .hljs-built_in {color: #88c0d0;}
|
108
|
-
|
109
|
-
.cpp .hljs-meta-string {color: #8fbcbb;}
|
110
|
-
|
111
|
-
.css .hljs-built_in {color: #88c0d0;}
|
112
|
-
|
113
|
-
.css .hljs-keyword {color: #d08770;}
|
114
|
-
|
115
|
-
.diff .hljs-meta {color: #8fbcbb;}
|
116
|
-
|
117
|
-
.ebnf .hljs-attribute {color: #8fbcbb;}
|
118
|
-
|
119
|
-
.glsl .hljs-built_in {color: #88c0d0;}
|
120
|
-
|
121
|
-
.groovy .hljs-meta:not(:first-child) {color: #d08770;}
|
122
|
-
|
123
|
-
.haxe .hljs-meta {color: #d08770;}
|
124
|
-
|
125
|
-
.java .hljs-meta {color: #d08770;}
|
126
|
-
|
127
|
-
.ldif .hljs-attribute {color: #8fbcbb;}
|
128
|
-
|
129
|
-
.lisp .hljs-name {color: #88c0d0;}
|
130
|
-
|
131
|
-
.lua .hljs-built_in {color: #88c0d0;}
|
132
|
-
|
133
|
-
.moonscript .hljs-built_in {color: #88c0d0;}
|
134
|
-
|
135
|
-
.nginx .hljs-attribute{color: #88c0d0}
|
136
|
-
|
137
|
-
.nginx .hljs-section {color: #5e81ac;}
|
138
|
-
|
139
|
-
.pf .hljs-built_in {color:#88c0d0;}
|
140
|
-
|
141
|
-
.processing .hljs-built_in {color: #88c0d0;}
|
142
|
-
|
143
|
-
.scss .hljs-keyword {color: #81a1c1;}
|
144
|
-
|
145
|
-
.stylus .hljs-keyword {color: #81a1c1;}
|
146
|
-
|
147
|
-
.swift .hljs-meta {color: #d08770;}
|
148
|
-
|
149
|
-
.vim .hljs-built_in {
|
150
|
-
color: #88c0d0;
|
151
|
-
font-style:italic;
|
152
|
-
}
|
153
|
-
|
154
|
-
.yaml .hljs-meta {color: #d08770;}
|
data/assets/css/style.css
DELETED
@@ -1,190 +0,0 @@
|
|
1
|
-
/* Import Google Fonts */
|
2
|
-
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700&family=Open+Sans:wght@400;700&display=swap');
|
3
|
-
|
4
|
-
/* Import highlight.js theme */
|
5
|
-
@import "hljs-theme.css";
|
6
|
-
|
7
|
-
:root {
|
8
|
-
--main-theme-color: #273036;
|
9
|
-
--text-color: #6c757d;
|
10
|
-
}
|
11
|
-
|
12
|
-
* {
|
13
|
-
-webkit-box-sizing: border-box;
|
14
|
-
box-sizing: border-box;
|
15
|
-
}
|
16
|
-
|
17
|
-
/*
|
18
|
-
* Basic setup for body
|
19
|
-
*/
|
20
|
-
body, html {
|
21
|
-
font-family: "Noto Sans", sans-serif;
|
22
|
-
margin: 0;
|
23
|
-
padding: 0;
|
24
|
-
min-height: 100vh;
|
25
|
-
}
|
26
|
-
|
27
|
-
img {width: 100%;}
|
28
|
-
|
29
|
-
/*
|
30
|
-
* Basic typography setup
|
31
|
-
*/
|
32
|
-
a {
|
33
|
-
color: var(--text-color);
|
34
|
-
font-size: 0.95rem;
|
35
|
-
margin: 5px 0;
|
36
|
-
text-decoration: none;
|
37
|
-
-webkit-transition: opacity 0.2s;
|
38
|
-
-o-transition: opacity 0.2s;
|
39
|
-
transition: opacity 0.2s;
|
40
|
-
}
|
41
|
-
a:hover {opacity: 0.8;}
|
42
|
-
|
43
|
-
.display-1 {margin: 4rem 0;}
|
44
|
-
.display-1 a {
|
45
|
-
color: white;
|
46
|
-
display: block;
|
47
|
-
font-size: 5rem;
|
48
|
-
word-wrap: break-word;
|
49
|
-
}
|
50
|
-
|
51
|
-
.text-muted {color: #6c757d;}
|
52
|
-
|
53
|
-
/*
|
54
|
-
* Flex layout
|
55
|
-
*/
|
56
|
-
.row {
|
57
|
-
display: -webkit-box;
|
58
|
-
display: -ms-flexbox;
|
59
|
-
display: flex;
|
60
|
-
}
|
61
|
-
|
62
|
-
/*
|
63
|
-
* Styles for menu
|
64
|
-
*/
|
65
|
-
.menu {
|
66
|
-
background-color: var(--main-theme-color);
|
67
|
-
-webkit-box-flex: 1;
|
68
|
-
-ms-flex: 1;
|
69
|
-
flex: 1;
|
70
|
-
}
|
71
|
-
|
72
|
-
.menu .menu-content {
|
73
|
-
color: white;
|
74
|
-
font-size: 1.2rem;
|
75
|
-
padding: 45px;
|
76
|
-
position: -webkit-sticky;
|
77
|
-
position: sticky;
|
78
|
-
top: 0;
|
79
|
-
left: 0;
|
80
|
-
}
|
81
|
-
|
82
|
-
/* Navigation links */
|
83
|
-
.menu .nav-link {
|
84
|
-
color: white;
|
85
|
-
display: block;
|
86
|
-
}
|
87
|
-
|
88
|
-
/*
|
89
|
-
* Styles for content
|
90
|
-
*/
|
91
|
-
.content-container {
|
92
|
-
-webkit-box-flex: 2;
|
93
|
-
-ms-flex: 2;
|
94
|
-
flex: 2;
|
95
|
-
padding: 45px;
|
96
|
-
}
|
97
|
-
|
98
|
-
.content {
|
99
|
-
color: #242526;
|
100
|
-
line-height: 1.5;
|
101
|
-
font-family: "Open Sans", sans-serif;
|
102
|
-
}
|
103
|
-
|
104
|
-
.content a {font-size: 0.995rem;}
|
105
|
-
|
106
|
-
.content blockquote {
|
107
|
-
border-left: 0.3rem solid var(--text-color);
|
108
|
-
color: var(--text-color);
|
109
|
-
margin: 0;
|
110
|
-
padding: 0 1rem;
|
111
|
-
}
|
112
|
-
|
113
|
-
.content dt {font-weight: 800;}
|
114
|
-
|
115
|
-
.content h1, .content h2, .content h3, .content h4, .content h5, .content h6 {
|
116
|
-
color: var(--text-color);
|
117
|
-
font-weight: 400;
|
118
|
-
margin: 15px 0;
|
119
|
-
}
|
120
|
-
.content h1 {font-size: 2.5rem;}
|
121
|
-
.content h2 {font-size: 2.4rem;}
|
122
|
-
.content h3 {font-size: 2.3rem;}
|
123
|
-
.content h4 {font-size: 2.2rem;}
|
124
|
-
.content h5 {font-size: 2.1rem;}
|
125
|
-
.content h6 {font-size: 2rem;}
|
126
|
-
|
127
|
-
.content :not(pre) > code {
|
128
|
-
color: #dc3545;
|
129
|
-
font-size: 1rem;
|
130
|
-
word-wrap: break-word;
|
131
|
-
}
|
132
|
-
|
133
|
-
.content pre > code {
|
134
|
-
-webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4);
|
135
|
-
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4);
|
136
|
-
font-size: 0.95rem;
|
137
|
-
padding: 15px 30px;
|
138
|
-
}
|
139
|
-
|
140
|
-
.content table {
|
141
|
-
border-collapse: collapse;
|
142
|
-
overflow-x: scroll;
|
143
|
-
}
|
144
|
-
|
145
|
-
.content thead > tr, .content tr:nth-child(even) {background-color: #dee2e6;}
|
146
|
-
|
147
|
-
.content th {font-weight: 700;}
|
148
|
-
.content th, .content td {
|
149
|
-
padding: 7px 14px;
|
150
|
-
text-align: left !important;
|
151
|
-
}
|
152
|
-
|
153
|
-
/*
|
154
|
-
* Styles for footer
|
155
|
-
*/
|
156
|
-
.footer {
|
157
|
-
border-top: 1px solid #dee2e6;
|
158
|
-
color: #808080;
|
159
|
-
margin: 15px;
|
160
|
-
padding: 15px;
|
161
|
-
text-align: center;
|
162
|
-
}
|
163
|
-
|
164
|
-
/* Styling for desktop */
|
165
|
-
@media screen and (min-width: 992px) {
|
166
|
-
.menu {
|
167
|
-
-webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.7);
|
168
|
-
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.7);
|
169
|
-
min-height: 100vh;
|
170
|
-
}
|
171
|
-
}
|
172
|
-
|
173
|
-
/* Styling for mobile */
|
174
|
-
@media screen and (max-width: 991px) {
|
175
|
-
.display-1 {margin: 2rem 0;}
|
176
|
-
.display-1 a {font-size: 3.5rem;}
|
177
|
-
|
178
|
-
.row {display: block;}
|
179
|
-
|
180
|
-
.menu .menu-content {padding: 25px;}
|
181
|
-
|
182
|
-
.content-container {padding: 25px;}
|
183
|
-
|
184
|
-
.content h1 {font-size: 2rem;}
|
185
|
-
.content h2 {font-size: 1.95rem;}
|
186
|
-
.content h3 {font-size: 1.9rem;}
|
187
|
-
.content h4 {font-size: 1.85rem;}
|
188
|
-
.content h5 {font-size: 1.8rem;}
|
189
|
-
.content h6 {font-size: 1.75rem;}
|
190
|
-
}
|