jekyll-theme-tou-dai 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b40338becc4e86fe98805ec1d8a87804249e0afd
4
- data.tar.gz: 8f15d12d0fe40980d916bfa9f3d63ffd6c5dfd2e
3
+ metadata.gz: d3498f7802c1a04425ba648c87979bd59205e45b
4
+ data.tar.gz: 34e736878bab52f5598bcba91cf2a29599901513
5
5
  SHA512:
6
- metadata.gz: 1590545de10bce2782dc816e724992324c886de9f3f4190c6b93879fc53423a07c1a45f4dc0a25d353753dbdc1e55493a9214a457d3b2e888a785d166d0bb2ac
7
- data.tar.gz: 996b2f7a10bb3664a481c1fea4f573e574cac4947c6ff42ac54b106f8f9849f6d13c6186d18a73c70e4ad0545aa0adedf64da8fd5d3cc304081dafcd2c51ca18
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`:
@@ -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
- <a href="#" id="menu-icon"></a>
8
- <ul id="menu-list">
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>
@@ -1 +1,2 @@
1
- {{content}}
1
+ {{content | markdownify | strip_html}}
2
+
@@ -3,7 +3,7 @@
3
3
  /* HSL */
4
4
 
5
5
 
6
- $backgroundColor: #EBEBEB; //hsla($hue, $saturation, $lightness, $alpha)
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);
@@ -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
  }
@@ -7,7 +7,7 @@ html {font-size: 1em;}
7
7
 
8
8
  body {
9
9
  background-color: white;
10
- font-family: 'Open Sans', 'Georgia', sans-serif;
10
+ // font-family: 'Georgia', sans-serif;
11
11
  font-weight: 300;
12
12
  line-height: 1.45;
13
13
  color: #333;
@@ -6,7 +6,7 @@ body {
6
6
  max-width: 50em;
7
7
  }
8
8
  body {
9
- font-family: "Georgia", serif;
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
File without changes
@@ -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.0
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-12 00:00:00.000000000 Z
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