dedovic-2021 0.1.0 → 0.2.0

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
  SHA256:
3
- metadata.gz: 3326826c9ad729559e78842e5926f7cd5849ec905a0d79686133a4b9787322ca
4
- data.tar.gz: dc15b86f71f85204d11a306439820d2020aa85caffad899043b8bc5ee146d1b8
3
+ metadata.gz: a6235eeb7b663edc3429e715024eae4d229c3f8f2cc635c6231bb2b95ee95a97
4
+ data.tar.gz: 0a6c20d2da6cebc087422eef31c3a6ecd3b7112f0aa5541db3d21fcc502554a5
5
5
  SHA512:
6
- metadata.gz: 1d954fab909f9beec269571e5fd2e3b85cfcfc1bee2e74fa4b0b9617dc86168e6e56e5e52f44e3bd6b9b6318beda12ecc51de0bdc6cbadef55a282086ec9277c
7
- data.tar.gz: 10f3730574c27c4858821cd6ed2305826236f0fda565659a5b0650e21eac0ae63d12ab825325fac1b65da42ff198e6753318b17d9f134964e0f6acc035dde581
6
+ metadata.gz: 66fe19ce0cbdbd87e205a55969ba056fc4ec95fe8ae5f091791442a8a1739d80ceeb99dc0351851f9a15d4af87c6d167a48298432579ad7f85071a43b325c972
7
+ data.tar.gz: c55641ac710aa788dea62cf7f573f51ac737a267f0a5d7388672b94a382f94b7d937b149032b016fc3b4bc8f68c4db9c86f784e6a50d6319b440aa7e9cd6ddcd
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021 Martha Hipley
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.
data/README.md ADDED
@@ -0,0 +1,52 @@
1
+ # dedovic-2021
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 "dedovic-2021"
16
+ ```
17
+
18
+ And add this line to your Jekyll site's `_config.yml`:
19
+
20
+ ```yaml
21
+ theme: dedovic-2021
22
+ ```
23
+
24
+ And then execute:
25
+
26
+ $ bundle
27
+
28
+ Or install it yourself as:
29
+
30
+ $ gem install dedovic-2021
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 `dedovic-2021.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
+ <div class="code-header">
2
+ <button class="copy-code-button" aria-label="Copy code to clipboard"></button>
3
+ </div>
@@ -0,0 +1,47 @@
1
+ <footer class="site-footer" role="banner">
2
+
3
+ <div class="wrapper">
4
+ {%- assign default_paths = site.pages | map: "path" -%}
5
+ {%- assign page_paths = site.header_pages | default: default_paths -%}
6
+
7
+ {% if page.path contains '_posts' %}
8
+ {% assign current = page.categories %}
9
+ {% else %}
10
+ {% assign current = page.url | downcase | split: '/' %}
11
+ {% endif %}
12
+
13
+
14
+
15
+
16
+ {%- if page_paths -%}
17
+ <nav class="site-nav">
18
+ <span class="icon icon-chevrons-left"></span>
19
+ <div class="trigger">
20
+
21
+ {%- for path in page_paths -%}
22
+ {% assign next_i = forloop.index0 | plus: 1 %}
23
+ {% assign prev_i = forloop.index0 | minus: 1 %}
24
+ {%- assign my_page = site.pages | where: "path", path | first -%}
25
+ {%- if my_page.title -%}
26
+ {% assign linkSlug = my_page.title | downcase | escape %}
27
+ <a
28
+ {% if current contains linkSlug %}
29
+ class="page-link active"
30
+ {% else %}
31
+ class="page-link"
32
+ {% endif %}
33
+ href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
34
+
35
+ {%- endif -%}
36
+ {%- endfor -%}
37
+ </div>
38
+ <span class="icon icon-chevrons-right"></span>
39
+ </nav>
40
+
41
+ <div class="site-info">
42
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent sed felis volutpat, interdum augue nec, tempor dolor 2021.</p>
43
+ </div>
44
+ {%- endif -%}
45
+ </div>
46
+ </footer>
47
+
@@ -0,0 +1,33 @@
1
+ <head>
2
+ <meta charset="utf-8">
3
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
+
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <meta name="description" content="" />
7
+ <meta name="keywords" content="">
8
+ <meta name="twitter:card" value="">
9
+ <meta name="twitter:site" content="">
10
+ <meta name="twitter:title" content="{{site.title}}">
11
+ <meta name="twitter:description" content="">
12
+ <meta name="twitter:creator" content="">
13
+
14
+ <meta name="twitter:image" content="">
15
+
16
+ {%- if page.name == "index.markdown" -%}
17
+ <meta property="og:title" content="{{site.title}}" />
18
+ <title>{{site.title}}</title>
19
+ {%- else -%}
20
+ <meta property="og:title" content="{{site.title}} | {{page.title}}" />
21
+ <title>{{site.title}} | {{page.title}}</title>
22
+ {%- endif -%}
23
+
24
+ <meta property="og:type" content="profile" />
25
+ <meta property="og:url" content="{{site.url}}" />
26
+ <meta property="og:image" content="" />
27
+ <meta property="og:description" content="" />
28
+ <meta property="og:site_name" content="" />
29
+
30
+ <link rel="stylesheet" href="/css/styles.css">
31
+ <script src="/js/scripts.js"></script>
32
+
33
+ </head>
File without changes
@@ -0,0 +1,17 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <div class="container-fluid">
5
+ <div class="row">
6
+ <div class="col-xs-12">
7
+ {%- if page.title -%}
8
+ <h1 class="page-heading">{{ page.title }}</h1>
9
+ {%- endif -%}
10
+ </div>
11
+
12
+ <div class="col-xs-12 col-sm-6 col-md-4">
13
+ {{ content }}
14
+ </div>
15
+ </div>
16
+ </div>
17
+ </div>
data/_layouts/art.html ADDED
@@ -0,0 +1,19 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="container-fluid">
6
+ <div class="row">
7
+ <div class="col-xs-12">
8
+ {%- if page.title -%}
9
+ <h1 class="page-heading">{{ page.title }}</h1>
10
+ {%- endif -%}
11
+
12
+ {{ content }}
13
+
14
+
15
+
16
+ </div>
17
+ </div>
18
+ </div>
19
+ </div>
@@ -0,0 +1,20 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ page.lang | default: site.lang | default: "en" }}" class="layout-{{ page.layout }}">
3
+
4
+ {%- include head.html -%}
5
+
6
+ <body>
7
+
8
+ {%- include sidebar.html -%}
9
+
10
+ <main class="page-content" aria-label="Content">
11
+ <div class="wrapper">
12
+ {{ content }}
13
+ </div>
14
+ </main>
15
+
16
+ {%- include footer.html -%}
17
+
18
+ </body>
19
+
20
+ </html>
@@ -0,0 +1,42 @@
1
+ ---
2
+ layout: landing
3
+ ---
4
+ <!DOCTYPE html>
5
+ <html lang="{{ page.lang | default: site.lang | default: "en" }}">
6
+
7
+
8
+ {%- include head.html -%}
9
+
10
+ <body>
11
+ {%- include sidebar.html -%}
12
+
13
+ <div class="container-fluid">
14
+ <div class="row">
15
+ <div class="col-xs-12 col-sm-8 col-md-6 col-sm-offset-1">
16
+ <main class="page-content" aria-label="Content">
17
+ <div class="wrapper">
18
+
19
+ <h1>Heading 1</h1>
20
+ <h2>Heading 2</h2>
21
+ <h3>Heading 3</h3>
22
+ <h4>Heading 4</h4>
23
+ <h5>Heading 5</h5>
24
+ <h6>Heading 6</h6>
25
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. <a href="">Etiam eu venenatis mauris.</a> Etiam sed mauris tortor. Vivamus hendrerit neque at mollis dictum. Nam tristique rhoncus volutpat. Etiam pharetra arcu lorem. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas vel mi tellus.</p>
26
+ <a href="" class="read-more">Read more</a>
27
+ <div class="card">
28
+ <p>Etiam pharetra arcu lorem. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas vel mi tellus.</p>
29
+ </div>
30
+ <button>Button CTA</button>
31
+ {{ content }}
32
+ </div>
33
+ </main>
34
+ </div>
35
+ </div>
36
+ </div>
37
+
38
+ {%- include footer.html -%}
39
+
40
+ </body>
41
+
42
+ </html>
@@ -0,0 +1,11 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <div class="container-fluid">
5
+ <div class="row">
6
+ <div class="col-xs-12 col-sm-8 col-md-6 col-sm-offset-1">
7
+ {{ content }}
8
+
9
+ </div>
10
+ </div>
11
+ </div>
@@ -0,0 +1,34 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="container-fluid">
6
+ <div class="row">
7
+ <div class="col-xs-12 col-sm-8 col-md-6 col-sm-offset-1">
8
+ <article class="post">
9
+
10
+ <header class="post-header">
11
+ <ul class="tag-list">
12
+ {% for tag in page.tags %}
13
+ <li>
14
+ {{ tag }}
15
+ </li>
16
+ {% endfor %}
17
+ </ul>
18
+ <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
19
+ {{ page.date | date: date_format }}
20
+ </time>
21
+
22
+ <h2 class="post-title">{{ page.title | escape }}</h2>
23
+
24
+ </header>
25
+
26
+ <div class="post-content">
27
+ {{ content }}
28
+ </div>
29
+
30
+
31
+ </article>
32
+ </div>
33
+ </div>
34
+ </div>
@@ -0,0 +1,40 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="container-fluid">
6
+ <div class="row">
7
+ <div class="col-xs-12 col-sm-9 col-md-7">
8
+ <div class="row recipe-wrapper">
9
+ <div class="col-xs-12 col-sm-offset-1">
10
+ <article class="recipe">
11
+
12
+ <header class="post-header">
13
+ <ul class="tag-list">
14
+ {% for tag in page.tags %}
15
+ <li>
16
+ {{ tag }}
17
+ </li>
18
+ {% endfor %}
19
+ </ul>
20
+ <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
21
+ {{ page.date | date: date_format }}
22
+ </time>
23
+
24
+ <h2 class="post-title">{{ page.title | escape }}</h2>
25
+
26
+ </header>
27
+
28
+ <div class="post-content">
29
+ {{ content }}
30
+ </div>
31
+
32
+
33
+ </article>
34
+ </div>
35
+ </div>
36
+
37
+
38
+ </div>
39
+ </div>
40
+ </div>
@@ -0,0 +1,90 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <div class="container-fluid recipes card-grid">
5
+ <div class="row">
6
+ <div class="col-xs-12">
7
+
8
+ {%- if page.title -%}
9
+ <h1 class="page-heading">{{ page.title }}</h1>
10
+ {%- endif -%}
11
+
12
+ {{ content }}
13
+
14
+ <div class="filter-menu">
15
+ <label>Filter by:</label>
16
+ <ul>
17
+ {% for post in site.categories['recipes'] %}
18
+ {% for tag in post.tags %}
19
+ <li>
20
+ {{ tag }}
21
+ </li>
22
+ {% endfor %}
23
+ {% endfor %}
24
+ </ul>
25
+ </div>
26
+
27
+ </div>
28
+
29
+ </div>
30
+
31
+ <div class="row">
32
+
33
+ {%- if site.posts.size > 0 -%}
34
+ {%- for post in site.posts -%}
35
+ {% if post.categories contains 'recipes' %}
36
+
37
+ <div
38
+ {% if post.post-size == "large" %}
39
+ class="col-xs-12 col-md-6"
40
+ {% elsif post.post-size == "medium" %}
41
+ class="col-xs-12 col-md-5"
42
+ {% elsif post.post-size == "small" %}
43
+ class="col-xs-12 col-md-3"
44
+ {% endif %}
45
+ >
46
+ {% if post.tags != empty %}
47
+
48
+ <div class="card">
49
+ <ul class="tag-list">
50
+ {% for tag in post.tags %}
51
+ <li>
52
+ {{ tag }}
53
+ </li>
54
+ {% endfor %}
55
+ </ul>
56
+ {%- endif -%}
57
+ {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
58
+ <span class="post-meta">{{ post.date | date: date_format }}</span>
59
+ <a class="post-link" href="{{ post.url | relative_url }}">
60
+ <h3>
61
+ {{ post.title | escape }}
62
+ </h3>
63
+ </a>
64
+
65
+ {%- if post.thumbnail -%}
66
+ <img class="thumbnail" alt="{{post.thumbnail-alt}}" src="{{site.url}}/assets/img/{{ post.thumbnail }}">
67
+ {%- endif -%}
68
+
69
+ {%- if site.show_excerpts -%}
70
+ {{ post.excerpt }}
71
+ {%- endif -%}
72
+
73
+ <a class="post-link" href="{{ post.url | relative_url }}">
74
+ READ MORE
75
+ </a>
76
+ </div>
77
+ </div>
78
+
79
+
80
+
81
+ {%- endif -%}
82
+ {%- endfor -%}
83
+
84
+
85
+ {%- endif -%}
86
+
87
+ </div>
88
+
89
+ </div>
90
+
@@ -0,0 +1,90 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <div class="container-fluid recipes card-grid">
5
+ <div class="row">
6
+ <div class="col-xs-12">
7
+
8
+ {%- if page.title -%}
9
+ <h1 class="page-heading">{{ page.title }}</h1>
10
+ {%- endif -%}
11
+
12
+ {{ content }}
13
+
14
+ <div class="filter-menu">
15
+ <ul>
16
+ {% for post in site.categories['writing'] %}
17
+ {% for tag in post.tags %}
18
+ <li>
19
+ {{ tag }}
20
+ </li>
21
+ {% endfor %}
22
+ {% endfor %}
23
+ </ul>
24
+ </div>
25
+
26
+ </div>
27
+
28
+ </div>
29
+
30
+ <div class="row">
31
+
32
+ {%- if site.posts.size > 0 -%}
33
+ {%- for post in site.posts -%}
34
+ {% if post.categories contains 'writing' %}
35
+
36
+ <div
37
+ {% if post.post-size == "large" %}
38
+ class="col-xs-12 col-md-6"
39
+ {% elsif post.post-size == "medium" %}
40
+ class="col-xs-12 col-md-5"
41
+ {% elsif post.post-size == "small" %}
42
+ class="col-xs-12 col-md-3"
43
+ {% endif %}
44
+ >
45
+ {% if post.tags != empty %}
46
+
47
+ <div class="card">
48
+ <ul class="tag-list">
49
+ {% for tag in post.tags %}
50
+ <li>
51
+ {{ tag }}
52
+ </li>
53
+ {% endfor %}
54
+ </ul>
55
+ {%- endif -%}
56
+ {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
57
+ <span class="post-meta">{{ post.date | date: date_format }}</span>
58
+ <a class="post-link" href="{{ post.url | relative_url }}">
59
+ <h3>
60
+ {{ post.title | escape }}
61
+ </h3>
62
+ </a>
63
+
64
+ {%- if post.thumbnail -%}
65
+ <img class="thumbnail" alt="{{post.thumbnail-alt}}" src="{{site.url}}/assets/img/{{ post.thumbnail }}">
66
+ {%- endif -%}
67
+
68
+ {%- if site.show_excerpts -%}
69
+ {{ post.excerpt }}
70
+ {%- endif -%}
71
+
72
+ <a class="post-link" href="{{ post.url | relative_url }}">
73
+ READ MORE
74
+ </a>
75
+ </div>
76
+ </div>
77
+
78
+
79
+
80
+ {%- endif -%}
81
+ {%- endfor -%}
82
+
83
+
84
+ {%- endif -%}
85
+
86
+ </div>
87
+
88
+ </div>
89
+
90
+
@@ -0,0 +1,58 @@
1
+ button {
2
+ border: 1px solid $black;
3
+ background-color: transparent;
4
+ font-family: 'Optima', sans-serif;
5
+ border-radius: 4px;
6
+ font-size: 1.1rem;
7
+ padding: .8rem 2rem .7rem 2rem;
8
+ color: $black;
9
+ }
10
+
11
+ .code-header {
12
+ display: flex;
13
+ justify-content: flex-end;
14
+ }
15
+
16
+ .copy-code-button {
17
+ display: grid;
18
+ grid-auto-flow: column;
19
+ align-items: center;
20
+ grid-column-gap: 4px;
21
+ border: none;
22
+ cursor: pointer;
23
+ font-size: 1rem;
24
+ padding: .5rem 0;
25
+
26
+ &::before {
27
+ font-family: 'Open Sans', sans-serif;
28
+ font-weight: 300;
29
+ color: $black;
30
+ content: "";
31
+ }
32
+
33
+ &::after {
34
+ font-family: 'icons' !important;
35
+ speak: never;
36
+ font-style: normal;
37
+ font-weight: normal;
38
+ font-variant: normal;
39
+ text-transform: none;
40
+ line-height: 1;
41
+ -webkit-font-smoothing: antialiased;
42
+ -moz-osx-font-smoothing: grayscale;
43
+ content: "\e903";
44
+ display: block;
45
+ }
46
+
47
+ // This class will be toggled via JavaScript
48
+ &.copied {
49
+ &::before {
50
+ content: "Copied!";
51
+ line-height: 1;
52
+ }
53
+
54
+ &::after {
55
+ content: "\e906";
56
+ }
57
+ }
58
+ }
@@ -0,0 +1,15 @@
1
+ .card {
2
+ border-radius: 4px 40px 4px 4px;
3
+ border: 1px solid $black;
4
+ padding: 1rem 2rem 1rem 1rem;
5
+ margin-bottom: 1rem;
6
+ img {
7
+ width: 100%;
8
+ }
9
+ }
10
+
11
+ .layout-recipes {
12
+ .card {
13
+ background-color: $white;
14
+ }
15
+ }
@@ -0,0 +1,14 @@
1
+
2
+
3
+ $brown: #825C60;
4
+ $red: #DF818A;
5
+ $orange: #FF9A62;
6
+ $yellow: #FFDC62;
7
+ $green: #618482;
8
+ $liteGreen: #C6E0DF;
9
+ $aqua: #59FFFF;
10
+ $liteAqua: #E8FFFF;
11
+ $purple: #CB7DD8;
12
+ $black: #2D3535;
13
+ $grey: #ECECEC;
14
+ $white: #f6f6f6;