Mott_MacDonald_Theme 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.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 54b6bcd5c3b62e48a9c137622bf8ee037828941878119987c4f42b1909b0ae2e
4
+ data.tar.gz: 582c96f7251508ef9162ddf22959412b82a190733cc0c96f52856602831c28be
5
+ SHA512:
6
+ metadata.gz: 29792164e99601955007399d7a0aeb32321635c82435d56a6c1e8449e11e12616efd29c4bde66e0d7798403f54ddd41de41b8c645b62526e846bd89a27633c25
7
+ data.tar.gz: 632a14ef874f092a822855441dcbf7d94471eaba9416bee7659e6b1097c189c5337ff71ef048fb4f6908f31c2b40fbde0c287a03cc83678ec6d47847fc747039
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 Joshua Green
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
+ # Mott_MacDonald_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 "Mott_MacDonald_Theme"
16
+ ```
17
+
18
+ And add this line to your Jekyll site's `_config.yml`:
19
+
20
+ ```yaml
21
+ theme: Mott_MacDonald_Theme
22
+ ```
23
+
24
+ And then execute:
25
+
26
+ $ bundle
27
+
28
+ Or install it yourself as:
29
+
30
+ $ gem install Mott_MacDonald_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 `Mott_MacDonald_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,6 @@
1
+ {% comment %}
2
+ Placeholder to allow defining custom head, in principle, you can add anything here, e.g. favicons:
3
+
4
+ 1. Head over to https://realfavicongenerator.net/ to add your own favicons.
5
+ 2. Customize default _includes/custom-head.html in your source directory and insert the given code snippet.
6
+ {% endcomment %}
@@ -0,0 +1,20 @@
1
+ {%- if page.comments != false and jekyll.environment == "production" -%}
2
+
3
+ <div id="disqus_thread"></div>
4
+ <script>
5
+ var disqus_config = function () {
6
+ this.page.url = '{{ page.url | absolute_url }}';
7
+ this.page.identifier = '{{ page.url | absolute_url }}';
8
+ };
9
+
10
+ (function() {
11
+ var d = document, s = d.createElement('script');
12
+
13
+ s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
14
+
15
+ s.setAttribute('data-timestamp', +new Date());
16
+ (d.head || d.body).appendChild(s);
17
+ })();
18
+ </script>
19
+ <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
20
+ {%- endif -%}
@@ -0,0 +1,3 @@
1
+ <footer class="site-footer h-card">
2
+ <data class="u-url" href="{{ "/" | relative_url }}"></data>
3
+ </footer>
@@ -0,0 +1,9 @@
1
+ <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
2
+ <script>
3
+ window['ga-disable-{{ site.google_analytics }}'] = window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1";
4
+ window.dataLayer = window.dataLayer || [];
5
+ function gtag(){window.dataLayer.push(arguments);}
6
+ gtag('js', new Date());
7
+
8
+ gtag('config', '{{ site.google_analytics }}');
9
+ </script>
@@ -0,0 +1,16 @@
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
+ {%- seo -%}
6
+ <link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}">
7
+ <link rel="stylesheet" href="https://use.typekit.net/kgq1ypk.css">
8
+ {%- feed_meta -%}
9
+ {%- if jekyll.environment == 'production' and site.google_analytics -%}
10
+ {%- include google-analytics.html -%}
11
+ {%- endif -%}
12
+
13
+ {%- include custom-head.html -%}
14
+
15
+ </head>
16
+
@@ -0,0 +1,5 @@
1
+ <header class="site-header">
2
+ <div class="wrapper"> {%- assign default_paths = site.pages | map: "path" -%} {%- assign page_paths = site.header_pages | default: default_paths -%} {%- assign titles_size = site.pages | map: 'title' | join: '' | size -%} <a class="site-title" rel="author" href="{{ "/" | relative_url }}">
3
+ <img src="{{site.baseurl}}/assets/images/moata.png">
4
+ </a>
5
+ </header>
@@ -0,0 +1,21 @@
1
+ {%- assign social = site.minima.social_links -%}
2
+
3
+ <ul class="social-media-list">
4
+ {%- for glb in social.gitlab -%}{%- if glb.username and glb.instance -%}<li><a rel="me" href="https://{{ glb.instance | cgi_escape | escape}}/{{glb.username}}" target="_blank" title="{{ glb.username | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#gitlab' | relative_url }}"></use></svg></a></li>{%- endif -%}{%- endfor -%}
5
+ {%- if social.dribbble -%}<li><a rel="me" href="https://dribbble.com/{{ social.dribbble | cgi_escape | escape }}" target="_blank" title="{{ social.dribbble | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#dribbble' | relative_url }}"></use></svg></a></li>{%- endif -%}
6
+ {%- if social.facebook -%}<li><a rel="me" href="https://www.facebook.com/{{ social.facebook | cgi_escape | escape }}" target="_blank" title="{{ social.facebook | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#facebook' | relative_url }}"></use></svg></a></li>{%- endif -%}
7
+ {%- if social.flickr -%}<li><a rel="me" href="https://www.flickr.com/photos/{{ social.flickr | cgi_escape | escape }}" target="_blank" title="{{ social.flickr | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#flickr' | relative_url }}"></use></svg></a></li>{%- endif -%}
8
+ {%- if social.github -%}<li><a rel="me" href="https://github.com/{{ social.github | cgi_escape | escape }}" target="_blank" title="{{ social.github | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#github' | relative_url }}"></use></svg></a></li>{%- endif -%}
9
+ {%- if social.stackoverflow -%}<li><a rel="me" href="https://stackoverflow.com/users/{{ social.stackoverflow | cgi_escape | escape }}" target="_blank" title="{{ social.stackoverflow | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#stackoverflow' | relative_url }}"></use></svg></a></li>{%- endif -%}
10
+ {%- if social.instagram -%}<li><a rel="me" href="https://www.instagram.com/{{ social.instagram | cgi_escape | escape }}" target="_blank" title="{{ social.instagram | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#instagram' | relative_url }}"></use></svg></a></li>{%- endif -%}
11
+ {%- if social.linkedin -%}<li><a rel="me" href="https://www.linkedin.com/in/{{ social.linkedin | cgi_escape | escape }}" target="_blank" title="{{ social.linkedin | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#linkedin' | relative_url }}"></use></svg></a></li>{%- endif -%}
12
+ {%- if social.pinterest -%}<li><a rel="me" href="https://www.pinterest.com/{{ social.pinterest | cgi_escape | escape }}" target="_blank" title="{{ social.pinterest | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#pinterest' | relative_url }}"></use></svg></a></li>{%- endif -%}
13
+ {%- for mst in social.mastodon -%}{%- if mst.username and mst.instance -%}<li><a rel="me" href="https://{{ mst.instance | cgi_escape | escape}}/@{{mst.username}}" target="_blank" title="{{ mst.username | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#mastodon' | relative_url }}"></use></svg></a></li>{%- endif -%}{%- endfor -%}
14
+ {%- if social.twitter -%}<li><a rel="me" href="https://twitter.com/{{ social.twitter | cgi_escape | escape }}" target="_blank" title="{{ social.twitter | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#twitter' | relative_url }}"></use></svg></a></li>{%- endif -%}
15
+ {%- if social.youtube -%}<li><a rel="me" href="https://www.youtube.com/{{ social.youtube | cgi_escape | escape }}" target="_blank" title="{{ social.youtube | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#youtube' | relative_url }}"></use></svg></a></li>{%- endif -%}
16
+ {%- if social.youtube_channel -%}<li><a rel="me" href="https://www.youtube.com/channel/{{ social.youtube_channel | cgi_escape | escape }}" target="_blank" title="{{ social.youtube_channel_name | escape | default: 'YouTube' }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#youtube' | relative_url }}"></use></svg></a></li>{%- endif -%}
17
+ {%- if social.telegram -%}<li><a rel="me" href="https://t.me/{{ social.telegram | cgi_escape | escape }}" target="_blank" title="{{ social.telegram | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#telegram' | relative_url }}"></use></svg></a></li>{%- endif -%}
18
+ {%- if social.keybase -%}<li><a rel="me" href="https://keybase.io/{{ social.keybase | cgi_escape | escape }}" target="_blank" title="{{ social.keybase | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#keybase' | relative_url }}"></use></svg></a></li>{%- endif -%}
19
+ {%- if social.microdotblog -%}<li><a rel="me" href="https://micro.blog/{{ social.microdotblog | cgi_escape | escape }}" target="_blank" title="{{ social.microdotblog | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#microdotblog' | relative_url }}"></use></svg></a></li>{%- endif -%}
20
+ {%- if social.devto -%}<li><a href="https://dev.to/{{ social.devto | cgi_escape | escape }}" target="_blank" title="{{ social.devto | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#devto' | relative_url }}"></use></svg></a></li>{%- endif -%}
21
+ </ul>
@@ -0,0 +1,20 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ page.lang | default: site.lang | default: "en" }}">
3
+ {%- include head.html -%}
4
+
5
+ <body>
6
+ {%- include header.html -%}
7
+ {% if page.layout == 'home' or page.permalink == '/Design/' or page.permalink == '/UI-UX/' or page.permalink == '/Examples/' or page.permalink == '/Ideas/' %}
8
+ {%- include banner.html -%}
9
+ {%- endif -%}
10
+
11
+ <main class="page-content" aria-label="Content">
12
+ <div class="wrapper">
13
+ {{ content }}
14
+ </div>
15
+ </main>
16
+
17
+
18
+ </body>
19
+
20
+ </html>
@@ -0,0 +1,47 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ {%- include secondary-navigation.html -%}
5
+
6
+ <div class="home">
7
+ {{ content }} {% if site.paginate %} {% assign posts = paginator.posts %} {%
8
+ else %} {% assign posts = site.posts %} {% endif %} {%- if posts.size > 0 -%}
9
+ {%- if page.list_title -%}
10
+ <h2 class="post-list-heading">{{ page.list_title }}</h2>
11
+ {%- endif -%}
12
+ <ul class="post-list">
13
+ {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
14
+ {%- for post in site.posts -%} {%- include postcard.html -%} {%- endfor -%}
15
+ </ul>
16
+ {% if site.paginate %}
17
+ <div class="pager">
18
+ <ul class="pagination">
19
+ {%- if paginator.previous_page %}
20
+ <li>
21
+ <a
22
+ href="{{ paginator.previous_page_path | relative_url }}"
23
+ class="previous-page"
24
+ >{{ paginator.previous_page }}</a
25
+ >
26
+ </li>
27
+ {%- else %}
28
+ <li><div class="pager-edge">•</div></li>
29
+ {%- endif %}
30
+ <li><div class="current-page">{{ paginator.page }}</div></li>
31
+ {%- if paginator.next_page %}
32
+ <li>
33
+ <a
34
+ href="{{ paginator.next_page_path | relative_url }}"
35
+ class="next-page"
36
+ >{{ paginator.next_page }}</a
37
+ >
38
+ </li>
39
+ {%- else %}
40
+ <li><div class="pager-edge">•</div></li>
41
+ {%- endif %}
42
+ </ul>
43
+ </div>
44
+ {%- endif %} {%- endif -%}
45
+ </div>
46
+
47
+ {%- include right-column.html -%}
@@ -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,46 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {%- include secondary-navigation.html -%}
6
+
7
+ <article
8
+ class="post h-entry post-width"
9
+ itemscope
10
+ itemtype="http://schema.org/BlogPosting"
11
+ >
12
+ <header class="post-header">
13
+ <h1 class="post-title p-name post-page-width" itemprop="name headline">
14
+ {{ page.title | escape }}
15
+ </h1>
16
+ <p class="post-meta">
17
+ {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y"
18
+ -%} {%- if page.modified_date -%} ~ {%- assign mdate = page.modified_date
19
+ | date_to_xmlschema -%}
20
+ <time class="dt-modified" datetime="{{ mdate }}" itemprop="dateModified">
21
+ {{ mdate | date: date_format }}
22
+ </time>
23
+ {%- endif -%} {%- if page.author -%} • {% for author in page.author %}
24
+ <span itemprop="author" itemscope itemtype="http://schema.org/Person">
25
+ <span class="p-author h-card" itemprop="name">{{ author }}</span></span
26
+ >
27
+ {%- if forloop.last == false %}, {% endif -%} {% endfor %} {%- endif -%}
28
+ </p>
29
+ </header>
30
+
31
+ <div class="post-content e-content" itemprop="articleBody">{{ content }}</div>
32
+
33
+ {%- if site.disqus.shortname -%} {%- include disqus_comments.html -%} {%-
34
+ endif -%}
35
+ <time
36
+ class="dt-published"
37
+ datetime="{{ page.date | date_to_xmlschema }}"
38
+ itemprop="datePublished"
39
+ >
40
+ {{ page.date | date: date_format }}
41
+ </time>
42
+
43
+ <a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
44
+ </article>
45
+
46
+ {%- include right-column.html -%}
@@ -0,0 +1,302 @@
1
+ html {
2
+ font-size: $base-font-size;
3
+ }
4
+
5
+ /**
6
+ * Reset some basic elements
7
+ */
8
+ body,
9
+ h1,
10
+ h2,
11
+ h3,
12
+ h4,
13
+ h5,
14
+ h6,
15
+ p,
16
+ blockquote,
17
+ pre,
18
+ hr,
19
+ dl,
20
+ dd,
21
+ ol,
22
+ ul,
23
+ figure {
24
+ margin: 0;
25
+ padding: 0;
26
+ }
27
+
28
+ /**
29
+ * Basic styling
30
+ */
31
+ body {
32
+ font: $base-font-weight #{$base-font-size}/#{$base-line-height}
33
+ $base-font-family;
34
+ color: $primary-text;
35
+ background-color: $background-color;
36
+ -webkit-text-size-adjust: 100%;
37
+ -webkit-font-feature-settings: "kern" 1;
38
+ -moz-font-feature-settings: "kern" 1;
39
+ -o-font-feature-settings: "kern" 1;
40
+ font-feature-settings: "kern" 1;
41
+ font-kerning: normal;
42
+ display: flex;
43
+ min-height: 100vh;
44
+ flex-direction: column;
45
+ overflow-wrap: break-word;
46
+ }
47
+
48
+ /**
49
+ * Set `margin-bottom` to maintain vertical rhythm
50
+ */
51
+ h1,
52
+ h2,
53
+ h3,
54
+ h4,
55
+ h5,
56
+ h6,
57
+ p,
58
+ blockquote,
59
+ pre,
60
+ ul,
61
+ ol,
62
+ dl,
63
+ figure,
64
+ %vertical-rhythm {
65
+ margin-bottom: $spacing-unit / 2;
66
+ }
67
+
68
+ hr {
69
+ margin-top: $spacing-unit;
70
+ margin-bottom: $spacing-unit;
71
+ }
72
+
73
+ /**
74
+ * `main` element
75
+ */
76
+ main {
77
+ display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */
78
+ }
79
+
80
+ /**
81
+ * Images
82
+ */
83
+ img {
84
+ width: 100%;
85
+ height: 100%;
86
+ vertical-align: middle;
87
+ object-fit: cover;
88
+ object-position: center;
89
+ }
90
+
91
+ /**
92
+ * Figures
93
+ */
94
+ figure > img {
95
+ display: block;
96
+ }
97
+
98
+ figcaption {
99
+ font-size: $small-font-size;
100
+ }
101
+
102
+ /**
103
+ * Lists
104
+ */
105
+ ul,
106
+ ol {
107
+ margin-left: $spacing-unit;
108
+ }
109
+
110
+ li {
111
+ > ul,
112
+ > ol {
113
+ margin-bottom: 0;
114
+ }
115
+ }
116
+
117
+ /**
118
+ * Headings
119
+ */
120
+ h1 {
121
+ font-weight: 700;
122
+ }
123
+
124
+ h2,
125
+ h3,
126
+ h4,
127
+ h5,
128
+ h6 {
129
+ font-weight: $base-font-weight;
130
+ }
131
+
132
+ /**
133
+ * Links
134
+ */
135
+ a {
136
+ color: $link-base-color;
137
+ text-decoration: none;
138
+
139
+ &:visited {
140
+ // color: $link-visited-color;
141
+ }
142
+
143
+ &:hover {
144
+ color: $link-hover-color;
145
+ text-decoration: underline;
146
+ }
147
+
148
+ .social-media-list &:hover {
149
+ text-decoration: none;
150
+
151
+ .username {
152
+ text-decoration: underline;
153
+ }
154
+ }
155
+ }
156
+
157
+ /**
158
+ * Blockquotes
159
+ */
160
+ blockquote {
161
+ color: $brand-color;
162
+ border-left: 4px solid $border-color-01;
163
+ padding-left: $spacing-unit / 2;
164
+ @include relative-font-size(1.125);
165
+ font-style: italic;
166
+
167
+ > :last-child {
168
+ margin-bottom: 0;
169
+ }
170
+
171
+ i,
172
+ em {
173
+ font-style: normal;
174
+ }
175
+ }
176
+
177
+ /**
178
+ * Code formatting
179
+ */
180
+ pre,
181
+ code {
182
+ font-family: $code-font-family;
183
+ font-size: 0.9375em;
184
+ border: 1px solid $border-color-01;
185
+ border-radius: 3px;
186
+ background-color: $code-background-color;
187
+ }
188
+
189
+ code {
190
+ padding: 1px 5px;
191
+ }
192
+
193
+ pre {
194
+ padding: 8px 12px;
195
+ overflow-x: auto;
196
+
197
+ > code {
198
+ border: 0;
199
+ padding-right: 0;
200
+ padding-left: 0;
201
+ }
202
+ }
203
+
204
+ .highlight {
205
+ border-radius: 3px;
206
+ background: $code-background-color;
207
+ @extend %vertical-rhythm;
208
+
209
+ .highlighter-rouge & {
210
+ background: $code-background-color;
211
+ }
212
+ }
213
+
214
+ /**
215
+ * Wrapper
216
+ */
217
+ .wrapper {
218
+ display: flex;
219
+ flex-direction: row;
220
+ justify-content: stretch;
221
+ max-width: 100%;
222
+ // margin-right: -$spacing-unit;
223
+ // margin-left: -$spacing-unit;
224
+ // padding-right: $spacing-unit / 2;
225
+ padding-left: $spacing-unit / 2;
226
+ @extend %clearfix;
227
+
228
+ @media screen and (min-width: $on-large) {
229
+ max-width: 100%;
230
+ // padding-right: $spacing-unit;
231
+ padding-left: $spacing-unit;
232
+ }
233
+
234
+ @include media-query($on-palm) {
235
+ flex-direction: column;
236
+ }
237
+ }
238
+
239
+ /**
240
+ * Clearfix
241
+ */
242
+ %clearfix:after {
243
+ content: "";
244
+ display: table;
245
+ clear: both;
246
+ }
247
+
248
+ /**
249
+ * Icons
250
+ */
251
+
252
+ .orange {
253
+ color: #f66a0a;
254
+ }
255
+
256
+ .grey {
257
+ color: #828282;
258
+ }
259
+
260
+ .svg-icon {
261
+ width: 16px;
262
+ height: 16px;
263
+ display: inline-block;
264
+ fill: currentColor;
265
+ padding: 5px 3px 2px 5px;
266
+ vertical-align: text-bottom;
267
+ }
268
+
269
+ /**
270
+ * Tables
271
+ */
272
+ table {
273
+ margin-bottom: $spacing-unit;
274
+ width: 100%;
275
+ text-align: $table-text-align;
276
+ color: $table-text-color;
277
+ border-collapse: collapse;
278
+ border: 1px solid $table-border-color;
279
+ tr {
280
+ &:nth-child(even) {
281
+ background-color: $table-zebra-color;
282
+ }
283
+ }
284
+ th,
285
+ td {
286
+ padding: ($spacing-unit / 3) ($spacing-unit / 2);
287
+ }
288
+ th {
289
+ background-color: $table-header-bg-color;
290
+ border: 1px solid $table-header-border;
291
+ }
292
+ td {
293
+ border: 1px solid $table-border-color;
294
+ }
295
+
296
+ @include media-query($on-laptop) {
297
+ display: block;
298
+ overflow-x: auto;
299
+ -webkit-overflow-scrolling: touch;
300
+ -ms-overflow-style: -ms-autohiding-scrollbar;
301
+ }
302
+ }