dark-blog-theme 0.1.8 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b8e27d536a72fa8f6db9c38cedcdc2a970308d09e0a9271d82b1550b714b29e5
4
- data.tar.gz: ff01737062b9afcdf99b2e746ab8ccfc5cb1f34c82ed0f3ded3f89c292431a90
3
+ metadata.gz: 310f0408074b80c8a8044808bb86f404660fc8d6ec0ce3e01d5d75204f9454b1
4
+ data.tar.gz: 984b9eecc48d3a8d2ea4c27e04e76340ef8000649996be7f1c95fc1f8162e71c
5
5
  SHA512:
6
- metadata.gz: 43ce3b07f4ace23ec9eb5ba5892d1d9c64d9811ea3173aff90b049cc3bcd118771a6fb8223d00522d6ad43fe18cfa0cca621f8e3cb938d34cb750c19fdd34faa
7
- data.tar.gz: c7998f74ce8d9f66cb2f4ec3cc82289b6c95da5fc21bccb79a4474d0ef919669b0892b1012f9867a3d641a5a1df5a8300059e617605d46037bb7d1d7220797c6
6
+ metadata.gz: f89b1a5febecaa7cc989efb5fef9ce23b777ec7583ba69749f7f4b981bbbf910b8e318be11d4f6f437f0f204d69eb8e863e7c752be8261b67708ccea134d9d8c
7
+ data.tar.gz: 3d6aa2581eb36fd8cfc648cfb523c19f902225d0607a2295fef28fed96f95c537350e65e00103c565de9780ee9e6e1fe530e5a3441a0df4f842ed47eaa7d94fe
data/_config.yml CHANGED
@@ -17,8 +17,8 @@
17
17
  # you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
18
18
  # You can create any custom variable you would like, and they will be accessible
19
19
  # in the templates via {{ site.myvariable }}.
20
-
21
- title: Your awesome title
20
+ show_excerpts: true
21
+ title: Awesome Title
22
22
  email: your-email@example.com
23
23
  description: >- # this means to ignore newlines until "baseurl:"
24
24
  Write an awesome description for your new site here. You can edit this
@@ -27,12 +27,11 @@ description: >- # this means to ignore newlines until "baseurl:"
27
27
  baseurl: "" # the subpath of your site, e.g. /blog
28
28
  url: "" # the base hostname & protocol for your site, e.g. http://example.com
29
29
  twitter_username: jekyllrb
30
- github_username: jekyll
30
+ github_username: jekyll
31
31
 
32
32
  # Build settings
33
33
  plugins:
34
34
  - jekyll-feed
35
-
36
35
  # Exclude from processing.
37
36
  # The following items will not be processed, by default.
38
37
  # Any item listed under the `exclude:` key here will be automatically added to
data/_data/images.json ADDED
@@ -0,0 +1,3 @@
1
+ {
2
+ "logo":"/assets/images/logo"
3
+ }
@@ -1,26 +1,24 @@
1
1
  <header class="site-header" role="banner">
2
-
3
- <div class="wrapper">
4
- {%- assign default_paths = site.pages | map: "path" -%}
2
+ <div class="wrapper header-container">
3
+ {%- assign default_paths = site.pages | map: 'path' -%}
5
4
  {%- assign page_paths = site.header_pages | default: default_paths -%}
5
+ <img class="logo" src="/assets/images/logo.svg">
6
6
  <a class="site-title" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
7
7
 
8
8
  {%- if page_paths -%}
9
9
  <nav class="site-nav">
10
- <input type="checkbox" id="nav-trigger" class="nav-trigger" />
10
+ <input type="checkbox" id="nav-trigger" class="nav-trigger">
11
11
  <label for="nav-trigger">
12
12
  <span class="menu-icon">
13
- <svg viewBox="0 0 18 15" width="18px" height="15px">
14
- <path 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.032C17.335,0,18,0.665,18,1.484L18,1.484z M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z M18,13.516C18,14.335,17.335,15,16.516,15H1.484 C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z"/>
15
- </svg>
13
+ <img src="{{- "assets/images/menu.svg" | relative_url -}}" alt="menu-icon">
16
14
  </span>
17
15
  </label>
18
16
 
19
17
  <div class="trigger">
20
18
  {%- for path in page_paths -%}
21
- {%- assign my_page = site.pages | where: "path", path | first -%}
19
+ {%- assign my_page = site.pages | where: 'path', path | first -%}
22
20
  {%- if my_page.title -%}
23
- <a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
21
+ <a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
24
22
  {%- endif -%}
25
23
  {%- endfor -%}
26
24
  </div>
@@ -3,7 +3,7 @@
3
3
 
4
4
  {%- include head.html -%}
5
5
 
6
- <body class="dark">
6
+ <body class="dark-pink">
7
7
 
8
8
  {%- include header.html -%}
9
9
 
data/_layouts/home.html CHANGED
@@ -13,16 +13,17 @@ layout: default
13
13
  <ul class="post-list">
14
14
  {%- for post in site.posts -%}
15
15
  <li class="post-card">
16
- {%- assign date_format = site.minima.date_format | default: '%b %-d, %Y' -%}
17
- <span class="post-meta">{{ post.date | date: date_format }}</span>
18
- <h3>
19
- <a class="post-link" href="{{ post.url | relative_url }}">
20
- {{ post.title | escape }}
21
- </a>
22
- </h3>
23
- {%- if site.show_excerpts -%}
24
- {{ post.excerpt }}
16
+ {%- if post.image -%}
17
+ <img class="post-image" src="{{- post.image | relative_url -}}">
25
18
  {%- endif -%}
19
+ <a class="post-link" href="{{ post.url | relative_url }}">
20
+ {%- assign date_format = site.minima.date_format | default: '%b %-d, %Y' -%}
21
+ <span class="post-meta">{{ post.date | date: date_format }}</span>
22
+ <h3>
23
+ {{ post.title | escape }}
24
+ </h3>
25
+ <span class="post-excerpt">{{ post.excerpt }}</span>
26
+ </a>
26
27
  </li>
27
28
  {%- endfor -%}
28
29
  </ul>
data/_layouts/post.html CHANGED
@@ -4,6 +4,7 @@ layout: default
4
4
  <article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
5
5
  <header class="post-header">
6
6
  <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
7
+ <img src="{{- page.image | relative_url -}}" alt="" class="featured-image">
7
8
  <p class="post-meta">
8
9
  <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
9
10
  {%- assign date_format = site.minima.date_format | default: '%b %-d, %Y' -%}
@@ -21,395 +21,168 @@ figure {
21
21
  padding: 0;
22
22
  }
23
23
 
24
- :root {
25
- --md-source: #6750a4;
26
- /* primary */
27
- --md-ref-palette-primary0: #000000;
28
- --md-ref-palette-primary10: #21005d;
29
- --md-ref-palette-primary20: #381e72;
30
- --md-ref-palette-primary30: #4f378b;
31
- --md-ref-palette-primary40: #6750a4;
32
- --md-ref-palette-primary50: #7f67be;
33
- --md-ref-palette-primary60: #9a82db;
34
- --md-ref-palette-primary70: #b69df8;
35
- --md-ref-palette-primary80: #d0bcff;
36
- --md-ref-palette-primary90: #eaddff;
37
- --md-ref-palette-primary95: #f6edff;
38
- --md-ref-palette-primary99: #fffbfe;
39
- --md-ref-palette-primary100: #ffffff;
40
- /* secondary */
41
- --md-ref-palette-secondary0: #000000;
42
- --md-ref-palette-secondary10: #1d192b;
43
- --md-ref-palette-secondary20: #332d41;
44
- --md-ref-palette-secondary30: #4a4458;
45
- --md-ref-palette-secondary40: #625b71;
46
- --md-ref-palette-secondary50: #7a7289;
47
- --md-ref-palette-secondary60: #958da5;
48
- --md-ref-palette-secondary70: #b0a7c0;
49
- --md-ref-palette-secondary80: #ccc2dc;
50
- --md-ref-palette-secondary90: #e8def8;
51
- --md-ref-palette-secondary95: #f6edff;
52
- --md-ref-palette-secondary99: #fffbfe;
53
- --md-ref-palette-secondary100: #ffffff;
54
- /* tertiary */
55
- --md-ref-palette-tertiary0: #000000;
56
- --md-ref-palette-tertiary10: #31111d;
57
- --md-ref-palette-tertiary20: #492532;
58
- --md-ref-palette-tertiary30: #633b48;
59
- --md-ref-palette-tertiary40: #7d5260;
60
- --md-ref-palette-tertiary50: #986977;
61
- --md-ref-palette-tertiary60: #b58392;
62
- --md-ref-palette-tertiary70: #d29dac;
63
- --md-ref-palette-tertiary80: #efb8c8;
64
- --md-ref-palette-tertiary90: #ffd8e4;
65
- --md-ref-palette-tertiary95: #ffecf1;
66
- --md-ref-palette-tertiary99: #fffbfa;
67
- --md-ref-palette-tertiary100: #ffffff;
68
- /* error */
69
- --md-ref-palette-error0: #000000;
70
- --md-ref-palette-error10: #410e0b;
71
- --md-ref-palette-error20: #601410;
72
- --md-ref-palette-error30: #8c1d18;
73
- --md-ref-palette-error40: #b3261e;
74
- --md-ref-palette-error50: #dc362e;
75
- --md-ref-palette-error60: #e46962;
76
- --md-ref-palette-error70: #ec928e;
77
- --md-ref-palette-error80: #f2b8b5;
78
- --md-ref-palette-error90: #f9dedc;
79
- --md-ref-palette-error95: #fceeee;
80
- --md-ref-palette-error99: #fffbf9;
81
- --md-ref-palette-error100: #ffffff;
82
- /* neutral */
83
- --md-ref-palette-neutral0: #000000;
84
- --md-ref-palette-neutral4: #0f0d13;
85
- --md-ref-palette-neutral6: #141218;
86
- --md-ref-palette-neutral10: #1d1b20;
87
- --md-ref-palette-neutral12: #211f26;
88
- --md-ref-palette-neutral17: #2b2930;
89
- --md-ref-palette-neutral20: #322f35;
90
- --md-ref-palette-neutral22: #36343b;
91
- --md-ref-palette-neutral24: #3b383e;
92
- --md-ref-palette-neutral30: #48464c;
93
- --md-ref-palette-neutral40: #605d64;
94
- --md-ref-palette-neutral50: #79767d;
95
- --md-ref-palette-neutral60: #938f96;
96
- --md-ref-palette-neutral70: #aea9b1;
97
- --md-ref-palette-neutral80: #cac5cd;
98
- --md-ref-palette-neutral87: #ded8e1;
99
- --md-ref-palette-neutral90: #e6e0e9;
100
- --md-ref-palette-neutral92: #ece6f0;
101
- --md-ref-palette-neutral94: #f3edf7;
102
- --md-ref-palette-neutral95: #f5eff7;
103
- --md-ref-palette-neutral96: #f7f2fa;
104
- --md-ref-palette-neutral98: #fef7ff;
105
- --md-ref-palette-neutral99: #fffbff;
106
- --md-ref-palette-neutral100: #ffffff;
107
- /* neutral-variant */
108
- --md-ref-palette-neutral-variant0: #000000;
109
- --md-ref-palette-neutral-variant10: #1d1a22;
110
- --md-ref-palette-neutral-variant20: #322f37;
111
- --md-ref-palette-neutral-variant30: #49454f;
112
- --md-ref-palette-neutral-variant40: #605d66;
113
- --md-ref-palette-neutral-variant50: #79747e;
114
- --md-ref-palette-neutral-variant60: #938f99;
115
- --md-ref-palette-neutral-variant70: #aea9b4;
116
- --md-ref-palette-neutral-variant80: #cac4d0;
117
- --md-ref-palette-neutral-variant90: #e7e0ec;
118
- --md-ref-palette-neutral-variant95: #f5eefa;
119
- --md-ref-palette-neutral-variant99: #fffbfe;
120
- --md-ref-palette-neutral-variant100: #ffffff;
121
- /* light */
122
- --md-sys-color-primary-light: #6750a4;
123
- --md-sys-color-on-primary-light: #ffffff;
124
- --md-sys-color-primary-container-light: #eaddff;
125
- --md-sys-color-on-primary-container-light: #21005d;
126
- --md-sys-color-primary-fixed-light: #eaddff;
127
- --md-sys-color-on-primary-fixed-light: #21005d;
128
- --md-sys-color-primary-fixed-dim-light: #d0bcff;
129
- --md-sys-color-on-primary-fixed-variant-light: #4f378b;
130
- --md-sys-color-secondary-light: #625b71;
131
- --md-sys-color-on-secondary-light: #ffffff;
132
- --md-sys-color-secondary-container-light: #e8def8;
133
- --md-sys-color-on-secondary-container-light: #1d192b;
134
- --md-sys-color-secondary-fixed-light: #e8def8;
135
- --md-sys-color-on-secondary-fixed-light: #1d192b;
136
- --md-sys-color-secondary-fixed-dim-light: #ccc2dc;
137
- --md-sys-color-on-secondary-fixed-variant-light: #4a4458;
138
- --md-sys-color-tertiary-light: #7d5260;
139
- --md-sys-color-on-tertiary-light: #ffffff;
140
- --md-sys-color-tertiary-container-light: #ffd8e4;
141
- --md-sys-color-on-tertiary-container-light: #31111d;
142
- --md-sys-color-tertiary-fixed-light: #ffd8e4;
143
- --md-sys-color-on-tertiary-fixed-light: #31111d;
144
- --md-sys-color-tertiary-fixed-dim-light: #efb8c8;
145
- --md-sys-color-on-tertiary-fixed-variant-light: #633b48;
146
- --md-sys-color-error-light: #b3261e;
147
- --md-sys-color-on-error-light: #ffffff;
148
- --md-sys-color-error-container-light: #f9dedc;
149
- --md-sys-color-on-error-container-light: #410e0b;
150
- --md-sys-color-outline-light: #79747e;
151
- --md-sys-color-background-light: #fef7ff;
152
- --md-sys-color-on-background-light: #1d1b20;
153
- --md-sys-color-surface-light: #fef7ff;
154
- --md-sys-color-on-surface-light: #1d1b20;
155
- --md-sys-color-surface-variant-light: #e7e0ec;
156
- --md-sys-color-on-surface-variant-light: #49454f;
157
- --md-sys-color-inverse-surface-light: #322f35;
158
- --md-sys-color-inverse-on-surface-light: #f5eff7;
159
- --md-sys-color-inverse-primary-light: #d0bcff;
160
- --md-sys-color-shadow-light: #000000;
161
- --md-sys-color-surface-tint-light: #6750a4;
162
- --md-sys-color-outline-variant-light: #cac4d0;
163
- --md-sys-color-scrim-light: #000000;
164
- --md-sys-color-surface-container-highest-light: #e6e0e9;
165
- --md-sys-color-surface-container-high-light: #ece6f0;
166
- --md-sys-color-surface-container-light: #f3edf7;
167
- --md-sys-color-surface-container-low-light: #f7f2fa;
168
- --md-sys-color-surface-container-lowest-light: #ffffff;
169
- --md-sys-color-surface-bright-light: #fef7ff;
170
- --md-sys-color-surface-dim-light: #ded8e1;
171
- /* dark */
172
- --md-sys-color-primary-dark: #d0bcff;
173
- --md-sys-color-on-primary-dark: #381e72;
174
- --md-sys-color-primary-container-dark: #4f378b;
175
- --md-sys-color-on-primary-container-dark: #eaddff;
176
- --md-sys-color-primary-fixed-dark: #eaddff;
177
- --md-sys-color-on-primary-fixed-dark: #21005d;
178
- --md-sys-color-primary-fixed-dim-dark: #d0bcff;
179
- --md-sys-color-on-primary-fixed-variant-dark: #4f378b;
180
- --md-sys-color-secondary-dark: #ccc2dc;
181
- --md-sys-color-on-secondary-dark: #332d41;
182
- --md-sys-color-secondary-container-dark: #4a4458;
183
- --md-sys-color-on-secondary-container-dark: #e8def8;
184
- --md-sys-color-secondary-fixed-dark: #e8def8;
185
- --md-sys-color-on-secondary-fixed-dark: #1d192b;
186
- --md-sys-color-secondary-fixed-dim-dark: #ccc2dc;
187
- --md-sys-color-on-secondary-fixed-variant-dark: #4a4458;
188
- --md-sys-color-tertiary-dark: #efb8c8;
189
- --md-sys-color-on-tertiary-dark: #492532;
190
- --md-sys-color-tertiary-container-dark: #633b48;
191
- --md-sys-color-on-tertiary-container-dark: #ffd8e4;
192
- --md-sys-color-tertiary-fixed-dark: #ffd8e4;
193
- --md-sys-color-on-tertiary-fixed-dark: #31111d;
194
- --md-sys-color-tertiary-fixed-dim-dark: #efb8c8;
195
- --md-sys-color-on-tertiary-fixed-variant-dark: #633b48;
196
- --md-sys-color-error-dark: #f2b8b5;
197
- --md-sys-color-on-error-dark: #601410;
198
- --md-sys-color-error-container-dark: #8c1d18;
199
- --md-sys-color-on-error-container-dark: #f9dedc;
200
- --md-sys-color-outline-dark: #938f99;
201
- --md-sys-color-background-dark: #141218;
202
- --md-sys-color-on-background-dark: #e6e0e9;
203
- --md-sys-color-surface-dark: #141218;
204
- --md-sys-color-on-surface-dark: #e6e0e9;
205
- --md-sys-color-surface-variant-dark: #49454f;
206
- --md-sys-color-on-surface-variant-dark: #cac4d0;
207
- --md-sys-color-inverse-surface-dark: #e6e0e9;
208
- --md-sys-color-inverse-on-surface-dark: #322f35;
209
- --md-sys-color-inverse-primary-dark: #6750a4;
210
- --md-sys-color-shadow-dark: #000000;
211
- --md-sys-color-surface-tint-dark: #d0bcff;
212
- --md-sys-color-outline-variant-dark: #49454f;
213
- --md-sys-color-scrim-dark: #000000;
214
- --md-sys-color-surface-container-highest-dark: #36343b;
215
- --md-sys-color-surface-container-high-dark: #2b2930;
216
- --md-sys-color-surface-container-dark: #211f26;
217
- --md-sys-color-surface-container-low-dark: #1d1b20;
218
- --md-sys-color-surface-container-lowest-dark: #0f0d13;
219
- --md-sys-color-surface-bright-dark: #3b383e;
220
- --md-sys-color-surface-dim-dark: #141218;
221
- /* display - large */
222
- --md-sys-typescale-display-large-font-family-name: Roboto;
223
- --md-sys-typescale-display-large-font-family-style: Regular;
224
- --md-sys-typescale-display-large-font-weight: 400px;
225
- --md-sys-typescale-display-large-font-size: 57px;
226
- --md-sys-typescale-display-large-line-height: 64px;
227
- --md-sys-typescale-display-large-letter-spacing: -0.25px;
228
- /* display - medium */
229
- --md-sys-typescale-display-medium-font-family-name: Roboto;
230
- --md-sys-typescale-display-medium-font-family-style: Regular;
231
- --md-sys-typescale-display-medium-font-weight: 400px;
232
- --md-sys-typescale-display-medium-font-size: 45px;
233
- --md-sys-typescale-display-medium-line-height: 52px;
234
- --md-sys-typescale-display-medium-letter-spacing: 0px;
235
- /* display - small */
236
- --md-sys-typescale-display-small-font-family-name: Roboto;
237
- --md-sys-typescale-display-small-font-family-style: Regular;
238
- --md-sys-typescale-display-small-font-weight: 400px;
239
- --md-sys-typescale-display-small-font-size: 36px;
240
- --md-sys-typescale-display-small-line-height: 44px;
241
- --md-sys-typescale-display-small-letter-spacing: 0px;
242
- /* headline - large */
243
- --md-sys-typescale-headline-large-font-family-name: Roboto;
244
- --md-sys-typescale-headline-large-font-family-style: Regular;
245
- --md-sys-typescale-headline-large-font-weight: 400px;
246
- --md-sys-typescale-headline-large-font-size: 32px;
247
- --md-sys-typescale-headline-large-line-height: 40px;
248
- --md-sys-typescale-headline-large-letter-spacing: 0px;
249
- /* headline - medium */
250
- --md-sys-typescale-headline-medium-font-family-name: Roboto;
251
- --md-sys-typescale-headline-medium-font-family-style: Regular;
252
- --md-sys-typescale-headline-medium-font-weight: 400px;
253
- --md-sys-typescale-headline-medium-font-size: 28px;
254
- --md-sys-typescale-headline-medium-line-height: 36px;
255
- --md-sys-typescale-headline-medium-letter-spacing: 0px;
256
- /* headline - small */
257
- --md-sys-typescale-headline-small-font-family-name: Roboto;
258
- --md-sys-typescale-headline-small-font-family-style: Regular;
259
- --md-sys-typescale-headline-small-font-weight: 400px;
260
- --md-sys-typescale-headline-small-font-size: 24px;
261
- --md-sys-typescale-headline-small-line-height: 32px;
262
- --md-sys-typescale-headline-small-letter-spacing: 0px;
263
- /* body - large */
264
- --md-sys-typescale-body-large-font-family-name: Roboto;
265
- --md-sys-typescale-body-large-font-family-style: Regular;
266
- --md-sys-typescale-body-large-font-weight: 400px;
267
- --md-sys-typescale-body-large-font-size: 16px;
268
- --md-sys-typescale-body-large-line-height: 24px;
269
- --md-sys-typescale-body-large-letter-spacing: 0.5px;
270
- /* body - medium */
271
- --md-sys-typescale-body-medium-font-family-name: Roboto;
272
- --md-sys-typescale-body-medium-font-family-style: Regular;
273
- --md-sys-typescale-body-medium-font-weight: 400px;
274
- --md-sys-typescale-body-medium-font-size: 14px;
275
- --md-sys-typescale-body-medium-line-height: 20px;
276
- --md-sys-typescale-body-medium-letter-spacing: 0.25px;
277
- /* body - small */
278
- --md-sys-typescale-body-small-font-family-name: Roboto;
279
- --md-sys-typescale-body-small-font-family-style: Regular;
280
- --md-sys-typescale-body-small-font-weight: 400px;
281
- --md-sys-typescale-body-small-font-size: 12px;
282
- --md-sys-typescale-body-small-line-height: 16px;
283
- --md-sys-typescale-body-small-letter-spacing: 0.4px;
284
- /* label - large */
285
- --md-sys-typescale-label-large-font-family-name: Roboto;
286
- --md-sys-typescale-label-large-font-family-style: Medium;
287
- --md-sys-typescale-label-large-font-weight: 500px;
288
- --md-sys-typescale-label-large-font-size: 14px;
289
- --md-sys-typescale-label-large-line-height: 20px;
290
- --md-sys-typescale-label-large-letter-spacing: 0.1px;
291
- /* label - medium */
292
- --md-sys-typescale-label-medium-font-family-name: Roboto;
293
- --md-sys-typescale-label-medium-font-family-style: Medium;
294
- --md-sys-typescale-label-medium-font-weight: 500px;
295
- --md-sys-typescale-label-medium-font-size: 12px;
296
- --md-sys-typescale-label-medium-line-height: 16px;
297
- --md-sys-typescale-label-medium-letter-spacing: 0.5px;
298
- /* label - small */
299
- --md-sys-typescale-label-small-font-family-name: Roboto;
300
- --md-sys-typescale-label-small-font-family-style: Medium;
301
- --md-sys-typescale-label-small-font-weight: 500px;
302
- --md-sys-typescale-label-small-font-size: 11px;
303
- --md-sys-typescale-label-small-line-height: 16px;
304
- --md-sys-typescale-label-small-letter-spacing: 0.5px;
305
- /* title - large */
306
- --md-sys-typescale-title-large-font-family-name: Roboto;
307
- --md-sys-typescale-title-large-font-family-style: Regular;
308
- --md-sys-typescale-title-large-font-weight: 400px;
309
- --md-sys-typescale-title-large-font-size: 22px;
310
- --md-sys-typescale-title-large-line-height: 28px;
311
- --md-sys-typescale-title-large-letter-spacing: 0px;
312
- /* title - medium */
313
- --md-sys-typescale-title-medium-font-family-name: Roboto;
314
- --md-sys-typescale-title-medium-font-family-style: Medium;
315
- --md-sys-typescale-title-medium-font-weight: 500px;
316
- --md-sys-typescale-title-medium-font-size: 16px;
317
- --md-sys-typescale-title-medium-line-height: 24px;
318
- --md-sys-typescale-title-medium-letter-spacing: 0.15px;
319
- /* title - small */
320
- --md-sys-typescale-title-small-font-family-name: Roboto;
321
- --md-sys-typescale-title-small-font-family-style: Medium;
322
- --md-sys-typescale-title-small-font-weight: 500px;
323
- --md-sys-typescale-title-small-font-size: 14px;
324
- --md-sys-typescale-title-small-line-height: 20px;
325
- --md-sys-typescale-title-small-letter-spacing: 0.1px;
326
- }
327
- .dark {
328
- --md-sys-color-primary: var(--md-sys-color-primary-dark);
329
- --md-sys-color-on-primary: var(--md-sys-color-on-primary-dark);
330
- --md-sys-color-primary-container: var(--md-sys-color-primary-container-dark);
331
- --md-sys-color-on-primary-container: var(
332
- --md-sys-color-on-primary-container-dark
333
- );
334
- --md-sys-color-primary-fixed: var(--md-sys-color-primary-fixed-dark);
335
- --md-sys-color-on-primary-fixed: var(--md-sys-color-on-primary-fixed-dark);
336
- --md-sys-color-primary-fixed-dim: var(--md-sys-color-primary-fixed-dim-dark);
337
- --md-sys-color-on-primary-fixed-variant: var(
338
- --md-sys-color-on-primary-fixed-variant-dark
339
- );
340
- --md-sys-color-secondary: var(--md-sys-color-secondary-dark);
341
- --md-sys-color-on-secondary: var(--md-sys-color-on-secondary-dark);
342
- --md-sys-color-secondary-container: var(
343
- --md-sys-color-secondary-container-dark
344
- );
345
- --md-sys-color-on-secondary-container: var(
346
- --md-sys-color-on-secondary-container-dark
347
- );
348
- --md-sys-color-secondary-fixed: var(--md-sys-color-secondary-fixed-dark);
349
- --md-sys-color-on-secondary-fixed: var(
350
- --md-sys-color-on-secondary-fixed-dark
351
- );
352
- --md-sys-color-secondary-fixed-dim: var(
353
- --md-sys-color-secondary-fixed-dim-dark
354
- );
355
- --md-sys-color-on-secondary-fixed-variant: var(
356
- --md-sys-color-on-secondary-fixed-variant-dark
357
- );
358
- --md-sys-color-tertiary: var(--md-sys-color-tertiary-dark);
359
- --md-sys-color-on-tertiary: var(--md-sys-color-on-tertiary-dark);
360
- --md-sys-color-tertiary-container: var(
361
- --md-sys-color-tertiary-container-dark
362
- );
363
- --md-sys-color-on-tertiary-container: var(
364
- --md-sys-color-on-tertiary-container-dark
365
- );
366
- --md-sys-color-tertiary-fixed: var(--md-sys-color-tertiary-fixed-dark);
367
- --md-sys-color-on-tertiary-fixed: var(--md-sys-color-on-tertiary-fixed-dark);
368
- --md-sys-color-tertiary-fixed-dim: var(
369
- --md-sys-color-tertiary-fixed-dim-dark
370
- );
371
- --md-sys-color-on-tertiary-fixed-variant: var(
372
- --md-sys-color-on-tertiary-fixed-variant-dark
373
- );
374
- --md-sys-color-error: var(--md-sys-color-error-dark);
375
- --md-sys-color-on-error: var(--md-sys-color-on-error-dark);
376
- --md-sys-color-error-container: var(--md-sys-color-error-container-dark);
377
- --md-sys-color-on-error-container: var(
378
- --md-sys-color-on-error-container-dark
379
- );
380
- --md-sys-color-outline: var(--md-sys-color-outline-dark);
381
- --md-sys-color-background: var(--md-sys-color-background-dark);
382
- --md-sys-color-on-background: var(--md-sys-color-on-background-dark);
383
- --md-sys-color-surface: var(--md-sys-color-surface-dark);
384
- --md-sys-color-on-surface: var(--md-sys-color-on-surface-dark);
385
- --md-sys-color-surface-variant: var(--md-sys-color-surface-variant-dark);
386
- --md-sys-color-on-surface-variant: var(
387
- --md-sys-color-on-surface-variant-dark
388
- );
389
- --md-sys-color-inverse-surface: var(--md-sys-color-inverse-surface-dark);
390
- --md-sys-color-inverse-on-surface: var(
391
- --md-sys-color-inverse-on-surface-dark
392
- );
393
- --md-sys-color-inverse-primary: var(--md-sys-color-inverse-primary-dark);
394
- --md-sys-color-shadow: var(--md-sys-color-shadow-dark);
395
- --md-sys-color-surface-tint: var(--md-sys-color-surface-tint-dark);
396
- --md-sys-color-outline-variant: var(--md-sys-color-outline-variant-dark);
397
- --md-sys-color-scrim: var(--md-sys-color-scrim-dark);
398
- --md-sys-color-surface-container-highest: var(
399
- --md-sys-color-surface-container-highest-dark
400
- );
401
- --md-sys-color-surface-container-high: var(
402
- --md-sys-color-surface-container-high-dark
403
- );
404
- --md-sys-color-surface-container: var(--md-sys-color-surface-container-dark);
405
- --md-sys-color-surface-container-low: var(
406
- --md-sys-color-surface-container-low-dark
407
- );
408
- --md-sys-color-surface-container-lowest: var(
409
- --md-sys-color-surface-container-lowest-dark
410
- );
411
- --md-sys-color-surface-bright: var(--md-sys-color-surface-bright-dark);
412
- --md-sys-color-surface-dim: var(--md-sys-color-surface-dim-dark);
24
+ .dark-green {
25
+ --md-sys-color-primary: rgb(177 209 138);
26
+ --md-sys-color-surface-tint: rgb(177 209 138);
27
+ --md-sys-color-on-primary: rgb(31 55 1);
28
+ --md-sys-color-primary-container: rgb(53 78 22);
29
+ --md-sys-color-on-primary-container: rgb(205 237 163);
30
+ --md-sys-color-secondary: rgb(191 203 173);
31
+ --md-sys-color-on-secondary: rgb(42 51 30);
32
+ --md-sys-color-secondary-container: rgb(64 74 51);
33
+ --md-sys-color-on-secondary-container: rgb(220 231 200);
34
+ --md-sys-color-tertiary: rgb(160 208 203);
35
+ --md-sys-color-on-tertiary: rgb(0 55 53);
36
+ --md-sys-color-tertiary-container: rgb(31 78 75);
37
+ --md-sys-color-on-tertiary-container: rgb(188 236 231);
38
+ --md-sys-color-error: rgb(255 180 171);
39
+ --md-sys-color-on-error: rgb(105 0 5);
40
+ --md-sys-color-error-container: rgb(147 0 10);
41
+ --md-sys-color-on-error-container: rgb(255 218 214);
42
+ --md-sys-color-background: rgb(18 20 14);
43
+ --md-sys-color-on-background: rgb(226 227 216);
44
+ --md-sys-color-surface: rgb(18 20 14);
45
+ --md-sys-color-on-surface: rgb(226 227 216);
46
+ --md-sys-color-surface-variant: rgb(68 72 61);
47
+ --md-sys-color-on-surface-variant: rgb(197 200 186);
48
+ --md-sys-color-outline: rgb(143 146 133);
49
+ --md-sys-color-outline-variant: rgb(68 72 61);
50
+ --md-sys-color-shadow: rgb(0 0 0);
51
+ --md-sys-color-scrim: rgb(0 0 0);
52
+ --md-sys-color-inverse-surface: rgb(226 227 216);
53
+ --md-sys-color-inverse-on-surface: rgb(47 49 42);
54
+ --md-sys-color-inverse-primary: rgb(76 102 43);
55
+ --md-sys-color-primary-fixed: rgb(205 237 163);
56
+ --md-sys-color-on-primary-fixed: rgb(16 32 0);
57
+ --md-sys-color-primary-fixed-dim: rgb(177 209 138);
58
+ --md-sys-color-on-primary-fixed-variant: rgb(53 78 22);
59
+ --md-sys-color-secondary-fixed: rgb(220 231 200);
60
+ --md-sys-color-on-secondary-fixed: rgb(21 30 11);
61
+ --md-sys-color-secondary-fixed-dim: rgb(191 203 173);
62
+ --md-sys-color-on-secondary-fixed-variant: rgb(64 74 51);
63
+ --md-sys-color-tertiary-fixed: rgb(188 236 231);
64
+ --md-sys-color-on-tertiary-fixed: rgb(0 32 30);
65
+ --md-sys-color-tertiary-fixed-dim: rgb(160 208 203);
66
+ --md-sys-color-on-tertiary-fixed-variant: rgb(31 78 75);
67
+ --md-sys-color-surface-dim: rgb(18 20 14);
68
+ --md-sys-color-surface-bright: rgb(56 58 50);
69
+ --md-sys-color-surface-container-lowest: rgb(12 15 9);
70
+ --md-sys-color-surface-container-low: rgb(26 28 22);
71
+ --md-sys-color-surface-container: rgb(30 32 26);
72
+ --md-sys-color-surface-container-high: rgb(40 43 36);
73
+ --md-sys-color-surface-container-highest: rgb(51 54 46);
74
+ }
75
+ .light-green {
76
+ --md-sys-color-primary: rgb(76 102 43);
77
+ --md-sys-color-surface-tint: rgb(76 102 43);
78
+ --md-sys-color-on-primary: rgb(255 255 255);
79
+ --md-sys-color-primary-container: rgb(205 237 163);
80
+ --md-sys-color-on-primary-container: rgb(16 32 0);
81
+ --md-sys-color-secondary: rgb(88 98 73);
82
+ --md-sys-color-on-secondary: rgb(255 255 255);
83
+ --md-sys-color-secondary-container: rgb(220 231 200);
84
+ --md-sys-color-on-secondary-container: rgb(21 30 11);
85
+ --md-sys-color-tertiary: rgb(56 102 99);
86
+ --md-sys-color-on-tertiary: rgb(255 255 255);
87
+ --md-sys-color-tertiary-container: rgb(188 236 231);
88
+ --md-sys-color-on-tertiary-container: rgb(0 32 30);
89
+ --md-sys-color-error: rgb(186 26 26);
90
+ --md-sys-color-on-error: rgb(255 255 255);
91
+ --md-sys-color-error-container: rgb(255 218 214);
92
+ --md-sys-color-on-error-container: rgb(65 0 2);
93
+ --md-sys-color-background: rgb(249 250 239);
94
+ --md-sys-color-on-background: rgb(26 28 22);
95
+ --md-sys-color-surface: rgb(249 250 239);
96
+ --md-sys-color-on-surface: rgb(26 28 22);
97
+ --md-sys-color-surface-variant: rgb(225 228 213);
98
+ --md-sys-color-on-surface-variant: rgb(68 72 61);
99
+ --md-sys-color-outline: rgb(117 121 108);
100
+ --md-sys-color-outline-variant: rgb(197 200 186);
101
+ --md-sys-color-shadow: rgb(0 0 0);
102
+ --md-sys-color-scrim: rgb(0 0 0);
103
+ --md-sys-color-inverse-surface: rgb(47 49 42);
104
+ --md-sys-color-inverse-on-surface: rgb(241 242 230);
105
+ --md-sys-color-inverse-primary: rgb(177 209 138);
106
+ --md-sys-color-primary-fixed: rgb(205 237 163);
107
+ --md-sys-color-on-primary-fixed: rgb(16 32 0);
108
+ --md-sys-color-primary-fixed-dim: rgb(177 209 138);
109
+ --md-sys-color-on-primary-fixed-variant: rgb(53 78 22);
110
+ --md-sys-color-secondary-fixed: rgb(220 231 200);
111
+ --md-sys-color-on-secondary-fixed: rgb(21 30 11);
112
+ --md-sys-color-secondary-fixed-dim: rgb(191 203 173);
113
+ --md-sys-color-on-secondary-fixed-variant: rgb(64 74 51);
114
+ --md-sys-color-tertiary-fixed: rgb(188 236 231);
115
+ --md-sys-color-on-tertiary-fixed: rgb(0 32 30);
116
+ --md-sys-color-tertiary-fixed-dim: rgb(160 208 203);
117
+ --md-sys-color-on-tertiary-fixed-variant: rgb(31 78 75);
118
+ --md-sys-color-surface-dim: rgb(218 219 208);
119
+ --md-sys-color-surface-bright: rgb(249 250 239);
120
+ --md-sys-color-surface-container-lowest: rgb(255 255 255);
121
+ --md-sys-color-surface-container-low: rgb(243 244 233);
122
+ --md-sys-color-surface-container: rgb(238 239 227);
123
+ --md-sys-color-surface-container-high: rgb(232 233 222);
124
+ --md-sys-color-surface-container-highest: rgb(226 227 216);
125
+ }
126
+ .dark-pink {
127
+ --md-sys-color-primary: rgb(240 179 231);
128
+ --md-sys-color-surface-tint: rgb(240 179 231);
129
+ --md-sys-color-on-primary: rgb(75 31 74);
130
+ --md-sys-color-primary-container: rgb(101 54 98);
131
+ --md-sys-color-on-primary-container: rgb(255 215 247);
132
+ --md-sys-color-secondary: rgb(218 191 211);
133
+ --md-sys-color-on-secondary: rgb(61 43 58);
134
+ --md-sys-color-secondary-container: rgb(84 65 81);
135
+ --md-sys-color-on-secondary-container: rgb(247 218 239);
136
+ --md-sys-color-tertiary: rgb(246 184 168);
137
+ --md-sys-color-on-tertiary: rgb(76 38 27);
138
+ --md-sys-color-tertiary-container: rgb(102 59 48);
139
+ --md-sys-color-on-tertiary-container: rgb(255 219 209);
140
+ --md-sys-color-error: rgb(255 180 171);
141
+ --md-sys-color-on-error: rgb(105 0 5);
142
+ --md-sys-color-error-container: rgb(147 0 10);
143
+ --md-sys-color-on-error-container: rgb(255 218 214);
144
+ --md-sys-color-background: rgb(23 18 22);
145
+ --md-sys-color-on-background: rgb(235 223 230);
146
+ --md-sys-color-surface: rgb(23 18 22);
147
+ --md-sys-color-on-surface: rgb(235 223 230);
148
+ --md-sys-color-surface-variant: rgb(78 68 75);
149
+ --md-sys-color-on-surface-variant: rgb(209 195 203);
150
+ --md-sys-color-outline: rgb(154 141 149);
151
+ --md-sys-color-outline-variant: rgb(78 68 75);
152
+ --md-sys-color-shadow: rgb(0 0 0);
153
+ --md-sys-color-scrim: rgb(0 0 0);
154
+ --md-sys-color-inverse-surface: rgb(235 223 230);
155
+ --md-sys-color-inverse-on-surface: rgb(53 46 51);
156
+ --md-sys-color-inverse-primary: rgb(127 77 123);
157
+ --md-sys-color-primary-fixed: rgb(255 215 247);
158
+ --md-sys-color-on-primary-fixed: rgb(51 8 51);
159
+ --md-sys-color-primary-fixed-dim: rgb(240 179 231);
160
+ --md-sys-color-on-primary-fixed-variant: rgb(101 54 98);
161
+ --md-sys-color-secondary-fixed: rgb(247 218 239);
162
+ --md-sys-color-on-secondary-fixed: rgb(38 22 37);
163
+ --md-sys-color-secondary-fixed-dim: rgb(218 191 211);
164
+ --md-sys-color-on-secondary-fixed-variant: rgb(84 65 81);
165
+ --md-sys-color-tertiary-fixed: rgb(255 219 209);
166
+ --md-sys-color-on-tertiary-fixed: rgb(50 18 9);
167
+ --md-sys-color-tertiary-fixed-dim: rgb(246 184 168);
168
+ --md-sys-color-on-tertiary-fixed-variant: rgb(102 59 48);
169
+ --md-sys-color-surface-dim: rgb(23 18 22);
170
+ --md-sys-color-surface-bright: rgb(62 55 60);
171
+ --md-sys-color-surface-container-lowest: rgb(18 13 17);
172
+ --md-sys-color-surface-container-low: rgb(32 26 30);
173
+ --md-sys-color-surface-container: rgb(36 30 34);
174
+ --md-sys-color-surface-container-high: rgb(47 40 45);
175
+ --md-sys-color-surface-container-highest: rgb(58 51 56);
176
+ }
177
+ .logo{
178
+ height: 150px;
179
+ padding-right: 10%;
180
+ }
181
+ .header-container{
182
+ display: flex;
183
+ justify-content: center;
184
+ align-items: center;
185
+ flex-direction: column;
413
186
  }
414
187
  @font-face {
415
188
  font-family: Virgil;
@@ -515,7 +288,7 @@ a {
515
288
  text-decoration: none;
516
289
 
517
290
  &:visited {
518
- color: darken($brand-color, 15%);
291
+ // color: var(--md-sys-color-inverse-primary);
519
292
  }
520
293
 
521
294
  &:hover {
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Site header
3
3
  */
4
-
4
+
5
5
  .site-header {
6
6
  border-top: 5px solid var(--md-sys-color-outline-dark);
7
7
  // border-bottom: 1px solid var(--md-sys-color-outline);
@@ -10,21 +10,24 @@
10
10
  // Positioning context for the mobile navigation icon
11
11
  position: relative;
12
12
  }
13
- .post-card{
13
+ .post-card {
14
14
  // border: 1px solid var(--md-sys-color-outline);
15
+ display: flex;
16
+ flex-direction: column;
15
17
  border-radius: 14px;
16
- padding:12px;
17
- background-color: var(--md-sys-color-surface-container)
18
-
18
+ padding: 12px;
19
+ background-color: var(--md-sys-color-surface-container);
19
20
  }
20
21
  .site-title {
21
22
  @include relative-font-size(1.625);
22
23
  font-family: Virgil;
23
24
  font-weight: 300;
25
+ font-size: 40px;
26
+ text-align: center;
24
27
  line-height: $base-line-height * $base-font-size * 2.25;
25
28
  letter-spacing: -1px;
26
29
  margin-bottom: 0;
27
- float: left;
30
+ // float: left;
28
31
 
29
32
  &,
30
33
  &:visited {
@@ -37,7 +40,7 @@
37
40
  line-height: $base-line-height * $base-font-size * 2.25;
38
41
 
39
42
  .nav-trigger {
40
- display: none;
43
+ display: none;
41
44
  }
42
45
 
43
46
  .menu-icon {
@@ -58,10 +61,12 @@
58
61
  position: absolute;
59
62
  top: 9px;
60
63
  right: $spacing-unit / 2;
61
- background-color: $background-color;
62
- border: 1px solid var(--md-sys-color-outline);
63
- border-radius: 5px;
64
+ background-color: var(--md-sys-color-surface-container);
65
+ border-radius: 8px;
64
66
  text-align: right;
67
+ padding-bottom: 3px;
68
+ padding-left: 2px;
69
+ padding-right: 2px;
65
70
 
66
71
  label[for="nav-trigger"] {
67
72
  display: block;
@@ -108,8 +113,6 @@
108
113
  }
109
114
  }
110
115
 
111
-
112
-
113
116
  /**
114
117
  * Site footer
115
118
  */
@@ -144,29 +147,29 @@
144
147
 
145
148
  .footer-col-1 {
146
149
  width: -webkit-calc(35% - (#{$spacing-unit} / 2));
147
- width: calc(35% - (#{$spacing-unit} / 2));
150
+ width: calc(35% - (#{$spacing-unit} / 2));
148
151
  }
149
152
 
150
153
  .footer-col-2 {
151
154
  width: -webkit-calc(20% - (#{$spacing-unit} / 2));
152
- width: calc(20% - (#{$spacing-unit} / 2));
155
+ width: calc(20% - (#{$spacing-unit} / 2));
153
156
  }
154
157
 
155
158
  .footer-col-3 {
156
159
  width: -webkit-calc(45% - (#{$spacing-unit} / 2));
157
- width: calc(45% - (#{$spacing-unit} / 2));
160
+ width: calc(45% - (#{$spacing-unit} / 2));
158
161
  }
159
162
 
160
163
  @include media-query($on-laptop) {
161
164
  .footer-col-1,
162
165
  .footer-col-2 {
163
166
  width: -webkit-calc(50% - (#{$spacing-unit} / 2));
164
- width: calc(50% - (#{$spacing-unit} / 2));
167
+ width: calc(50% - (#{$spacing-unit} / 2));
165
168
  }
166
169
 
167
170
  .footer-col-3 {
168
171
  width: -webkit-calc(100% - (#{$spacing-unit} / 2));
169
- width: calc(100% - (#{$spacing-unit} / 2));
172
+ width: calc(100% - (#{$spacing-unit} / 2));
170
173
  }
171
174
  }
172
175
 
@@ -174,12 +177,10 @@
174
177
  .footer-col {
175
178
  float: none;
176
179
  width: -webkit-calc(100% - (#{$spacing-unit} / 2));
177
- width: calc(100% - (#{$spacing-unit} / 2));
180
+ width: calc(100% - (#{$spacing-unit} / 2));
178
181
  }
179
182
  }
180
183
 
181
-
182
-
183
184
  /**
184
185
  * Page content
185
186
  */
@@ -209,15 +210,25 @@
209
210
  font-size: $small-font-size;
210
211
  color: $grey-color;
211
212
  }
212
-
213
+ .post-image{
214
+ height: 200px;
215
+ width: 100%;
216
+ }
217
+ .featured-image{
218
+ height: 300px;
219
+ width: 100%;
220
+ object-fit: contain;
221
+ }
222
+ .post-excerpt {
223
+ font-size: $small-font-size;
224
+ color: $grey-color;
225
+ }
213
226
  .post-link {
214
227
  display: block;
215
228
  @include relative-font-size(1.5);
216
229
  // font-family: Virgil;
217
230
  }
218
231
 
219
-
220
-
221
232
  /**
222
233
  * Posts
223
234
  */
data/_sass/minima.scss CHANGED
@@ -10,13 +10,13 @@ $base-line-height: 1.5 !default;
10
10
 
11
11
  $spacing-unit: 30px !default;
12
12
 
13
- $text-color: #E6E0E9 !default;
14
- $background-color: #141218 !default;
15
- $brand-color: #D0BCFF !default;
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
16
 
17
- $grey-color: #828282 !default;
18
- $grey-color-light: lighten($grey-color, 40%) !default;
19
- $grey-color-dark: darken($grey-color, 25%) !default;
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
20
 
21
21
  $table-text-align: left !default;
22
22
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dark-blog-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gul Noor
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-25 00:00:00.000000000 Z
11
+ date: 2024-07-26 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email:
@@ -20,6 +20,7 @@ files:
20
20
  - LICENSE.txt
21
21
  - README.md
22
22
  - _config.yml
23
+ - _data/images.json
23
24
  - _includes/disqus_comments.html
24
25
  - _includes/footer.html
25
26
  - _includes/google-analytics.html