jekyll-theme-puzzleduck 0.1.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -12
  3. data/_includes/disqus_comments.html +20 -0
  4. data/_includes/footer.html +8 -1
  5. data/_includes/google-analytics.html +11 -0
  6. data/_includes/head.html +19 -0
  7. data/_includes/header.html +32 -1
  8. data/_includes/icon-github.html +1 -0
  9. data/_includes/icon-github.svg +1 -0
  10. data/_includes/icon-twitter.html +1 -0
  11. data/_includes/icon-twitter.svg +1 -0
  12. data/_layouts/default.html +20 -4
  13. data/_layouts/home.html +26 -0
  14. data/_layouts/page.html +10 -4
  15. data/_layouts/post.html +21 -4
  16. data/_sass/minima.scss +49 -0
  17. data/_sass/minima/_base.scss +215 -0
  18. data/_sass/minima/_layout.scss +250 -0
  19. data/_sass/minima/_syntax-highlighting.scss +71 -0
  20. data/assets/css/materialize.css +8952 -0
  21. data/assets/css/materialize.min.css +16 -0
  22. data/assets/fonts/kirsty/kirsty bd it.ttf +0 -0
  23. data/assets/fonts/kirsty/kirsty ink.ttf +0 -0
  24. data/assets/fonts/kirsty/kirsty rg it.ttf +0 -0
  25. data/assets/fonts/kirsty/kirsty-bd.ttf +0 -0
  26. data/assets/fonts/kirsty/kirsty-rg.ttf +0 -0
  27. data/assets/fonts/kirsty/kirsty__.ttf +0 -0
  28. data/assets/fonts/kirsty/read-this.html +195 -0
  29. data/assets/fonts/kirsty/typodermic-eula-02-2014.pdf +0 -0
  30. data/assets/fonts/roboto/Roboto-Bold.woff +0 -0
  31. data/assets/fonts/roboto/Roboto-Bold.woff2 +0 -0
  32. data/assets/fonts/roboto/Roboto-Light.woff +0 -0
  33. data/assets/fonts/roboto/Roboto-Light.woff2 +0 -0
  34. data/assets/fonts/roboto/Roboto-Medium.woff +0 -0
  35. data/assets/fonts/roboto/Roboto-Medium.woff2 +0 -0
  36. data/assets/fonts/roboto/Roboto-Regular.woff +0 -0
  37. data/assets/fonts/roboto/Roboto-Regular.woff2 +0 -0
  38. data/assets/fonts/roboto/Roboto-Thin.woff +0 -0
  39. data/assets/fonts/roboto/Roboto-Thin.woff2 +0 -0
  40. data/assets/img/CfA_Logo_black.png +0 -0
  41. data/assets/img/CfA_Logo_black.xcf +0 -0
  42. data/assets/img/HTML_5.png +0 -0
  43. data/assets/img/HTML_5.xcf +0 -0
  44. data/assets/img/Haskell_Logo.png +0 -0
  45. data/assets/img/Haskell_Logo.xcf +0 -0
  46. data/assets/img/cards.png +0 -0
  47. data/assets/img/cards.xcf +0 -0
  48. data/assets/{duke.png → img/duke.png} +0 -0
  49. data/assets/img/duke.xcf +0 -0
  50. data/assets/img/fsf.png +0 -0
  51. data/assets/img/fsf.xcf +0 -0
  52. data/assets/img/gnu.png +0 -0
  53. data/assets/img/gnu.xcf +0 -0
  54. data/assets/img/hardware.png +0 -0
  55. data/assets/img/hardware.xcf +0 -0
  56. data/assets/img/openscad.png +0 -0
  57. data/assets/img/openscad.xcf +0 -0
  58. data/assets/img/reprap.png +0 -0
  59. data/assets/img/reprap.xcf +0 -0
  60. data/assets/img/right_to_know.png +0 -0
  61. data/assets/img/right_to_know.xcf +0 -0
  62. data/assets/img/tux.png +0 -0
  63. data/assets/img/tux.xcf +0 -0
  64. data/assets/js/materialize.js +8297 -0
  65. data/assets/js/materialize.min.js +10 -0
  66. data/assets/{puzzleduck.css → main.scss} +5 -2
  67. metadata +62 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4f2b3165fa22d1a815b5827b5b6970f412d528aa
4
- data.tar.gz: 383e7fbf23627448cba31fc245d539c6f0596ef0
3
+ metadata.gz: 7b93577decd30b5c8e28c3989ca41dff82d34658
4
+ data.tar.gz: e3aa730972f41b20fc233c236db93b51bba558f3
5
5
  SHA512:
6
- metadata.gz: c0d5051d4516ca9979391bed44698b7c9c33e59d7ab5d44cce31b52b75e71d251ac71b39234d4be0783c17c6ef081129a9d54c70116358de2040e7b0139d3c99
7
- data.tar.gz: 78d2f1c7b35d77a251658a0e0c959c683576d4288d8b0824c883de4f877f9b0f1bb56a7af22132bc4947d3cc468b17157d29b5b830bcce95a39c0d1e4b33c4bb
6
+ metadata.gz: ff7de11c63b0be9be987e8fd2ac21a43aff2109646e6a2bae7a8b72fd2058612b2159a03f8c967b962ccf4b56f09c694b0ed76688d21aa9cfed501870f447408
7
+ data.tar.gz: e71fcfb198faaffce687ce8d7bebdc2bc9772293b563535ac42cb1a65063fec7aad3e36fc9825e543527fb5b7992ca15186a993cccaf5b88d2983882be1cd71a
data/README.md CHANGED
@@ -4,7 +4,7 @@ This is the Jekyll theme for the PuZZleDucK.org blog.
4
4
 
5
5
  [Theme preview](https://puzzleduck.github.io/jekyll-theme-puzzleduck/)
6
6
 
7
- ![minima theme preview](/screenshot.png)
7
+ ![jekyll-theme-puzzleduck theme preview](/screenshot.png)
8
8
 
9
9
  ## Installation
10
10
 
@@ -29,24 +29,22 @@ Or install it yourself as:
29
29
  $ gem install jekyll-theme-puzzleduck
30
30
 
31
31
 
32
- ## About
33
-
34
- Based on Minima.
35
-
32
+ ## Additional configuration
36
33
 
37
- ## Usage
34
+ Configure additional links in _config.yml
38
35
 
39
- TODO: Write usage instructions here. Describe your available layouts, includes, and/or sass.
36
+ - linkedin_username
37
+ - android_username
38
+ - copyright_name
39
+ - copyright_email
40
+ - source_url
40
41
 
41
- ## Development
42
42
 
43
- To set up your environment to develop this theme, run `bundle install`.
43
+ ## About
44
44
 
45
- 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
+ Based on Minima and using Materialize.
46
46
 
47
- When your theme is released, only the files in `_layouts`, `_includes`, and `_sass` tracked with Git will be released.
48
47
 
49
48
  ## License
50
49
 
51
50
  The theme is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
52
-
@@ -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 %}
@@ -1 +1,8 @@
1
- <p>Footer</p>
1
+ <footer class="page-footer highlight title">
2
+ <div class="footer-copyright">
3
+ <div class="container">
4
+ © 2017 <a href="mailto:{{ site.copyright_email }}">{{ site.copyright_name }}</a>
5
+ <a class="grey-text text-lighten-4 right" target="_blank" href="{{ site.source_url }}">Site Source Code</a>
6
+ </div>
7
+ </div>
8
+ </footer>
@@ -0,0 +1,11 @@
1
+ <script>
2
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
3
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
4
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
5
+ })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
6
+
7
+ ga('create', '{{ site.google_analytics }}', 'auto');
8
+ ga('send', 'pageview');
9
+
10
+ </script>
11
+
@@ -0,0 +1,19 @@
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 href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
10
+ <link href='https://fonts.googleapis.com/css?family=Ubuntu' rel='stylesheet'>
11
+ <link type="text/css" rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/css/materialize.min.css" media="screen,projection"/>
12
+ <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
13
+ <link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
14
+ <link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
15
+
16
+ {% if jekyll.environment == 'production' and site.google_analytics %}
17
+ {% include google-analytics.html %}
18
+ {% endif %}
19
+ </head>
@@ -1 +1,32 @@
1
- <p>Header</p>
1
+ <header class="site-header" 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
+ <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js" defer></script>
8
+ <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/js/materialize.min.js" defer></script>
9
+
10
+ <div class="col card-panel highlight title">
11
+ <ul id="dropDown" class="dropdown-content primary">
12
+ <li><a target="_blank" href="https://www.linkedin.com/in/{{ site.linkedin_username }}">LinkedIn</a></li>
13
+ <li class="divider"></li>
14
+ <li><a target="_blank" href="https://github.com/{{ site.github_username }}">GitHub</a></li>
15
+ <li class="divider"></li>
16
+ <li><a target="_blank" href="https://twitter.com/{{ site.twitter_username }}">Twitter</a></li>
17
+ <li class="divider"></li>
18
+ <li><a target="_blank" href="https://play.google.com/store/apps/developer?id={{ site.android_username }}">Android</a></li>
19
+ </ul>
20
+ <nav>
21
+ <div class="nav-wrapper primary">
22
+ <a href="{{ site.url }}" class="brand-logo center">{{ site.title }}</a>
23
+ <ul id="nav-mobile" class="right">
24
+ <li style="width: 300px !important"><a class="dropdown-button" href="#!" data-activates="dropDown"><i class="material-icons right">menu</i></a></li> <!-- Dropdown Trigger -->
25
+ </ul>
26
+ </div>
27
+ </nav>
28
+ <h5 class="white-text center">{{ site.description }}</h5>
29
+ </div>
30
+
31
+ </div>
32
+ </header>
@@ -0,0 +1 @@
1
+ <a href="https://github.com/{{ include.username }}"><span class="icon icon--github">{% include icon-github.svg %}</span><span class="username">{{ include.username }}</span></a>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 16 16" width="16px" height="16px"><path fill="#828282" d="M7.999,0.431c-4.285,0-7.76,3.474-7.76,7.761 c0,3.428,2.223,6.337,5.307,7.363c0.388,0.071,0.53-0.168,0.53-0.374c0-0.184-0.007-0.672-0.01-1.32 c-2.159,0.469-2.614-1.04-2.614-1.04c-0.353-0.896-0.862-1.135-0.862-1.135c-0.705-0.481,0.053-0.472,0.053-0.472 c0.779,0.055,1.189,0.8,1.189,0.8c0.692,1.186,1.816,0.843,2.258,0.645c0.071-0.502,0.271-0.843,0.493-1.037 C4.86,11.425,3.049,10.76,3.049,7.786c0-0.847,0.302-1.54,0.799-2.082C3.768,5.507,3.501,4.718,3.924,3.65 c0,0,0.652-0.209,2.134,0.796C6.677,4.273,7.34,4.187,8,4.184c0.659,0.003,1.323,0.089,1.943,0.261 c1.482-1.004,2.132-0.796,2.132-0.796c0.423,1.068,0.157,1.857,0.077,2.054c0.497,0.542,0.798,1.235,0.798,2.082 c0,2.981-1.814,3.637-3.543,3.829c0.279,0.24,0.527,0.713,0.527,1.437c0,1.037-0.01,1.874-0.01,2.129 c0,0.208,0.14,0.449,0.534,0.373c3.081-1.028,5.302-3.935,5.302-7.362C15.76,3.906,12.285,0.431,7.999,0.431z"/></svg>
@@ -0,0 +1 @@
1
+ <a href="https://twitter.com/{{ include.username }}"><span class="icon icon--twitter">{% include icon-twitter.svg %}</span><span class="username">{{ include.username }}</span></a>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 16 16" width="16px" height="16px"><path fill="#828282" d="M15.969,3.058c-0.586,0.26-1.217,0.436-1.878,0.515c0.675-0.405,1.194-1.045,1.438-1.809c-0.632,0.375-1.332,0.647-2.076,0.793c-0.596-0.636-1.446-1.033-2.387-1.033c-1.806,0-3.27,1.464-3.27,3.27 c0,0.256,0.029,0.506,0.085,0.745C5.163,5.404,2.753,4.102,1.14,2.124C0.859,2.607,0.698,3.168,0.698,3.767 c0,1.134,0.577,2.135,1.455,2.722C1.616,6.472,1.112,6.325,0.671,6.08c0,0.014,0,0.027,0,0.041c0,1.584,1.127,2.906,2.623,3.206 C3.02,9.402,2.731,9.442,2.433,9.442c-0.211,0-0.416-0.021-0.615-0.059c0.416,1.299,1.624,2.245,3.055,2.271 c-1.119,0.877-2.529,1.4-4.061,1.4c-0.264,0-0.524-0.015-0.78-0.046c1.447,0.928,3.166,1.469,5.013,1.469 c6.015,0,9.304-4.983,9.304-9.304c0-0.142-0.003-0.283-0.009-0.423C14.976,4.29,15.531,3.714,15.969,3.058z"/></svg>
@@ -1,4 +1,20 @@
1
- {% include header.html %}
2
- <p>default</p>
3
- {{ content }}
4
- {% include footer.html %}
1
+ <!DOCTYPE html>
2
+ <html lang="{{ page.lang | default: site.lang | default: "en" }}">
3
+
4
+ {% include head.html %}
5
+
6
+ <body>
7
+
8
+ {% include header.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,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>
data/_layouts/page.html CHANGED
@@ -1,8 +1,14 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
+ <article class="post">
4
5
 
5
- {% include header.html %}
6
- <p>page</p>
7
- {{ content }}
8
- {% include footer.html %}
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>
data/_layouts/post.html CHANGED
@@ -1,8 +1,25 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
+ <article class="post" itemscope itemtype="http://schema.org/BlogPosting">
4
5
 
5
- {% include header.html %}
6
- <p>post</p>
7
- {{ content }}
8
- {% include footer.html %}
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
+
22
+ {% if site.disqus.shortname %}
23
+ {% include disqus_comments.html %}
24
+ {% endif %}
25
+ </article>
data/_sass/minima.scss ADDED
@@ -0,0 +1,49 @@
1
+ @charset "utf-8";
2
+
3
+ // Define defaults for each variable.
4
+
5
+ $base-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
6
+ $base-font-size: 16px !default;
7
+ $base-font-weight: 400 !default;
8
+ $small-font-size: $base-font-size * 0.875 !default;
9
+ $base-line-height: 1.5 !default;
10
+
11
+ $spacing-unit: 30px !default;
12
+
13
+ $text-color: #111 !default;
14
+ $background-color: #fdfdfd !default;
15
+ $brand-color: #2a7ae2 !default;
16
+
17
+ $grey-color: #828282 !default;
18
+ $grey-color-light: lighten($grey-color, 40%) !default;
19
+ $grey-color-dark: darken($grey-color, 25%) !default;
20
+
21
+ // Width of the content area
22
+ $content-width: 800px !default;
23
+
24
+ $on-palm: 600px !default;
25
+ $on-laptop: 800px !default;
26
+
27
+ // Use media queries like this:
28
+ // @include media-query($on-palm) {
29
+ // .wrapper {
30
+ // padding-right: $spacing-unit / 2;
31
+ // padding-left: $spacing-unit / 2;
32
+ // }
33
+ // }
34
+ @mixin media-query($device) {
35
+ @media screen and (max-width: $device) {
36
+ @content;
37
+ }
38
+ }
39
+
40
+ @mixin relative-font-size($ratio) {
41
+ font-size: $base-font-size * $ratio;
42
+ }
43
+
44
+ // Import partials.
45
+ @import
46
+ "minima/base",
47
+ "minima/layout",
48
+ "minima/syntax-highlighting"
49
+ ;
@@ -0,0 +1,215 @@
1
+ /**
2
+ * Reset some basic elements
3
+ */
4
+ body, h1, h2, h3, h4, h5, h6,
5
+ p, blockquote, pre, hr,
6
+ dl, dd, ol, ul, figure {
7
+ margin: 0;
8
+ padding: 0;
9
+ }
10
+
11
+
12
+
13
+ /**
14
+ * Basic styling
15
+ */
16
+ body {
17
+ font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
18
+ color: $text-color;
19
+ background-color: $background-color;
20
+ -webkit-text-size-adjust: 100%;
21
+ -webkit-font-feature-settings: "kern" 1;
22
+ -moz-font-feature-settings: "kern" 1;
23
+ -o-font-feature-settings: "kern" 1;
24
+ font-feature-settings: "kern" 1;
25
+ font-kerning: normal;
26
+ }
27
+
28
+
29
+
30
+ /**
31
+ * Set `margin-bottom` to maintain vertical rhythm
32
+ */
33
+ h1, h2, h3, h4, h5, h6,
34
+ p, blockquote, pre,
35
+ ul, ol, dl, figure,
36
+ %vertical-rhythm {
37
+ margin-bottom: $spacing-unit / 2;
38
+ }
39
+
40
+
41
+
42
+ /**
43
+ * Images
44
+ */
45
+ img {
46
+ max-width: 100%;
47
+ vertical-align: middle;
48
+ }
49
+
50
+
51
+
52
+ /**
53
+ * Figures
54
+ */
55
+ figure > img {
56
+ display: block;
57
+ }
58
+
59
+ figcaption {
60
+ font-size: $small-font-size;
61
+ }
62
+
63
+
64
+
65
+ /**
66
+ * Lists
67
+ */
68
+ ul, ol {
69
+ margin-left: $spacing-unit;
70
+ }
71
+
72
+ li {
73
+ > ul,
74
+ > ol {
75
+ margin-bottom: 0;
76
+ }
77
+ }
78
+
79
+
80
+
81
+ /**
82
+ * Headings
83
+ */
84
+ h1, h2, h3, h4, h5, h6 {
85
+ font-weight: $base-font-weight;
86
+ }
87
+
88
+
89
+
90
+ /**
91
+ * Links
92
+ */
93
+ a {
94
+ color: $brand-color;
95
+ text-decoration: none;
96
+
97
+ &:visited {
98
+ color: darken($brand-color, 15%);
99
+ }
100
+
101
+ &:hover {
102
+ color: $text-color;
103
+ text-decoration: underline;
104
+ }
105
+
106
+ .social-media-list &:hover {
107
+ text-decoration: none;
108
+
109
+ .username {
110
+ text-decoration: underline;
111
+ }
112
+ }
113
+ }
114
+
115
+
116
+ /**
117
+ * Blockquotes
118
+ */
119
+ blockquote {
120
+ color: $grey-color;
121
+ border-left: 4px solid $grey-color-light;
122
+ padding-left: $spacing-unit / 2;
123
+ @include relative-font-size(1.125);
124
+ letter-spacing: -1px;
125
+ font-style: italic;
126
+
127
+ > :last-child {
128
+ margin-bottom: 0;
129
+ }
130
+ }
131
+
132
+
133
+
134
+ /**
135
+ * Code formatting
136
+ */
137
+ pre,
138
+ code {
139
+ @include relative-font-size(0.9375);
140
+ border: 1px solid $grey-color-light;
141
+ border-radius: 3px;
142
+ background-color: #eef;
143
+ }
144
+
145
+ code {
146
+ padding: 1px 5px;
147
+ }
148
+
149
+ pre {
150
+ padding: 8px 12px;
151
+ overflow-x: auto;
152
+
153
+ > code {
154
+ border: 0;
155
+ padding-right: 0;
156
+ padding-left: 0;
157
+ }
158
+ }
159
+
160
+
161
+
162
+ /**
163
+ * Wrapper
164
+ */
165
+ .wrapper {
166
+ max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
167
+ max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
168
+ margin-right: auto;
169
+ margin-left: auto;
170
+ padding-right: $spacing-unit;
171
+ padding-left: $spacing-unit;
172
+ @extend %clearfix;
173
+
174
+ @include media-query($on-laptop) {
175
+ max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
176
+ max-width: calc(#{$content-width} - (#{$spacing-unit}));
177
+ padding-right: $spacing-unit / 2;
178
+ padding-left: $spacing-unit / 2;
179
+ }
180
+ }
181
+
182
+
183
+
184
+ /**
185
+ * Clearfix
186
+ */
187
+ %clearfix:after {
188
+ content: "";
189
+ display: table;
190
+ clear: both;
191
+ }
192
+
193
+
194
+
195
+ /**
196
+ * Icons
197
+ */
198
+ .icon > svg {
199
+ display: inline-block;
200
+ vertical-align: middle;
201
+
202
+ path {
203
+ fill: $grey-color;
204
+ }
205
+ }
206
+
207
+ .social-media-list {
208
+ .icon {
209
+ padding-right: 5px;
210
+ }
211
+
212
+ li + li {
213
+ padding-top: 5px;
214
+ }
215
+ }