respectre-jekyll-theme 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +52 -0
  4. data/_includes/footer.html +17 -0
  5. data/_includes/head.html +11 -0
  6. data/_includes/header.html +14 -0
  7. data/_layouts/default.html +13 -0
  8. data/_layouts/home.html +26 -0
  9. data/_layouts/page.html +14 -0
  10. data/_layouts/post.html +21 -0
  11. data/_sass/spectre.scss +49 -0
  12. data/_sass/spectre/.csscomb.json +30 -0
  13. data/_sass/spectre/.gitattributes +1 -0
  14. data/_sass/spectre/.gitignore +9 -0
  15. data/_sass/spectre/.hound.yml +2 -0
  16. data/_sass/spectre/.scss-lint.yml +253 -0
  17. data/_sass/spectre/_accordions.scss +38 -0
  18. data/_sass/spectre/_animations.scss +20 -0
  19. data/_sass/spectre/_asian.scss +33 -0
  20. data/_sass/spectre/_autocomplete.scss +36 -0
  21. data/_sass/spectre/_avatars.scss +77 -0
  22. data/_sass/spectre/_badges.scss +70 -0
  23. data/_sass/spectre/_bars.scss +71 -0
  24. data/_sass/spectre/_base.scss +40 -0
  25. data/_sass/spectre/_breadcrumbs.scss +29 -0
  26. data/_sass/spectre/_buttons.scss +182 -0
  27. data/_sass/spectre/_calendars.scss +206 -0
  28. data/_sass/spectre/_cards.scss +39 -0
  29. data/_sass/spectre/_carousels.scss +124 -0
  30. data/_sass/spectre/_chips.scss +26 -0
  31. data/_sass/spectre/_codes.scss +31 -0
  32. data/_sass/spectre/_comparison-sliders.scss +114 -0
  33. data/_sass/spectre/_dropdowns.scss +36 -0
  34. data/_sass/spectre/_empty.scss +21 -0
  35. data/_sass/spectre/_filters.scss +37 -0
  36. data/_sass/spectre/_forms.scss +514 -0
  37. data/_sass/spectre/_icons.scss +5 -0
  38. data/_sass/spectre/_labels.scss +34 -0
  39. data/_sass/spectre/_layout.scss +424 -0
  40. data/_sass/spectre/_media.scss +75 -0
  41. data/_sass/spectre/_menus.scss +56 -0
  42. data/_sass/spectre/_meters.scss +57 -0
  43. data/_sass/spectre/_mixins.scss +186 -0
  44. data/_sass/spectre/_modals.scss +82 -0
  45. data/_sass/spectre/_navbar.scss +29 -0
  46. data/_sass/spectre/_navs.scss +34 -0
  47. data/_sass/spectre/_normalize.scss +446 -0
  48. data/_sass/spectre/_off-canvas.scss +82 -0
  49. data/_sass/spectre/_pagination.scss +61 -0
  50. data/_sass/spectre/_panels.scss +23 -0
  51. data/_sass/spectre/_parallax.scss +129 -0
  52. data/_sass/spectre/_popovers.scss +70 -0
  53. data/_sass/spectre/_progress.scss +45 -0
  54. data/_sass/spectre/_sliders.scss +93 -0
  55. data/_sass/spectre/_steps.scss +70 -0
  56. data/_sass/spectre/_tables.scss +45 -0
  57. data/_sass/spectre/_tabs.scss +66 -0
  58. data/_sass/spectre/_tiles.scss +38 -0
  59. data/_sass/spectre/_timelines.scss +54 -0
  60. data/_sass/spectre/_toasts.scss +42 -0
  61. data/_sass/spectre/_tooltips.scss +79 -0
  62. data/_sass/spectre/_typography.scss +128 -0
  63. data/_sass/spectre/_utilities.scss +8 -0
  64. data/_sass/spectre/_variables.scss +105 -0
  65. data/_sass/spectre/icons/_icons-action.scss +316 -0
  66. data/_sass/spectre/icons/_icons-core.scss +53 -0
  67. data/_sass/spectre/icons/_icons-navigation.scss +133 -0
  68. data/_sass/spectre/icons/_icons-object.scss +176 -0
  69. data/_sass/spectre/spectre-exp.scss +16 -0
  70. data/_sass/spectre/spectre-icons.scss +10 -0
  71. data/_sass/spectre/utilities/_colors.scss +29 -0
  72. data/_sass/spectre/utilities/_cursors.scss +24 -0
  73. data/_sass/spectre/utilities/_display.scss +44 -0
  74. data/_sass/spectre/utilities/_divider.scss +50 -0
  75. data/_sass/spectre/utilities/_loading.scss +34 -0
  76. data/_sass/spectre/utilities/_position.scss +50 -0
  77. data/_sass/spectre/utilities/_shapes.scss +8 -0
  78. data/_sass/spectre/utilities/_text.scss +64 -0
  79. data/assets/css/main.scss +18 -0
  80. metadata +212 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: a748dd01ab6769fcdd44077978d3955a02dc6369
4
+ data.tar.gz: f6bbffe675c5cdcbd5a5827ba968ba4e67ae4ae7
5
+ SHA512:
6
+ metadata.gz: e4f9390c71d667d2df94f9bcebd45e521cde6353e0307d07cc2cce4c9d5313f4aa9503a05394a001e89b375d3f3d7995fc6c5295faec68f7aeb2899e1bf4ccac
7
+ data.tar.gz: 2de00d924f3cbd7fc4e0fcb6b451f77afa113d588a3e9226c319577ca962b1a8b97b4909144d93778c94f42ef93bb3508f213ea79ade599580eb7df32a322f2b
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 doomnuggets
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
+ # test-theme
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 "test-theme"
16
+ ```
17
+
18
+ And add this line to your Jekyll site's `_config.yml`:
19
+
20
+ ```yaml
21
+ theme: test-theme
22
+ ```
23
+
24
+ And then execute:
25
+
26
+ $ bundle
27
+
28
+ Or install it yourself as:
29
+
30
+ $ gem install test-theme
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 `test-theme.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,17 @@
1
+ <div class="container grid-lg">
2
+ <footer id="footer">
3
+ <div class="columns">
4
+ <div class="column col-4">
5
+ <h3 class="footer-heading">{{ site.title | escape }}</h3>
6
+ </div>
7
+ <div class="column col-6">
8
+ <h5>Contact</h5>
9
+ <p>{{ site.company.name }}<br>
10
+ {{ site.company.address }}<br>
11
+ {{ site.company.phone }}<br>
12
+ {{ site.company.email }}<br>
13
+ </p>
14
+ </div>
15
+ </div>
16
+ </footer>
17
+ </div>
@@ -0,0 +1,11 @@
1
+ <head>
2
+ <meta charset="utf-8">
3
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
+ <meta name="viewport" content="width=device-width, initial-scale=1">
5
+
6
+ <title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
7
+ <meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}">
8
+
9
+ <link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
10
+ <link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
11
+ </head>
@@ -0,0 +1,14 @@
1
+ <div class="container grid-lg">
2
+ <header class="navbar" id="header">
3
+ <section class="navbar-section">
4
+ <a href="#" class="navbar-brand mr-2">Company</a>
5
+ <a href="#" class="btn btn-link">Blog</a>
6
+ </section>
7
+ <section class="navbar-section">
8
+ <div class="input-group input-inline">
9
+ <input class="form-input" type="text" placeholder="search">
10
+ <button class="btn btn-primary input-group-btn">Search</button>
11
+ </div>
12
+ </section>
13
+ </header>
14
+ </div>
@@ -0,0 +1,13 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ page.lang | default: site.lang | default: "en" }}">
3
+ {% include head.html %}
4
+ <body>
5
+ <div class="container" aria-label="Content">
6
+ {% include header.html %}
7
+ <div class="container grid-lg">
8
+ {{ content }}
9
+ </div>
10
+ {% include footer.html %}
11
+ </div>
12
+ </body>
13
+ </html>
@@ -0,0 +1,26 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="home">
6
+
7
+ <h1 class="page-heading">Posts</h1>
8
+
9
+ {{ content }}
10
+
11
+ <ul class="post-list">
12
+ {% for post in site.posts %}
13
+ <li>
14
+ {% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
15
+ <span class="post-meta">{{ post.date | date: date_format }}</span>
16
+
17
+ <h2>
18
+ <a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
19
+ </h2>
20
+ </li>
21
+ {% endfor %}
22
+ </ul>
23
+
24
+ <p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
25
+
26
+ </div>
@@ -0,0 +1,14 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <article class="post">
5
+
6
+ <header class="post-header">
7
+ <h1 class="post-title">{{ page.title | escape }}</h1>
8
+ </header>
9
+
10
+ <div class="post-content">
11
+ {{ content }}
12
+ </div>
13
+
14
+ </article>
@@ -0,0 +1,21 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <article class="post" itemscope itemtype="http://schema.org/BlogPosting">
5
+
6
+ <header class="post-header">
7
+ <h1 class="post-title" itemprop="name headline">{{ page.title | escape }}</h1>
8
+ <p class="post-meta">
9
+ <time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
10
+ {% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
11
+ {{ page.date | date: date_format }}
12
+ </time>
13
+ {% if page.author %}
14
+ • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page.author }}</span></span>
15
+ {% endif %}</p>
16
+ </header>
17
+
18
+ <div class="post-content" itemprop="articleBody">
19
+ {{ content }}
20
+ </div>
21
+ </article>
@@ -0,0 +1,49 @@
1
+ // Variables and mixins
2
+ @import "spectre/variables";
3
+ @import "spectre/mixins";
4
+
5
+ /*! Spectre.css v#{$version} | MIT License | github.com/picturepan2/spectre */
6
+ // Reset and dependencies
7
+ @import "spectre/normalize";
8
+ @import "spectre/base";
9
+
10
+ // Elements
11
+ @import "spectre/typography";
12
+ @import "spectre/asian";
13
+ @import "spectre/tables";
14
+ @import "spectre/buttons";
15
+ @import "spectre/forms";
16
+ @import "spectre/labels";
17
+ @import "spectre/codes";
18
+ @import "spectre/media";
19
+
20
+ // Layout
21
+ @import "spectre/layout";
22
+ @import "spectre/navbar";
23
+
24
+ // Components
25
+ @import "spectre/accordions";
26
+ @import "spectre/autocomplete";
27
+ @import "spectre/avatars";
28
+ @import "spectre/badges";
29
+ @import "spectre/breadcrumbs";
30
+ @import "spectre/bars";
31
+ @import "spectre/cards";
32
+ @import "spectre/chips";
33
+ @import "spectre/dropdowns";
34
+ @import "spectre/empty";
35
+ @import "spectre/menus";
36
+ @import "spectre/modals";
37
+ @import "spectre/navs";
38
+ @import "spectre/pagination";
39
+ @import "spectre/panels";
40
+ @import "spectre/popovers";
41
+ @import "spectre/steps";
42
+ @import "spectre/tabs";
43
+ @import "spectre/tiles";
44
+ @import "spectre/toasts";
45
+ @import "spectre/tooltips";
46
+
47
+ // Utility classes
48
+ @import "spectre/animations";
49
+ @import "spectre/utilities";
@@ -0,0 +1,30 @@
1
+ {
2
+ "remove-empty-rulesets": true,
3
+ "always-semicolon": true,
4
+ "color-case": "lower",
5
+ "block-indent": " ",
6
+ "color-shorthand": true,
7
+ "element-case": "lower",
8
+ "eof-newline": false,
9
+ "leading-zero": false,
10
+ "quotes": "double",
11
+ "sort-order-fallback": "abc",
12
+ "space-before-colon": "",
13
+ "space-after-colon": " ",
14
+ "space-before-combinator": " ",
15
+ "space-after-combinator": " ",
16
+ "space-between-declarations": "\n",
17
+ "space-before-opening-brace": " ",
18
+ "space-after-opening-brace": "\n",
19
+ "space-after-selector-delimiter": "\n",
20
+ "space-before-selector-delimiter": "",
21
+ "space-before-closing-brace": "\n",
22
+ "strip-spaces": true,
23
+ "tab-size": true,
24
+ "unitless-zero": true,
25
+ "sort-order": [[
26
+ "$variable",
27
+ "$include",
28
+ "$import"
29
+ ]]
30
+ }
@@ -0,0 +1 @@
1
+ **/*.html linguist-documentation
@@ -0,0 +1,9 @@
1
+ .idea/
2
+ /dist/
3
+ node_modules/
4
+ .*
5
+ !.csscomb.json
6
+ !.gitignore
7
+ !.gitattributes
8
+ !.hound.yml
9
+ !.scss-lint.yml
@@ -0,0 +1,2 @@
1
+ scss:
2
+ config_file: .scss-lint.yml
@@ -0,0 +1,253 @@
1
+ # Default application configuration that all configurations inherit from.
2
+
3
+ scss_files: "**/*.scss"
4
+ plugin_directories: ['.scss-linters']
5
+
6
+ # List of gem names to load custom linters from (make sure they are already
7
+ # installed)
8
+ plugin_gems: []
9
+
10
+ # Default severity of all linters.
11
+ severity: warning
12
+
13
+ linters:
14
+ BangFormat:
15
+ enabled: true
16
+ space_before_bang: true
17
+ space_after_bang: false
18
+
19
+ BemDepth:
20
+ enabled: false
21
+ max_elements: 1
22
+
23
+ BorderZero:
24
+ enabled: true
25
+ convention: zero # or `none`
26
+
27
+ ChainedClasses:
28
+ enabled: false
29
+
30
+ ColorKeyword:
31
+ enabled: true
32
+
33
+ ColorVariable:
34
+ enabled: true
35
+
36
+ Comment:
37
+ enabled: false
38
+ style: silent
39
+
40
+ DebugStatement:
41
+ enabled: true
42
+
43
+ DeclarationOrder:
44
+ enabled: true
45
+
46
+ DisableLinterReason:
47
+ enabled: false
48
+
49
+ DuplicateProperty:
50
+ enabled: true
51
+
52
+ ElsePlacement:
53
+ enabled: true
54
+ style: same_line # or 'new_line'
55
+
56
+ EmptyLineBetweenBlocks:
57
+ enabled: true
58
+ ignore_single_line_blocks: true
59
+
60
+ EmptyRule:
61
+ enabled: true
62
+
63
+ ExtendDirective:
64
+ enabled: false
65
+
66
+ FinalNewline:
67
+ enabled: true
68
+ present: true
69
+
70
+ HexLength:
71
+ enabled: false
72
+ style: short # or 'long'
73
+
74
+ HexNotation:
75
+ enabled: true
76
+ style: lowercase # or 'uppercase'
77
+
78
+ HexValidation:
79
+ enabled: true
80
+
81
+ IdSelector:
82
+ enabled: true
83
+
84
+ ImportantRule:
85
+ enabled: true
86
+
87
+ ImportPath:
88
+ enabled: true
89
+ leading_underscore: false
90
+ filename_extension: false
91
+
92
+ Indentation:
93
+ enabled: true
94
+ allow_non_nested_indentation: false
95
+ character: space # or 'tab'
96
+ width: 2
97
+
98
+ LeadingZero:
99
+ enabled: true
100
+ style: exclude_zero # or 'include_zero'
101
+
102
+ MergeableSelector:
103
+ enabled: true
104
+ force_nesting: true
105
+
106
+ NameFormat:
107
+ enabled: true
108
+ allow_leading_underscore: true
109
+ convention: hyphenated_lowercase # or 'camel_case', or 'snake_case', or a regex pattern
110
+
111
+ NestingDepth:
112
+ enabled: true
113
+ max_depth: 4
114
+ ignore_parent_selectors: false
115
+
116
+ PlaceholderInExtend:
117
+ enabled: false
118
+
119
+ PrivateNamingConvention:
120
+ enabled: false
121
+ prefix: _
122
+
123
+ PropertyCount:
124
+ enabled: true
125
+ include_nested: false
126
+ max_properties: 10
127
+
128
+ PropertySortOrder:
129
+ enabled: true
130
+ ignore_unspecified: false
131
+ min_properties: 2
132
+ separate_groups: false
133
+
134
+ PropertySpelling:
135
+ enabled: true
136
+ extra_properties: []
137
+ disabled_properties: []
138
+
139
+ PropertyUnits:
140
+ enabled: true
141
+ global: [
142
+ 'ch', 'em', 'ex', 'rem', # Font-relative lengths
143
+ 'cm', 'in', 'mm', 'pc', 'pt', 'px', 'q', # Absolute lengths
144
+ 'vh', 'vw', 'vmin', 'vmax', # Viewport-percentage lengths
145
+ 'deg', 'grad', 'rad', 'turn', # Angle
146
+ 'ms', 's', # Duration
147
+ 'Hz', 'kHz', # Frequency
148
+ 'dpi', 'dpcm', 'dppx', # Resolution
149
+ '%'] # Other
150
+ properties: {}
151
+
152
+ PseudoElement:
153
+ enabled: true
154
+
155
+ QualifyingElement:
156
+ enabled: true
157
+ allow_element_with_attribute: false
158
+ allow_element_with_class: false
159
+ allow_element_with_id: false
160
+
161
+ SelectorDepth:
162
+ enabled: true
163
+ max_depth: 2
164
+
165
+ SelectorFormat:
166
+ enabled: true
167
+ convention: hyphenated_lowercase # or 'strict_BEM', or 'hyphenated_BEM', or 'snake_case', or 'camel_case', or a regex pattern
168
+
169
+ Shorthand:
170
+ enabled: false
171
+ allowed_shorthands: [1, 2, 3, 4]
172
+
173
+ SingleLinePerProperty:
174
+ enabled: true
175
+ allow_single_line_rule_sets: true
176
+
177
+ SingleLinePerSelector:
178
+ enabled: true
179
+
180
+ SpaceAfterComma:
181
+ enabled: true
182
+ style: one_space # or 'no_space', or 'at_least_one_space'
183
+
184
+ SpaceAfterPropertyColon:
185
+ enabled: true
186
+ style: one_space # or 'no_space', or 'at_least_one_space', or 'aligned'
187
+
188
+ SpaceAfterPropertyName:
189
+ enabled: true
190
+
191
+ SpaceAfterVariableColon:
192
+ enabled: false
193
+ style: one_space # or 'no_space', 'at_least_one_space' or 'one_space_or_newline'
194
+
195
+ SpaceAfterVariableName:
196
+ enabled: true
197
+
198
+ SpaceAroundOperator:
199
+ enabled: true
200
+ style: one_space # or 'at_least_one_space', or 'no_space'
201
+
202
+ SpaceBeforeBrace:
203
+ enabled: true
204
+ style: space # or 'new_line'
205
+ allow_single_line_padding: false
206
+
207
+ SpaceBetweenParens:
208
+ enabled: true
209
+ spaces: 0
210
+
211
+ StringQuotes:
212
+ enabled: true
213
+ style: double_quotes # or single_quotes
214
+
215
+ TrailingSemicolon:
216
+ enabled: true
217
+
218
+ TrailingWhitespace:
219
+ enabled: true
220
+
221
+ TrailingZero:
222
+ enabled: false
223
+
224
+ TransitionAll:
225
+ enabled: false
226
+
227
+ UnnecessaryMantissa:
228
+ enabled: true
229
+
230
+ UnnecessaryParentReference:
231
+ enabled: true
232
+
233
+ UrlFormat:
234
+ enabled: true
235
+
236
+ UrlQuotes:
237
+ enabled: true
238
+
239
+ VariableForProperty:
240
+ enabled: false
241
+ properties: []
242
+
243
+ VendorPrefix:
244
+ enabled: true
245
+ identifier_list: base
246
+ additional_identifiers: []
247
+ excluded_identifiers: []
248
+
249
+ ZeroUnit:
250
+ enabled: true
251
+
252
+ Compass::*:
253
+ enabled: false