jekyll-theme-fluffy 0.0.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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 8dbaf169e7e258f38655431a6e9ed701e722e689
4
+ data.tar.gz: a17d3bc12f1bb6665d301667a721bbb59607d1b3
5
+ SHA512:
6
+ metadata.gz: 6c86b02d6c2fcf1729ce9af11814f60ef0efa3c7cb3f64ff15bdb16a6aef0373cd45066713efc1652a1205a7f0071775227c25ccb60be3373fc3ca5e5f0a4ff4
7
+ data.tar.gz: 8c666671d66ab94d20d237d1623627ee33676bdb54367148c8689a3aa37487656629aaf38dcf28e172908d796673032c911f7019b13ea11727a71a36be83dc23
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 Iain Reid
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,52 @@
1
+ # jekyll-theme-fluffy
2
+
3
+ Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
4
+
5
+ To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
6
+
7
+ TODO: Delete this and the text above, and describe your gem
8
+
9
+
10
+ ## Installation
11
+
12
+ Add this line to your Jekyll site's `Gemfile`:
13
+
14
+ ```ruby
15
+ gem "jekyll-theme-fluffy"
16
+ ```
17
+
18
+ And add this line to your Jekyll site's `_config.yml`:
19
+
20
+ ```yaml
21
+ theme: jekyll-theme-fluffy
22
+ ```
23
+
24
+ And then execute:
25
+
26
+ $ bundle
27
+
28
+ Or install it yourself as:
29
+
30
+ $ gem install jekyll-theme-fluffy
31
+
32
+ ## Usage
33
+
34
+ TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
35
+
36
+ ## Contributing
37
+
38
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
39
+
40
+ ## Development
41
+
42
+ To set up your environment to develop this theme, run `bundle install`.
43
+
44
+ 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.
45
+
46
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
47
+ To add a custom directory to your theme-gem, please edit the regexp in `jekyll-theme-fluffy.gemspec` accordingly.
48
+
49
+ ## License
50
+
51
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
52
+
@@ -0,0 +1,3 @@
1
+ <footer>
2
+
3
+ </footer>
@@ -0,0 +1,3 @@
1
+ <header>
2
+ <h1>{{ page.title }}</h1>
3
+ </header>
@@ -0,0 +1 @@
1
+ <link rel="stylesheet" href="{{ '/assets/css/style.css' | relative_url }}">
@@ -0,0 +1,24 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html lang="{{ page.lang | default: site.lang | default: en }}">
4
+ <head>
5
+ <meta charset="utf-8">
6
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
7
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
+
9
+ <title>{{ site.title }} | {{ page.title }}</title>
10
+
11
+ {%- include styles.html -%}
12
+ </head>
13
+
14
+ <body>
15
+ {%- include header.html -%}
16
+
17
+ <main>
18
+ {{ content }}
19
+ </main>
20
+
21
+ {%- include footer.html -%}
22
+ {%- include scripts.html -%}
23
+ </body>
24
+ </html>
@@ -0,0 +1,7 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <section>
6
+ {{ content }}
7
+ </section>
@@ -0,0 +1,7 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <article>
6
+ {{ content }}
7
+ </article>
@@ -0,0 +1,26 @@
1
+ @charset "utf-8";
2
+
3
+ $bg-color: #fbfbfb !default;
4
+
5
+ /* Font basics */
6
+ $font-color: #4a4a4a !default;
7
+ $font-family: monospace !default;
8
+
9
+ /* Font sizing */
10
+ $font-size: 16px !default;
11
+ $font-size-base: 1em !default;
12
+ $font-size-scale: 1.77 !default;
13
+
14
+ /* Font scaling */
15
+ $font-size-xs: $font-size-base / $font-size-scale / $font-size-scale !default;
16
+ $font-size-sm: $font-size-xs * $font-size-scale !default;
17
+ $font-size-md: $font-size-sm * $font-size-scale !default;
18
+ $font-size-lg: $font-size-md * $font-size-scale !default;
19
+ $font-size-xl: $font-size-lg * $font-size-scale !default;
20
+
21
+ /* Layout */
22
+ $content-padding: 18px 197px !default;
23
+
24
+ @import "fluffy/layout",
25
+ "fluffy/reset",
26
+ "fluffy/typography";
@@ -0,0 +1,25 @@
1
+ @charset "utf-8";
2
+
3
+ html, body {
4
+ background: $bg-color;
5
+ height: 100%;
6
+ }
7
+
8
+ body {
9
+ display: flex;
10
+ flex-direction: column;
11
+ }
12
+
13
+ section {
14
+ width: 389px;
15
+ }
16
+
17
+ header, footer, main {
18
+ padding: $content-padding;
19
+ flex: 1 0 auto;
20
+ }
21
+
22
+ header {
23
+ display: flex;
24
+ flex-direction: column-reverse;
25
+ }
@@ -0,0 +1,18 @@
1
+ @charset "utf-8";
2
+
3
+ body, div, ul, li, h1, h2, h3, h4, p {
4
+ margin: 0;
5
+ padding: 0;
6
+ }
7
+
8
+ img {
9
+ border: 0;
10
+ }
11
+
12
+ ul {
13
+ list-style: none;
14
+ }
15
+
16
+ :link, :visited {
17
+ text-decoration: none;
18
+ }
@@ -0,0 +1,49 @@
1
+ @charset "utf-8";
2
+
3
+ html, body {
4
+ color: $font-color;
5
+ font-size: $font-size;
6
+ font-family: $font-family;
7
+ }
8
+
9
+ p {
10
+ line-height: 26px;
11
+ font-weight: 300;
12
+
13
+ + p {
14
+ padding-top: 26px;
15
+ }
16
+ }
17
+
18
+ h1 {
19
+ font-size: $font-size-xl;
20
+ font-weight: 300;
21
+ position: relative;
22
+
23
+ &:before {
24
+ content: url(/assets/svg/shapes.svg);
25
+ position: absolute;
26
+ left: -145px;
27
+ top: -60px;
28
+ }
29
+ }
30
+
31
+ h2 {
32
+ font-size: $font-size-lg;
33
+ font-weight: 300;
34
+ }
35
+
36
+ h3 {
37
+ font-size: $font-size-md;
38
+ font-weight: 300;
39
+ }
40
+
41
+ h4 {
42
+ font-size: $font-size-sm;
43
+ font-weight: 300;
44
+ }
45
+
46
+ h5 {
47
+ font-size: $font-size-xs;
48
+ font-weight: 300;
49
+ }
@@ -0,0 +1,16 @@
1
+ ---
2
+ # This file is left intentionally blank.
3
+ ---
4
+
5
+ {% assign style = site.fluffy.style %}
6
+
7
+ {% for import in style.imports %}
8
+ @import url({{ import }});
9
+ {% endfor %}
10
+
11
+
12
+ {% for item in style.setup %}
13
+ ${{item[0]}}: {{item[1]}};
14
+ {% endfor %}
15
+
16
+ @import "fluffy";
@@ -0,0 +1,27 @@
1
+ <svg width="138px" height="198px" viewBox="0 0 138 198" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
2
+ <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
3
+ <g transform="translate(-70, -250)">
4
+ <g transform="translate(70, 250)">
5
+ <path id="motion" d="M0.0148509207,4.00764643 C0.0148509207,1.79967955 1.79677648,0.0097687413 4.01272861,0.0097687413 L4.61697323,0.0097687413 C6.82494011,0.0097687413 8.61485092,1.7916943 8.61485092,4.00764643 L8.61485092,4.61189105 C8.61485092,6.81985793 6.83292536,8.60976874 4.61697323,8.60976874 L4.01272861,8.60976874 C1.80476173,8.60976874 0.0148509207,6.82784318 0.0148509207,4.61189105 L0.0148509207,4.00764643 Z"></path>
6
+
7
+ <rect fill-opacity="0.53" fill="#82E1FF" transform="translate(48, 100.5) rotate(-18) translate(-48, -100.5) " x="23" y="16" rx="8" ry="8" width="50" height="169">
8
+ <animateMotion dur="10s" repeatCount="indefinite">
9
+ <mpath xlink:href="#motion"/>
10
+ </animateMotion>
11
+ </rect>
12
+
13
+ <circle fill-opacity="0.53" fill="#84FF89" transform="translate(88, 100.5) rotate(-18) translate(-88, -100.5) " cx="88.5" cy="100.5" r="34.5">
14
+ <animateMotion dur="7s" repeatCount="indefinite">
15
+ <mpath xlink:href="#motion"/>
16
+ </animateMotion>
17
+ </circle>
18
+
19
+ <path fill-opacity="0.53" fill="#FF8282" transform="translate(88.5, 25) rotate(-18) translate(-88.5, -25)" d="M84.5087082,1.94137711 C86.7130378,-1.89223961 90.2822214,-1.90048452 92.4912918,1.94137711 L119.008708,48.0586229 C121.213038,51.8922396 119.411519,55 115.000529,55 L61.9994708,55 C57.5814851,55 55.7822214,51.9004845 57.9912918,48.0586229 L84.5087082,1.94137711 Z">
20
+ <animateMotion dur="4s" repeatCount="indefinite">
21
+ <mpath xlink:href="#motion"/>
22
+ </animateMotion>
23
+ </path>
24
+ </g>
25
+ </g>
26
+ </g>
27
+ </svg>
metadata ADDED
@@ -0,0 +1,100 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-theme-fluffy
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Iain Reid
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-02-17 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: jekyll
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3.7'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.7'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '12.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '12.0'
55
+ description:
56
+ email:
57
+ - iainreid382@gmail.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - LICENSE.txt
63
+ - README.md
64
+ - _includes/footer.html
65
+ - _includes/header.html
66
+ - _includes/styles.html
67
+ - _layouts/default.html
68
+ - _layouts/page.html
69
+ - _layouts/post.html
70
+ - _sass/fluffy.scss
71
+ - _sass/fluffy/_layout.scss
72
+ - _sass/fluffy/_reset.scss
73
+ - _sass/fluffy/_typography.scss
74
+ - assets/css/style.scss
75
+ - assets/svg/shapes.svg
76
+ homepage: https://github.com/iainreid820/jekyll-theme-fluffy
77
+ licenses:
78
+ - MIT
79
+ metadata: {}
80
+ post_install_message:
81
+ rdoc_options: []
82
+ require_paths:
83
+ - lib
84
+ required_ruby_version: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
89
+ required_rubygems_version: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - ">="
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ requirements: []
95
+ rubyforge_project:
96
+ rubygems_version: 2.5.2.3
97
+ signing_key:
98
+ specification_version: 4
99
+ summary: A lightweight, minimal theme for Jekyll
100
+ test_files: []