jekyll-theme-handwritten 4.0.1

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.
Files changed (56) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +79 -0
  4. data/_config.yml +54 -0
  5. data/_data/images.json +3 -0
  6. data/_includes/disqus_comments.html +20 -0
  7. data/_includes/footer.html +29 -0
  8. data/_includes/google-analytics.html +12 -0
  9. data/_includes/head.html +38 -0
  10. data/_includes/header.html +33 -0
  11. data/_includes/icon-github.html +1 -0
  12. data/_includes/icon-github.svg +1 -0
  13. data/_includes/icon-twitter.html +1 -0
  14. data/_includes/icon-twitter.svg +1 -0
  15. data/_includes/navrail.html +17 -0
  16. data/_includes/social.html +14 -0
  17. data/_includes/theme_selector.html +35 -0
  18. data/_layouts/default.html +23 -0
  19. data/_layouts/home.html +80 -0
  20. data/_layouts/page.html +14 -0
  21. data/_layouts/post.html +35 -0
  22. data/_sass/minima/_base.scss +839 -0
  23. data/_sass/minima/_layout.scss +291 -0
  24. data/_sass/minima/_mysass.scss +248 -0
  25. data/_sass/minima/_syntax-highlighting.scss +68 -0
  26. data/_sass/minima.scss +52 -0
  27. data/assets/main.scss +5 -0
  28. data/assets/minima-social-icons.svg +33 -0
  29. data/assets/theme-assets/js/theme.js +27 -0
  30. data/assets/theme-assets/material-theme/colors.module.css +294 -0
  31. data/assets/theme-assets/material-theme/theme.css +5 -0
  32. data/assets/theme-assets/material-theme/theme.dark.css +51 -0
  33. data/assets/theme-assets/material-theme/theme.light.css +51 -0
  34. data/assets/theme-assets/material-theme/tokens.css +303 -0
  35. data/assets/theme-assets/material-theme/typography.module.css +150 -0
  36. data/assets/theme-assets/theme-fonts/Virgil.woff2 +0 -0
  37. data/assets/theme-assets/theme-fonts/comic shanns.otf +0 -0
  38. data/assets/theme-assets/theme-icons/aboutme-small.svg +103 -0
  39. data/assets/theme-assets/theme-icons/aboutme.svg +10 -0
  40. data/assets/theme-assets/theme-icons/bookmark.svg +10 -0
  41. data/assets/theme-assets/theme-icons/categories-rough.svg +10 -0
  42. data/assets/theme-assets/theme-icons/categories.svg +1 -0
  43. data/assets/theme-assets/theme-icons/categories2.svg +10 -0
  44. data/assets/theme-assets/theme-icons/divider.svg +10 -0
  45. data/assets/theme-assets/theme-icons/home-rough.svg +10 -0
  46. data/assets/theme-assets/theme-icons/home.svg +6 -0
  47. data/assets/theme-assets/theme-icons/home2.svg +10 -0
  48. data/assets/theme-assets/theme-icons/info.svg +1 -0
  49. data/assets/theme-assets/theme-icons/pin.svg +19 -0
  50. data/assets/theme-assets/theme-images/border-thick.svg +16 -0
  51. data/assets/theme-assets/theme-images/comp.png +0 -0
  52. data/assets/theme-assets/theme-images/comp.svg +10 -0
  53. data/assets/theme-assets/theme-images/logo.png +0 -0
  54. data/assets/theme-assets/theme-images/logo.svg +10 -0
  55. data/assets/theme-assets/theme-images/menu.svg +10 -0
  56. metadata +97 -0
@@ -0,0 +1,291 @@
1
+ /**
2
+ * Site header
3
+ */
4
+
5
+ .site-header {
6
+ border-top: 5px solid var(--md-sys-color-outline-dark);
7
+ // border-bottom: 1px solid var(--md-sys-color-outline);
8
+ min-height: $spacing-unit * 1.865;
9
+ // Positioning context for the mobile navigation icon
10
+ position: relative;
11
+ }
12
+
13
+ .site-title {
14
+ @include relative-font-size(1.625);
15
+ font-family: Virgil;
16
+ font-weight: 300;
17
+ text-align: center;
18
+ letter-spacing: -1px;
19
+ margin-bottom: 0;
20
+ // margin-top: 12px;
21
+ font-size: 56px;
22
+ padding-right: 0;
23
+ // float: left;
24
+
25
+ @include media-query($on-palm) {
26
+ font-size: 38px;
27
+ }
28
+
29
+ &,
30
+ &:visited {
31
+ // color: $grey-color-dark;
32
+ }
33
+ }
34
+
35
+ #pink-theme {
36
+ background-color: #f0b3e7;
37
+ }
38
+ #green-theme {
39
+ background-color: #b1d18a;
40
+ }
41
+ #yellow-theme {
42
+ background-color: #dbc66e;
43
+ }
44
+ #blue-theme {
45
+ background-color: #aac7ff;
46
+ }
47
+ #cyan-theme {
48
+ background-color: #81d5cd;
49
+ }
50
+ .site-nav {
51
+ // float: right;
52
+ line-height: $base-line-height * $base-font-size * 2.25;
53
+
54
+ .nav-trigger {
55
+ display: none;
56
+ }
57
+
58
+ .menu-icon {
59
+ display: none;
60
+ }
61
+ .trigger {
62
+ display: none;
63
+ justify-content: center;
64
+
65
+ border-radius: 999px;
66
+ }
67
+ .page-link {
68
+ color: var(--md-sys-color-on-surface);
69
+ min-width: 60px;
70
+ text-align: center;
71
+ // border: 2px solid var(--md-sys-color-outline);
72
+ border-radius: 999px;
73
+ padding: 0 20px 0 20px;
74
+ // line-height: $base-line-height;
75
+ // Gaps between nav items, but not on the last one
76
+ &:not(:last-child) {
77
+ margin-right: 20px;
78
+ }
79
+ }
80
+
81
+ @include media-query($on-palm) {
82
+ position: absolute;
83
+ top: 12px;
84
+ left: 12px;
85
+ background-color: var(--md-sys-color-surface-container);
86
+ border-radius: 8px;
87
+ text-align: right;
88
+ padding-bottom: 3px;
89
+ padding-left: 2px;
90
+ padding-right: 2px;
91
+
92
+ label[for="nav-trigger"] {
93
+ display: block;
94
+ width: 36px;
95
+ height: 36px;
96
+ z-index: 2;
97
+ cursor: pointer;
98
+ }
99
+
100
+ .menu-icon {
101
+ display: block;
102
+ float: right;
103
+ width: 36px;
104
+ height: 26px;
105
+ line-height: 0;
106
+ padding-top: 10px;
107
+ text-align: center;
108
+
109
+ > svg {
110
+ fill: $grey-color-dark;
111
+ }
112
+ }
113
+
114
+ input ~ .trigger {
115
+ clear: both;
116
+ display: none;
117
+ }
118
+
119
+ input:checked ~ .trigger {
120
+ display: block;
121
+ padding-bottom: 5px;
122
+ }
123
+
124
+ .page-link {
125
+ display: block;
126
+ padding: 5px 10px;
127
+
128
+ &:not(:last-child) {
129
+ margin-right: 0;
130
+ }
131
+ margin-left: 20px;
132
+ }
133
+ }
134
+ }
135
+
136
+ /**
137
+ * Site footer
138
+ */
139
+ .site-footer {
140
+ border-top: 1px solid var(--md-sys-color-outline);
141
+ padding: $spacing-unit 0;
142
+ @include media-query($on-palm){
143
+ padding-bottom: 100px
144
+ }
145
+ }
146
+
147
+ .footer-heading {
148
+ @include relative-font-size(1.125);
149
+ margin-bottom: $spacing-unit / 2;
150
+ }
151
+
152
+ .contact-list,
153
+ .social-media-list {
154
+ list-style: none;
155
+ margin-left: 0;
156
+ }
157
+
158
+ .footer-col-wrapper {
159
+ @include relative-font-size(0.9375);
160
+ color: $grey-color;
161
+ margin-left: -$spacing-unit / 2;
162
+ @extend %clearfix;
163
+ }
164
+
165
+ .footer-col {
166
+ float: left;
167
+ margin-bottom: $spacing-unit / 2;
168
+ padding-left: $spacing-unit / 2;
169
+ }
170
+
171
+ .footer-col-1 {
172
+ width: -webkit-calc(35% - (#{$spacing-unit} / 2));
173
+ width: calc(35% - (#{$spacing-unit} / 2));
174
+ }
175
+
176
+ .footer-col-2 {
177
+ width: -webkit-calc(20% - (#{$spacing-unit} / 2));
178
+ width: calc(20% - (#{$spacing-unit} / 2));
179
+ }
180
+
181
+ .footer-col-3 {
182
+ width: -webkit-calc(45% - (#{$spacing-unit} / 2));
183
+ width: calc(45% - (#{$spacing-unit} / 2));
184
+ }
185
+
186
+ @include media-query($on-laptop) {
187
+ .footer-col-1,
188
+ .footer-col-2 {
189
+ width: -webkit-calc(50% - (#{$spacing-unit} / 2));
190
+ width: calc(50% - (#{$spacing-unit} / 2));
191
+ }
192
+
193
+ .footer-col-3 {
194
+ width: -webkit-calc(100% - (#{$spacing-unit} / 2));
195
+ width: calc(100% - (#{$spacing-unit} / 2));
196
+ }
197
+ }
198
+
199
+ @include media-query($on-palm) {
200
+ .footer-col {
201
+ float: none;
202
+ width: -webkit-calc(100% - (#{$spacing-unit} / 2));
203
+ width: calc(100% - (#{$spacing-unit} / 2));
204
+ }
205
+ }
206
+
207
+ /**
208
+ * Page content
209
+ */
210
+ .page-content {
211
+ padding: $spacing-unit 0;
212
+ flex: 1;
213
+ }
214
+
215
+ .page-heading {
216
+ @include relative-font-size(2);
217
+ }
218
+
219
+ // .post-list-heading {
220
+ // @include relative-font-size(1.75);
221
+ // }
222
+
223
+
224
+
225
+ .post-meta {
226
+ font-size: $small-font-size;
227
+ color: $grey-color;
228
+ }
229
+ .post-image {
230
+ height: 200px;
231
+ width: 100%;
232
+ }
233
+ .featured-image {
234
+ height: 300px;
235
+ width: 100%;
236
+ object-fit: contain;
237
+ }
238
+ .post-excerpt {
239
+ font-size: $small-font-size;
240
+ color: $grey-color;
241
+ }
242
+ .post-link {
243
+ display: block;
244
+ @include relative-font-size(1.5);
245
+ // font-family: Virgil;
246
+ }
247
+
248
+ /**
249
+ * Posts
250
+ */
251
+ .post-header {
252
+ margin-bottom: $spacing-unit;
253
+ }
254
+
255
+ .post-title {
256
+ @include relative-font-size(2.625);
257
+ letter-spacing: -1px;
258
+ line-height: 1;
259
+
260
+ @include media-query($on-laptop) {
261
+ @include relative-font-size(2.25);
262
+ }
263
+ }
264
+
265
+ .post-content {
266
+ margin-bottom: $spacing-unit;
267
+
268
+ h2 {
269
+ @include relative-font-size(2);
270
+
271
+ @include media-query($on-laptop) {
272
+ @include relative-font-size(1.75);
273
+ }
274
+ }
275
+
276
+ h3 {
277
+ @include relative-font-size(1.625);
278
+
279
+ @include media-query($on-laptop) {
280
+ @include relative-font-size(1.375);
281
+ }
282
+ }
283
+
284
+ h4 {
285
+ @include relative-font-size(1.25);
286
+
287
+ @include media-query($on-laptop) {
288
+ @include relative-font-size(1.125);
289
+ }
290
+ }
291
+ }
@@ -0,0 +1,248 @@
1
+ .theme-picker {
2
+ display: flex;
3
+ // width: 100%;
4
+ padding-top: 12px;
5
+ padding-bottom: 12px;
6
+ padding-right: 15px;
7
+ margin-top: 4px;
8
+ justify-content: flex-end;
9
+ }
10
+ .all-post-wrapper {
11
+ max-width: 800px;
12
+ margin-left: auto;
13
+ margin-right: auto;
14
+ }
15
+ .post-list {
16
+ margin-left: 0;
17
+ list-style: none;
18
+
19
+ > li {
20
+ margin-bottom: $spacing-unit;
21
+ }
22
+ }
23
+ .post-card {
24
+ // border: 1px solid var(--md-sys-color-outline);
25
+ // overflow: visible;
26
+ position: relative;
27
+ // padding: 20px;
28
+ box-sizing: border-box;
29
+ display: flex;
30
+ flex-direction: column;
31
+ border-radius: 14px;
32
+ padding: 12px;
33
+ background-color: var(--md-sys-color-surface-container);
34
+ & p {
35
+ display: -webkit-box;
36
+ line-clamp: 3;
37
+ -webkit-line-clamp: 3;
38
+ -webkit-box-orient: vertical;
39
+ overflow: hidden;
40
+ }
41
+ }
42
+ .pinned-post-card {
43
+ // border: 1px solid var(--md-sys-color-outline);
44
+ // overflow: visible;
45
+ position: relative;
46
+ // padding: 20px;
47
+ box-sizing: border-box;
48
+ display: flex;
49
+ flex-direction: column;
50
+ border-radius: 14px;
51
+ padding: 12px;
52
+ width: 30%;
53
+ background-color: var(--md-sys-color-surface-container);
54
+ background-color: var(--md-sys-color-primary-container);
55
+ & p,
56
+ span,
57
+ a {
58
+ color: var(--md-sys-color-on-primary-container);
59
+ }
60
+
61
+ & img {
62
+ background-color: var(--md-sys-color-surface-container-high);
63
+ border-radius: 24px;
64
+ }
65
+ @media screen and (max-width: 1300px) {
66
+ width: 46%;
67
+ }
68
+ @media screen and (max-width: 850px) {
69
+ width: 100%;
70
+ & p {
71
+ display: -webkit-box;
72
+ line-clamp: 5;
73
+ -webkit-line-clamp: 5;
74
+ -webkit-box-orient: vertical;
75
+ overflow: hidden;
76
+ }
77
+ }
78
+ }
79
+
80
+ // .post-card::before {
81
+ // content: "";
82
+ // position: absolute;
83
+ // top: -10px;
84
+ // left: -12px;
85
+ // right: -10px;
86
+ // bottom: -10px;
87
+ // // width: calc(100% + 12px);
88
+ // // height: calc(100% + 12px);
89
+ // z-index: 10;
90
+ // background-image: url("/assets/theme-assets/theme-images/border-thick.svg");
91
+ // background-size: 100% 100%;
92
+ // filter: var(--outline-filter);
93
+ // pointer-events: none; /* Allows interaction with content inside the border */
94
+ // }
95
+ .pinned-post-list {
96
+ display: flex;
97
+ width: fit-content;
98
+ flex-wrap: wrap;
99
+ justify-content: space-around;
100
+ padding-top: 12px;
101
+ margin-left: 0;
102
+ list-style: none;
103
+ background-color: var(--md-sys-color-surface-container);
104
+ border-radius: 24px;
105
+ padding: $spacing-unit;
106
+ min-height: 390px;
107
+ @media screen and (max-width: 850px) {
108
+ // background-color: var(--md-sys-color-secondary-container);
109
+ padding: $spacing-unit/2;
110
+ min-height: 200px;
111
+ }
112
+
113
+ > li:not(:last-child) {
114
+ margin-bottom: $spacing-unit;
115
+ }
116
+ }
117
+ .pinned-post-card::before {
118
+ content: "";
119
+ position: absolute;
120
+ top: -10px;
121
+ left: -12px;
122
+ right: -10px;
123
+ bottom: -10px;
124
+ // width: calc(100% + 12px);
125
+ // height: calc(100% + 12px);
126
+ z-index: 10;
127
+ background-image: url("/assets/theme-assets/theme-images/border-thick.svg");
128
+ background-size: 100% 100%;
129
+ filter: var(--outline-filter);
130
+ pointer-events: none; /* Allows interaction with content inside the border */
131
+ }
132
+ .navrail {
133
+ font-family: "Comic Shanns", $base-font-family;
134
+ position: fixed;
135
+ display: flex;
136
+ flex-direction: column;
137
+ height: 100vh;
138
+ justify-content: flex-start;
139
+ align-items: center;
140
+ z-index: 99;
141
+ padding: 80px 0 30px 12px;
142
+ width: 100px;
143
+ background-color: var(--md-sys-color-surface);
144
+
145
+ @include media-query($on-palm) {
146
+ flex-direction: row;
147
+ bottom: 0;
148
+ width: 100vw;
149
+ height: fit-content;
150
+ background-color: var(--md-sys-color-surface-container-highest);
151
+ padding: 0px;
152
+ box-shadow: 0px -4px 16px 0px var(--md-sys-color-shadow);
153
+ .navrail-icon {
154
+ max-height: 34px;
155
+ max-width: max-content;
156
+ object-fit: cover;
157
+ }
158
+ .navrail-button {
159
+ padding: 8px 0 8px 0;
160
+ }
161
+ }
162
+ }
163
+ .navrail-button {
164
+ padding: 12px 0 12px 0;
165
+ position: relative;
166
+ display: flex;
167
+ flex-direction: column;
168
+ width: 100%;
169
+ justify-content: center;
170
+ align-items: center;
171
+ color: var(--md-sys-color-on-surface);
172
+ }
173
+ .navrail-icon {
174
+ // filter: var(--outline-filter);
175
+ max-width: 40px;
176
+ }
177
+
178
+ .theme-selector {
179
+ position: relative;
180
+ display: flex;
181
+ // width: 100%;
182
+ justify-content: flex-end;
183
+ padding: 12px;
184
+ padding-top: 18px;
185
+ }
186
+
187
+ .current-theme {
188
+ height: 26px;
189
+ width: 26px;
190
+ border-radius: 50%;
191
+ background-color: var(--current-color); /* Initial theme color */
192
+ margin-left: 12px;
193
+ cursor: pointer;
194
+ transition: transform 0.3s;
195
+ }
196
+
197
+ .theme-options {
198
+ // position: absolute;
199
+ display: flex;
200
+ // top: 50%;
201
+ // right: 20px;
202
+ // transform: translate(-50%, -50%);
203
+ // display: none;
204
+ // flex-wrap: wrap;
205
+ gap: 10px;
206
+ max-width: 0px;
207
+ transition: all 0.3s;
208
+ }
209
+
210
+ .theme-option {
211
+ width: 26px;
212
+ height: 26px;
213
+ border-radius: 50%;
214
+ cursor: pointer;
215
+ }
216
+ .home {
217
+ padding-right: $spacing-unit;
218
+ padding-left: $spacing-unit + 100;
219
+ @extend %clearfix;
220
+ @include media-query($on-laptop) {
221
+ padding-right: $spacing-unit / 2;
222
+ padding-left: ($spacing-unit / 2)+100;
223
+ }
224
+ @include media-query($on-palm) {
225
+ padding-left: $spacing-unit/2;
226
+ }
227
+ }
228
+ .pin-svg {
229
+ position: absolute;
230
+ height: 80px;
231
+ width: auto;
232
+ top: -34px;
233
+ right: 15px;
234
+ z-index: 11;
235
+
236
+ // filter: var(--outline-filter);
237
+ }
238
+ .pin-path {
239
+ stroke: var(--md-sys-color-tertiary);
240
+ stroke-width: 2.5;
241
+ }
242
+ h1 {
243
+ font-family: "Comic Shanns", $base-font-family;
244
+ }
245
+ .tagline {
246
+ font-family: "Comic Shanns", $base-font-family;
247
+ text-align: center;
248
+ }
@@ -0,0 +1,68 @@
1
+ .highlight {
2
+ background: #2d2d2d;
3
+ @extend %vertical-rhythm;
4
+
5
+ .highlighter-rouge & {
6
+ background: #3d3d3d;
7
+ }
8
+
9
+ .c { color: #999; font-style: italic } // Comment
10
+ .err { color: #ff6c6b; background-color: #2c2c2c } // Error
11
+ .k { font-weight: bold; color: #c5a5c5 } // Keyword
12
+ .o { font-weight: bold; color: #56b6c2 } // Operator
13
+ .cm { color: #999; font-style: italic } // Comment.Multiline
14
+ .cp { color: #e6c07b; font-weight: bold } // Comment.Preproc
15
+ .c1 { color: #999; font-style: italic } // Comment.Single
16
+ .cs { color: #999; font-weight: bold; font-style: italic } // Comment.Special
17
+ .gd { color: #e06c75; background-color: #3c2a2a } // Generic.Deleted
18
+ .gd .x { color: #e06c75; background-color: #3c2a2a } // Generic.Deleted.Specific
19
+ .ge { font-style: italic; color: #abb2bf } // Generic.Emph
20
+ .gr { color: #e06c75 } // Generic.Error
21
+ .gh { color: #e6c07b } // Generic.Heading
22
+ .gi { color: #98c379; background-color: #2a3c2a } // Generic.Inserted
23
+ .gi .x { color: #98c379; background-color: #2a3c2a } // Generic.Inserted.Specific
24
+ .go { color: #5c6370 } // Generic.Output
25
+ .gp { color: #c678dd } // Generic.Prompt
26
+ .gs { font-weight: bold; color: #e6c07b } // Generic.Strong
27
+ .gu { color: #56b6c2 } // Generic.Subheading
28
+ .gt { color: #e06c75 } // Generic.Traceback
29
+ .kc { font-weight: bold; color: #c5a5c5 } // Keyword.Constant
30
+ .kd { font-weight: bold; color: #c5a5c5 } // Keyword.Declaration
31
+ .kp { font-weight: bold; color: #c5a5c5 } // Keyword.Pseudo
32
+ .kr { font-weight: bold; color: #c5a5c5 } // Keyword.Reserved
33
+ .kt { color: #c678dd; font-weight: bold } // Keyword.Type
34
+ .m { color: #d19a66 } // Literal.Number
35
+ .s { color: #98c379 } // Literal.String
36
+ .na { color: #56b6c2 } // Name.Attribute
37
+ .nb { color: #61aeee } // Name.Builtin
38
+ .nc { color: #c678dd; font-weight: bold } // Name.Class
39
+ .no { color: #d19a66 } // Name.Constant
40
+ .ni { color: #56b6c2 } // Name.Entity
41
+ .ne { color: #e06c75; font-weight: bold } // Name.Exception
42
+ .nf { color: #61aeee; font-weight: bold } // Name.Function
43
+ .nn { color: #abb2bf } // Name.Namespace
44
+ .nt { color: #e06c75 } // Name.Tag
45
+ .nv { color: #d19a66 } // Name.Variable
46
+ .ow { font-weight: bold; color: #56b6c2 } // Operator.Word
47
+ .w { color: #5c6370 } // Text.Whitespace
48
+ .mf { color: #d19a66 } // Literal.Number.Float
49
+ .mh { color: #d19a66 } // Literal.Number.Hex
50
+ .mi { color: #d19a66 } // Literal.Number.Integer
51
+ .mo { color: #d19a66 } // Literal.Number.Oct
52
+ .sb { color: #98c379 } // Literal.String.Backtick
53
+ .sc { color: #98c379 } // Literal.String.Char
54
+ .sd { color: #98c379 } // Literal.String.Doc
55
+ .s2 { color: #98c379 } // Literal.String.Double
56
+ .se { color: #98c379 } // Literal.String.Escape
57
+ .sh { color: #98c379 } // Literal.String.Heredoc
58
+ .si { color: #98c379 } // Literal.String.Interpol
59
+ .sx { color: #98c379 } // Literal.String.Other
60
+ .sr { color: #56b6c2 } // Literal.String.Regex
61
+ .s1 { color: #98c379 } // Literal.String.Single
62
+ .ss { color: #c678dd } // Literal.String.Symbol
63
+ .bp { color: #e06c75 } // Name.Builtin.Pseudo
64
+ .vc { color: #d19a66 } // Name.Variable.Class
65
+ .vg { color: #d19a66 } // Name.Variable.Global
66
+ .vi { color: #d19a66 } // Name.Variable.Instance
67
+ .il { color: #d19a66 } // Literal.Number.Integer.Long
68
+ }
data/_sass/minima.scss ADDED
@@ -0,0 +1,52 @@
1
+ @charset "utf-8";
2
+
3
+ // Define defaults for each variable.
4
+
5
+ $base-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !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: var(--md-sys-color-on-surface) !default;
14
+ $background-color: var(--md-sys-color-background) !default;
15
+ $brand-color: var(--md-sys-color-primary) !default;
16
+
17
+ $grey-color: var(--md-sys-color-outline) !default;
18
+ $grey-color-light: var(--md-sys-color-outline) !default;
19
+ $grey-color-dark: var(--md-sys-color-outline-dark) !default;
20
+
21
+ $table-text-align: left !default;
22
+
23
+ // Width of the content area
24
+ $content-width: 800px !default;
25
+
26
+ $on-palm: 600px !default;
27
+ $on-laptop: 800px !default;
28
+
29
+ // Use media queries like this:
30
+ // @include media-query($on-palm) {
31
+ // .wrapper {
32
+ // padding-right: $spacing-unit / 2;
33
+ // padding-left: $spacing-unit / 2;
34
+ // }
35
+ // }
36
+ @mixin media-query($device) {
37
+ @media screen and (max-width: $device) {
38
+ @content;
39
+ }
40
+ }
41
+
42
+ @mixin relative-font-size($ratio) {
43
+ font-size: $base-font-size * $ratio;
44
+ }
45
+
46
+ // Import partials.
47
+ @import
48
+ "minima/base",
49
+ "minima/layout",
50
+ "minima/syntax-highlighting",
51
+ "minima/mysass"
52
+ ;
data/assets/main.scss ADDED
@@ -0,0 +1,5 @@
1
+ ---
2
+ # Only the main Sass file needs front matter (the dashes are enough)
3
+ ---
4
+
5
+ @import "minima";