wead 0.1.3 → 0.1.4
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 +15 -6
- data/_includes/head.html +1 -1
- data/_includes/nav.html +5 -2
- data/_sass/_header.sass +45 -46
- data/assets/javascripts/main.js +6 -6
- data/assets/stylesheets/main.scss +1 -0
- data/assets/stylesheets/responsive.css +33 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 24b19ff095ed9100b8693580a0ad2397b289cb4c
|
|
4
|
+
data.tar.gz: 39524f18a98fc7cfa840da7aa596056d9918738c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f1b3224f3b0251d51c7da930f995c2c574e0e8519941c4ff5d4c930936a00b09055b39558d3c69cc97240f27f14b1a6ac0adb44769f5c88d6aab8cc3e915349d
|
|
7
|
+
data.tar.gz: 2336dd5537a4c761cc2d8948b51fc473777087bc038320b56e4b853d11cf8e5752915727b5e8734879305a4773e6fce70699884bdb7f9fd2d62122bfc3190667
|
data/README.md
CHANGED
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
[](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.
|
|
6
|
+
A simple and clean jekyll theme.
|
|
7
|
+
Demo: https://kevyder.github.io/wead/
|
|
8
|
+
Rubygems: https://rubygems.org/gems/wead
|
|
7
9
|
|
|
8
|
-
###
|
|
9
|
-

|
|
10
12
|
|
|
11
|
-
### Posts.
|
|
12
|
-

|
|
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
|
-
|
data/_includes/head.html
CHANGED
|
@@ -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>
|
data/_includes/nav.html
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
<nav class="nav">
|
|
2
|
-
|
|
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>
|
data/_sass/_header.sass
CHANGED
|
@@ -1,47 +1,46 @@
|
|
|
1
1
|
header.header-page
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
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%
|
data/assets/javascripts/main.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
function responsiveNav() {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|
}
|
|
@@ -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.
|
|
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-
|
|
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.
|
|
105
|
+
rubygems_version: 2.6.7
|
|
106
106
|
signing_key:
|
|
107
107
|
specification_version: 4
|
|
108
108
|
summary: A simple and clean jekyll theme.
|