jekyll-theme-dml 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +7 -0
  2. data/404.md +12 -0
  3. data/LICENSE.txt +22 -0
  4. data/README.md +133 -0
  5. data/_data/authors.yml +10 -0
  6. data/_data/config.yml +10 -0
  7. data/_data/localization.yml +14 -0
  8. data/_data/projects.yml +10 -0
  9. data/_includes/author.html +23 -0
  10. data/_includes/date.html +11 -0
  11. data/_includes/disqus_comments.html +23 -0
  12. data/_includes/footer.html +57 -0
  13. data/_includes/google-analytics.html +9 -0
  14. data/_includes/head.html +23 -0
  15. data/_includes/header.html +38 -0
  16. data/_includes/icon-facebook.html +11 -0
  17. data/_includes/icon-facebook.svg +1 -0
  18. data/_includes/icon-feed.html +11 -0
  19. data/_includes/icon-feed.svg +1 -0
  20. data/_includes/icon-github.html +11 -0
  21. data/_includes/icon-github.svg +1 -0
  22. data/_includes/icon-menu.svg +5 -0
  23. data/_includes/icon-twitter.html +11 -0
  24. data/_includes/icon-twitter.svg +1 -0
  25. data/_includes/localized_string.html +3 -0
  26. data/_layouts/authors.html +36 -0
  27. data/_layouts/blog.html +60 -0
  28. data/_layouts/default.html +19 -0
  29. data/_layouts/home.html +3 -0
  30. data/_layouts/lang_blog.html +38 -0
  31. data/_layouts/lang_chooser.html +26 -0
  32. data/_layouts/page.html +14 -0
  33. data/_layouts/post.html +51 -0
  34. data/_layouts/projects.html +32 -0
  35. data/_sass/jekyll-theme-dml.scss +53 -0
  36. data/_sass/jekyll-theme-dml/_base.scss +231 -0
  37. data/_sass/jekyll-theme-dml/_layout.scss +304 -0
  38. data/_sass/jekyll-theme-dml/_syntax-highlighting.scss +71 -0
  39. data/assets/icons/icon-facebook.png +0 -0
  40. data/assets/icons/icon-feed.png +0 -0
  41. data/assets/icons/icon-github.png +0 -0
  42. data/assets/icons/icon-menu.png +0 -0
  43. data/assets/icons/icon-twitter.png +0 -0
  44. data/assets/main.scss +5 -0
  45. metadata +130 -0
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 16 16" height="16" width="16"><g transform="translate(0 -1036.4)"><path fill="#828282" d="m3.4046 1050.5a1.5674 1.5674 0 0 1 -1.5674 1.5673 1.5674 1.5674 0 0 1 -1.5674 -1.5673 1.5674 1.5674 0 0 1 1.5674 -1.5674 1.5674 1.5674 0 0 1 1.5674 1.5674z"/><path fill="#828282" d="m0.25 1043.1c5.8823-0.8432 9.8419 3.4038 8.9683 9.0982h-3.078c0.71221-2.681-0.4472-6.9843-5.8904-5.9334z"/><path fill="#828282" d="m0.25 1039.9c8.1424-0.7091 12.783 4.9201 12.22 12.277h3.2246c0.82595-10.679-7.7278-16.358-15.445-15.6z"/></g></svg>
@@ -0,0 +1,11 @@
1
+ {% assign bitmap_mode = site.data.config.bitmap_mode | default: site.bitmap_mode %}
2
+ <a href="https://github.com/{{ include.username }}">
3
+ <span class="icon icon--github">
4
+ {% if bitmap_mode == true %}
5
+ <img src="/assets/icons/icon-github.png"/>
6
+ {% else %}
7
+ {% include icon-github.svg %}
8
+ {% endif %}
9
+ </span>
10
+ <span class="username">{{ include.username }}</span>
11
+ </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,5 @@
1
+ <svg viewBox="0 0 18 15" width="18px" height="15px">
2
+ <path fill="#424242" d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.031C17.335,0,18,0.665,18,1.484L18,1.484z"/>
3
+ <path fill="#424242" d="M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0c0-0.82,0.665-1.484,1.484-1.484 h15.031C17.335,6.031,18,6.696,18,7.516L18,7.516z"/>
4
+ <path fill="#424242" d="M18,13.516C18,14.335,17.335,15,16.516,15H1.484C0.665,15,0,14.335,0,13.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.031C17.335,12.031,18,12.696,18,13.516L18,13.516z"/>
5
+ </svg>
@@ -0,0 +1,11 @@
1
+ {% assign bitmap_mode = site.data.config.bitmap_mode | default: site.theme_config.bitmap_mode %}
2
+ <a href="https://twitter.com/{{ include.username }}">
3
+ <span class="icon icon--twitter">
4
+ {% if bitmap_mode == true %}
5
+ <img src="/assets/icons/icon-twitter.png"/>
6
+ {% else %}
7
+ {% include icon-twitter.svg %}
8
+ {% endif %}
9
+ </span>
10
+ <span class="username">{{ include.username }}</span>
11
+ </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>
@@ -0,0 +1,3 @@
1
+ {% assign string = include.string | downcase | replace: " ", "_" %}
2
+ {% assign lang = include.lang | default: page.lang %}
3
+ {{ site.data.localization.strings[string][lang] | default: include.string }}
@@ -0,0 +1,36 @@
1
+ ---
2
+ layout: page
3
+ ---
4
+ <div class="post-content">
5
+ {{ content }}
6
+ </div>
7
+
8
+ {% assign default_lang = site.lang | default: "en" %}
9
+ {% assign lang = page.lang | default: default_lang %}
10
+
11
+ {% for author in site.data.authors %}
12
+ <h4>{% if author[1].image %}<img src="{{ author[1].image }}" class="user-image"/>{% endif %}<span class="user-name">{{ author[1].name }}</span></h4>
13
+
14
+ <ul>
15
+ {% if author[1].description %}
16
+ {% if author[1].description.first %}
17
+ <li>{% include localized_string.html string="description" %}: {{ author[1].description[lang] | default: author[1].description[default_lang] }}</li>
18
+ {% else %}
19
+ <li>{% include localized_string.html string="description" %}: {{ author[1].description }}</li>
20
+ {% endif %}
21
+ {% endif %}
22
+
23
+ {% if author[1].bio %}
24
+ <li>{% include localized_string.html string="bio" %}: {{ author[1].bio }}</li>
25
+ {% endif %}
26
+
27
+ {% if author[1].links.first %}
28
+ <li>{% include localized_string.html string="links" %}:</li>
29
+ <ul>
30
+ {% for author_link in author[1].links %}
31
+ <li>{{ author_link[0] }}: <a href="{{ author_link[1] }}">{{ author_link[1] }}</a></li>
32
+ {% endfor %}
33
+ </ul>
34
+ {% endif %}
35
+ </ul>
36
+ {% endfor %}
@@ -0,0 +1,60 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <div class="home">
5
+
6
+ <header class="page-header">
7
+ <h1 class="page-heading">{% include localized_string.html string="Posts" %}</h1>
8
+ </header>
9
+
10
+ {{ content }}
11
+
12
+ <ul class="post-list">
13
+ {% assign posts = paginator.posts | default: site.posts %}
14
+ {% for post in posts %}
15
+ <li>
16
+ <span class="post-meta">
17
+ {% include date.html date=post.date %}
18
+ {% include author.html author=post.author %}
19
+ </span>
20
+
21
+ <h2>
22
+ <a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
23
+ </h2>
24
+
25
+ <p>
26
+ {% assign excerpt = post.excerpt | strip_html %}
27
+ {% assign size = post.content | strip_html | size %}
28
+ {{ excerpt }}
29
+ {% if excerpt.size < size %}
30
+ ... <a href="{{ post.url | relative_url }}">{% include localized_string.html string="read more" %}</a>
31
+ {% endif %}
32
+ </p>
33
+ </li>
34
+ {% endfor %}
35
+ </ul>
36
+
37
+ {% if paginator.total_pages > 1 %}
38
+ <div class="pagination">
39
+ {% if paginator.previous_page %}
40
+ <a href="{{ paginator.previous_page_path }}" class="previous">&laquo; {% include localized_string.html string="Previous" %}</a>
41
+ {% else %}
42
+ <span class="previous disabled">&laquo; {% include localized_string.html string="Previous" %}</span>
43
+ {% endif %}
44
+ <span class="page-number">
45
+ {% for page in (1..paginator.total_pages) %}
46
+ {% if paginator.page == page %}
47
+ <span class="page-link disabled">{{ page }}</span>
48
+ {% else %}
49
+ <a href="{{ site.paginate_path | replace: ':num', page | replace: 'page1/', '' }}" class="page-link">{{ page }}</a>
50
+ {% endif %}
51
+ {% endfor %}
52
+ </span>
53
+ {% if paginator.next_page %}
54
+ <a href="{{ paginator.next_page_path }}" class="next">{% include localized_string.html string="Next" %} &raquo;</a>
55
+ {% else %}
56
+ <span class="next disabled">{% include localized_string.html string="Next" %} &raquo;</span>
57
+ {% endif %}
58
+ </div>
59
+ {% endif %}
60
+ </div>
@@ -0,0 +1,19 @@
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
+ </html>
@@ -0,0 +1,3 @@
1
+ ---
2
+ layout: blog
3
+ ---
@@ -0,0 +1,38 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <div class="home">
5
+
6
+ {% assign default_lang = site.lang | default: "en" %}
7
+ {% assign page_lang = page.lang | default: default_lang %}
8
+ <header class="page-header">
9
+ <h1 class="page-heading">{% include localized_string.html string="Posts" %}</h1>
10
+ </header>
11
+
12
+ {{ content }}
13
+
14
+ <ul class="post-list">
15
+ {% assign posts = site.posts | where: "lang", page_lang %}
16
+ {% for post in posts %}
17
+ <li>
18
+ <span class="post-meta">
19
+ {% include date.html date=post.date %}
20
+ {% include author.html author=post.author %}
21
+ </span>
22
+
23
+ <h2>
24
+ <a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
25
+ </h2>
26
+
27
+ <p>
28
+ {% assign excerpt = post.excerpt | strip_html %}
29
+ {% assign size = post.content | strip_html | size %}
30
+ {{ excerpt }}
31
+ {% if excerpt.size < size %}
32
+ ... <a href="{{ post.url | relative_url }}">{% include localized_string.html string="read more" %}</a>
33
+ {% endif %}
34
+ </p>
35
+ </li>
36
+ {% endfor %}
37
+ </ul>
38
+ </div>
@@ -0,0 +1,26 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <div class="home">
5
+
6
+ {% assign langs = site.data.config.langs | default: site.theme_config.langs %}
7
+ {% assign default_lang = site.lang | default: "en" %}
8
+ <header class="page-header">
9
+ <h1 class="page-heading">{% include localized_string.html string="Choose Language" lang=lang %}</h1>
10
+ </header>
11
+ <ul class="lang-list">
12
+ {% if langs %}
13
+ {% for lang in langs %}
14
+ <li>
15
+ <a href="{{ lang[0] | relative_url }}">{{ lang[1] | default: lang[0] }}</a>
16
+ </li>
17
+ {% endfor %}
18
+ {% else %}
19
+ <li>
20
+ <a href="{{ '/en' | relative_url }}">english</a>
21
+ </li>
22
+ {% endif %}
23
+ </ul>
24
+
25
+ {{ content }}
26
+ </div>
@@ -0,0 +1,14 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <article class="post">
5
+
6
+ <header class="page-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,51 @@
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
+ {% include date.html date=page.date %}
11
+ </time>
12
+ {% include author.html author=page.author %}
13
+ </p>
14
+ </header>
15
+
16
+ <div class="post-content" itemprop="articleBody">
17
+ {{ content }}
18
+ </div>
19
+ </article>
20
+
21
+ <!-- prev/next links -->
22
+ <div class="pagination">
23
+ {% for post in site.posts %}
24
+ {% if post.lang == page.lang %}
25
+ {% if prev %}
26
+ <a href="{{ post.url }}" class="previous">&laquo; {% include localized_string.html string="Previous" %}</a>
27
+ {% endif %}
28
+ {% assign prev = false %}
29
+ {% if post.id == page.id %}
30
+ {% assign prev = true %}
31
+ {% endif %}
32
+ {% endif %}
33
+ {% endfor %}
34
+
35
+ {% for post in site.posts reversed %}
36
+ {% if post.lang == page.lang %}
37
+ {% if next %}
38
+ <a href="{{ post.url }}" class="next">{% include localized_string.html string="Next" %} &raquo;</a>
39
+ {% break %}
40
+ {% endif %}
41
+ {% assign next = false %}
42
+ {% if post.id == page.id %}
43
+ {% assign next = true %}
44
+ {% endif %}
45
+ {% endif %}
46
+ {% endfor %}
47
+ </div>
48
+
49
+ {% if site.disqus.shortname %}
50
+ {% include disqus_comments.html %}
51
+ {% endif %}
@@ -0,0 +1,32 @@
1
+ ---
2
+ layout: page
3
+ ---
4
+ <div class="post-content">
5
+ {{ content }}
6
+ </div>
7
+
8
+ {% assign default_lang = site.lang | default: "en" %}
9
+ {% assign lang = page.lang | default: default_lang %}
10
+
11
+ {% for project in site.data.projects %}
12
+ {% if project[1].link %}
13
+ <h4 id="{{ project[0] }}"><a href="{{ project[1].link[lang] | default: project[1].link }}">{{ project[1].name | default: project[0] }}</a></h4>
14
+ {% else %}
15
+ <h4>{{ project[1].name | default: project[0] }}</h4>
16
+ {% endif %}
17
+
18
+ <ul>
19
+ {% if project[1].description %}
20
+ {% if project[1].description.first %}
21
+ <li>{% include localized_string.html string="description" %}:
22
+ {{ project[1].description[lang] | default: project[1].description[default_lang] }}</li>
23
+ {% else %}
24
+ <li>{% include localized_string.html string="description" %}: {{ project[1].description }}</li>
25
+ {% endif %}
26
+ {% endif %}
27
+
28
+ {% if project[1].url %}
29
+ <li>{% include localized_string.html string="url" %}: <a href="{{ project[1].url }}">{{ project[1].url }}</a></li>
30
+ {% endif %}
31
+ </ul>
32
+ {% endfor %}
@@ -0,0 +1,53 @@
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: #fff !default; //#111 !default;
14
+ $background-color: #282828 !default; //#fdfdfd !default;
15
+ $brand-color: #800 !default; //#2a7ae2 !default;
16
+
17
+ $grey-color: #7b7b7b !default; //#828282 !default;
18
+ $grey-color-light: #bbb !default; //lighten($grey-color, 40%) !default;
19
+ $grey-color-dark: #666 !default; //darken($grey-color, 25%) !default;
20
+
21
+ $border-color: darken($grey-color, 28%) !default;
22
+ $border-color-dark: darken($grey-color-dark, 28%) !default; //#464646 !default;
23
+ $border-color-light: darken($grey-color-light, 28%) !default;
24
+
25
+ // Width of the content area
26
+ $content-width: 800px !default;
27
+
28
+ $on-palm: 600px !default;
29
+ $on-laptop: 800px !default;
30
+
31
+ // Use media queries like this:
32
+ // @include media-query($on-palm) {
33
+ // .wrapper {
34
+ // padding-right: $spacing-unit / 2;
35
+ // padding-left: $spacing-unit / 2;
36
+ // }
37
+ // }
38
+ @mixin media-query($device) {
39
+ @media screen and (max-width: $device) {
40
+ @content;
41
+ }
42
+ }
43
+
44
+ @mixin relative-font-size($ratio) {
45
+ font-size: $base-font-size * $ratio;
46
+ }
47
+
48
+ // Import partials.
49
+ @import
50
+ "jekyll-theme-dml/base",
51
+ "jekyll-theme-dml/layout",
52
+ "jekyll-theme-dml/syntax-highlighting"
53
+ ;
@@ -0,0 +1,231 @@
1
+ /**
2
+ * Correct tag display mode on older browsers
3
+ */
4
+ main { display: block; }
5
+
6
+
7
+ /**
8
+ * Reset some basic elements
9
+ */
10
+ body, h1, h2, h3, h4, h5, h6,
11
+ p, blockquote, pre, hr,
12
+ dl, dd, ol, ul, figure {
13
+ margin: 0;
14
+ padding: 0;
15
+ }
16
+
17
+
18
+
19
+ /**
20
+ * Basic styling
21
+ */
22
+ body {
23
+ font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
24
+ color: $text-color;
25
+ background-color: $background-color;
26
+ -webkit-text-size-adjust: 100%;
27
+ -webkit-font-feature-settings: "kern" 1;
28
+ -moz-font-feature-settings: "kern" 1;
29
+ -o-font-feature-settings: "kern" 1;
30
+ font-feature-settings: "kern" 1;
31
+ font-kerning: normal;
32
+ }
33
+
34
+
35
+
36
+ /**
37
+ * Set `margin-bottom` to maintain vertical rhythm
38
+ */
39
+ h1, h2, h3, h4, h5, h6,
40
+ p, blockquote, pre,
41
+ ul, ol, dl, figure,
42
+ %vertical-rhythm {
43
+ margin-bottom: $spacing-unit / 2;
44
+ }
45
+
46
+ hr {
47
+ margin-bottom: $spacing-unit / 2;
48
+ }
49
+
50
+ h1, h2, h3, h4, h5, h6 {
51
+ & + hr {
52
+ margin-top: -$spacing-unit / 2;
53
+ }
54
+ }
55
+
56
+
57
+ /**
58
+ * Images
59
+ */
60
+ img {
61
+ max-width: 100%;
62
+ vertical-align: middle;
63
+ }
64
+
65
+
66
+
67
+ /**
68
+ * Figures
69
+ */
70
+ figure > img {
71
+ display: block;
72
+ }
73
+
74
+ figcaption {
75
+ font-size: $small-font-size;
76
+ }
77
+
78
+
79
+
80
+ /**
81
+ * Lists
82
+ */
83
+ ul, ol {
84
+ margin-left: $spacing-unit;
85
+ }
86
+
87
+ li {
88
+ > ul,
89
+ > ol {
90
+ margin-bottom: 0;
91
+ }
92
+ }
93
+
94
+
95
+
96
+ /**
97
+ * Headings
98
+ */
99
+ h1, h2, h3, h4, h5, h6 {
100
+ font-weight: $base-font-weight;
101
+ }
102
+
103
+
104
+
105
+ /**
106
+ * Links
107
+ */
108
+ a {
109
+ color: $grey-color-light; //$brand-color;
110
+ text-decoration: none;
111
+
112
+ &:visited {
113
+ color: current-color
114
+ }
115
+
116
+ &:hover {
117
+ color: $grey-color; //$text-color;
118
+ text-decoration: underline;
119
+ }
120
+
121
+ .social-media-list &:hover {
122
+ text-decoration: none;
123
+
124
+ .username {
125
+ text-decoration: underline;
126
+ }
127
+ }
128
+ }
129
+
130
+
131
+ /**
132
+ * Blockquotes
133
+ */
134
+ blockquote {
135
+ color: $grey-color;
136
+ border-left: 4px solid $grey-color-light;
137
+ padding-left: $spacing-unit / 2;
138
+ @include relative-font-size(1.125);
139
+ letter-spacing: -1px;
140
+ font-style: italic;
141
+
142
+ > :last-child {
143
+ margin-bottom: 0;
144
+ }
145
+ }
146
+
147
+
148
+
149
+ /**
150
+ * Code formatting
151
+ */
152
+ pre,
153
+ code {
154
+ @include relative-font-size(0.9375);
155
+ border: 1px solid $grey-color-dark; //$grey-color-light;
156
+ border-radius: 3px;
157
+ background-color: #222; //#eef;
158
+ }
159
+
160
+ code {
161
+ padding: 1px 5px;
162
+ }
163
+
164
+ pre {
165
+ padding: 8px 12px;
166
+ overflow-x: auto;
167
+
168
+ > code {
169
+ border: 0;
170
+ padding-right: 0;
171
+ padding-left: 0;
172
+ }
173
+ }
174
+
175
+
176
+
177
+ /**
178
+ * Wrapper
179
+ */
180
+ .wrapper {
181
+ max-width: 740px;
182
+ max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
183
+ max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
184
+ margin-right: auto;
185
+ margin-left: auto;
186
+ padding-right: $spacing-unit;
187
+ padding-left: $spacing-unit;
188
+ @extend %clearfix;
189
+
190
+ @include media-query($on-laptop) {
191
+ max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
192
+ max-width: calc(#{$content-width} - (#{$spacing-unit}));
193
+ padding-right: $spacing-unit / 2;
194
+ padding-left: $spacing-unit / 2;
195
+ }
196
+ }
197
+
198
+
199
+
200
+ /**
201
+ * Clearfix
202
+ */
203
+ %clearfix:after {
204
+ content: "";
205
+ display: table;
206
+ clear: both;
207
+ }
208
+
209
+
210
+
211
+ /**
212
+ * Icons
213
+ */
214
+ .icon > svg {
215
+ display: inline-block;
216
+ vertical-align: middle;
217
+
218
+ path {
219
+ fill: $grey-color;
220
+ }
221
+ }
222
+
223
+ .social-media-list {
224
+ .icon {
225
+ padding-right: 5px;
226
+ }
227
+
228
+ li + li {
229
+ padding-top: 5px;
230
+ }
231
+ }