jekyll-swiss 0.4.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +16 -19
- data/_sass/_components.scss +9 -1
- data/_sass/_utilities.scss +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: fd33c3f3f32f8a32d21a653433e3cb3f27cf0b78c4b3cb4daf7ca0cf065e003f
|
4
|
+
data.tar.gz: eb315218e89b22044fdab543347ab9219820c6ff3b13a837618e55030271dfa7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0764417aa87d1072e0448739bc1e812fc7595fd7ee094879ff43feb16f39041474b3078e620292767f1930469390378c2e34c385f7748a7c67eaf91168f7968a
|
7
|
+
data.tar.gz: 4d8a10f6aa0bfc66e2c1305182a28bcb23e98bb9ef59a342fa2d6554509224ab7908b59191dbb5aaded57e3e455e392e68d3778336e9152295ddd72ca068d303
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Swiss Jekyll Theme
|
2
2
|
|
3
3
|
Swiss is a bold Jekyll theme inspired by Swiss design and the works of Massimo Vignelli. This theme lends itself well to sites heavy on written content.
|
4
4
|
|
@@ -14,35 +14,32 @@ Swiss is a bold Jekyll theme inspired by Swiss design and the works of Massimo V
|
|
14
14
|
Add this line to your Jekyll site's Gemfile:
|
15
15
|
|
16
16
|
```ruby
|
17
|
-
gem "
|
17
|
+
gem "github-pages", group: :jekyll_plugins
|
18
18
|
```
|
19
19
|
|
20
20
|
And add this line to your Jekyll site:
|
21
21
|
|
22
22
|
```yaml
|
23
|
-
|
23
|
+
remote_theme: broccolini/swiss
|
24
24
|
```
|
25
25
|
|
26
26
|
And then execute:
|
27
27
|
|
28
28
|
$ bundle
|
29
29
|
|
30
|
-
Or install it yourself as:
|
31
|
-
|
32
|
-
$ gem install jekyll-swiss
|
33
|
-
|
34
30
|
## Usage
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
|
39
|
-
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
31
|
+
|
32
|
+
This theme comes in eight different color variations. The default is set to the black theme, to change to a different theme edit the config under `theme_color: black` to one of the following colors:
|
33
|
+
|
34
|
+
| | |
|
35
|
+
|:-----------------------------------------------------------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------|
|
36
|
+
| `theme_color: black` | `theme_color: red` |
|
37
|
+
| <img width="330" alt="black" src="https://cloud.githubusercontent.com/assets/334891/18476835/8d70b330-7999-11e6-8c84-a558906d636e.png"> | <img width="330" alt="red" src="https://cloud.githubusercontent.com/assets/334891/18477185/c53af09a-799a-11e6-9354-b9bf1a7f1826.png"> |
|
38
|
+
| `theme_color: white` | `theme_color: gray` |
|
39
|
+
| <img width="330" alt="white" src="https://cloud.githubusercontent.com/assets/334891/18477206/d9dc55fc-799a-11e6-89f2-b4ae150caa80.png"> | <img width="330" alt="gray" src="https://cloud.githubusercontent.com/assets/334891/18477058/4e61700c-799a-11e6-80a0-805e57f2563e.png"> |
|
40
|
+
| `theme_color: blue` | `theme_color: magenta` |
|
41
|
+
| <img width="330" alt="blue" src="https://cloud.githubusercontent.com/assets/334891/18477240/f03646d2-799a-11e6-8895-25b37d3a1438.png"> | <img width="330" alt="magenta" src="https://cloud.githubusercontent.com/assets/334891/18477252/fb2f5128-799a-11e6-8c8f-e79d9c1884b7.png"> |
|
42
|
+
| `theme_color: orange` | `theme_color: yellow` |
|
46
43
|
| <img width="330" alt="orange" src="https://cloud.githubusercontent.com/assets/334891/18477265/06e302bc-799b-11e6-970e-6461b2a89c57.png"> | <img width="330" alt="yellow" src="https://cloud.githubusercontent.com/assets/334891/18477278/117347aa-799b-11e6-83a8-f82341c143e0.png"> |
|
47
44
|
|
48
45
|
## Contributing
|
@@ -53,7 +50,7 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/brocco
|
|
53
50
|
|
54
51
|
To set up your environment to develop this theme, run `bundle install`.
|
55
52
|
|
56
|
-
|
53
|
+
Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
|
57
54
|
|
58
55
|
When your theme is released, only the files in `_layouts`, `_includes`, and `_sass` tracked with Git will be released.
|
59
56
|
|
data/_sass/_components.scss
CHANGED
@@ -12,12 +12,20 @@ pre {
|
|
12
12
|
code {
|
13
13
|
color: $color-code;
|
14
14
|
font-size: $body-font-size;
|
15
|
-
padding: 1px
|
15
|
+
padding: 1px 0px;
|
16
16
|
}
|
17
17
|
|
18
18
|
|
19
19
|
.prose {
|
20
20
|
|
21
|
+
a {
|
22
|
+
text-decoration: underline dotted;
|
23
|
+
|
24
|
+
&:hover {
|
25
|
+
text-decoration: underline;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
21
29
|
p, ol, ul {
|
22
30
|
font-size: $prose-font-size;
|
23
31
|
margin-bottom: 1em;
|
data/_sass/_utilities.scss
CHANGED
@@ -16,7 +16,7 @@
|
|
16
16
|
text-decoration: none !important;
|
17
17
|
|
18
18
|
&:hover {
|
19
|
-
text-decoration:
|
19
|
+
text-decoration: none !important;
|
20
20
|
}
|
21
21
|
}
|
22
22
|
|
@@ -173,10 +173,10 @@
|
|
173
173
|
// Link styles for navigation
|
174
174
|
.link-primary {
|
175
175
|
font-weight: bold;
|
176
|
-
text-decoration: none;
|
176
|
+
text-decoration: none !important;
|
177
177
|
|
178
178
|
&:hover {
|
179
179
|
color: $color-primary-link;
|
180
|
-
text-decoration: none;
|
180
|
+
text-decoration: none !important;
|
181
181
|
}
|
182
182
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-swiss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- broccolini
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -113,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
113
113
|
version: '0'
|
114
114
|
requirements: []
|
115
115
|
rubyforge_project:
|
116
|
-
rubygems_version: 2.4
|
116
|
+
rubygems_version: 2.7.4
|
117
117
|
signing_key:
|
118
118
|
specification_version: 4
|
119
119
|
summary: A bold typographic theme for Jekyll, inspired by Swiss design.
|