jekyll-minimal-theme 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +374 -0
  4. data/_includes/custom-head.html +6 -0
  5. data/_includes/disqus_comments.html +20 -0
  6. data/_includes/footer.html +47 -0
  7. data/_includes/google-analytics.html +9 -0
  8. data/_includes/head.html +14 -0
  9. data/_includes/header.html +31 -0
  10. data/_includes/social-icons/devto.svg +1 -0
  11. data/_includes/social-icons/dribbble.svg +1 -0
  12. data/_includes/social-icons/facebook.svg +1 -0
  13. data/_includes/social-icons/flickr.svg +1 -0
  14. data/_includes/social-icons/github.svg +1 -0
  15. data/_includes/social-icons/gitlab.svg +1 -0
  16. data/_includes/social-icons/google_scholar.svg +1 -0
  17. data/_includes/social-icons/instagram.svg +1 -0
  18. data/_includes/social-icons/keybase.svg +4 -0
  19. data/_includes/social-icons/linkedin.svg +1 -0
  20. data/_includes/social-icons/mastodon.svg +1 -0
  21. data/_includes/social-icons/microdotblog.svg +1 -0
  22. data/_includes/social-icons/pinterest.svg +1 -0
  23. data/_includes/social-icons/rss.svg +1 -0
  24. data/_includes/social-icons/stackoverflow.svg +1 -0
  25. data/_includes/social-icons/telegram.svg +1 -0
  26. data/_includes/social-icons/twitter.svg +1 -0
  27. data/_includes/social-icons/x.svg +3 -0
  28. data/_includes/social-icons/youtube.svg +1 -0
  29. data/_includes/social-item.html +7 -0
  30. data/_includes/social.html +5 -0
  31. data/_includes/svg_symbol.html +3 -0
  32. data/_layouts/base.html +20 -0
  33. data/_layouts/index.html +62 -0
  34. data/_layouts/page.html +14 -0
  35. data/_layouts/post.html +38 -0
  36. data/_sass/minima/_base.scss +285 -0
  37. data/_sass/minima/_layout.scss +358 -0
  38. data/_sass/minima/custom-styles.scss +2 -0
  39. data/_sass/minima/custom-variables.scss +1 -0
  40. data/_sass/minima/initialize.scss +52 -0
  41. data/_sass/minima/skins/auto.scss +361 -0
  42. data/_sass/minima/skins/classic.scss +5 -0
  43. data/_sass/minima/skins/dark.scss +5 -0
  44. data/_sass/minima/skins/solarized-dark.scss +5 -0
  45. data/_sass/minima/skins/solarized-light.scss +4 -0
  46. data/_sass/minima/skins/solarized.scss +201 -0
  47. data/_sass/minima/syntax.scss +80 -0
  48. data/assets/css/style.scss +7 -0
  49. data/assets/minima-social-icons.liquid +18 -0
  50. metadata +168 -0
@@ -0,0 +1,358 @@
1
+ /**
2
+ * Site header
3
+ */
4
+ .site-header {
5
+ border-top: 5px solid $border-color-03;
6
+ // border-bottom: 1px solid $border-color-01;
7
+ min-height: $spacing-unit * 1.865;
8
+ line-height: $base-line-height * $base-font-size * 2.25;
9
+
10
+ // Positioning context for the mobile navigation icon
11
+ position: relative;
12
+ background-image: linear-gradient(to right, #434343 0%, black 100%);
13
+ }
14
+
15
+ .site-title {
16
+ @include relative-font-size(1.625);
17
+ font-weight: 300;
18
+ letter-spacing: -1px;
19
+ margin-bottom: 0;
20
+ float: left;
21
+ color: white;
22
+
23
+ @include media-query($on-palm) {
24
+ padding-right: 45px;
25
+ }
26
+
27
+ &,
28
+ &:visited {
29
+ color: white;
30
+ }
31
+ }
32
+
33
+ .site-nav {
34
+ position: absolute;
35
+ top: 9px;
36
+ right: $spacing-unit * .5;
37
+ background-color: $background-color;
38
+ border: 1px solid $border-color-01;
39
+ border-radius: 5px;
40
+ text-align: right;
41
+
42
+ .nav-trigger {
43
+ display: none;
44
+ }
45
+
46
+ .menu-icon {
47
+ float: right;
48
+ width: 36px;
49
+ height: 26px;
50
+ line-height: 0;
51
+ padding-top: 10px;
52
+ text-align: center;
53
+
54
+ > svg path {
55
+ fill: $border-color-03;
56
+ }
57
+ }
58
+
59
+ label[for="nav-trigger"] {
60
+ display: block;
61
+ float: right;
62
+ width: 36px;
63
+ height: 36px;
64
+ z-index: 2;
65
+ cursor: pointer;
66
+ }
67
+
68
+ input ~ .trigger {
69
+ clear: both;
70
+ display: none;
71
+ }
72
+
73
+ input:checked ~ .trigger {
74
+ display: block;
75
+ padding-bottom: 5px;
76
+ }
77
+
78
+ .page-link {
79
+ color: white;
80
+ line-height: $base-line-height;
81
+ display: block;
82
+ padding: 5px 10px;
83
+
84
+ // Gaps between nav items, but not on the last one
85
+ &:not(:last-child) {
86
+ margin-right: 0;
87
+ }
88
+ margin-left: 20px;
89
+ }
90
+
91
+ @media screen and (min-width: $on-medium) {
92
+ position: static;
93
+ float: right;
94
+ border: none;
95
+ background-color: inherit;
96
+
97
+ label[for="nav-trigger"] {
98
+ display: none;
99
+ }
100
+
101
+ .menu-icon {
102
+ display: none;
103
+ }
104
+
105
+ input ~ .trigger {
106
+ display: block;
107
+ }
108
+
109
+ .page-link {
110
+ display: inline;
111
+ padding: 0;
112
+
113
+ &:not(:last-child) {
114
+ margin-right: 20px;
115
+ }
116
+ margin-left: auto;
117
+ }
118
+ }
119
+ }
120
+
121
+
122
+
123
+ /**
124
+ * Site footer
125
+ */
126
+ .site-footer {
127
+ border-top: 1px solid $border-color-01;
128
+ padding: $spacing-unit 0;
129
+ }
130
+
131
+ .footer-heading {
132
+ @include relative-font-size(1.125);
133
+ margin-bottom: $spacing-unit * .5;
134
+ }
135
+
136
+ .feed-subscribe .svg-icon {
137
+ padding: 5px 5px 2px 0
138
+ }
139
+
140
+ .contact-list,
141
+ .social-media-list {
142
+ list-style: none;
143
+ margin-left: 0;
144
+ }
145
+
146
+ .footer-col-wrapper,
147
+ .social-links {
148
+ @include relative-font-size(0.9375);
149
+ color: $brand-color;
150
+ }
151
+
152
+ .footer-col {
153
+ margin-bottom: $spacing-unit * .5;
154
+ }
155
+
156
+ .footer-col-1,
157
+ .footer-col-2 {
158
+ width: calc(50% - (#{$spacing-unit} / 2));
159
+ }
160
+
161
+ .footer-col-3 {
162
+ width: calc(100% - (#{$spacing-unit} / 2));
163
+ }
164
+
165
+ @media screen and (min-width: $on-large) {
166
+ .footer-col-1 {
167
+ width: calc(35% - (#{$spacing-unit} / 2));
168
+ }
169
+
170
+ .footer-col-2 {
171
+ width: calc(20% - (#{$spacing-unit} / 2));
172
+ }
173
+
174
+ .footer-col-3 {
175
+ width: calc(45% - (#{$spacing-unit} / 2));
176
+ }
177
+ }
178
+
179
+ @media screen and (min-width: $on-medium) {
180
+ .footer-col-wrapper {
181
+ display: flex
182
+ }
183
+
184
+ .footer-col {
185
+ width: calc(100% - (#{$spacing-unit} / 2));
186
+ padding: 0 ($spacing-unit * .5);
187
+
188
+ &:first-child {
189
+ padding-right: $spacing-unit * .5;
190
+ padding-left: 0;
191
+ }
192
+
193
+ &:last-child {
194
+ padding-right: 0;
195
+ padding-left: $spacing-unit * .5;
196
+ }
197
+ }
198
+ }
199
+
200
+
201
+
202
+ /**
203
+ * Page content
204
+ */
205
+ .page-content {
206
+ padding: $spacing-unit 0;
207
+ flex: 1 0 auto;
208
+ }
209
+
210
+ .page-heading {
211
+ @include relative-font-size(2);
212
+ }
213
+
214
+ .post-list-heading {
215
+ @include relative-font-size(1.75);
216
+ }
217
+
218
+ .post-list {
219
+ margin-left: 0;
220
+ list-style: none;
221
+
222
+ > li {
223
+ margin-bottom: $spacing-unit;
224
+ padding-bottom: $spacing-unit;
225
+ }
226
+ }
227
+
228
+ .post-meta {
229
+ font-size: $small-font-size;
230
+ color: $brand-color;
231
+ }
232
+
233
+ .post-link {
234
+ display: block;
235
+ @include relative-font-size(1.2);
236
+ }
237
+
238
+ .post-link:link {
239
+ color: black;
240
+ }
241
+
242
+ .post-link:visited {
243
+ color: black;
244
+ }
245
+
246
+ .post-title {
247
+ margin-bottom: 0px;
248
+ }
249
+
250
+ .post-list li:not(:last-child) {
251
+ border-bottom: 1px solid #ccc; /* #ccc는 구분선의 색상이며, 필요에 따라 변경할 수 있습니다. */
252
+ }
253
+
254
+ /**
255
+ * Posts
256
+ */
257
+ .post-header {
258
+ margin-bottom: $spacing-unit;
259
+ }
260
+
261
+ .post-title,
262
+ .post-content h1 {
263
+ @include relative-font-size(2.625);
264
+ letter-spacing: -1px;
265
+ line-height: 1.15;
266
+
267
+ @media screen and (min-width: $on-large) {
268
+ @include relative-font-size(2.625);
269
+ }
270
+ }
271
+
272
+ .post-content {
273
+ margin-bottom: $spacing-unit;
274
+
275
+ h1, h2, h3, h4, h5, h6 { margin-top: $spacing-unit }
276
+
277
+ h2 {
278
+ @include relative-font-size(1.75);
279
+
280
+ @media screen and (min-width: $on-large) {
281
+ @include relative-font-size(2);
282
+ }
283
+ }
284
+
285
+ h3 {
286
+ @include relative-font-size(1.375);
287
+
288
+ @media screen and (min-width: $on-large) {
289
+ @include relative-font-size(1.625);
290
+ }
291
+ }
292
+
293
+ h4 {
294
+ @include relative-font-size(1.25);
295
+ }
296
+
297
+ h5 {
298
+ @include relative-font-size(1.125);
299
+ }
300
+ h6 {
301
+ @include relative-font-size(1.0625);
302
+ }
303
+ }
304
+
305
+
306
+ .social-media-list {
307
+ display: table;
308
+ margin: 0 auto;
309
+ li {
310
+ float: left;
311
+ margin: 5px 10px 5px 0;
312
+ &:last-of-type { margin-right: 0 }
313
+ a {
314
+ display: block;
315
+ padding: 10px 12px;
316
+ border: 1px solid $border-color-01;
317
+ &:hover { border-color: $border-color-02 }
318
+ }
319
+ }
320
+ }
321
+
322
+
323
+
324
+ /**
325
+ * Pagination navbar
326
+ */
327
+ .pagination {
328
+ margin-bottom: $spacing-unit;
329
+ @extend .social-media-list;
330
+ li {
331
+ a, div {
332
+ min-width: 41px;
333
+ text-align: center;
334
+ box-sizing: border-box;
335
+ }
336
+ div {
337
+ display: block;
338
+ padding: $spacing-unit * .25;
339
+ border: 1px solid transparent;
340
+
341
+ &.pager-edge {
342
+ color: $border-color-01;
343
+ border: 1px dashed;
344
+ }
345
+ }
346
+ }
347
+ }
348
+
349
+
350
+
351
+ /**
352
+ * Grid helpers
353
+ */
354
+ @media screen and (min-width: $on-large) {
355
+ .one-half {
356
+ width: calc(50% - (#{$spacing-unit} / 2));
357
+ }
358
+ }
@@ -0,0 +1,2 @@
1
+ // Placeholder to allow defining custom styles that override everything else.
2
+ // (Use `_sass/minima/custom-variables.scss` to override variable defaults)
@@ -0,0 +1 @@
1
+ // Placeholder to allow overriding predefined variables smoothly.
@@ -0,0 +1,52 @@
1
+ @charset "utf-8";
2
+
3
+ // Define defaults for each variable.
4
+ @import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard-dynamic-subset.min.css");
5
+
6
+ $base-font-family: "pretendard", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", "Segoe UI Emoji", "Segoe UI Symbol", "Apple Color Emoji", Roboto, Helvetica, Arial, sans-serif !default;
7
+ $code-font-family: "Menlo", "Inconsolata", "Consolas", "Roboto Mono", "Ubuntu Mono", "Liberation Mono", "Courier New", monospace;
8
+ $base-font-size: 16px !default;
9
+ $base-font-weight: 400 !default;
10
+ $small-font-size: $base-font-size * 0.875 !default;
11
+ $base-line-height: 1.5 !default;
12
+
13
+ $spacing-unit: 30px !default;
14
+
15
+ $table-text-align: left !default;
16
+
17
+ // Width of the content area
18
+ $content-width: 800px !default;
19
+
20
+ $on-palm: 600px !default;
21
+ $on-laptop: 800px !default;
22
+
23
+ $on-medium: $on-palm !default;
24
+ $on-large: $on-laptop !default;
25
+
26
+ // Use media queries like this:
27
+ // @include media-query($on-palm) {
28
+ // .wrapper {
29
+ // padding-right: $spacing-unit / 2;
30
+ // padding-left: $spacing-unit / 2;
31
+ // }
32
+ // }
33
+ // Notice the following mixin uses max-width, in a deprecated, desktop-first
34
+ // approach, whereas media queries used elsewhere now use min-width.
35
+ @mixin media-query($device) {
36
+ @media screen and (max-width: $device) {
37
+ @content;
38
+ }
39
+ }
40
+
41
+ @mixin relative-font-size($ratio) {
42
+ font-size: #{$ratio}rem;
43
+ }
44
+
45
+ // Import pre-styling-overrides hook and style-partials.
46
+ @import
47
+ "minima/custom-variables", // Hook to override predefined variables.
48
+ "minima/base", // Defines element resets.
49
+ "minima/layout", // Defines structure and style based on CSS selectors.
50
+ "minima/custom-styles" // Hook to override existing styles.
51
+ ;
52
+ @import "syntax";