negativa 3.0.0.dev
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +374 -0
- data/_includes/custom-head.html +6 -0
- data/_includes/disqus_comments.html +20 -0
- data/_includes/footer.html +37 -0
- data/_includes/google-analytics.html +9 -0
- data/_includes/head.html +23 -0
- data/_includes/header.html +31 -0
- data/_includes/social-icons/devto.svg +1 -0
- data/_includes/social-icons/dribbble.svg +1 -0
- data/_includes/social-icons/facebook.svg +1 -0
- data/_includes/social-icons/flickr.svg +1 -0
- data/_includes/social-icons/github.svg +1 -0
- data/_includes/social-icons/gitlab.svg +1 -0
- data/_includes/social-icons/google_scholar.svg +1 -0
- data/_includes/social-icons/instagram.svg +1 -0
- data/_includes/social-icons/keybase.svg +4 -0
- data/_includes/social-icons/linkedin.svg +1 -0
- data/_includes/social-icons/mastodon.svg +1 -0
- data/_includes/social-icons/microdotblog.svg +1 -0
- data/_includes/social-icons/pinterest.svg +1 -0
- data/_includes/social-icons/rss.svg +1 -0
- data/_includes/social-icons/stackoverflow.svg +1 -0
- data/_includes/social-icons/telegram.svg +1 -0
- data/_includes/social-icons/twitter.svg +1 -0
- data/_includes/social-icons/x.svg +3 -0
- data/_includes/social-icons/youtube.svg +1 -0
- data/_includes/social-item.html +7 -0
- data/_includes/social.html +5 -0
- data/_includes/svg_symbol.html +3 -0
- data/_layouts/base.html +24 -0
- data/_layouts/home.html +61 -0
- data/_layouts/page.html +14 -0
- data/_layouts/post.html +38 -0
- data/_sass/minima/_base.scss +281 -0
- data/_sass/minima/_layout.scss +341 -0
- data/_sass/minima/custom-styles.scss +2 -0
- data/_sass/minima/custom-variables.scss +1 -0
- data/_sass/minima/initialize.scss +50 -0
- data/_sass/minima/skins/auto.scss +361 -0
- data/_sass/minima/skins/classic.scss +5 -0
- data/_sass/minima/skins/dark.scss +5 -0
- data/_sass/minima/skins/solarized-dark.scss +5 -0
- data/_sass/minima/skins/solarized-light.scss +4 -0
- data/_sass/minima/skins/solarized.scss +201 -0
- data/assets/css/style.scss +7 -0
- data/assets/js/minima.js +1 -0
- data/assets/minima-social-icons.liquid +18 -0
- metadata +154 -0
data/_layouts/base.html
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
|
3
|
+
|
4
|
+
{%- include head.html -%}
|
5
|
+
|
6
|
+
<body>
|
7
|
+
<turbo-frame id="site" target="content">
|
8
|
+
|
9
|
+
{%- include header.html -%}
|
10
|
+
|
11
|
+
<main class="page-content" aria-label="Content">
|
12
|
+
<div class="wrapper">
|
13
|
+
<turbo-frame id="content">
|
14
|
+
{{ content }}
|
15
|
+
</turbo-frame>
|
16
|
+
</div>
|
17
|
+
</main>
|
18
|
+
|
19
|
+
{%- include footer.html -%}
|
20
|
+
|
21
|
+
</turbo-frame>
|
22
|
+
</body>
|
23
|
+
|
24
|
+
</html>
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
---
|
2
|
+
layout: base
|
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>
|
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
---
|
2
|
+
layout: base
|
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
|
+
</header>
|
28
|
+
|
29
|
+
<div class="post-content e-content" itemprop="articleBody">
|
30
|
+
{{ content }}
|
31
|
+
</div>
|
32
|
+
|
33
|
+
{%- if site.disqus.shortname -%}
|
34
|
+
{%- include disqus_comments.html -%}
|
35
|
+
{%- endif -%}
|
36
|
+
|
37
|
+
<a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
|
38
|
+
</article>
|
@@ -0,0 +1,281 @@
|
|
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 * .5;
|
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
|
+
vertical-align: middle;
|
69
|
+
}
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
/**
|
74
|
+
* Figures
|
75
|
+
*/
|
76
|
+
figure > img {
|
77
|
+
display: block;
|
78
|
+
}
|
79
|
+
|
80
|
+
figcaption {
|
81
|
+
font-size: $small-font-size;
|
82
|
+
}
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
/**
|
87
|
+
* Lists
|
88
|
+
*/
|
89
|
+
ul, ol {
|
90
|
+
margin-left: $spacing-unit;
|
91
|
+
}
|
92
|
+
|
93
|
+
li {
|
94
|
+
> ul,
|
95
|
+
> ol {
|
96
|
+
margin-bottom: 0;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
/**
|
103
|
+
* Headings
|
104
|
+
*/
|
105
|
+
h1, h2, h3, h4, h5, h6 {
|
106
|
+
font-weight: $base-font-weight;
|
107
|
+
}
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
/**
|
112
|
+
* Links
|
113
|
+
*/
|
114
|
+
a {
|
115
|
+
color: $link-base-color;
|
116
|
+
text-decoration: none;
|
117
|
+
|
118
|
+
&:visited {
|
119
|
+
color: $link-visited-color;
|
120
|
+
}
|
121
|
+
|
122
|
+
&:hover {
|
123
|
+
color: $link-hover-color;
|
124
|
+
text-decoration: underline;
|
125
|
+
}
|
126
|
+
|
127
|
+
.social-media-list &:hover {
|
128
|
+
text-decoration: none;
|
129
|
+
|
130
|
+
.username {
|
131
|
+
text-decoration: underline;
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
|
136
|
+
|
137
|
+
/**
|
138
|
+
* Blockquotes
|
139
|
+
*/
|
140
|
+
blockquote {
|
141
|
+
color: $brand-color;
|
142
|
+
border-left: 4px solid $border-color-01;
|
143
|
+
padding-left: $spacing-unit * .5;
|
144
|
+
@include relative-font-size(1.125);
|
145
|
+
font-style: italic;
|
146
|
+
|
147
|
+
> :last-child {
|
148
|
+
margin-bottom: 0;
|
149
|
+
}
|
150
|
+
|
151
|
+
i, em {
|
152
|
+
font-style: normal;
|
153
|
+
}
|
154
|
+
}
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
/**
|
159
|
+
* Code formatting
|
160
|
+
*/
|
161
|
+
pre,
|
162
|
+
code {
|
163
|
+
font-family: $code-font-family;
|
164
|
+
font-size: 0.9375em;
|
165
|
+
border: 1px solid $border-color-01;
|
166
|
+
border-radius: 3px;
|
167
|
+
background-color: $code-background-color;
|
168
|
+
}
|
169
|
+
|
170
|
+
code {
|
171
|
+
padding: 1px 5px;
|
172
|
+
}
|
173
|
+
|
174
|
+
pre {
|
175
|
+
padding: 8px 12px;
|
176
|
+
overflow-x: auto;
|
177
|
+
|
178
|
+
> code {
|
179
|
+
border: 0;
|
180
|
+
padding-right: 0;
|
181
|
+
padding-left: 0;
|
182
|
+
}
|
183
|
+
}
|
184
|
+
|
185
|
+
.highlight {
|
186
|
+
border-radius: 3px;
|
187
|
+
background: $code-background-color;
|
188
|
+
@extend %vertical-rhythm;
|
189
|
+
|
190
|
+
.highlighter-rouge & {
|
191
|
+
background: $code-background-color;
|
192
|
+
}
|
193
|
+
}
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
/**
|
198
|
+
* Wrapper
|
199
|
+
*/
|
200
|
+
.wrapper {
|
201
|
+
max-width: calc(#{$content-width} - (#{$spacing-unit}));
|
202
|
+
margin-right: auto;
|
203
|
+
margin-left: auto;
|
204
|
+
padding-right: $spacing-unit * .5;
|
205
|
+
padding-left: $spacing-unit * .5;
|
206
|
+
@extend %clearfix;
|
207
|
+
|
208
|
+
@media screen and (min-width: $on-large) {
|
209
|
+
max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
|
210
|
+
padding-right: $spacing-unit;
|
211
|
+
padding-left: $spacing-unit;
|
212
|
+
}
|
213
|
+
}
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
/**
|
218
|
+
* Clearfix
|
219
|
+
*/
|
220
|
+
%clearfix:after {
|
221
|
+
content: "";
|
222
|
+
display: table;
|
223
|
+
clear: both;
|
224
|
+
}
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
/**
|
229
|
+
* Icons
|
230
|
+
*/
|
231
|
+
|
232
|
+
.orange {
|
233
|
+
color: #f66a0a;
|
234
|
+
}
|
235
|
+
|
236
|
+
.grey {
|
237
|
+
color: #828282;
|
238
|
+
}
|
239
|
+
|
240
|
+
.svg-icon {
|
241
|
+
width: 1.25em;
|
242
|
+
height: 1.25em;
|
243
|
+
display: inline-block;
|
244
|
+
fill: currentColor;
|
245
|
+
vertical-align: text-bottom;
|
246
|
+
}
|
247
|
+
|
248
|
+
|
249
|
+
/**
|
250
|
+
* Tables
|
251
|
+
*/
|
252
|
+
table {
|
253
|
+
margin-bottom: $spacing-unit;
|
254
|
+
width: 100%;
|
255
|
+
text-align: $table-text-align;
|
256
|
+
color: $table-text-color;
|
257
|
+
border-collapse: collapse;
|
258
|
+
border: 1px solid $table-border-color;
|
259
|
+
tr {
|
260
|
+
&:nth-child(even) {
|
261
|
+
background-color: $table-zebra-color;
|
262
|
+
}
|
263
|
+
}
|
264
|
+
th, td {
|
265
|
+
padding: ($spacing-unit * 33.3333333333 * .01) ($spacing-unit * .5);
|
266
|
+
}
|
267
|
+
th {
|
268
|
+
background-color: $table-header-bg-color;
|
269
|
+
border: 1px solid $table-header-border;
|
270
|
+
}
|
271
|
+
td {
|
272
|
+
border: 1px solid $table-border-color;
|
273
|
+
}
|
274
|
+
|
275
|
+
@include media-query($on-laptop) {
|
276
|
+
display: block;
|
277
|
+
overflow-x: auto;
|
278
|
+
-webkit-overflow-scrolling: touch;
|
279
|
+
-ms-overflow-style: -ms-autohiding-scrollbar;
|
280
|
+
}
|
281
|
+
}
|