jekyll-theme-tou-dai 0.2.0 → 0.2.1
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/README.md +2 -0
- data/_includes/header.html +2 -2
- data/_layouts/plain.txt +2 -1
- data/_sass/_colors.scss +1 -1
- data/_sass/_menu.scss +12 -0
- data/_sass/_typescale.scss +1 -1
- data/_sass/jekyll-theme-tou-dai.scss +10 -1
- data/assets/fonts/.gitkeep +0 -0
- data/assets/images/pexels-photo-127028.jpg +0 -0
- data/assets/images/uploads/.gitkeep +0 -0
- data/assets/js/index.js +0 -3
- metadata +5 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d3498f7802c1a04425ba648c87979bd59205e45b
|
|
4
|
+
data.tar.gz: 34e736878bab52f5598bcba91cf2a29599901513
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7984c396c5744caa2849fc083d7459df2c9eef8628da9bd10533f22ced87e606976b088f445394eff61b1de17566be032d1498064ccd105b8e7a6b388004c61d
|
|
7
|
+
data.tar.gz: 51fd4278073b2a8535c66715dd7aa35e43268f112d47dd0dff2bf86a5a2f9a2bcc99084f565da10555f770d5e1b09a55be7d6926d1c720740dbc29d30d3aaf67
|
data/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
> 徒弟 (Tou Dai) – Student / Disciple
|
|
4
4
|
|
|
5
|
+
More a boilerplate then a fully fledged theme. Written for use with [Netlifly CMS](https://www.netlifycms.org/). See it in action over [here](https://jekyll-theme-tou-dai.netlify.com/). CSS is based on [Web Design in 4 minutes](http://jgthms.com/web-design-in-4-minutes/) by [jgthms (Jeremy Thomas)](https://github.com/jgthms).
|
|
6
|
+
|
|
5
7
|
## Installation
|
|
6
8
|
|
|
7
9
|
Add this line to your Jekyll site's `Gemfile`:
|
data/_includes/header.html
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
<a href="{{ site.baseurl }}/" class="logo"></a>
|
|
5
5
|
<input type="checkbox" id="nav" />
|
|
6
6
|
<label for="nav"></label>
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
<a href="#" id="menu-icon"></a>
|
|
8
|
+
<ul id="menu-list">
|
|
9
9
|
{% for item in site.data.menu %}
|
|
10
10
|
<li class="menu-item"{%if forloop.last == true %} id="last-item"{%endif%}>
|
|
11
11
|
<a href="{{site.baseurl}}{{item.url}}">{{item.title}}</a>
|
data/_layouts/plain.txt
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
{{content}}
|
|
1
|
+
{{content | markdownify | strip_html}}
|
|
2
|
+
|
data/_sass/_colors.scss
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* HSL */
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
$backgroundColor:
|
|
6
|
+
$backgroundColor: white; //hsla($hue, $saturation, $lightness, $alpha)
|
|
7
7
|
$colDark: hsla(40%, 23%, 3%, 1);
|
|
8
8
|
$colLight: hsla(214%, 14%, 90%, 1);
|
|
9
9
|
$colBright:hsla(148, 0%, 100%, 1);
|
data/_sass/_menu.scss
CHANGED
|
@@ -25,6 +25,7 @@ header {
|
|
|
25
25
|
nav > ul {
|
|
26
26
|
// float: right;
|
|
27
27
|
max-width:800px;
|
|
28
|
+
border-bottom: 1px solid black;
|
|
28
29
|
}
|
|
29
30
|
|
|
30
31
|
nav > ul > li {
|
|
@@ -49,6 +50,8 @@ nav > ul li ul li {
|
|
|
49
50
|
nav ul li:hover {
|
|
50
51
|
cursor: pointer;
|
|
51
52
|
position: relative;
|
|
53
|
+
text-decoration: underline;
|
|
54
|
+
|
|
52
55
|
}
|
|
53
56
|
nav ul li:hover > ul {
|
|
54
57
|
display: block;
|
|
@@ -88,10 +91,15 @@ nav > ul li ul li > a {
|
|
|
88
91
|
display: none;
|
|
89
92
|
}
|
|
90
93
|
|
|
94
|
+
[type="checkbox"]:not(:checked) ~ ul {
|
|
95
|
+
border-bottom: 0px solid black;
|
|
96
|
+
}
|
|
97
|
+
|
|
91
98
|
@media screen and (max-width: 800px) {
|
|
92
99
|
nav ul {
|
|
93
100
|
display: none;
|
|
94
101
|
padding:0;
|
|
102
|
+
background:$backgroundColor;
|
|
95
103
|
}
|
|
96
104
|
|
|
97
105
|
label {
|
|
@@ -125,6 +133,10 @@ label:after{
|
|
|
125
133
|
top:20px;
|
|
126
134
|
}
|
|
127
135
|
|
|
136
|
+
[type="checkbox"]:not(:checked) ~ ul {
|
|
137
|
+
border-bottom: 0px solid black;
|
|
138
|
+
}
|
|
139
|
+
|
|
128
140
|
nav a {
|
|
129
141
|
color: #777;
|
|
130
142
|
}
|
data/_sass/_typescale.scss
CHANGED
|
@@ -6,7 +6,7 @@ body {
|
|
|
6
6
|
max-width: 50em;
|
|
7
7
|
}
|
|
8
8
|
body {
|
|
9
|
-
font-family:
|
|
9
|
+
font-family: serif;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
body {
|
|
@@ -46,6 +46,11 @@ code {
|
|
|
46
46
|
|
|
47
47
|
pre {
|
|
48
48
|
padding: 1em;
|
|
49
|
+
white-space: pre-wrap; /* css-3 */
|
|
50
|
+
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
|
|
51
|
+
white-space: -pre-wrap; /* Opera 4-6 */
|
|
52
|
+
white-space: -o-pre-wrap; /* Opera 7 */
|
|
53
|
+
word-wrap: break-word; /* Internet Explorer 5.5+ */
|
|
49
54
|
}
|
|
50
55
|
|
|
51
56
|
a {
|
|
@@ -65,4 +70,8 @@ pre {
|
|
|
65
70
|
|
|
66
71
|
pre {
|
|
67
72
|
border-left: 2px solid #69c;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
img {
|
|
76
|
+
max-width: 100%;
|
|
68
77
|
}
|
|
File without changes
|
|
Binary file
|
|
File without changes
|
data/assets/js/index.js
CHANGED
|
@@ -8,13 +8,10 @@ import * as ez from 'ez.js';
|
|
|
8
8
|
import easeInOutQuint from 'ez.js';
|
|
9
9
|
|
|
10
10
|
for (const key of Object.keys(ez)) {
|
|
11
|
-
|
|
12
11
|
console.log("key", key);
|
|
13
12
|
console.log(ez[key](100, 0, 10, 1000));
|
|
14
13
|
}
|
|
15
|
-
|
|
16
14
|
const ready = require('document-ready');
|
|
17
|
-
|
|
18
15
|
ready(() => {
|
|
19
16
|
console.log('DOM is ready');
|
|
20
17
|
// We get all h2 elements
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-theme-tou-dai
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- fabianmoronzirfas
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-10-
|
|
11
|
+
date: 2017-10-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -129,6 +129,9 @@ files:
|
|
|
129
129
|
- _sass/jekyll-theme-tou-dai.scss
|
|
130
130
|
- _sass/palette.scss
|
|
131
131
|
- assets/css/main.scss
|
|
132
|
+
- assets/fonts/.gitkeep
|
|
133
|
+
- assets/images/pexels-photo-127028.jpg
|
|
134
|
+
- assets/images/uploads/.gitkeep
|
|
132
135
|
- assets/js/easing.js
|
|
133
136
|
- assets/js/index.js
|
|
134
137
|
- assets/js/main.bundle.js
|