sutty-minima 2.5.0

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.
@@ -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}}" 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 }}" 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 }}" 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 }}" 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 }}" 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 }}" 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 }}" 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 }}" 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 }}" 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}}" 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 }}" 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 }}" 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 }}" 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 }}" 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 }}" 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 }}" 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 }}" 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
+
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,61 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="home">
6
+ {%- if page.title -%}
7
+ <h1 class="page-heading">{{ page.title }}</h1>
8
+ {%- endif -%}
9
+
10
+ {{ content }}
11
+
12
+
13
+ {% if site.paginate %}
14
+ {% assign posts = paginator.posts %}
15
+ {% else %}
16
+ {% assign posts = site.posts %}
17
+ {% endif %}
18
+
19
+
20
+ {%- if posts.size > 0 -%}
21
+ {%- if page.list_title -%}
22
+ <h2 class="post-list-heading">{{ page.list_title }}</h2>
23
+ {%- endif -%}
24
+ <ul class="post-list">
25
+ {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
26
+ {%- for post in posts -%}
27
+ <li>
28
+ <span class="post-meta">{{ post.date | date: date_format }}</span>
29
+ <h3>
30
+ <a class="post-link" href="{{ post.url | relative_url }}">
31
+ {{ post.title | escape }}
32
+ </a>
33
+ </h3>
34
+ {%- if site.show_excerpts -%}
35
+ {{ post.excerpt }}
36
+ {%- endif -%}
37
+ </li>
38
+ {%- endfor -%}
39
+ </ul>
40
+
41
+ {% if site.paginate %}
42
+ <div class="pager">
43
+ <ul class="pagination">
44
+ {%- if paginator.previous_page %}
45
+ <li><a href="{{ paginator.previous_page_path | relative_url }}" class="previous-page">{{ paginator.previous_page }}</a></li>
46
+ {%- else %}
47
+ <li><div class="pager-edge">•</div></li>
48
+ {%- endif %}
49
+ <li><div class="current-page">{{ paginator.page }}</div></li>
50
+ {%- if paginator.next_page %}
51
+ <li><a href="{{ paginator.next_page_path | relative_url }}" class="next-page">{{ paginator.next_page }}</a></li>
52
+ {%- else %}
53
+ <li><div class="pager-edge">•</div></li>
54
+ {%- endif %}
55
+ </ul>
56
+ </div>
57
+ {%- endif %}
58
+
59
+ {%- endif -%}
60
+
61
+ </div>
@@ -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,42 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
5
+
6
+ <header class="post-header">
7
+ <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
8
+ <p class="post-meta">
9
+ {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
10
+ <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
11
+ {{ page.date | date: date_format }}
12
+ </time>
13
+ {%- if page.modified_date -%}
14
+ ~
15
+ {%- assign mdate = page.modified_date | date_to_xmlschema -%}
16
+ <time class="dt-modified" datetime="{{ mdate }}" itemprop="dateModified">
17
+ {{ mdate | date: date_format }}
18
+ </time>
19
+ {%- endif -%}
20
+ {%- if page.author -%}
21
+ • {% for author in page.author %}
22
+ <span itemprop="author" itemscope itemtype="http://schema.org/Person">
23
+ <span class="p-author h-card" itemprop="name">{{ author }}</span></span>
24
+ {%- if forloop.last == false %}, {% endif -%}
25
+ {% endfor %}
26
+ {%- endif -%}</p>
27
+
28
+ {%- if page.image.path -%}
29
+ <img itemprop="image" src="{{ page.image.path }}" alt="{{ page.image.description | default: page.title }}" />
30
+ {%- endif -%}
31
+ </header>
32
+
33
+ <div class="post-content e-content" itemprop="articleBody">
34
+ {{ content }}
35
+ </div>
36
+
37
+ {%- if site.disqus.shortname -%}
38
+ {%- include disqus_comments.html -%}
39
+ {%- endif -%}
40
+
41
+ <a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
42
+ </article>
@@ -0,0 +1,289 @@
1
+ html {
2
+ font-size: $base-font-size;
3
+ }
4
+
5
+ /**
6
+ * Reset some basic elements
7
+ */
8
+ body, h1, h2, h3, h4, h5, h6,
9
+ p, blockquote, pre, hr,
10
+ dl, dd, ol, ul, figure {
11
+ margin: 0;
12
+ padding: 0;
13
+
14
+ }
15
+
16
+
17
+
18
+ /**
19
+ * Basic styling
20
+ */
21
+ body {
22
+ font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
23
+ color: $text-color;
24
+ background-color: $background-color;
25
+ -webkit-text-size-adjust: 100%;
26
+ -webkit-font-feature-settings: "kern" 1;
27
+ -moz-font-feature-settings: "kern" 1;
28
+ -o-font-feature-settings: "kern" 1;
29
+ font-feature-settings: "kern" 1;
30
+ font-kerning: normal;
31
+ display: flex;
32
+ min-height: 100vh;
33
+ flex-direction: column;
34
+ overflow-wrap: break-word;
35
+ }
36
+
37
+
38
+
39
+ /**
40
+ * Set `margin-bottom` to maintain vertical rhythm
41
+ */
42
+ h1, h2, h3, h4, h5, h6,
43
+ p, blockquote, pre,
44
+ ul, ol, dl, figure,
45
+ %vertical-rhythm {
46
+ margin-bottom: $spacing-unit / 2;
47
+ }
48
+
49
+ hr {
50
+ margin-top: $spacing-unit;
51
+ margin-bottom: $spacing-unit;
52
+ }
53
+
54
+ /**
55
+ * `main` element
56
+ */
57
+ main {
58
+ display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */
59
+ }
60
+
61
+
62
+
63
+ /**
64
+ * Images
65
+ */
66
+ img {
67
+ max-width: 100%;
68
+ height: auto;
69
+ vertical-align: middle;
70
+ }
71
+
72
+
73
+
74
+ /**
75
+ * Figures
76
+ */
77
+ figure > img {
78
+ display: block;
79
+ }
80
+
81
+ figcaption {
82
+ font-size: $small-font-size;
83
+ }
84
+
85
+
86
+
87
+ /**
88
+ * Lists
89
+ */
90
+ ul, ol {
91
+ margin-left: $spacing-unit;
92
+ }
93
+
94
+ li {
95
+ > ul,
96
+ > ol {
97
+ margin-bottom: 0;
98
+ }
99
+ }
100
+
101
+
102
+
103
+ /**
104
+ * Headings
105
+ */
106
+ h1, h2, h3, h4, h5, h6 {
107
+ font-weight: $base-font-weight;
108
+ }
109
+
110
+
111
+
112
+ /**
113
+ * Links
114
+ */
115
+ a {
116
+ color: $link-base-color;
117
+ text-decoration: none;
118
+
119
+ &:visited {
120
+ color: $link-visited-color;
121
+ }
122
+
123
+ &:hover {
124
+ color: $link-hover-color;
125
+ text-decoration: underline;
126
+ }
127
+
128
+ .social-media-list &:hover {
129
+ text-decoration: none;
130
+
131
+ .username {
132
+ text-decoration: underline;
133
+ }
134
+ }
135
+ }
136
+
137
+
138
+ /**
139
+ * Blockquotes
140
+ */
141
+ blockquote {
142
+ color: $brand-color;
143
+ border-left: 4px solid $border-color-01;
144
+ padding-left: $spacing-unit / 2;
145
+ @include relative-font-size(1.125);
146
+ font-style: italic;
147
+
148
+ > :last-child {
149
+ margin-bottom: 0;
150
+ }
151
+
152
+ i, em {
153
+ font-style: normal;
154
+ }
155
+ }
156
+
157
+
158
+
159
+ /**
160
+ * Code formatting
161
+ */
162
+ pre,
163
+ code {
164
+ font-family: $code-font-family;
165
+ font-size: 0.9375em;
166
+ border: 1px solid $border-color-01;
167
+ border-radius: 3px;
168
+ background-color: $code-background-color;
169
+ }
170
+
171
+ code {
172
+ padding: 1px 5px;
173
+ }
174
+
175
+ pre {
176
+ padding: 8px 12px;
177
+ overflow-x: auto;
178
+
179
+ > code {
180
+ border: 0;
181
+ padding-right: 0;
182
+ padding-left: 0;
183
+ }
184
+ }
185
+
186
+ .highlight {
187
+ border-radius: 3px;
188
+ background: $code-background-color;
189
+ @extend %vertical-rhythm;
190
+
191
+ .highlighter-rouge & {
192
+ background: $code-background-color;
193
+ }
194
+ }
195
+
196
+
197
+
198
+ /**
199
+ * Wrapper
200
+ */
201
+ .wrapper {
202
+ max-width: calc(#{$content-width} - (#{$spacing-unit}));
203
+ margin-right: auto;
204
+ margin-left: auto;
205
+ padding-right: $spacing-unit / 2;
206
+ padding-left: $spacing-unit / 2;
207
+ @extend %clearfix;
208
+
209
+ @media screen and (min-width: $on-large) {
210
+ max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
211
+ padding-right: $spacing-unit;
212
+ padding-left: $spacing-unit;
213
+ }
214
+ }
215
+
216
+
217
+
218
+ /**
219
+ * Clearfix
220
+ */
221
+ %clearfix:after {
222
+ content: "";
223
+ display: table;
224
+ clear: both;
225
+ }
226
+
227
+
228
+
229
+ /**
230
+ * Icons
231
+ */
232
+
233
+ .orange {
234
+ color: #f66a0a;
235
+ }
236
+
237
+ .grey {
238
+ color: #828282;
239
+ }
240
+
241
+ .svg-icon {
242
+ width: 16px;
243
+ height: 16px;
244
+ display: inline-block;
245
+ fill: currentColor;
246
+ padding: 5px 3px 2px 5px;
247
+ vertical-align: text-bottom;
248
+ }
249
+
250
+
251
+ /**
252
+ * Tables
253
+ */
254
+ table {
255
+ margin-bottom: $spacing-unit;
256
+ width: 100%;
257
+ text-align: $table-text-align;
258
+ color: $table-text-color;
259
+ border-collapse: collapse;
260
+ border: 1px solid $table-border-color;
261
+ tr {
262
+ &:nth-child(even) {
263
+ background-color: $table-zebra-color;
264
+ }
265
+ }
266
+ th, td {
267
+ padding: ($spacing-unit / 3) ($spacing-unit / 2);
268
+ }
269
+ th {
270
+ background-color: $table-header-bg-color;
271
+ border: 1px solid $table-header-border;
272
+ }
273
+ td {
274
+ border: 1px solid $table-border-color;
275
+ }
276
+
277
+ @include media-query($on-laptop) {
278
+ display: block;
279
+ overflow-x: auto;
280
+ -webkit-overflow-scrolling: touch;
281
+ -ms-overflow-style: -ms-autohiding-scrollbar;
282
+ }
283
+ }
284
+
285
+ iframe {
286
+ border: 0;
287
+ width: 100%;
288
+ min-height: 480px;
289
+ }