moonwalk 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -2
- data/_config.yml +2 -2
- data/_includes/post_list.html +1 -1
- data/_sass/list.scss +2 -2
- data/_sass/moonwalk.scss +60 -31
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7edd39e392da8da952ccc0c9d8e3ef35d7134c38ea1ab990c17255a4115a76e8
|
4
|
+
data.tar.gz: 98306e5362e09a847d9bdba85d870d04e3b27057844dda40c8e0c9e013134281
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b57b95f1b12e72776cede7691c645fb1a1eb4d6bcfe27e7d021b8d8bae523ec66a4e689de032a2f9d1d07127011cf600cd14cc195f30eb6c5fa7b0f6eb7a2e2
|
7
|
+
data.tar.gz: 76fb05d55b77e3f171b27a546f20d07008abf8225658795cba1cfe65036065ab186da37baefeecd060fa21c4979673539b0a849e169e12a4c6cb8ca9b26f09c9
|
data/README.md
CHANGED
@@ -4,19 +4,24 @@
|
|
4
4
|
|
5
5
|
<h3 align="center"><a href="https://abhinavs.github.io/moonwalk/">Try the Demo</a></h3>
|
6
6
|
|
7
|
-
<img src="https://raw.githubusercontent.com/abhinavs/moonwalk/master/_screenshots/moonwalk.
|
7
|
+
<img src="https://raw.githubusercontent.com/abhinavs/moonwalk/master/_screenshots/moonwalk.jpg" />
|
8
8
|
|
9
9
|
## Features
|
10
10
|
* Light & dark mode with theme switcher
|
11
11
|
* Vertical list, horizontal list, card list
|
12
12
|
* Landing page with navbar, footer, portfolio
|
13
|
-
* Fast (very minimal CSS) -
|
13
|
+
* Fast (very minimal CSS) - 100/100 on performance, accessibility, best practices and SEO, please see [Lighthouse Report](https://raw.githubusercontent.com/abhinavs/moonwalk/master/_screenshots/lighthouse-report.png) for more details
|
14
14
|
* Responsive and mobile friendly
|
15
15
|
* SEO optimized (uses [Jekyll SEO Tag](https://github.com/jekyll/jekyll-seo-tag))
|
16
16
|
* RSS feed (uses [Jekyll Feed](https://github.com/jekyll/jekyll-feed))
|
17
17
|
* Easy to extend
|
18
18
|
* Fully compatible with [GitHub Pages](https://pages.github.com/) (see [GitHub Pages installation](#github-pages-installation))
|
19
19
|
|
20
|
+
|
21
|
+
#### Lighthouse
|
22
|
+
|
23
|
+
<img src="https://raw.githubusercontent.com/abhinavs/moonwalk/master/_screenshots/lighthouse-report.png" />
|
24
|
+
|
20
25
|
## Installation
|
21
26
|
|
22
27
|
If you haven't already created your blog using Jekyll, follow the [instructions](https://jekyllrb.com/docs/) to do so from Jekyll's documentation.
|
data/_config.yml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
title: Moonwalk
|
2
2
|
author: Abhinav Saxena
|
3
|
-
url: https://www.
|
3
|
+
url: https://www.abhinavsaxena.com/moonwalk # root address of the site
|
4
4
|
description: > # description of the site (multiple lines allowed)
|
5
5
|
Moonwalk is a fast and elegant Jekyll theme with a clean dark mode. It comes with horizontal list (for navbar and footer), card list (for portfolio), and a generic vertical list. It is very easy to modify in case you want to build over it - please see _layouts/home.html to do that.
|
6
6
|
|
@@ -21,7 +21,7 @@ theme_config:
|
|
21
21
|
show_footer: true # show footer links in home page,add in _data/home.yml
|
22
22
|
show_projects: true # show projects as cards, add in _data/home.yml
|
23
23
|
show_old_projects: true # show old projects as cards, add in _data/home.yml
|
24
|
-
show_misc_list:
|
24
|
+
show_misc_list: false # show generic vertical list for misc details, add _data/home.yml
|
25
25
|
|
26
26
|
|
27
27
|
sass:
|
data/_includes/post_list.html
CHANGED
data/_sass/list.scss
CHANGED
data/_sass/moonwalk.scss
CHANGED
@@ -1,34 +1,9 @@
|
|
1
|
-
html {
|
2
|
-
--bg: #fff;
|
3
|
-
--bg-secondary: #f8f9fa;
|
4
|
-
--headings: #000;
|
5
|
-
--text: #333;
|
6
|
-
--links: blue;
|
7
|
-
--highlight: #ffecb2; // light yellow
|
8
|
-
}
|
9
|
-
@mixin dark-appearance {
|
10
|
-
html, body {
|
11
|
-
--bg: #1f242A;
|
12
|
-
--bg-secondary: #323945;
|
13
|
-
--headings: #3D9970;
|
14
|
-
--text: #adb5bd;
|
15
|
-
--links: #91a7ff;
|
16
|
-
--highlight: #ffd8a8;
|
17
|
-
--highlight: #ffd43b;
|
18
|
-
};
|
19
|
-
}
|
20
|
-
html[data-theme="dark"] { @include dark-appearance; }
|
21
|
-
|
22
|
-
@media (prefers-color-scheme: dark) {
|
23
|
-
body[data-theme="auto"] { @include dark-appearance; }
|
24
|
-
}
|
25
|
-
|
26
1
|
html { height: 100%; }
|
27
2
|
|
28
3
|
body {
|
29
|
-
font-family:
|
30
|
-
font-size:
|
31
|
-
line-height:
|
4
|
+
font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
|
5
|
+
font-size: 1.0rem;
|
6
|
+
line-height: 2;
|
32
7
|
margin: 0;
|
33
8
|
min-height: 100%;
|
34
9
|
}
|
@@ -37,12 +12,20 @@ h2, h3, h4, h5 { margin-top: 1.5em; }
|
|
37
12
|
|
38
13
|
hr { margin: 1em 0; }
|
39
14
|
|
15
|
+
hr.page-break {
|
16
|
+
text-align: center;
|
17
|
+
border: 0;
|
18
|
+
|
19
|
+
&:before { content: '-----' }
|
20
|
+
&:after { content: attr(data-content) '-----' }
|
21
|
+
}
|
22
|
+
|
40
23
|
p { margin: 1em 0; }
|
41
24
|
|
42
25
|
li { margin: 0.4em 0; }
|
43
26
|
|
44
27
|
.w {
|
45
|
-
max-width:
|
28
|
+
max-width: 720px;
|
46
29
|
margin: 0 auto;
|
47
30
|
padding: 4em 2em;
|
48
31
|
}
|
@@ -73,6 +56,32 @@ img {
|
|
73
56
|
display: block;
|
74
57
|
margin: 0 auto;
|
75
58
|
}
|
59
|
+
html {
|
60
|
+
--bg: #FFF;
|
61
|
+
--bg-secondary: #F8F9FA;
|
62
|
+
--headings: #000;
|
63
|
+
--text: #333;
|
64
|
+
--links: blue;
|
65
|
+
//--highlight: #FFD19B;
|
66
|
+
--highlight: #FFECB2; // light yellow
|
67
|
+
}
|
68
|
+
// -------------- THEME SWITCHER -------------- //
|
69
|
+
@mixin dark-appearance {
|
70
|
+
html, body {
|
71
|
+
--headings: #74c0fc;
|
72
|
+
--links: #91A7FF;
|
73
|
+
--highlight: #41C7C7;
|
74
|
+
--bg: #1f242A;
|
75
|
+
--bg-secondary: #323945;
|
76
|
+
--text: #adb5bd;
|
77
|
+
};
|
78
|
+
}
|
79
|
+
html[data-theme="dark"] { @include dark-appearance; }
|
80
|
+
|
81
|
+
@media (prefers-color-scheme: dark) {
|
82
|
+
body[data-theme="auto"] { @include dark-appearance; }
|
83
|
+
}
|
84
|
+
// -------------------------------------------- //
|
76
85
|
|
77
86
|
html, body {
|
78
87
|
background-color: var(--bg);
|
@@ -81,7 +90,7 @@ html, body {
|
|
81
90
|
h1, h2, h3, h4, h5, h6 {
|
82
91
|
color: var(--headings);
|
83
92
|
}
|
84
|
-
p, strong, b, em,
|
93
|
+
p, strong, b, em, small, li, hr, table, code, figcaption {
|
85
94
|
color: var(--text);
|
86
95
|
}
|
87
96
|
code, blockquote {
|
@@ -128,5 +137,25 @@ html.transition *:after {
|
|
128
137
|
mark {
|
129
138
|
padding: 0.4em;
|
130
139
|
background-color: var(--highlight);
|
131
|
-
font-size: 0.
|
140
|
+
font-size: 0.7em;
|
141
|
+
}
|
142
|
+
|
143
|
+
.post-date {
|
144
|
+
color: var(--headings);
|
145
|
+
margin-right: 2em;
|
146
|
+
}
|
147
|
+
.share {
|
148
|
+
color: var(--text);
|
149
|
+
}
|
150
|
+
.home-date {
|
151
|
+
font-family: monospace;
|
152
|
+
}
|
153
|
+
.post-list-item a {
|
154
|
+
text-decoration: none;
|
155
|
+
}
|
156
|
+
.text-bold {
|
157
|
+
font-weight: bold;
|
158
|
+
}
|
159
|
+
.text-upcase {
|
160
|
+
text-transform: uppercase;
|
132
161
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: moonwalk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Abhinav Saxena
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|