techdoc-jekyll-theme 0.1.8 → 0.2.0
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/_layouts/default.html +14 -11
- data/assets/css/styles.css +287 -0
- metadata +3 -4
- data/assets/css/hljs-theme.css +0 -154
- data/assets/css/style.css +0 -191
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 176473bfdf1dcf5efe2d3bc9f70b69c5fd2d0053aed878e30070aa7fe28e0cc5
|
4
|
+
data.tar.gz: 8b73f5fe0493ab8e31ea0b7128b75e8e409560bd006bcaf8fa7bea2f9a51c501
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 925dd93633a0c5eb9d5ddca5a795ddefb58809690f0629a401eb7334d4e8072f310a9fef1217842db2cfc690fabdd0e0545598c21424d6a8a0734cfa4e27869a
|
7
|
+
data.tar.gz: bd03c8d1b6a10faf45a3b0fff7118708a7a1121d3f9cf37175e886a2f26efe4f9711c81cdbcd90bc81d311b9a67e1d56f5a0c9126f1a8dbe4cc9ef97e097f843
|
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,287 @@
|
|
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: var(--text-color);
|
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
|
+
display: block;
|
103
|
+
}
|
104
|
+
|
105
|
+
/*
|
106
|
+
* Styles for content
|
107
|
+
*/
|
108
|
+
.content-container {
|
109
|
+
-webkit-box-flex: 3;
|
110
|
+
-ms-flex: 3;
|
111
|
+
flex: 3;
|
112
|
+
padding: 30px 60px;
|
113
|
+
}
|
114
|
+
|
115
|
+
.content {
|
116
|
+
color: #808080;
|
117
|
+
line-height: 1.5;
|
118
|
+
}
|
119
|
+
|
120
|
+
.content a {font-size: 0.995rem;}
|
121
|
+
|
122
|
+
.content blockquote {
|
123
|
+
background-color: #f1f1f1;
|
124
|
+
color: var(--text-color);
|
125
|
+
margin: 0;
|
126
|
+
padding: 15px 30px;
|
127
|
+
}
|
128
|
+
|
129
|
+
.content dt {font-weight: 800;}
|
130
|
+
|
131
|
+
.content h1, .content h2, .content h3, .content h4, .content h5, .content h6 {
|
132
|
+
border-bottom: 1px solid #f1f1f1;
|
133
|
+
color: gray;
|
134
|
+
font-weight: 400;
|
135
|
+
margin: 15px 0;
|
136
|
+
padding: 5px 0;
|
137
|
+
}
|
138
|
+
|
139
|
+
.content h1 {
|
140
|
+
font-size: 2.5rem;
|
141
|
+
}
|
142
|
+
.content h2 {
|
143
|
+
font-size: 2.4rem;
|
144
|
+
}
|
145
|
+
.content h3 {
|
146
|
+
font-size: 2.3rem;
|
147
|
+
}
|
148
|
+
.content h4 {
|
149
|
+
font-size: 2.2rem;
|
150
|
+
}
|
151
|
+
.content h5 {
|
152
|
+
font-size: 2.1rem;
|
153
|
+
}
|
154
|
+
.content h6 {
|
155
|
+
font-size: 2rem;
|
156
|
+
}
|
157
|
+
|
158
|
+
.content h1:before, .content h2:before, .content h3:before, .content h4:before, .content h5:before, .content h6:before {
|
159
|
+
color: #ccc;
|
160
|
+
margin-right: 10px;
|
161
|
+
}
|
162
|
+
.content h1:before {
|
163
|
+
content: "#";
|
164
|
+
font-size: 2.2rem;
|
165
|
+
}
|
166
|
+
.content h2:before {
|
167
|
+
content: "##";
|
168
|
+
font-size: 2.1rem;
|
169
|
+
}
|
170
|
+
.content h3:before {
|
171
|
+
content: "###";
|
172
|
+
font-size: 2rem;
|
173
|
+
}
|
174
|
+
.content h4:before {
|
175
|
+
content: "####";
|
176
|
+
font-size: 1.9rem;
|
177
|
+
}
|
178
|
+
.content h5:before {
|
179
|
+
content: "#####";
|
180
|
+
font-size: 1.8rem;
|
181
|
+
}
|
182
|
+
.content h6:before {
|
183
|
+
content: "######";
|
184
|
+
font-size: 1.7rem;
|
185
|
+
}
|
186
|
+
|
187
|
+
.content :not(pre) > code {
|
188
|
+
color: #dc3545;
|
189
|
+
font-size: 0.995rem;
|
190
|
+
word-wrap: break-word;
|
191
|
+
}
|
192
|
+
|
193
|
+
.content pre > code {
|
194
|
+
font-size: 0.95rem;
|
195
|
+
padding: 15px 30px;
|
196
|
+
white-space: pre-wrap;
|
197
|
+
}
|
198
|
+
|
199
|
+
.content table {
|
200
|
+
border: 1px solid #f1f1f1;
|
201
|
+
border-collapse: collapse;
|
202
|
+
overflow-x: scroll;
|
203
|
+
min-width: 100%;
|
204
|
+
}
|
205
|
+
|
206
|
+
.content thead > tr, .content tr:nth-child(even) {
|
207
|
+
background-color: #f1f1f1;
|
208
|
+
}
|
209
|
+
|
210
|
+
.content th {
|
211
|
+
font-weight: 700;
|
212
|
+
}
|
213
|
+
.content th, .content td {
|
214
|
+
padding: 14px 28px;
|
215
|
+
text-align: left !important;
|
216
|
+
}
|
217
|
+
|
218
|
+
.content ul {
|
219
|
+
margin: 0;
|
220
|
+
}
|
221
|
+
|
222
|
+
/*
|
223
|
+
* Styles for footer
|
224
|
+
*/
|
225
|
+
.footer {
|
226
|
+
border-top: 1px solid #dee2e6;
|
227
|
+
color: #808080;
|
228
|
+
margin: 45px 0 15px 0;
|
229
|
+
padding: 15px;
|
230
|
+
text-align: center;
|
231
|
+
}
|
232
|
+
|
233
|
+
/* Styling for desktop */
|
234
|
+
@media screen and (min-width: 1200px) {
|
235
|
+
.content-container {
|
236
|
+
padding: 60px 120px;
|
237
|
+
}
|
238
|
+
}
|
239
|
+
|
240
|
+
@media screen and (min-width: 992px) {
|
241
|
+
.menu {
|
242
|
+
min-height: 100vh;
|
243
|
+
}
|
244
|
+
|
245
|
+
.content-container {
|
246
|
+
-webkit-box-shadow: 0 4px 8px 0 var(--main-theme-color);
|
247
|
+
box-shadow: 0 4px 8px 0 var(--main-theme-color);
|
248
|
+
}
|
249
|
+
}
|
250
|
+
|
251
|
+
/* Styling for mobile */
|
252
|
+
@media screen and (max-width: 991px) {
|
253
|
+
.display-1 {
|
254
|
+
margin: 2rem 0;
|
255
|
+
}
|
256
|
+
|
257
|
+
.row {
|
258
|
+
display: block;
|
259
|
+
}
|
260
|
+
|
261
|
+
.menu .menu-content {
|
262
|
+
padding: 25px;
|
263
|
+
}
|
264
|
+
|
265
|
+
.content-container {
|
266
|
+
padding: 25px;
|
267
|
+
}
|
268
|
+
|
269
|
+
.content h1 {
|
270
|
+
font-size: 2rem;
|
271
|
+
}
|
272
|
+
.content h2 {
|
273
|
+
font-size: 1.95rem;
|
274
|
+
}
|
275
|
+
.content h3 {
|
276
|
+
font-size: 1.9rem;
|
277
|
+
}
|
278
|
+
.content h4 {
|
279
|
+
font-size: 1.85rem;
|
280
|
+
}
|
281
|
+
.content h5 {
|
282
|
+
font-size: 1.8rem;
|
283
|
+
}
|
284
|
+
.content h6 {
|
285
|
+
font-size: 1.75rem;
|
286
|
+
}
|
287
|
+
}
|
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.
|
4
|
+
version: 0.2.0
|
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-05-
|
11
|
+
date: 2021-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -64,8 +64,7 @@ files:
|
|
64
64
|
- _config.yml
|
65
65
|
- _layouts/default.html
|
66
66
|
- _layouts/post.html
|
67
|
-
- assets/css/
|
68
|
-
- assets/css/style.css
|
67
|
+
- assets/css/styles.css
|
69
68
|
homepage: https://jianmin-chen.github.io/techdoc/
|
70
69
|
licenses:
|
71
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,191 +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
|
-
white-space: pre-wrap;
|
139
|
-
}
|
140
|
-
|
141
|
-
.content table {
|
142
|
-
border-collapse: collapse;
|
143
|
-
overflow-x: scroll;
|
144
|
-
}
|
145
|
-
|
146
|
-
.content thead > tr, .content tr:nth-child(even) {background-color: #dee2e6;}
|
147
|
-
|
148
|
-
.content th {font-weight: 700;}
|
149
|
-
.content th, .content td {
|
150
|
-
padding: 7px 14px;
|
151
|
-
text-align: left !important;
|
152
|
-
}
|
153
|
-
|
154
|
-
/*
|
155
|
-
* Styles for footer
|
156
|
-
*/
|
157
|
-
.footer {
|
158
|
-
border-top: 1px solid #dee2e6;
|
159
|
-
color: #808080;
|
160
|
-
margin: 45px 15px 15px 15px;
|
161
|
-
padding: 15px;
|
162
|
-
text-align: center;
|
163
|
-
}
|
164
|
-
|
165
|
-
/* Styling for desktop */
|
166
|
-
@media screen and (min-width: 992px) {
|
167
|
-
.menu {
|
168
|
-
-webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.7);
|
169
|
-
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.7);
|
170
|
-
min-height: 100vh;
|
171
|
-
}
|
172
|
-
}
|
173
|
-
|
174
|
-
/* Styling for mobile */
|
175
|
-
@media screen and (max-width: 991px) {
|
176
|
-
.display-1 {margin: 2rem 0;}
|
177
|
-
.display-1 a {font-size: 3.5rem;}
|
178
|
-
|
179
|
-
.row {display: block;}
|
180
|
-
|
181
|
-
.menu .menu-content {padding: 25px;}
|
182
|
-
|
183
|
-
.content-container {padding: 25px;}
|
184
|
-
|
185
|
-
.content h1 {font-size: 2rem;}
|
186
|
-
.content h2 {font-size: 1.95rem;}
|
187
|
-
.content h3 {font-size: 1.9rem;}
|
188
|
-
.content h4 {font-size: 1.85rem;}
|
189
|
-
.content h5 {font-size: 1.8rem;}
|
190
|
-
.content h6 {font-size: 1.75rem;}
|
191
|
-
}
|