nord-docs 0.1.5 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_config.yml +19 -5
- data/_includes/head.html +23 -4
- data/_includes/header.html +30 -32
- data/_layouts/default.html +6 -7
- data/_sass/nord-docs.scss +7 -0
- data/_sass/nord-docs/animations.scss +26 -0
- data/_sass/nord-docs/base.scss +98 -0
- data/_sass/nord-docs/fonts.scss +116 -0
- data/_sass/nord-docs/icons.scss +12 -0
- data/_sass/nord-docs/navbar.scss +20 -0
- data/_sass/nord-docs/theme-switch.scss +14 -0
- data/_sass/nord-docs/variables.scss +14 -0
- data/assets/css/style.scss +7 -0
- data/assets/css/assets/fonts/Dank Mono Italic Nerd Font Complete.otf b/data/assets/fonts/Dank Mono Italic Nerd Font → Complete.otf +0 -0
- data/assets/css/assets/fonts/Dank Mono Regular Nerd Font Complete.otf b/data/assets/fonts/Dank Mono Regular Nerd Font → Complete.otf +0 -0
- data/assets/{css/assets/fonts → fonts}/FuturaPTBold.otf +0 -0
- data/assets/{css/assets/fonts → fonts}/FuturaPTBoldOblique.otf +0 -0
- data/assets/{css/assets/fonts → fonts}/FuturaPTBook.otf +0 -0
- data/assets/{css/assets/fonts → fonts}/FuturaPTBookOblique.otf +0 -0
- data/assets/{css/assets/fonts → fonts}/FuturaPTDemi.otf +0 -0
- data/assets/{css/assets/fonts → fonts}/FuturaPTDemiOblique.otf +0 -0
- data/assets/{css/assets/fonts → fonts}/FuturaPTExtraBold.otf +0 -0
- data/assets/{css/assets/fonts → fonts}/FuturaPTExtraBoldOblique.otf +0 -0
- data/assets/{css/assets/fonts → fonts}/FuturaPTHeavy.otf +0 -0
- data/assets/{css/assets/fonts → fonts}/FuturaPTHeavyOblique.otf +0 -0
- data/assets/{css/assets/fonts → fonts}/FuturaPTLight.otf +0 -0
- data/assets/{css/assets/fonts → fonts}/FuturaPTLightOblique.otf +0 -0
- data/assets/{css/assets/fonts → fonts}/FuturaPTMedium.otf +0 -0
- data/assets/{css/assets/fonts → fonts}/FuturaPTMediumOblique.otf +0 -0
- data/assets/js/dark-mode.js +11 -0
- data/assets/js/font-awesome.js +2 -0
- metadata +33 -23
- data/assets/css/stylesheet.css +0 -232
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8a9ed178000f5a4135193efbb27ce88509c8ca1a917b5bfbf80391de2c41db9
|
4
|
+
data.tar.gz: 154d4fd465144fd1093935aa3a0ead3e20e04016f392de429858933de974ccd4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c000386974c10b2a57d6abcfc90b302cf9f4e1c45dc097edcbe1531e1a502892d50e988311be47bce0b04b73cf107308b8b93ff8edb725c93fddfbe3500392b2
|
7
|
+
data.tar.gz: 8e7ca1c0cd552b5bb9ee8c90a0bbecaaaf3e821f7ad22588684e51c5f9a3b4ec18fe7280e975ead42f6bf50a5f4b68a561cc8aa774e9e9a85077651868830c72
|
data/_config.yml
CHANGED
@@ -1,9 +1,23 @@
|
|
1
|
-
|
1
|
+
# General
|
2
|
+
title: NORD-DOCS
|
3
|
+
tagline: Notes in Nord.
|
2
4
|
author:
|
3
5
|
name: GitHub User
|
4
6
|
email: your-email@domain.com
|
5
7
|
description: > # this means to ignore newlines until "show_excerpts:"
|
6
|
-
Write an awesome description for your new site here. You can edit this
|
7
|
-
|
8
|
-
|
9
|
-
|
8
|
+
Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description.
|
9
|
+
|
10
|
+
# File Details
|
11
|
+
encoding: "utf-8"
|
12
|
+
markdown_ext: "markdown,mkdown,mkdn,mkd,md"
|
13
|
+
|
14
|
+
baseurl: /nord-docs
|
15
|
+
|
16
|
+
menu:
|
17
|
+
- name: Home
|
18
|
+
link: /
|
19
|
+
icon: fas fa-home
|
20
|
+
- name: Contact
|
21
|
+
link: /contact
|
22
|
+
icon: far fa-id-card
|
23
|
+
|
data/_includes/head.html
CHANGED
@@ -2,10 +2,29 @@
|
|
2
2
|
<meta charset="utf-8">
|
3
3
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
4
4
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
5
|
-
<
|
6
|
-
|
7
|
-
|
5
|
+
<title>{{ page.title | default: site.title }}</title>
|
6
|
+
|
7
|
+
<!-- Font Awesome -->
|
8
|
+
<script src="{{ "/assets/js/font-awesome.js" | relative_url }}"></script>
|
9
|
+
|
10
|
+
<!-- Bootstrap -->
|
11
|
+
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" crossorigin="anonymous">
|
12
|
+
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" crossorigin="anonymous"></script>
|
13
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js" crossorigin="anonymous"></script>
|
14
|
+
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js" crossorigin="anonymous"></script>
|
15
|
+
|
16
|
+
<!-- highlight.js -->
|
17
|
+
<link rel="stylesheet"
|
18
|
+
href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.1/styles/default.min.css">
|
19
|
+
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.1/highlight.min.js"></script>
|
20
|
+
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.0.3/styles/nord.min.css">
|
21
|
+
|
22
|
+
<!-- Stylesheet -->
|
23
|
+
<link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}">
|
24
|
+
|
25
|
+
<script>hljs.initHighlightingOnLoad();</script>
|
26
|
+
|
8
27
|
<script>
|
9
|
-
setTimeout(function(){ document.getElementById("
|
28
|
+
setTimeout(function(){ document.getElementById("delay").style.display = "block"; }, 1000);
|
10
29
|
</script>
|
11
30
|
</head>
|
data/_includes/header.html
CHANGED
@@ -1,33 +1,31 @@
|
|
1
|
-
<
|
2
|
-
<
|
3
|
-
<
|
4
|
-
|
5
|
-
|
6
|
-
<
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
</
|
16
|
-
|
17
|
-
</
|
18
|
-
|
1
|
+
<nav class="navbar navbar-expand-lg navbar-light">
|
2
|
+
<a class="navbar-brand">
|
3
|
+
<t1 style="line-height: 0.85em;">{{ site.title }}</t1>
|
4
|
+
</a>
|
5
|
+
<button style="border: 0;" class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav">
|
6
|
+
<i class="fas fa-bars"></i>
|
7
|
+
</button>
|
8
|
+
<div class="collapse navbar-collapse" id="navbarNav">
|
9
|
+
<ul class="navbar-nav ml-auto">
|
10
|
+
{% for item in site.menu %}
|
11
|
+
<li class="nav-item">
|
12
|
+
<a class="nav-link" href="{{ site.baseurl }}{{ item.link }}">
|
13
|
+
<m1>
|
14
|
+
{{ item.name }}
|
15
|
+
</m1>
|
16
|
+
</a>
|
17
|
+
</li>
|
18
|
+
{% endfor %}
|
19
|
+
<li class="nav-item">
|
20
|
+
<a class="nav-link">
|
21
|
+
<label class="theme-switch" for="checkbox">
|
22
|
+
<input type="checkbox" id="checkbox"/>
|
23
|
+
<i class="fas fa-moon unchecked"></i>
|
24
|
+
<i class="fas fa-sun checked"></i>
|
25
|
+
</label>
|
26
|
+
</a>
|
27
|
+
</li>
|
28
|
+
<script src="assets/js/dark-mode.js"></script>
|
29
|
+
</ul>
|
19
30
|
</div>
|
20
|
-
|
21
|
-
<script>
|
22
|
-
var splashArray = ["猴脑狗汪汪叫!",
|
23
|
-
"The sun is a deadly laser!",
|
24
|
-
"Splash text!",
|
25
|
-
"我不会说中文!",
|
26
|
-
"Cool. Cool cool cool.",
|
27
|
-
"This font is NOT web-safe",
|
28
|
-
"d174226fcc7a32c3e3bb1ab43e7fde035701d9682840345484d34d6ad667e16b"];
|
29
|
-
document.getElementById("splash").innerHTML = splashArray[Math.floor(Math.random() * splashArray.length)];
|
30
|
-
</script>
|
31
|
-
<br>
|
32
|
-
<hr class="roll">
|
33
|
-
</div>
|
31
|
+
</nav>
|
data/_layouts/default.html
CHANGED
@@ -4,13 +4,12 @@
|
|
4
4
|
<body>
|
5
5
|
<div class="main">
|
6
6
|
{%- include header.html -%}
|
7
|
-
<
|
8
|
-
|
9
|
-
|
7
|
+
<div class="body">
|
8
|
+
<hr class="roll" style="padding-top: 0; margin-top: 0;">
|
9
|
+
<div id="delay" class="fade-in" style="display:none;">
|
10
|
+
{{ content }}
|
11
|
+
</div>
|
10
12
|
</div>
|
11
13
|
</div>
|
12
14
|
</body>
|
13
|
-
</html>
|
14
|
-
|
15
|
-
|
16
|
-
|
15
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
/* ANIMATIONS */
|
2
|
+
/* Fade-In */
|
3
|
+
.fade-in {
|
4
|
+
animation: fadeIn ease-in-out 1s;
|
5
|
+
}
|
6
|
+
@keyframes fadeIn {
|
7
|
+
0% {
|
8
|
+
opacity: 0;
|
9
|
+
}
|
10
|
+
100% {
|
11
|
+
opacity: 1;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
/* Roll-out for <hr> */
|
16
|
+
.roll {
|
17
|
+
animation: rollOut ease 1s;
|
18
|
+
}
|
19
|
+
@keyframes rollOut {
|
20
|
+
from {
|
21
|
+
width: 0%;
|
22
|
+
}
|
23
|
+
to {
|
24
|
+
width: 100%;
|
25
|
+
}
|
26
|
+
}
|
@@ -0,0 +1,98 @@
|
|
1
|
+
/* Base */
|
2
|
+
* {
|
3
|
+
padding: 0;
|
4
|
+
margin: 0;
|
5
|
+
}
|
6
|
+
|
7
|
+
body {
|
8
|
+
background-color: var(--background-color);
|
9
|
+
transition: background 0.5s ease-in-out, color 0.5s ease-in-out;
|
10
|
+
}
|
11
|
+
|
12
|
+
h1, h2, h3, h4 {
|
13
|
+
font-family: Futura PT, Arial, Helvetica, sans-serif;
|
14
|
+
color: var(--heading-color);
|
15
|
+
text-transform: uppercase;
|
16
|
+
}
|
17
|
+
|
18
|
+
h1 {
|
19
|
+
font-weight: 700;
|
20
|
+
font-size: 2.5em;
|
21
|
+
}
|
22
|
+
|
23
|
+
h2 {
|
24
|
+
font-weight: 700;
|
25
|
+
font-size: 2em;
|
26
|
+
}
|
27
|
+
|
28
|
+
h3 {
|
29
|
+
font-weight: 700;
|
30
|
+
font-size: 1.5em;
|
31
|
+
}
|
32
|
+
|
33
|
+
h4 {
|
34
|
+
font-weight: 700;
|
35
|
+
font-size: 1em;
|
36
|
+
}
|
37
|
+
|
38
|
+
p {
|
39
|
+
font-family: Dank Mono NF;
|
40
|
+
font-weight: 400;
|
41
|
+
font-size: 1em;
|
42
|
+
color: var(--foreground-color);
|
43
|
+
}
|
44
|
+
|
45
|
+
li {
|
46
|
+
font-family: Dank Mono NF;
|
47
|
+
font-weight: 400;
|
48
|
+
font-size: 1em;
|
49
|
+
margin-left: 2em;
|
50
|
+
color: var(--foreground-color);
|
51
|
+
}
|
52
|
+
|
53
|
+
hr {
|
54
|
+
width: 100%;
|
55
|
+
float: left;
|
56
|
+
border: 1px solid;
|
57
|
+
color: var(--foreground-color);
|
58
|
+
}
|
59
|
+
|
60
|
+
blockquote {
|
61
|
+
margin-left: 0em;
|
62
|
+
padding-left: 1em;
|
63
|
+
border-left: 0.25em solid var(--heading-color);
|
64
|
+
}
|
65
|
+
|
66
|
+
code {
|
67
|
+
border-radius: 0.25em;
|
68
|
+
}
|
69
|
+
|
70
|
+
.hljs {
|
71
|
+
background: var(--code-block-color);
|
72
|
+
}
|
73
|
+
|
74
|
+
a:link {
|
75
|
+
color: #81a1c1;
|
76
|
+
transition: 0.2s;
|
77
|
+
}
|
78
|
+
|
79
|
+
a:visited {
|
80
|
+
color: #81a1c1;
|
81
|
+
}
|
82
|
+
|
83
|
+
a:hover {
|
84
|
+
color: #5e81ac;
|
85
|
+
}
|
86
|
+
|
87
|
+
a:active {
|
88
|
+
color: #5e81ac;
|
89
|
+
}
|
90
|
+
.body {
|
91
|
+
padding: 0 1.25em 0 1.25em;
|
92
|
+
margin: 0;
|
93
|
+
}
|
94
|
+
|
95
|
+
.main {
|
96
|
+
margin: 5%;
|
97
|
+
width: 90%;
|
98
|
+
}
|
@@ -0,0 +1,116 @@
|
|
1
|
+
/* ROBOTO */
|
2
|
+
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
|
3
|
+
|
4
|
+
/* FUTURA PT */
|
5
|
+
@font-face {
|
6
|
+
font-family: Futura PT;
|
7
|
+
font-weight: 300;
|
8
|
+
font-size: normal;
|
9
|
+
src: url("../fonts/FuturaPTLight.otf") format("opentype");
|
10
|
+
}
|
11
|
+
|
12
|
+
@font-face {
|
13
|
+
font-family: Futura PT;
|
14
|
+
font-weight: 300;
|
15
|
+
font-style: italic;
|
16
|
+
src: url("../fonts/FuturaPTLightOblique.otf") format("opentype");
|
17
|
+
}
|
18
|
+
|
19
|
+
@font-face {
|
20
|
+
font-family: Futura PT;
|
21
|
+
font-weight: 400;
|
22
|
+
font-style: normal;
|
23
|
+
src: url("../fonts/FuturaPTBook.otf") format("opentype");
|
24
|
+
}
|
25
|
+
|
26
|
+
@font-face {
|
27
|
+
font-family: Futura PT;
|
28
|
+
font-weight: 400;
|
29
|
+
font-style: italic;
|
30
|
+
src: url("../fonts/FuturaPTBookOblique.otf") format("opentype");
|
31
|
+
}
|
32
|
+
|
33
|
+
@font-face {
|
34
|
+
font-family: Futura PT;
|
35
|
+
font-weight: 500;
|
36
|
+
font-style: normal;
|
37
|
+
src: url("../fonts/FuturaPTMedium.otf") format("opentype");
|
38
|
+
}
|
39
|
+
|
40
|
+
@font-face {
|
41
|
+
font-family: Futura PT;
|
42
|
+
font-weight: 500;
|
43
|
+
font-style: italic;
|
44
|
+
src: url("../fonts/FuturaPTMediumOblique.otf") format("opentype");
|
45
|
+
}
|
46
|
+
|
47
|
+
@font-face {
|
48
|
+
font-family: Futura PT;
|
49
|
+
font-weight: 600;
|
50
|
+
font-style: normal;
|
51
|
+
src: url("../fonts/FuturaPTDemi.otf") format("opentype");
|
52
|
+
}
|
53
|
+
|
54
|
+
@font-face {
|
55
|
+
font-family: Futura PT;
|
56
|
+
font-weight: 600;
|
57
|
+
font-style: italic;
|
58
|
+
src: url("../fonts/FuturaPTDemiOblique.otf") format("opentype");
|
59
|
+
}
|
60
|
+
|
61
|
+
@font-face {
|
62
|
+
font-family: Futura PT;
|
63
|
+
font-weight: 700;
|
64
|
+
font-style: normal;
|
65
|
+
src: url("../fonts/FuturaPTBold.otf") format("opentype");
|
66
|
+
}
|
67
|
+
|
68
|
+
@font-face {
|
69
|
+
font-family: Futura PT;
|
70
|
+
font-weight: 700;
|
71
|
+
font-style: italic;
|
72
|
+
src: url("../fonts/FuturaPTBoldOblique.otf") format("opentype");
|
73
|
+
}
|
74
|
+
|
75
|
+
@font-face {
|
76
|
+
font-family: Futura PT;
|
77
|
+
font-weight: 800;
|
78
|
+
font-style: normal;
|
79
|
+
src: url("../fonts/FuturaPTExtraBold.otf") format("opentype");
|
80
|
+
}
|
81
|
+
|
82
|
+
@font-face {
|
83
|
+
font-family: Futura PT;
|
84
|
+
font-weight: 800;
|
85
|
+
font-style: italic;
|
86
|
+
src: url("../fonts/FuturaPTExtraBoldOblique.otf") format("opentype");
|
87
|
+
}
|
88
|
+
|
89
|
+
@font-face {
|
90
|
+
font-family: Futura PT;
|
91
|
+
font-weight: 900;
|
92
|
+
font-style: normal;
|
93
|
+
src: url("../fonts/FuturaPTHeavy.otf") format("opentype");
|
94
|
+
}
|
95
|
+
|
96
|
+
@font-face {
|
97
|
+
font-family: Futura PT;
|
98
|
+
font-weight: 900;
|
99
|
+
font-style: italic;
|
100
|
+
src: url("../fonts/FuturaPTHeavyOblique.otf") format("opentype");
|
101
|
+
}
|
102
|
+
|
103
|
+
/* DANK MONO NF */
|
104
|
+
@font-face {
|
105
|
+
font-family: Dank Mono NF;
|
106
|
+
font-weight: 400;
|
107
|
+
font-style: normal;
|
108
|
+
src: url("../fonts/Dank Mono Regular Nerd Font Complete.otf") format("opentype");
|
109
|
+
}
|
110
|
+
|
111
|
+
@font-face {
|
112
|
+
font-family: Dank Mono NF;
|
113
|
+
font-weight: 400;
|
114
|
+
font-style: italic;
|
115
|
+
src: url("../fonts/Dank Mono Italic Nerd Font Complete.otf") format("opentype");
|
116
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
.fas, .far {
|
2
|
+
color: var(--foreground-color);
|
3
|
+
vertical-align: middle;
|
4
|
+
margin-top: 0.5em;
|
5
|
+
}
|
6
|
+
|
7
|
+
.fa-moon, .fa-sun {
|
8
|
+
padding: 0.25em 0.25em 0.25em 0.25em;
|
9
|
+
border: 2px solid var(--foreground-color);
|
10
|
+
border-radius: 0.25em;
|
11
|
+
margin: 0.25em 0 0.25em 0;
|
12
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
t1 {
|
2
|
+
font-family: Futura PT, Arial, Helvetica, sans-serif;
|
3
|
+
font-weight: 700;
|
4
|
+
font-size: 4em;
|
5
|
+
text-transform: uppercase;
|
6
|
+
color: var(--heading-color);
|
7
|
+
}
|
8
|
+
|
9
|
+
m1 {
|
10
|
+
font-family: Futura PT, Arial, Helvetica, sans-serif;
|
11
|
+
font-weight: 400;
|
12
|
+
font-size: 1.5em;
|
13
|
+
vertical-align: top;
|
14
|
+
color: var(--foreground-color);
|
15
|
+
}
|
16
|
+
|
17
|
+
.nav-link:hover {
|
18
|
+
opacity: 50%;
|
19
|
+
transition: opacity 0.25s ease;
|
20
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
.theme-switch input[type="checkbox"],
|
2
|
+
.theme-switch .checked {
|
3
|
+
display: none;
|
4
|
+
}
|
5
|
+
|
6
|
+
.theme-switch input[type="checkbox"]:checked ~ .checked
|
7
|
+
{
|
8
|
+
display: inline-block;
|
9
|
+
}
|
10
|
+
|
11
|
+
.theme-switch input[type="checkbox"]:checked ~ .unchecked
|
12
|
+
{
|
13
|
+
display: none;
|
14
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
:root {
|
2
|
+
--background-color: #eceff4;
|
3
|
+
--foreground-color: #2e3440;
|
4
|
+
--heading-color: #81a1c1;
|
5
|
+
--highlight-color: #8fbcbb;
|
6
|
+
--code-block-color: #2e3440;
|
7
|
+
}
|
8
|
+
[data-theme="dark"] {
|
9
|
+
--background-color: #2e3440;
|
10
|
+
--foreground-color: #d8dee9;
|
11
|
+
--heading-color: #81a1c1;
|
12
|
+
--highlight-color: #8fbcbb;
|
13
|
+
--code-block-color: #434c5e;
|
14
|
+
}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,11 @@
|
|
1
|
+
const toggleSwitch = document.querySelector('.theme-switch input[type="checkbox"]');
|
2
|
+
|
3
|
+
function switchTheme(e) {
|
4
|
+
if (e.target.checked) {
|
5
|
+
document.documentElement.setAttribute('data-theme', 'dark');
|
6
|
+
}
|
7
|
+
else {
|
8
|
+
document.documentElement.setAttribute('data-theme', 'light');
|
9
|
+
}
|
10
|
+
}
|
11
|
+
toggleSwitch.addEventListener('change', switchTheme, false);
|
@@ -0,0 +1,2 @@
|
|
1
|
+
window.FontAwesomeKitConfig = {"asyncLoading":{"enabled":true},"autoA11y":{"enabled":true},"baseUrl":"https://kit-pro.fontawesome.com","detectConflictsUntil":null,"license":"pro","method":"css","minify":{"enabled":true},"v4FontFaceShim":{"enabled":true},"v4shim":{"enabled":true},"version":"latest"};
|
2
|
+
!function(){function r(e){var t,n=[],i=document,o=i.documentElement.doScroll,r="DOMContentLoaded",a=(o?/^loaded|^c/:/^loaded|^i|^c/).test(i.readyState);a||i.addEventListener(r,t=function(){for(i.removeEventListener(r,t),a=1;t=n.shift();)t()}),a?setTimeout(e,0):n.push(e)}!function(){if(!(void 0===window.Element||"classList"in document.documentElement)){var e,t,n,i=Array.prototype,o=i.push,r=i.splice,a=i.join;d.prototype={add:function(e){this.contains(e)||(o.call(this,e),this.el.className=this.toString())},contains:function(e){return-1!=this.el.className.indexOf(e)},item:function(e){return this[e]||null},remove:function(e){if(this.contains(e)){for(var t=0;t<this.length&&this[t]!=e;t++);r.call(this,t,1),this.el.className=this.toString()}},toString:function(){return a.call(this," ")},toggle:function(e){return this.contains(e)?this.remove(e):this.add(e),this.contains(e)}},window.DOMTokenList=d,e=Element.prototype,t="classList",n=function(){return new d(this)},Object.defineProperty?Object.defineProperty(e,t,{get:n}):e.__defineGetter__(t,n)}function d(e){for(var t=(this.el=e).className.replace(/^\s+|\s+$/g,"").split(/\s+/),n=0;n<t.length;n++)o.call(this,t[n])}}();function a(e){var t,n,i,o;prefixesArray=e||["fa"],prefixesSelectorString="."+Array.prototype.join.call(e,",."),t=document.querySelectorAll(prefixesSelectorString),Array.prototype.forEach.call(t,function(e){n=e.getAttribute("title"),e.setAttribute("aria-hidden","true"),i=!e.nextElementSibling||!e.nextElementSibling.classList.contains("sr-only"),n&&i&&((o=document.createElement("span")).innerHTML=n,o.classList.add("sr-only"),e.parentNode.insertBefore(o,e.nextSibling))})}var d=function(e,t){var n=document.createElement("link");n.href=e,n.media="all",n.rel="stylesheet",n.id="font-awesome-5-kit-css",t&&t.detectingConflicts&&t.detectionIgnoreAttr&&n.setAttributeNode(document.createAttribute(t.detectionIgnoreAttr)),document.getElementsByTagName("head")[0].appendChild(n)},c=function(e,t){!function(e,t){var n,i=t&&t.before||void 0,o=t&&t.media||void 0,r=window.document,a=r.createElement("link");if(t&&t.detectingConflicts&&t.detectionIgnoreAttr&&a.setAttributeNode(document.createAttribute(t.detectionIgnoreAttr)),i)n=i;else{var d=(r.body||r.getElementsByTagName("head")[0]).childNodes;n=d[d.length-1]}var c=r.styleSheets;a.rel="stylesheet",a.href=e,a.media="only x",function e(t){if(r.body)return t();setTimeout(function(){e(t)})}(function(){n.parentNode.insertBefore(a,i?n:n.nextSibling)});var s=function(e){for(var t=a.href,n=c.length;n--;)if(c[n].href===t)return e();setTimeout(function(){s(e)})};function l(){a.addEventListener&&a.removeEventListener("load",l),a.media=o||"all"}a.addEventListener&&a.addEventListener("load",l),(a.onloadcssdefined=s)(l)}(e,t)},e=function(e,t,n){var i=t&&void 0!==t.autoFetchSvg?t.autoFetchSvg:void 0,o=t&&void 0!==t.async?t.async:void 0,r=t&&void 0!==t.autoA11y?t.autoA11y:void 0,a=document.createElement("script"),d=document.scripts[0];a.src=e,void 0!==r&&a.setAttribute("data-auto-a11y",r?"true":"false"),i&&(a.setAttributeNode(document.createAttribute("data-auto-fetch-svg")),a.setAttribute("data-fetch-svg-from",t.fetchSvgFrom)),o&&a.setAttributeNode(document.createAttribute("defer")),n&&n.detectingConflicts&&n.detectionIgnoreAttr&&a.setAttributeNode(document.createAttribute(n.detectionIgnoreAttr)),d.parentNode.appendChild(a)};function s(e,t){var n=t&&t.addOn||"",i=t&&t.baseFilename||e.license+n,o=t&&t.minify?".min":"",r=t&&t.fileSuffix||e.method,a=t&&t.subdir||e.method;return e.baseUrl+"/releases/"+("latest"===e.version?"latest":"v".concat(e.version))+"/"+a+"/"+i+o+"."+r}var t,n,i,o,l;try{if(window.FontAwesomeKitConfig){var u,f=window.FontAwesomeKitConfig,m={detectingConflicts:f.detectConflictsUntil&&new Date<=new Date(f.detectConflictsUntil),detectionIgnoreAttr:"data-fa-detection-ignore",detectionTimeoutAttr:"data-fa-detection-timeout",detectionTimeout:null};"js"===f.method&&(o=m,l={async:(i=f).asyncLoading.enabled,autoA11y:i.autoA11y.enabled},"pro"===i.license&&(l.autoFetchSvg=!0,l.fetchSvgFrom=i.baseUrl+"/releases/"+("latest"===i.version?"latest":"v".concat(i.version))+"/svgs"),i.v4shim.enabled&&e(s(i,{addOn:"-v4-shims",minify:i.minify.enabled})),e(s(i,{minify:i.minify.enabled}),l,o)),"css"===f.method&&function(e,t){var n,i=a.bind(a,["fa","fab","fas","far","fal","fad"]);e.autoA11y.enabled&&(r(i),n=i,"undefined"!=typeof MutationObserver&&new MutationObserver(n).observe(document,{childList:!0,subtree:!0})),e.v4shim.enabled&&(e.license,e.asyncLoading.enabled?c(s(e,{addOn:"-v4-shims",minify:e.minify.enabled}),t):d(s(e,{addOn:"-v4-shims",minify:e.minify.enabled}),t));e.v4FontFaceShim.enabled&&(e.asyncLoading.enabled?c(s(e,{addOn:"-v4-font-face",minify:e.minify.enabled}),t):d(s(e,{addOn:"-v4-font-face",minify:e.minify.enabled}),t));var o=s(e,{minify:e.minify.enabled});e.asyncLoading.enabled?c(o,t):d(o,t)}(f,m),m.detectingConflicts&&((u=document.currentScript.getAttribute(m.detectionTimeoutAttr))&&(m.detectionTimeout=u),document.currentScript.setAttributeNode(document.createAttribute(m.detectionIgnoreAttr)),t=f,n=m,r(function(){var e=document.createElement("script");n&&n.detectionIgnoreAttr&&e.setAttributeNode(document.createAttribute(n.detectionIgnoreAttr)),n&&n.detectionTimeoutAttr&&n.detectionTimeout&&e.setAttribute(n.detectionTimeoutAttr,n.detectionTimeout),e.src=s(t,{baseFilename:"conflict-detection",fileSuffix:"js",subdir:"js",minify:t.minify.enabled}),e.async=!0,document.body.appendChild(e)}))}}catch(e){}}();
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nord-docs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nobody912
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-06-
|
11
|
+
date: 2020-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: github-pages
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '206'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '206'
|
27
27
|
description:
|
28
28
|
email:
|
29
29
|
- 41035180+Nobody912@users.noreply.github.com
|
@@ -37,23 +37,33 @@ files:
|
|
37
37
|
- _includes/head.html
|
38
38
|
- _includes/header.html
|
39
39
|
- _layouts/default.html
|
40
|
-
-
|
41
|
-
-
|
42
|
-
-
|
43
|
-
-
|
44
|
-
-
|
45
|
-
-
|
46
|
-
-
|
47
|
-
-
|
48
|
-
- assets/css/
|
49
|
-
- assets/
|
50
|
-
- assets/
|
51
|
-
- assets/
|
52
|
-
- assets/
|
53
|
-
- assets/
|
54
|
-
- assets/
|
55
|
-
- assets/
|
56
|
-
- assets/
|
40
|
+
- _sass/nord-docs.scss
|
41
|
+
- _sass/nord-docs/animations.scss
|
42
|
+
- _sass/nord-docs/base.scss
|
43
|
+
- _sass/nord-docs/fonts.scss
|
44
|
+
- _sass/nord-docs/icons.scss
|
45
|
+
- _sass/nord-docs/navbar.scss
|
46
|
+
- _sass/nord-docs/theme-switch.scss
|
47
|
+
- _sass/nord-docs/variables.scss
|
48
|
+
- assets/css/style.scss
|
49
|
+
- assets/fonts/Dank Mono Italic Nerd Font Complete.otf
|
50
|
+
- assets/fonts/Dank Mono Regular Nerd Font Complete.otf
|
51
|
+
- assets/fonts/FuturaPTBold.otf
|
52
|
+
- assets/fonts/FuturaPTBoldOblique.otf
|
53
|
+
- assets/fonts/FuturaPTBook.otf
|
54
|
+
- assets/fonts/FuturaPTBookOblique.otf
|
55
|
+
- assets/fonts/FuturaPTDemi.otf
|
56
|
+
- assets/fonts/FuturaPTDemiOblique.otf
|
57
|
+
- assets/fonts/FuturaPTExtraBold.otf
|
58
|
+
- assets/fonts/FuturaPTExtraBoldOblique.otf
|
59
|
+
- assets/fonts/FuturaPTHeavy.otf
|
60
|
+
- assets/fonts/FuturaPTHeavyOblique.otf
|
61
|
+
- assets/fonts/FuturaPTLight.otf
|
62
|
+
- assets/fonts/FuturaPTLightOblique.otf
|
63
|
+
- assets/fonts/FuturaPTMedium.otf
|
64
|
+
- assets/fonts/FuturaPTMediumOblique.otf
|
65
|
+
- assets/js/dark-mode.js
|
66
|
+
- assets/js/font-awesome.js
|
57
67
|
- assets/media/public-key.gpg
|
58
68
|
homepage: https://nobody912.github.io
|
59
69
|
licenses:
|
data/assets/css/stylesheet.css
DELETED
@@ -1,232 +0,0 @@
|
|
1
|
-
/* FUTURA PT */
|
2
|
-
@font-face {
|
3
|
-
font-family: Futura PT;
|
4
|
-
font-weight: 300;
|
5
|
-
font-size: normal;
|
6
|
-
src: url("assets/fonts/FuturaPTLight.otf") format("opentype");
|
7
|
-
}
|
8
|
-
@font-face {
|
9
|
-
font-family: Futura PT;
|
10
|
-
font-weight: 300;
|
11
|
-
font-style: italic;
|
12
|
-
src: url("assets/fonts/FuturaPTLightOblique.otf") format("opentype");
|
13
|
-
}
|
14
|
-
@font-face {
|
15
|
-
font-family: Futura PT;
|
16
|
-
font-weight: 400;
|
17
|
-
font-style: normal;
|
18
|
-
src: url("assets/fonts/FuturaPTBook.otf") format("opentype");
|
19
|
-
}
|
20
|
-
@font-face {
|
21
|
-
font-family: Futura PT;
|
22
|
-
font-weight: 400;
|
23
|
-
font-style: italic;
|
24
|
-
src: url("assets/fonts/FuturaPTBookOblique.otf") format("opentype");
|
25
|
-
}
|
26
|
-
@font-face {
|
27
|
-
font-family: Futura PT;
|
28
|
-
font-weight: 500;
|
29
|
-
font-style: normal;
|
30
|
-
src: url("assets/fonts/FuturaPTMedium.otf") format("opentype");
|
31
|
-
}
|
32
|
-
@font-face {
|
33
|
-
font-family: Futura PT;
|
34
|
-
font-weight: 500;
|
35
|
-
font-style: italic;
|
36
|
-
src: url("assets/fonts/FuturaPTMediumOblique.otf") format("opentype");
|
37
|
-
}
|
38
|
-
@font-face {
|
39
|
-
font-family: Futura PT;
|
40
|
-
font-weight: 600;
|
41
|
-
font-style: normal;
|
42
|
-
src: url("assets/fonts/FuturaPTDemi.otf") format("opentype");
|
43
|
-
}
|
44
|
-
@font-face {
|
45
|
-
font-family: Futura PT;
|
46
|
-
font-weight: 600;
|
47
|
-
font-style: italic;
|
48
|
-
src: url("assets/fonts/FuturaPTDemiOblique.otf") format("opentype");
|
49
|
-
}
|
50
|
-
@font-face {
|
51
|
-
font-family: Futura PT;
|
52
|
-
font-weight: 700;
|
53
|
-
font-style: normal;
|
54
|
-
src: url("assets/fonts/FuturaPTBold.otf") format("opentype");
|
55
|
-
}
|
56
|
-
@font-face {
|
57
|
-
font-family: Futura PT;
|
58
|
-
font-weight: 700;
|
59
|
-
font-style: italic;
|
60
|
-
src: url("assets/fonts/FuturaPTBoldOblique.otf") format("opentype");
|
61
|
-
}
|
62
|
-
@font-face {
|
63
|
-
font-family: Futura PT;
|
64
|
-
font-weight: 800;
|
65
|
-
font-style: normal;
|
66
|
-
src: url("assets/fonts/FuturaPTExtraBold.otf") format("opentype");
|
67
|
-
}
|
68
|
-
@font-face {
|
69
|
-
font-family: Futura PT;
|
70
|
-
font-weight: 800;
|
71
|
-
font-style: italic;
|
72
|
-
src: url("assets/fonts/FuturaPTExtraBoldOblique.otf") format("opentype");
|
73
|
-
}
|
74
|
-
@font-face {
|
75
|
-
font-family: Futura PT;
|
76
|
-
font-weight: 900;
|
77
|
-
font-style: normal;
|
78
|
-
src: url("assets/fonts/FuturaPTHeavy.otf") format("opentype");
|
79
|
-
}
|
80
|
-
@font-face {
|
81
|
-
font-family: Futura PT;
|
82
|
-
font-weight: 900;
|
83
|
-
font-style: italic;
|
84
|
-
src: url("assets/fonts/FuturaPTHeavyOblique.otf") format("opentype");
|
85
|
-
}
|
86
|
-
/* DANK MONO */
|
87
|
-
@font-face {
|
88
|
-
font-family: Dank Mono NF;
|
89
|
-
font-weight: 400;
|
90
|
-
font-style: normal;
|
91
|
-
src: url("assets/fonts/Dank Mono Regular Nerd Font Complete.otf") format("opentype");
|
92
|
-
}
|
93
|
-
@font-face {
|
94
|
-
font-family: Dank Mono NF;
|
95
|
-
font-weight: 400;
|
96
|
-
font-style: italic;
|
97
|
-
src: url("assets/fonts/Dank Mono Italic Nerd Font Complete.otf") format("opentype");
|
98
|
-
}
|
99
|
-
/* Animations */
|
100
|
-
.fade-in {
|
101
|
-
animation: fadeIn ease .5s;
|
102
|
-
}
|
103
|
-
@keyframes fadeIn {
|
104
|
-
0% {
|
105
|
-
opacity:0;
|
106
|
-
}
|
107
|
-
100% {
|
108
|
-
opacity:1;
|
109
|
-
}
|
110
|
-
}
|
111
|
-
.roll {
|
112
|
-
animation: rollOut ease .5s;
|
113
|
-
}
|
114
|
-
@keyframes rollOut {
|
115
|
-
from {
|
116
|
-
width: 0%;
|
117
|
-
}
|
118
|
-
to {
|
119
|
-
width: 100%;
|
120
|
-
}
|
121
|
-
}
|
122
|
-
/* Format Stuff */
|
123
|
-
body {
|
124
|
-
background-color: #2e3440;
|
125
|
-
}
|
126
|
-
h1, h2, h3, h4, t1, st1 {
|
127
|
-
margin: 0;
|
128
|
-
padding: 0;
|
129
|
-
}
|
130
|
-
h1, h2, h3, h4, t1 {
|
131
|
-
color: #81a1c1;
|
132
|
-
}
|
133
|
-
t1 {
|
134
|
-
font-family: Futura PT, Arial, Helvetica, sans-serif;
|
135
|
-
font-weight: 700;
|
136
|
-
font-size: 4em;
|
137
|
-
}
|
138
|
-
st1 {
|
139
|
-
font-family: Futura PT, Arial, Helvetica, sans-serif;
|
140
|
-
font-weight: 300;
|
141
|
-
font-style: italic;
|
142
|
-
font-size: 2em;
|
143
|
-
color: #d8dee9;
|
144
|
-
}
|
145
|
-
m1 {
|
146
|
-
font-family: Futura PT, Arial, Helvetica, sans-serif;
|
147
|
-
font-weight: 300;
|
148
|
-
font-style: italic;
|
149
|
-
font-size: 1.5em;
|
150
|
-
color: #d8dee9;
|
151
|
-
vertical-align: top;
|
152
|
-
}
|
153
|
-
h1 {
|
154
|
-
font-family: Futura PT, Arial, Helvetica, sans-serif;
|
155
|
-
font-weight: 700;
|
156
|
-
font-size: 2.5em;
|
157
|
-
}
|
158
|
-
h2 {
|
159
|
-
font-family: Futura PT, Arial, Helvetica, sans-serif;
|
160
|
-
font-weight: 700;
|
161
|
-
font-size: 2em;
|
162
|
-
}
|
163
|
-
h3 {
|
164
|
-
font-family: Futura PT, Arial, Helvetica, sans-serif;
|
165
|
-
font-weight: 700;
|
166
|
-
font-size: 1.5em;
|
167
|
-
}
|
168
|
-
h4 {
|
169
|
-
font-family: Futura PT, Arial, Helvetica, sans-serif;
|
170
|
-
font-weight: 700;
|
171
|
-
font-size: 1em;
|
172
|
-
}
|
173
|
-
p {
|
174
|
-
font-family: Dank Mono NF;
|
175
|
-
font-weight: 400;
|
176
|
-
font-size: 1em;
|
177
|
-
color: #d8dee9;
|
178
|
-
margin-top: 0;
|
179
|
-
margin-bottom: 0;
|
180
|
-
}
|
181
|
-
hr {
|
182
|
-
color: #d8dee9;
|
183
|
-
width: 100%;
|
184
|
-
float: left;
|
185
|
-
}
|
186
|
-
ul {
|
187
|
-
list-style-type: none;
|
188
|
-
margin: 0;
|
189
|
-
padding: 0;
|
190
|
-
overflow: hidden;
|
191
|
-
background-color: #2e3440;
|
192
|
-
}
|
193
|
-
li {
|
194
|
-
float: right;
|
195
|
-
vertical-align: top;
|
196
|
-
}
|
197
|
-
li a {
|
198
|
-
font-family: Futura PT, Arial, Helvetica, sans-serif;
|
199
|
-
font-weight: 500;
|
200
|
-
display: block;
|
201
|
-
text-align: center;
|
202
|
-
padding-left: 1.5em;
|
203
|
-
padding-right: 0;
|
204
|
-
text-decoration: none;
|
205
|
-
}
|
206
|
-
a:link {
|
207
|
-
color: #81a1c1;
|
208
|
-
transition: 0.2s;
|
209
|
-
}
|
210
|
-
a:visited {
|
211
|
-
color: #b48ead;
|
212
|
-
}
|
213
|
-
a:active {
|
214
|
-
color: #5e81ac;
|
215
|
-
}
|
216
|
-
.column {
|
217
|
-
float: left;
|
218
|
-
width: 50%;
|
219
|
-
}
|
220
|
-
.row:after {
|
221
|
-
content: "";
|
222
|
-
display: table;
|
223
|
-
clear: both;
|
224
|
-
}
|
225
|
-
.body {
|
226
|
-
width: 75%;
|
227
|
-
padding: 0;
|
228
|
-
}
|
229
|
-
.main {
|
230
|
-
padding: 5%;
|
231
|
-
width: 90%;
|
232
|
-
}
|