jekyll-swift-theme 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +22 -0
  3. data/README.md +114 -0
  4. data/_config.yml +22 -0
  5. data/_includes/author.html +28 -0
  6. data/_includes/footer.html +11 -0
  7. data/_includes/head.html +16 -0
  8. data/_includes/header.html +8 -0
  9. data/_includes/intro.html +16 -0
  10. data/_includes/nav.html +10 -0
  11. data/_includes/related.html +26 -0
  12. data/_layouts/default.html +13 -0
  13. data/_layouts/home.html +64 -0
  14. data/_layouts/page.html +22 -0
  15. data/_layouts/post.html +27 -0
  16. data/_sass/swift/_audio.sass +11 -0
  17. data/_sass/swift/_base.sass +185 -0
  18. data/_sass/swift/_comments.sass +77 -0
  19. data/_sass/swift/_components.sass +302 -0
  20. data/_sass/swift/_fonts.sass +36 -0
  21. data/_sass/swift/_footer.sass +24 -0
  22. data/_sass/swift/_nav.sass +131 -0
  23. data/_sass/swift/_posts.sass +209 -0
  24. data/_sass/swift/_social.sass +6 -0
  25. data/_sass/swift/_syntax.sass +15 -0
  26. data/_sass/swift/_utils.sass +145 -0
  27. data/_sass/swift/_variables.sass +44 -0
  28. data/_sass/swift.sass +12 -0
  29. data/assets/fonts/Metropolis-Light.woff +0 -0
  30. data/assets/fonts/Metropolis-Light.woff2 +0 -0
  31. data/assets/fonts/Metropolis-Medium.woff +0 -0
  32. data/assets/fonts/Metropolis-Medium.woff2 +0 -0
  33. data/assets/fonts/Metropolis-Regular.woff +0 -0
  34. data/assets/fonts/Metropolis-Regular.woff2 +0 -0
  35. data/assets/fonts/Metropolis-Thin.woff +0 -0
  36. data/assets/fonts/Metropolis-Thin.woff2 +0 -0
  37. data/assets/fonts/cookie-v10-latin-regular.woff +0 -0
  38. data/assets/fonts/cookie-v10-latin-regular.woff2 +0 -0
  39. data/assets/fonts/volkhov-v11-latin-700italic.woff +0 -0
  40. data/assets/fonts/volkhov-v11-latin-700italic.woff2 +0 -0
  41. data/assets/fonts/volkhov-v11-latin-italic.woff +0 -0
  42. data/assets/fonts/volkhov-v11-latin-italic.woff2 +0 -0
  43. data/assets/images/artist.jpg +0 -0
  44. data/assets/images/avatar.png +0 -0
  45. data/assets/images/fast-lane.jpg +0 -0
  46. data/assets/images/frustrated.jpg +0 -0
  47. data/assets/images/icons/android-chrome-512x512.png +0 -0
  48. data/assets/images/icons/apple-touch-icon.png +0 -0
  49. data/assets/images/icons/browserconfig.xml +9 -0
  50. data/assets/images/icons/close.svg +1 -0
  51. data/assets/images/icons/copy.svg +1 -0
  52. data/assets/images/icons/favicon-16x16.png +0 -0
  53. data/assets/images/icons/favicon-32x32.png +0 -0
  54. data/assets/images/icons/favicon.ico +0 -0
  55. data/assets/images/icons/link.svg +1 -0
  56. data/assets/images/icons/next.svg +6 -0
  57. data/assets/images/icons/reply.svg +1 -0
  58. data/assets/images/icons/site.webmanifest +1 -0
  59. data/assets/images/icons/sitting.svg +1 -0
  60. data/assets/images/read.jpg +0 -0
  61. data/assets/images/speakers.jpg +0 -0
  62. data/assets/images/stuck.jpg +0 -0
  63. data/assets/images/thumbnail.svg +49 -0
  64. data/assets/js/audio.js +59 -0
  65. data/assets/js/autosize.min.js +140 -0
  66. data/assets/js/functions.js +164 -0
  67. data/assets/js/index.js +240 -0
  68. data/assets/js/qrcode.js +4 -0
  69. data/assets/js/sine-waves.min.js +10 -0
  70. data/assets/js/timeago.js +54 -0
  71. data/assets/js/variables.js +9 -0
  72. data/assets/main.scss +5 -0
  73. metadata +200 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 6d2e33da4f68cf09012f1fcd3e0d668a8ae76d3a501b8819579aa66b05601765
4
+ data.tar.gz: 2f5ff9109e3eb12337a7311fa7580ce4d23bb8f85f2d248a58d804c0c36e19b8
5
+ SHA512:
6
+ metadata.gz: a5dfb3cd4dfd080f64c8cd26868a43e43306a838c75988337346c96a13e3f2e244535a927c6411b47e90ea1f946e3f7625fc2e0c5f13a16e91aac2362ce3b685
7
+ data.tar.gz: '088a1fc46f163d6937abf69297e4f34171c75cf9ed4ca123159fa252597853cbec22ff533c13a1d2b3af3a4180ae50dbaf0c170ed29791c61cdfcb43e43ec08b'
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2014 Steve Francia
4
+ Copyright (c) 2021 elyday
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in
14
+ all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,114 @@
1
+ # Jekyll Swift Theme
2
+
3
+ This theme is designed for blogging purposes. Feel free to extend it for other use cases though.
4
+
5
+ At its core, it's minimalistic; it doesn't rely on monolithic libraries such e.g jquery, bootstrap. Instead, it uses grid css, flexbox & vanilla js to facilitate the `features` outlined below:
6
+
7
+ This Theme is a port of [Hugo Swift Theme](https://github.com/onweru/hugo-swift-theme) for Jekyll. Original credit for this theme goes to [weru](https://github.com/onweru).
8
+
9
+ ![Jekyll Swift Theme](https://github.com/elyday/jekyll-swift-theme/blob/main/screenshot.png)
10
+
11
+ ## Features
12
+
13
+ * Blog
14
+ * Pagination
15
+ * Dark Mode
16
+ * Native lazy loading of images
17
+
18
+ ### TODO
19
+
20
+ * Syntax Highlighting
21
+ * Gallery & Video Support
22
+ * Staticman
23
+
24
+ ## Installation
25
+
26
+ Add this line to your Jekyll site's `Gemfile`:
27
+
28
+ ```ruby
29
+ gem "jekyll-swift-theme"
30
+ ```
31
+
32
+ And add this line to your Jekyll site's `_config.yml`:
33
+
34
+ ```yaml
35
+ theme: jekyll-swift-theme
36
+ ```
37
+
38
+ And then execute:
39
+
40
+ $ bundle
41
+
42
+ Or install it yourself as:
43
+
44
+ $ gem install jekyll-swift-theme
45
+
46
+ ## Configuration
47
+
48
+ You need to configure the following settings in your `_config.yml`:
49
+
50
+ ```yaml
51
+ title: Your awesome title
52
+ description: Some example description
53
+
54
+ pagination:
55
+ enabled: true
56
+ per_page: 10
57
+ title: ''
58
+ permalink: '/page/:num/'
59
+ sort_field: 'date'
60
+ sort_reverse: true
61
+ trail:
62
+ before: 2
63
+ after: 2
64
+
65
+ permalink: '/:year/:month/:title:output_ext'
66
+
67
+ plugins:
68
+ - jekyll-feed
69
+ - jekyll-seo-tag
70
+ - jekyll-paginate-v2
71
+
72
+ theme: jekyll-swift-theme
73
+ ```
74
+
75
+ ### Authors (written by block)
76
+
77
+ An author block can be automatically included in every post. To do this, only the following line must be inserted in the upper block of a post:
78
+
79
+ ```yaml
80
+ author: foo
81
+ ```
82
+
83
+ You can configure the author information in the file `_data/authors.yaml`. An entry for an author should be like:
84
+
85
+ ```yaml
86
+ example:
87
+ name: Max Mustermann
88
+ bio: Foo bar
89
+ pic: /assets/images/avatar.png
90
+ website: https://elyday.net
91
+ twitter: whitehouse
92
+ github: onweru
93
+ ```
94
+
95
+ ### Navigation Bar
96
+
97
+ You can configure the navigation bar entries in the file `_data/nav.yaml`.
98
+
99
+ ## Contributing
100
+
101
+ Bug reports and pull requests are welcome on GitHub at https://github.com/elyday/jekyll-swift-theme. 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.
102
+
103
+ ## Development
104
+
105
+ To set up your environment to develop this theme, run `bundle install`.
106
+
107
+ 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.
108
+
109
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
110
+ To add a custom directory to your theme-gem, please edit the regexp in `jekyll-swift-theme.gemspec` accordingly.
111
+
112
+ ## License
113
+
114
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/_config.yml ADDED
@@ -0,0 +1,22 @@
1
+ title: Your awesome title
2
+ description: Some example description
3
+
4
+ pagination:
5
+ enabled: true
6
+ per_page: 10
7
+ title: ''
8
+ permalink: '/page/:num/'
9
+ sort_field: 'date'
10
+ sort_reverse: true
11
+ trail:
12
+ before: 2
13
+ after: 2
14
+
15
+ permalink: '/:year/:month/:title:output_ext'
16
+
17
+ plugins:
18
+ - jekyll-feed
19
+ - jekyll-seo-tag
20
+ - jekyll-paginate-v2
21
+
22
+ theme: jekyll-swift-theme
@@ -0,0 +1,28 @@
1
+ {% assign author = site.data.authors[page.author] %}
2
+
3
+ {% if author %}
4
+ <div class="author">
5
+ <a href="{{ author.website }}" title="{{ author.name }}'s profile" class="author_pic">
6
+ <img src="{{ author.pic }}" alt="">
7
+ </a>
8
+
9
+ <div class="author_meta">
10
+ <a class="author_name" href="{{ author.website }}">{{ author.name }}</a>
11
+ <p class="pale author_bio solo">{{ author.bio }}</p>
12
+
13
+ <ul class="social-list">
14
+ {% if author.twitter %}
15
+ <li>
16
+ <a href="https://twitter.com/{{ author.twitter }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/images/icons/social-icons.svg#twitter' | relative_url }}"></use></svg> <span class="username">@{{ author.twitter }}</span></a>
17
+ </li>
18
+ {% endif %}
19
+
20
+ {% if author.github %}
21
+ <li>
22
+ <a href="https://github.com/{{ author.github }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/images/icons/social-icons.svg#github' | relative_url }}"></use></svg> <span class="username">@{{ author.github }}</span></a>
23
+ </li>
24
+ {% endif %}
25
+ </ul>
26
+ </div>
27
+ </div>
28
+ {% endif %}
@@ -0,0 +1,11 @@
1
+ <footer class="footer">
2
+ <div class="footer_inner wrap pale">
3
+ <p>
4
+ &copy;&nbsp;<span class="year"></span>&nbsp;{{ site.title }}. Designed by <a href="https://www.linkedin.com/in/dan-weru-profile/">Weru</a>.
5
+ </p>
6
+ </div>
7
+ </footer>
8
+
9
+ <script type="text/javascript" src='{{ "/assets/js/variables.js" | relative_url }}'></script>
10
+ <script type="text/javascript" src='{{ "/assets/js/functions.js" | relative_url }}'></script>
11
+ <script type="text/javascript" src='{{ "/assets/js/index.js" | relative_url }}'></script>
@@ -0,0 +1,16 @@
1
+ <head>
2
+ <meta charset="utf-8">
3
+
4
+ <meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no'>
5
+ <meta http-equiv='X-UA-Compatible' content='IE=edge'>
6
+
7
+ <link rel='apple-touch-icon' sizes='180x180' href='{{ "/assets/images/icons/apple-touch-icon.png" | relative_url }}'>
8
+ <link rel='icon' type='image/png' sizes='32x32' href='{{ "/assets/images/icons/favicon-32x32.png" | relative_url }}'>
9
+ <link rel='icon' type='image/png' sizes='16x16' href='{{ "/assets/images/icons/favicon-16x16.png" | relative_url }}'>
10
+ <link rel='manifest' href='{{ "/assets/images/icons/site.webmanifest" | relative_url }}'>
11
+
12
+
13
+ {%- seo -%}
14
+ <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
15
+ {%- feed_meta -%}
16
+ </head>
@@ -0,0 +1,8 @@
1
+ <header class="nav">
2
+ <nav class="nav-menu">
3
+ <a href="/" class="nav-brand nav_item">{{ site.title }}</a>
4
+ <div class="nav_bar-wrap">
5
+ <div class="nav_bar"></div>
6
+ </div>
7
+ </nav>
8
+ </header>
@@ -0,0 +1,16 @@
1
+ <!-- intro banner on list pages -->
2
+ <div class='intro'>
3
+ <div class='intro_inner'>
4
+ <div>
5
+ <div class='waves'>
6
+ <canvas id='waves' class='waves_inner'></canvas>
7
+ </div>
8
+ <script src='{{ "/assets/js/sine-waves.min.js" | relative_url }}'></script>
9
+ <script src='{{ "/assets/js/audio.js" | relative_url }}'></script>
10
+ </div>
11
+ <section>
12
+ <h1 class='intro_headline'>{{ site.title }}</h1>
13
+ <p class='intro_desc'>{{ site.description }}</p>
14
+ </section>
15
+ </div>
16
+ </div>
@@ -0,0 +1,10 @@
1
+ <div class="nav-drop">
2
+ <div class="nav-body">
3
+ {% for item in site.data.nav %}
4
+ <a href="{{ item.path | relative_url}}" class="nav-item">{{ item.title | escape }}</a>
5
+ {%- endfor -%}
6
+
7
+ <div class="nav-close"></div>
8
+ </div>
9
+ </div>
10
+ {%- include header.html -%}
@@ -0,0 +1,26 @@
1
+ <h3>Related Posts</h3>
2
+
3
+ <ul class="posts aside">
4
+ {% for related in site.related_posts limit:2 %}
5
+ {% if related.image %}
6
+ {% assign related_bg = "/assets/images/" | append: related.image | relative_url %}
7
+ {% else %}
8
+ {% assign related_bg = "/assets/images/thumbnail.svg" | relative_url %}
9
+ {% endif %}
10
+
11
+ <li class="post_item fp">
12
+ <a class="post_card" href="{{ related.url | relative_url }}" title="{{ related.title | escape }}" style='background-image: url({{ related_bg }});'></a>
13
+
14
+ <div class="excerpt">
15
+ <div class="excerpt_meta">
16
+ {% for tag in related.tags %}
17
+ <a href="tags/{{ tag }}" class="post_tag">{{ tag }}</a>
18
+ {% break %}
19
+ {% endfor %}
20
+ </div>
21
+ <h3 class="post_link"><a href="{{ related.url | relative_url }}">{{ related.title | escape }}</a></h3>
22
+ <p class="pale">{{ related.excerpt | markdownify | strip_html | truncate: 90 }}</p>
23
+ </div>
24
+ </li>
25
+ {% endfor %}
26
+ </ul>
@@ -0,0 +1,13 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ page.lang | default: site.lang | default: "en" }}">
3
+ {%- include head.html -%}
4
+ <body>
5
+ {%- include nav.html -%}
6
+
7
+ <main>
8
+ {{ content}}
9
+ </main>
10
+
11
+ {%- include footer.html -%}
12
+ </body>
13
+ </html>
@@ -0,0 +1,64 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {% include intro.html %}
6
+
7
+ {% if paginator.posts.size > 0 %}
8
+ <ul class="posts wrap" id="posts">
9
+ {% for post in paginator.posts %}
10
+ {% if post.image %}
11
+ {% assign bg = "/assets/images/" | append: post.image | relative_url %}
12
+ {% else %}
13
+ {% assign bg = "/assets/images/thumbnail.svg" | relative_url %}
14
+ {% endif %}
15
+
16
+ <li class="post_item fp">
17
+ <a class="post_card" href="{{ post.url | relative_url }}" title="{{ post.title | escape }}" style = 'background-image: url({{ bg }});'></a>
18
+
19
+ <div class="excerpt">
20
+ <div class="excerpt_meta">
21
+ {% if post.tags %}
22
+ {% for tag in post.tags %}
23
+ <a href="tags/{{ tag }}" class="post_tag">{{ tag }}</a>
24
+ {% break %}
25
+ {% endfor %}
26
+ {% endif %}
27
+ </div>
28
+ <h3 class="post_link"><a href="{{ post.url | relative_url }}">{{ post.title | escape }}</a></h3>
29
+ <p class="pale">{{ post.excerpt | markdownify | strip_html | truncate: 90 }}</p>
30
+ </div>
31
+ </li>
32
+ {% endfor %}
33
+ </ul>
34
+ {% endif %}
35
+
36
+ <ul class="pager">
37
+ {% if paginator.previous_page %}
38
+ <li class="pager_item">
39
+ <a href="{{ paginator.previous_page_path }}" aria-label="Previous" class="pager_link" role="button"><span aria-hidden="true">«</span></a>
40
+ </li>
41
+ {% else %}
42
+ <li class="disabled pager_item">
43
+ <a href="#" aria-disabled="true" aria-label="Previous" class="pager_link" role="button" tabindex="-1"><span aria-hidden="true">«</span></a>
44
+ </li>
45
+ {% endif %}
46
+
47
+ {% if paginator.page_trail %}
48
+ {% for trail in paginator.page_trail %}
49
+ <li class="pager_item {% if trail.path == page.url %}disabled{% endif %}">
50
+ <a href="{{ trail.path }}" aria-label="{{ trail.title }}" class="pager_link" role="button"><span aria-hidden="true">{{ trail.num }}</span></a>
51
+ </li>
52
+ {% endfor %}
53
+ {% endif %}
54
+
55
+ {% if paginator.next_page %}
56
+ <li class="pager-item">
57
+ <a href="{{ paginator.next_page_path }}" aria-label="Next" class="pager_link" role="button"><span aria-hidden="true">»</span></a>
58
+ </li>
59
+ {% else %}
60
+ <li class="disabled pager_item">
61
+ <a href="#" aria-disabled="true" aria-label="Next" class="pager_link" role="button" tabindex="-1"><span aria-hidden="true">»</span></a>
62
+ </li>
63
+ {% endif %}
64
+ </ul>
@@ -0,0 +1,22 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {% if page.image %}
6
+ {% assign bg = "/assets/images/" | append: page.image | relative_url %}
7
+ {% else %}
8
+ {% assign bg = "/assets/images/thumbnail.svg" | relative_url %}
9
+ {% endif %}
10
+
11
+ <section class="post_header" style="background-image:url({{ bg }});">
12
+ <h1 class="post_title">{{ page.title | escape }}</h1>
13
+ </section>
14
+
15
+ <div class="post">
16
+ <article class="post_content">
17
+ {{ content }}
18
+ </article>
19
+ </div>
20
+
21
+ <script src='{{ "/assets/js/autosize.min.js" | relative_url}}'></script>
22
+ <script src='{{ "/assets/js/timeago.js" | relative_url}}'></script>
@@ -0,0 +1,27 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {% if page.image %}
6
+ {% assign bg = "/assets/images/" | append: page.image | relative_url %}
7
+ {% else %}
8
+ {% assign bg = "/assets/images/thumbnail.svg" | relative_url %}
9
+ {% endif %}
10
+
11
+ <section class="post_header" style="background-image:url({{ bg }});">
12
+ <h1 class="post_title">{{ page.title | escape }}</h1>
13
+ </section>
14
+
15
+ <div class="post">
16
+ <article class="post_content">
17
+ {{ content }}
18
+ {% include author.html %}
19
+ </article>
20
+
21
+ <aside>
22
+ {% include related.html %}
23
+ </aside>
24
+ </div>
25
+
26
+ <script src='{{ "/assets/js/autosize.min.js" | relative_url}}'></script>
27
+ <script src='{{ "/assets/js/timeago.js" | relative_url}}'></script>
@@ -0,0 +1,11 @@
1
+ .waves
2
+ max-width: 320px
3
+ height: 5px
4
+ display: flex
5
+ align-items: center
6
+ justify-content: center
7
+ flex-direction: column
8
+ margin: 30px auto
9
+ &_inner
10
+ min-width: 18rem
11
+ min-height: 9rem
@@ -0,0 +1,185 @@
1
+ *
2
+ box-sizing: border-box
3
+ -webkit-appearance: none
4
+ margin: 0
5
+ padding: 0
6
+
7
+ body, html
8
+ scroll-behavior: smooth
9
+ -webkit-text-size-adjust: 100%
10
+ font-kerning: normal
11
+ -webkit-font-feature-settings: "kern" 1
12
+ text-rendering: optimizeLegibility
13
+ text-rendering: geometricPrecision
14
+ -webkit-text-size-adjust: 100%
15
+ font-size: 100%
16
+
17
+ body
18
+ font-family: var(--font)
19
+ background-color: var(--bg)
20
+ color: var(--text)
21
+ font-size: 16px
22
+ line-height: 1.5
23
+ max-width: 1440px
24
+ margin: 0 auto
25
+ position: relative
26
+ display: flex
27
+ flex-direction: column
28
+ justify-content: space-between
29
+ min-height: 100vh
30
+ font-kerning: normal
31
+ -webkit-font-smoothing: antialiased
32
+ -moz-osx-font-smoothing: grayscale
33
+
34
+ a
35
+ text-decoration: none
36
+ color: inherit
37
+
38
+ blockquote
39
+ opacity: 0.8
40
+ padding: 1rem
41
+ position: relative
42
+ quotes: '\201C''\201D''\2018''\2019'
43
+ margin: 0.75rem 0
44
+ display: flex
45
+ flex-flow: row wrap
46
+ background-repeat: no-repeat
47
+ background-size: 5rem
48
+ background-position: 50% 50%
49
+ position: relative
50
+ &::before
51
+ content: ""
52
+ padding: 1px
53
+ position: absolute
54
+ top: 0
55
+ bottom: 0
56
+ left: 0
57
+ background: var(--theme)
58
+
59
+ p
60
+ padding-left: 0.5rem 0 !important
61
+ font-size: 1.1rem !important
62
+ width: 100%
63
+ font-weight: 300
64
+ font-style: italic
65
+
66
+ h1,h2,h3,h4,h5
67
+ font-family: inherit
68
+ font-weight: 500
69
+ padding: 5px 0
70
+ margin: 15px 0
71
+ color: inherit
72
+ line-height: 1.35
73
+
74
+ h1
75
+ font-size: 200%
76
+ h2
77
+ font-size: 175%
78
+ h3
79
+ font-size: 150%
80
+ h4
81
+ font-size: 125%
82
+ h5
83
+ font-size: 120%
84
+ h6
85
+ font-size: 100%
86
+
87
+ .svg-icon
88
+ width: 16px
89
+ height: 16px
90
+ fill: var(--gray)
91
+
92
+ img, svg, video
93
+ max-width: 100%
94
+ vertical-align: middle
95
+ img
96
+ height: auto
97
+ margin: 1rem auto
98
+ padding: 0
99
+
100
+ main
101
+ padding-bottom: 45px
102
+ flex: 1
103
+
104
+ ul
105
+ list-style: none
106
+ -webkit-padding-start: 0
107
+ -moz-padding-start: 0
108
+
109
+ b, strong
110
+ font-weight: 500
111
+
112
+ em, i
113
+ font-weight: 400 !important
114
+ font-family: var(--italic)
115
+ font-size: 0.933em
116
+ color: var(--theme)
117
+ hr
118
+ border: none
119
+ padding: 0.5px
120
+ background: var(--accent)
121
+ margin: 1rem 0
122
+
123
+ aside
124
+ margin-top: 4rem
125
+ h3
126
+ position: relative
127
+ margin: 0 !important
128
+
129
+ span
130
+ &.pager_link
131
+ opacity: 0.5
132
+
133
+ ol
134
+ counter-reset: my-awesome-counter
135
+ list-style: none !important
136
+ padding-left: 3rem
137
+ margin-left: 0.5rem
138
+ @media screen and (min-width: 667px)
139
+ // margin-left: 1rem
140
+ li
141
+ margin: 0 0 0.5rem 0
142
+ counter-increment: my-awesome-counter
143
+ position: relative
144
+ padding-left: 0.5rem !important
145
+ &::before
146
+ content: counter(my-awesome-counter)
147
+ font-size: 1.15rem
148
+ display: inline-grid
149
+ align-items: center
150
+ font-weight: 500
151
+ position: absolute
152
+ --size: 1.8rem
153
+ left: -2rem
154
+ line-height: var(--size)
155
+ width: var(--size)
156
+ height: var(--size)
157
+ color: var(--theme)
158
+ border-radius: 50%
159
+ text-align: center
160
+ top: 0.25rem
161
+ border-right: 2px solid var(--theme)
162
+ &.align::before
163
+ top: 1rem
164
+
165
+ th, td
166
+ padding: 0.5rem
167
+ font-weight: 400 !important
168
+ &:not(:first-child)
169
+ padding-left: 1.5rem
170
+
171
+ thead
172
+ background: var(--theme)
173
+ color: var(--light)
174
+ font-weight: 400
175
+ text-align: left
176
+
177
+ tbody
178
+ tr
179
+ &:nth-child(even)
180
+ background-color: var(--accent) !important
181
+ box-shadow: 0 1rem 0.75rem -0.75rem rgba(0,0,0,0.07)
182
+
183
+ table
184
+ margin: 1.5rem 0
185
+ width: 100%