wead 0.1.3 → 0.1.4

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: cdf7b9ccdfb1949fa4ea64467612aa62076a38e9
4
- data.tar.gz: 9d354a276a51babec40239ff43348fa3eed639fc
3
+ metadata.gz: 24b19ff095ed9100b8693580a0ad2397b289cb4c
4
+ data.tar.gz: 39524f18a98fc7cfa840da7aa596056d9918738c
5
5
  SHA512:
6
- metadata.gz: 484aa5893f0c391bc5e481c427f93a3e295ddb507ab87f9ad973eb8e8e3fbb1735d5ddca622d5f99555c5678d746062264dbb3cc80ac4fae0601e61b6f56add4
7
- data.tar.gz: 3c899e8a5fc971f341880fea2a4dc50dd157e3949eb3e128603bbef0c6d86c06808c03f6765a17fc76cbdc19e8950c0d6934d7c1d1a03327f5be58dcc68e511b
6
+ metadata.gz: f1b3224f3b0251d51c7da930f995c2c574e0e8519941c4ff5d4c930936a00b09055b39558d3c69cc97240f27f14b1a6ac0adb44769f5c88d6aab8cc3e915349d
7
+ data.tar.gz: 2336dd5537a4c761cc2d8948b51fc473777087bc038320b56e4b853d11cf8e5752915727b5e8734879305a4773e6fce70699884bdb7f9fd2d62122bfc3190667
data/README.md CHANGED
@@ -3,13 +3,13 @@
3
3
  [![Codacy Badge](https://api.codacy.com/project/badge/Grade/519daacbe38c4aa785f633bfe3d9bf5f)](https://www.codacy.com/app/Kevyder/wead?utm_source=github.com&utm_medium=referral&utm_content=kevyder/wead&utm_campaign=badger)
4
4
 
5
5
 
6
- A simple and clean jekyll theme. https://goo.gl/TkRqBY
6
+ A simple and clean jekyll theme.
7
+ Demo: https://kevyder.github.io/wead/
8
+ Rubygems: https://rubygems.org/gems/wead
7
9
 
8
- ### Home.
9
- ![Home](https://shrinktheweb.snapito.io/v2/webshot/spu-ea68c8-ogi2-3cwn3bmfojjlb56e?size=800x0&screen=1024x768&url=http%3A%2F%2Fkevinrodriguez.me%2Fwead)
10
+ ### Preview.
11
+ ![Imgur](http://i.imgur.com/5brZmdv.png)
10
12
 
11
- ### Posts.
12
- ![Posts](https://shrinktheweb.snapito.io/v2/webshot/spu-ea68c8-ogi2-3cwn3bmfojjlb56e?size=800x0&screen=1024x768&url=http%3A%2F%2Fkevinrodriguez.me%2Fwead%2Fjekyll%2Fupdate%2F2017%2F01%2F11%2Fwelcome-to-jekyll.1.html)
13
13
 
14
14
  ## Installation,
15
15
 
@@ -39,6 +39,16 @@ Or install it yourself as:
39
39
 
40
40
  * Change `_about.md` for blog intro.
41
41
 
42
+ ## Pagination
43
+
44
+ Add the next lines in your `_config.yml`
45
+
46
+ ```yaml
47
+ paginate: 5
48
+ paginate_path: "/wead/page:num/"
49
+ gems: [jekyll-paginate]
50
+ ```
51
+
42
52
  ## Contributing
43
53
 
44
54
  Bug reports and pull requests are welcome on GitHub at https://github.com/kevyder/wead.
@@ -54,4 +64,3 @@ When your theme is released, only the files in `_layouts`, `_includes`, and `_sa
54
64
  ## License
55
65
 
56
66
  The theme is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
57
-
@@ -6,4 +6,4 @@
6
6
  <link rel="stylesheet" href="{{ "/assets/stylesheets/responsive.css" | prepend: site.baseurl }}">
7
7
  <link rel="stylesheet" href="{{ "/assets/stylesheets/syntax.css" | prepend: site.baseurl }}">
8
8
  <link href="https://fonts.googleapis.com/css?family=Nunito:400,600,700|Open+Sans" rel="stylesheet">
9
- </head>
9
+ </head>
@@ -1,8 +1,11 @@
1
1
  <nav class="nav">
2
- <ul>
2
+ <a href="javascript:void()" id="menu-icon" onclick="responsiveNav()">
3
+ <svg style="width: 32px; height: 32px;"><path d="M4,10h24c1.104,0,2-0.896,2-2s-0.896-2-2-2H4C2.896,6,2,6.896,2,8S2.896,10,4,10z M28,14H4c-1.104,0-2,0.896-2,2 s0.896,2,2,2h24c1.104,0,2-0.896,2-2S29.104,14,28,14z M28,22H4c-1.104,0-2,0.896-2,2s0.896,2,2,2h24c1.104,0,2-0.896,2-2 S29.104,22,28,22z"/></svg>
4
+ </a>
5
+ <ul id="nav">
3
6
  <li class="brand"><a href="{{ '/' | prepend: site.baseurl }}">{{ site.title }}</a></li>
4
7
  <li class="info"><a href="https://twitter.com/{{ site.twitter_username }}">Twitter</a></li>
5
8
  <li class="info"><a href="https://github.com/{{ site.github_username }}">Github</a></li>
6
9
  <li class="info"><a href="{{ '/about' | prepend: site.baseurl }}">About</a></li>
7
10
  </ul>
8
- </nav>
11
+ </nav>
@@ -1,47 +1,46 @@
1
1
  header.header-page
2
- background-color: #fff
3
-
4
- nav.nav
5
- padding-right: 35px
6
- padding-left: 35px
7
-
8
- ul li
9
- display: inline-block
10
- padding: 30px 10px
11
- font-family: 'Nunito', sans-serif
12
-
13
- ul li.brand
14
- font-size: 2rem
15
- font-weight: 700
16
- a
17
- color: #000
18
- text-decoration: none
19
-
20
- ul li.info
21
- float: right
22
- font-size: 1.3rem
23
- font-weight: 700
24
- a
25
- color: #000
26
- border: 2px solid rgb(255, 5, 35)
27
- border-radius: 25px
28
- padding: 10px 20px
29
- text-transform: uppercase
30
- text-decoration: none
31
- a:hover
32
- color: #fff
33
- background-color: rgb(255, 5, 35)
34
-
35
- .title-container
36
- width: 70%
37
- margin: 10% 15% 15% 15%
38
- text-align: center
39
- font-family: 'Nunito', sans-serif
40
- .title
41
- font-size: 4rem
42
- font-weight: 600
43
- line-height: 90%
44
- .subtitle
45
- font-weight: 400
46
- font-size: 2rem
47
- line-height: 120%
2
+ background-color: #fff
3
+ nav.nav
4
+ padding-right: 35px
5
+ padding-left: 35px
6
+ #menu-icon
7
+ display: none
8
+ width: 32px
9
+ height: 32px
10
+ ul li
11
+ display: inline-block
12
+ padding: 30px 10px
13
+ font-family: 'Nunito', sans-serif
14
+ ul li.brand
15
+ font-size: 2rem
16
+ font-weight: 700
17
+ a
18
+ color: #000
19
+ text-decoration: none
20
+ ul li.info
21
+ float: right
22
+ font-size: 1.3rem
23
+ font-weight: 700
24
+ a
25
+ color: #000
26
+ border: 2px solid rgb(255, 5, 35)
27
+ border-radius: 25px
28
+ padding: 10px 20px
29
+ text-transform: uppercase
30
+ text-decoration: none
31
+ a:hover
32
+ color: #fff
33
+ background-color: rgb(255, 5, 35)
34
+ .title-container
35
+ width: 70%
36
+ margin: 10% 15% 15% 15%
37
+ text-align: center
38
+ font-family: 'Nunito', sans-serif
39
+ .title
40
+ font-size: 4rem
41
+ font-weight: 600
42
+ line-height: 90%
43
+ .subtitle
44
+ font-weight: 400
45
+ font-size: 2rem
46
+ line-height: 120%
@@ -1,8 +1,8 @@
1
1
  function responsiveNav() {
2
- var nav = document.getElementById("nav-list");
3
- if (nav.className === "nav-list") {
4
- nav.className += " responsive";
5
- } else {
6
- nav.className = "nav-list";
7
- }
2
+ var e = document.getElementById("nav");
3
+ if(!e.style.display || e.style.display == 'none'){
4
+ e.style.display = 'block';
5
+ } else {
6
+ e.style.display = 'none';
7
+ }
8
8
  }
@@ -7,6 +7,7 @@ html, body{
7
7
  margin: 0;
8
8
  padding: 0;
9
9
  font-family: 'Open Sans', sans-serif;
10
+ max-width: 100%;
10
11
  }
11
12
 
12
13
  ul{
@@ -0,0 +1,33 @@
1
+ /*MEDIA QUERY*/
2
+ @media only screen and (max-width : 640px) {
3
+
4
+ nav.nav{
5
+ padding: 5%;
6
+ }
7
+ nav ul, nav:active ul {
8
+ display: none;
9
+ position: fixed;
10
+ background: #c5c5c5;
11
+ left: 0;
12
+ top: 0;
13
+ width: 70%;
14
+ height: 100%;
15
+ }
16
+
17
+ #menu-icon{
18
+ display: inline-block !important;
19
+ padding: 15px auto !important;
20
+ float: right;
21
+ }
22
+
23
+ nav li.info {
24
+ text-align: center;
25
+ width: 100%;
26
+ padding: 15px 0;
27
+ margin: 0;
28
+ }
29
+
30
+ nav li.brand {
31
+ display: block;
32
+ }
33
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wead
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Rodríguez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-21 00:00:00.000000000 Z
11
+ date: 2017-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -102,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
102
  version: '0'
103
103
  requirements: []
104
104
  rubyforge_project:
105
- rubygems_version: 2.5.1
105
+ rubygems_version: 2.6.7
106
106
  signing_key:
107
107
  specification_version: 4
108
108
  summary: A simple and clean jekyll theme.