jekylldark 0.4.3
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 +7 -0
- data/LICENSE +674 -0
- data/README.md +71 -0
- data/_includes/analytics.html +9 -0
- data/_includes/footer.html +53 -0
- data/_includes/head.html +5 -0
- data/_includes/header.html +21 -0
- data/_includes/sidebar.html +57 -0
- data/_layouts/default.html +30 -0
- data/_layouts/page.html +9 -0
- data/_layouts/post.html +11 -0
- data/_sass/components/_elementstyle.scss +156 -0
- data/_sass/components/_footer.scss +71 -0
- data/_sass/components/_form.scss +34 -0
- data/_sass/components/_gist.scss +45 -0
- data/_sass/components/_layout.scss +148 -0
- data/_sass/components/_navbar.scss +54 -0
- data/_sass/components/_sidebar.scss +30 -0
- data/_sass/components/_table.scss +73 -0
- data/_sass/jekylldark.scss +49 -0
- data/assets/css/style.scss +4 -0
- data/assets/js/expandNav.js +20 -0
- metadata +107 -0
@@ -0,0 +1,34 @@
|
|
1
|
+
form {
|
2
|
+
background-color: #4c4c4c;
|
3
|
+
padding: 20px;
|
4
|
+
}
|
5
|
+
|
6
|
+
fieldset {
|
7
|
+
border-color: #000000;
|
8
|
+
margin: 0 0 10px 0;
|
9
|
+
}
|
10
|
+
|
11
|
+
textarea {
|
12
|
+
font-size: 1em;
|
13
|
+
height: 200px;
|
14
|
+
width: 100%
|
15
|
+
}
|
16
|
+
|
17
|
+
input[type=text], input[type=email] {
|
18
|
+
font-size: 1em;
|
19
|
+
}
|
20
|
+
|
21
|
+
input[type=checkbox] {
|
22
|
+
margin-left: 10px;
|
23
|
+
}
|
24
|
+
|
25
|
+
input[type=submit] {
|
26
|
+
background-color: #dddddd;
|
27
|
+
border: none;
|
28
|
+
color: #000000;
|
29
|
+
cursor: pointer;
|
30
|
+
margin: 10px 0 0 0;
|
31
|
+
padding: 16px 32px;
|
32
|
+
text-decoration: none;
|
33
|
+
width: 100%
|
34
|
+
}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
body .gist {
|
2
|
+
max-width: 100vw;
|
3
|
+
}
|
4
|
+
|
5
|
+
body .gist .gist-file {
|
6
|
+
border-radius: 0;
|
7
|
+
border-style: none;
|
8
|
+
margin-bottom: 0;
|
9
|
+
}
|
10
|
+
|
11
|
+
body .gist .gist-data {
|
12
|
+
background-color: #e5e5e5;
|
13
|
+
border-bottom: none;
|
14
|
+
border-radius: 0;
|
15
|
+
}
|
16
|
+
|
17
|
+
body .gist .blob-wrapper {
|
18
|
+
border-radius: 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
body .gist .highlight {
|
22
|
+
background-color: transparent;
|
23
|
+
font-size: 14px;
|
24
|
+
}
|
25
|
+
|
26
|
+
body .gist .highlight td {
|
27
|
+
line-height: 1;
|
28
|
+
padding: 5px 15px !important;
|
29
|
+
}
|
30
|
+
|
31
|
+
body .gist .blob-num {
|
32
|
+
background-color: #333333;
|
33
|
+
color: #b2b2b2;
|
34
|
+
pointer-events: none;
|
35
|
+
}
|
36
|
+
|
37
|
+
body .gist .gist-meta {
|
38
|
+
background-color: #333333;
|
39
|
+
}
|
40
|
+
|
41
|
+
@media only screen and (max-width: 999px) {
|
42
|
+
body .gist .gist-data {
|
43
|
+
display: none;
|
44
|
+
}
|
45
|
+
}
|
@@ -0,0 +1,148 @@
|
|
1
|
+
.site-header {
|
2
|
+
grid-area: header;
|
3
|
+
}
|
4
|
+
|
5
|
+
.site-sidebar {
|
6
|
+
grid-area: sidebar;
|
7
|
+
max-width: 350px;
|
8
|
+
}
|
9
|
+
|
10
|
+
.site-content {
|
11
|
+
grid-area: content;
|
12
|
+
max-width: 800px;
|
13
|
+
}
|
14
|
+
|
15
|
+
.site-footer {
|
16
|
+
grid-area: footer;
|
17
|
+
}
|
18
|
+
|
19
|
+
.footer-area1 {
|
20
|
+
grid-area: footer1;
|
21
|
+
}
|
22
|
+
|
23
|
+
.footer-area2 {
|
24
|
+
grid-area: footer2;
|
25
|
+
}
|
26
|
+
|
27
|
+
.footer-area3 {
|
28
|
+
grid-area: footer3;
|
29
|
+
}
|
30
|
+
|
31
|
+
.footer-area4 {
|
32
|
+
grid-area: footer4;
|
33
|
+
}
|
34
|
+
|
35
|
+
.site-wrapper {
|
36
|
+
display: grid;
|
37
|
+
grid-template-areas:
|
38
|
+
"header"
|
39
|
+
"sidebar"
|
40
|
+
"content"
|
41
|
+
"footer";
|
42
|
+
justify-content: center;
|
43
|
+
}
|
44
|
+
|
45
|
+
.footer-wrapper {
|
46
|
+
display: grid;
|
47
|
+
grid-template-areas:
|
48
|
+
"footer1"
|
49
|
+
"footer2"
|
50
|
+
"footer3"
|
51
|
+
"footer4";
|
52
|
+
justify-content: flex-start;
|
53
|
+
}
|
54
|
+
|
55
|
+
@media (min-width: 800px) {
|
56
|
+
.site-wrapper {
|
57
|
+
grid-template-areas:
|
58
|
+
"header"
|
59
|
+
"sidebar"
|
60
|
+
"content"
|
61
|
+
"footer";
|
62
|
+
grid-template-columns: 800px;
|
63
|
+
grid-template-rows: auto;
|
64
|
+
}
|
65
|
+
.footer-wrapper {
|
66
|
+
display: grid;
|
67
|
+
grid-template-areas:
|
68
|
+
"footer1"
|
69
|
+
"footer2"
|
70
|
+
"footer3"
|
71
|
+
"footer4";
|
72
|
+
grid-template-columns: auto;
|
73
|
+
grid-template-rows: auto;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
@media (min-width: 800px) {
|
78
|
+
.site-wrapper {
|
79
|
+
grid-template-areas:
|
80
|
+
"header header header"
|
81
|
+
"content content sidebar"
|
82
|
+
"footer footer footer";
|
83
|
+
grid-template-columns: auto;
|
84
|
+
grid-template-rows: auto;
|
85
|
+
}
|
86
|
+
.footer-wrapper {
|
87
|
+
display: grid;
|
88
|
+
grid-template-areas:
|
89
|
+
"footer1 footer2 footer3"
|
90
|
+
"footer4 footer4 footer4";
|
91
|
+
grid-template-columns: auto;
|
92
|
+
grid-template-rows: auto;
|
93
|
+
}
|
94
|
+
}
|
95
|
+
|
96
|
+
@media screen and (max-width: 799px) {
|
97
|
+
.site-nav a:not(:first-child) {
|
98
|
+
display: none;
|
99
|
+
}
|
100
|
+
.site-nav a.navbar-hamburger {
|
101
|
+
display: block;
|
102
|
+
float: right;
|
103
|
+
}
|
104
|
+
.dropdown {
|
105
|
+
display: none;
|
106
|
+
}
|
107
|
+
.dropdown-list {
|
108
|
+
width: 100vw;
|
109
|
+
}
|
110
|
+
.site-sidebar {
|
111
|
+
margin-bottom: 0;
|
112
|
+
max-width: 100%;
|
113
|
+
}
|
114
|
+
.sidebar-content {
|
115
|
+
margin-bottom: 0 !important;
|
116
|
+
}
|
117
|
+
.site-content {
|
118
|
+
margin-right: 30px;
|
119
|
+
margin-top: 30px;
|
120
|
+
max-width: 100%;
|
121
|
+
}
|
122
|
+
.site-footer {
|
123
|
+
left: 0;
|
124
|
+
}
|
125
|
+
.footer-paragraph {
|
126
|
+
width: 100%;
|
127
|
+
}
|
128
|
+
}
|
129
|
+
|
130
|
+
@media screen and (max-width: 799px) {
|
131
|
+
.site-nav.responsive {
|
132
|
+
width: 100vw;
|
133
|
+
}
|
134
|
+
.site-nav.responsive a.navbar-hamburger {
|
135
|
+
position: absolute;
|
136
|
+
right: 0;
|
137
|
+
top: 0;
|
138
|
+
}
|
139
|
+
.site-nav.responsive a {
|
140
|
+
display: block;
|
141
|
+
float: none;
|
142
|
+
text-align: left;
|
143
|
+
}
|
144
|
+
.dropdown.responsive {
|
145
|
+
display: block;
|
146
|
+
width: 100vw;
|
147
|
+
}
|
148
|
+
}
|
@@ -0,0 +1,54 @@
|
|
1
|
+
.site-nav {
|
2
|
+
background-color: #333333;
|
3
|
+
left: 0;
|
4
|
+
margin: 0;
|
5
|
+
position: fixed;
|
6
|
+
top: 0;
|
7
|
+
width: 100vw;
|
8
|
+
z-index: 1;
|
9
|
+
}
|
10
|
+
|
11
|
+
.site-nav a {
|
12
|
+
color: #ffffff;
|
13
|
+
float: left;
|
14
|
+
padding: 14px 16px;
|
15
|
+
text-decoration: none;
|
16
|
+
}
|
17
|
+
|
18
|
+
.site-nav a:hover {
|
19
|
+
background-color: #dddddd;
|
20
|
+
color: #000000;
|
21
|
+
}
|
22
|
+
|
23
|
+
.site-nav .navbar-hamburger {
|
24
|
+
display: none;
|
25
|
+
}
|
26
|
+
|
27
|
+
.dropdown {
|
28
|
+
background-color: #333333;
|
29
|
+
float: left;
|
30
|
+
overflow: hidden;
|
31
|
+
}
|
32
|
+
|
33
|
+
.dropdown:hover .dropdown-list {
|
34
|
+
display: block;
|
35
|
+
}
|
36
|
+
|
37
|
+
.dropdown-list {
|
38
|
+
background-color: #f9f9f9;
|
39
|
+
display: none;
|
40
|
+
position: absolute;
|
41
|
+
z-index: 2;
|
42
|
+
}
|
43
|
+
|
44
|
+
.dropdown-list a {
|
45
|
+
color: #000000;
|
46
|
+
display: block;
|
47
|
+
float: none;
|
48
|
+
text-align: left;
|
49
|
+
}
|
50
|
+
|
51
|
+
.dropdown-list a:hover {
|
52
|
+
background-color: #dddddd;
|
53
|
+
color: #000000;
|
54
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
.sidebar-content {
|
2
|
+
background-color: #696969;
|
3
|
+
border-radius: 5px;
|
4
|
+
line-height: 0;
|
5
|
+
margin: 30px 30px 31px 30px;
|
6
|
+
padding: 20px 30px 0 30px;
|
7
|
+
}
|
8
|
+
|
9
|
+
.site-title {
|
10
|
+
background-color: #696969;
|
11
|
+
border-radius: 5px;
|
12
|
+
margin: 76px 30px 0 30px;
|
13
|
+
padding: 1px 30px 0 30px;
|
14
|
+
}
|
15
|
+
|
16
|
+
.sidebar-area {
|
17
|
+
margin: 0;
|
18
|
+
padding: 0 10px 30px 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
.sidebar-list {
|
22
|
+
list-style-type: circle;
|
23
|
+
margin: 0 0 0 20px;
|
24
|
+
padding: 0 0 0 10px;
|
25
|
+
}
|
26
|
+
|
27
|
+
.sidebar-header {
|
28
|
+
line-height: 30px;
|
29
|
+
margin: 0;
|
30
|
+
}
|
@@ -0,0 +1,73 @@
|
|
1
|
+
table {
|
2
|
+
border-collapse: collapse;
|
3
|
+
border-color: #000000;
|
4
|
+
border-style: solid;
|
5
|
+
border-width: 4px;
|
6
|
+
margin: 0;
|
7
|
+
text-align: center;
|
8
|
+
width: 100%;
|
9
|
+
tr, th, td {
|
10
|
+
border-color: #000000;
|
11
|
+
border-style: solid;
|
12
|
+
border-width: 2px;
|
13
|
+
}
|
14
|
+
|
15
|
+
th {
|
16
|
+
border-width: 4px;
|
17
|
+
}
|
18
|
+
|
19
|
+
tr:nth-child(odd) td {
|
20
|
+
background-color: #4c4c4c;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
@media only screen and (max-width: 999px) {
|
25
|
+
table {
|
26
|
+
max-height: 500px;
|
27
|
+
}
|
28
|
+
|
29
|
+
table, thead, tbody, th, td, tr {
|
30
|
+
border-style: none;
|
31
|
+
display: block;
|
32
|
+
}
|
33
|
+
|
34
|
+
thead tr, caption {
|
35
|
+
left: -9999px;
|
36
|
+
position: absolute;
|
37
|
+
top: -9999px;
|
38
|
+
}
|
39
|
+
|
40
|
+
td {
|
41
|
+
padding-left: 49%;
|
42
|
+
position: relative;
|
43
|
+
text-align: left;
|
44
|
+
white-space: normal;
|
45
|
+
}
|
46
|
+
|
47
|
+
td:before {
|
48
|
+
font-weight: bold;
|
49
|
+
left: 5px;
|
50
|
+
padding-right: 10px;
|
51
|
+
position: absolute;
|
52
|
+
text-align:left;
|
53
|
+
white-space: nowrap;
|
54
|
+
width: 50%;
|
55
|
+
}
|
56
|
+
|
57
|
+
td:before {
|
58
|
+
content: attr(data-title);
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
caption {
|
63
|
+
border-color: #000000;
|
64
|
+
border-style: solid;
|
65
|
+
border-width: 4px 4px 0 4px;
|
66
|
+
font-weight: bold;
|
67
|
+
padding: 1px 5px 1px 5px;
|
68
|
+
}
|
69
|
+
|
70
|
+
.scroll {
|
71
|
+
background-color: #333333;
|
72
|
+
overflow-y: scroll;
|
73
|
+
}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
@charset "utf-8";
|
2
|
+
|
3
|
+
$background-color: #4c4c4c !default;
|
4
|
+
$base-font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif !default;
|
5
|
+
$base-font-size: 17px !default;
|
6
|
+
$base-line-height: 1.75 !default;
|
7
|
+
$base-text-color: #ffffff !default;
|
8
|
+
|
9
|
+
.site-wrapper {
|
10
|
+
width: 100vw;
|
11
|
+
}
|
12
|
+
|
13
|
+
.site {
|
14
|
+
background-color: $background-color;
|
15
|
+
background-size: cover;
|
16
|
+
color: $base-text-color;
|
17
|
+
font-family: $base-font-family;
|
18
|
+
font-size: $base-font-size;
|
19
|
+
line-height: $base-line-height;
|
20
|
+
margin: 10px 0 10px 0;
|
21
|
+
min-height: 100vh;
|
22
|
+
padding: 0;
|
23
|
+
position: absolute;
|
24
|
+
}
|
25
|
+
|
26
|
+
.site-content {
|
27
|
+
background-color: #696969;
|
28
|
+
border-radius: 5px;
|
29
|
+
margin: 76px 0 31px 30px;
|
30
|
+
padding: 20px 40px 40px 40px;
|
31
|
+
}
|
32
|
+
|
33
|
+
.page-header {
|
34
|
+
border-bottom-color: #4c4c4c;
|
35
|
+
border-bottom-style: solid;
|
36
|
+
margin: 0 0 50px 0;
|
37
|
+
padding: 0 0 12px 0;
|
38
|
+
}
|
39
|
+
|
40
|
+
@import
|
41
|
+
"components/elementstyle",
|
42
|
+
"components/footer",
|
43
|
+
"components/form",
|
44
|
+
"components/gist",
|
45
|
+
"components/layout",
|
46
|
+
"components/navbar",
|
47
|
+
"components/sidebar",
|
48
|
+
"components/table"
|
49
|
+
;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
function expandNav() {
|
2
|
+
var x = document.getElementById("navbar");
|
3
|
+
var y = document.getElementById("navdrop");
|
4
|
+
var z = document.getElementById("navlist");
|
5
|
+
if (x.className === "site-nav") {
|
6
|
+
x.className += " responsive";
|
7
|
+
} else {
|
8
|
+
x.className = "site-nav";
|
9
|
+
}
|
10
|
+
if (y.className === "dropdown") {
|
11
|
+
y.className += " responsive";
|
12
|
+
} else {
|
13
|
+
y.className = "dropdown";
|
14
|
+
}
|
15
|
+
if (z.className === "dropdown-list") {
|
16
|
+
z.className += " responsive";
|
17
|
+
} else {
|
18
|
+
z.className = "dropdown-list";
|
19
|
+
}
|
20
|
+
}
|