dark-blog-theme 0.1.7 → 0.1.8

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: 75024db1feed4ba5b6c7f480ad89f73beea9b7535e73c53327b997f56264ab4f
4
- data.tar.gz: a927ee71039469b9d628d9c357ec4a402dc1cd2594977a6c75801aa2f1ceb9f9
3
+ metadata.gz: b8e27d536a72fa8f6db9c38cedcdc2a970308d09e0a9271d82b1550b714b29e5
4
+ data.tar.gz: ff01737062b9afcdf99b2e746ab8ccfc5cb1f34c82ed0f3ded3f89c292431a90
5
5
  SHA512:
6
- metadata.gz: 91a1514673a030dcb732a4e0df0312f02d9415f9f658ee520e94ca2c836425d4fc4f2b79cac228db14e8bb916729aa6134da6b6c8ccf6650a1d9fbda5c4ebb56
7
- data.tar.gz: 2f6f254d0304b3a5fc3721156b0c43135f333c481fc7073fee62fe5b8050c7a1b6b31d4b67b2724097d323e9eba82af471ae4e44bec89a291eddb1b605d67666
6
+ metadata.gz: 43ce3b07f4ace23ec9eb5ba5892d1d9c64d9811ea3173aff90b049cc3bcd118771a6fb8223d00522d6ad43fe18cfa0cca621f8e3cb938d34cb750c19fdd34faa
7
+ data.tar.gz: c7998f74ce8d9f66cb2f4ec3cc82289b6c95da5fc21bccb79a4474d0ef919669b0892b1012f9867a3d641a5a1df5a8300059e617605d46037bb7d1d7220797c6
data/_layouts/home.html CHANGED
@@ -12,7 +12,7 @@ layout: default
12
12
  <h2 class="post-list-heading">{{ page.list_title | default: 'Posts' }}</h2>
13
13
  <ul class="post-list">
14
14
  {%- for post in site.posts -%}
15
- <li>
15
+ <li class="post-card">
16
16
  {%- assign date_format = site.minima.date_format | default: '%b %-d, %Y' -%}
17
17
  <span class="post-meta">{{ post.date | date: date_format }}</span>
18
18
  <h3>
@@ -411,7 +411,10 @@ figure {
411
411
  --md-sys-color-surface-bright: var(--md-sys-color-surface-bright-dark);
412
412
  --md-sys-color-surface-dim: var(--md-sys-color-surface-dim-dark);
413
413
  }
414
-
414
+ @font-face {
415
+ font-family: Virgil;
416
+ src: url("/assets/fonts/Virgil.woff2");
417
+ }
415
418
  /**
416
419
  * Basic styling
417
420
  */
@@ -626,12 +629,12 @@ table {
626
629
  margin-bottom: $spacing-unit;
627
630
  width: 100%;
628
631
  text-align: $table-text-align;
629
- color: lighten($text-color, 18%);
632
+ color: var(--md-sys-color-on-surface);
630
633
  border-collapse: collapse;
631
- border: 1px solid $grey-color-light;
634
+ border: 1px solid var(--md-sys-color-outline);
632
635
  tr {
633
636
  &:nth-child(even) {
634
- background-color: lighten($grey-color-light, 6%);
637
+ background-color: var(--md-sys-color-surface-container-high);
635
638
  }
636
639
  }
637
640
  th,
@@ -639,12 +642,12 @@ table {
639
642
  padding: ($spacing-unit / 3) ($spacing-unit / 2);
640
643
  }
641
644
  th {
642
- background-color: lighten($grey-color-light, 3%);
643
- border: 1px solid darken($grey-color-light, 4%);
644
- border-bottom-color: darken($grey-color-light, 12%);
645
+ background-color: var(--md-sys-color-surface-container-highest);
646
+ // border: 1px solid darken($grey-color-light, 4%);
647
+ // border-bottom-color: darken($grey-color-light, 12%);
645
648
  }
646
649
  td {
647
- border: 1px solid $grey-color-light;
650
+ border: 1px solid var(--md-sys-color-outline);
648
651
  }
649
652
  }
650
653
  .primary {
@@ -4,15 +4,22 @@
4
4
 
5
5
  .site-header {
6
6
  border-top: 5px solid var(--md-sys-color-outline-dark);
7
- border-bottom: 1px solid var(--md-sys-color-outline);
7
+ // border-bottom: 1px solid var(--md-sys-color-outline);
8
8
  min-height: $spacing-unit * 1.865;
9
9
 
10
10
  // Positioning context for the mobile navigation icon
11
11
  position: relative;
12
12
  }
13
+ .post-card{
14
+ // border: 1px solid var(--md-sys-color-outline);
15
+ border-radius: 14px;
16
+ padding:12px;
17
+ background-color: var(--md-sys-color-surface-container)
13
18
 
19
+ }
14
20
  .site-title {
15
21
  @include relative-font-size(1.625);
22
+ font-family: Virgil;
16
23
  font-weight: 300;
17
24
  line-height: $base-line-height * $base-font-size * 2.25;
18
25
  letter-spacing: -1px;
@@ -206,6 +213,7 @@
206
213
  .post-link {
207
214
  display: block;
208
215
  @include relative-font-size(1.5);
216
+ // font-family: Virgil;
209
217
  }
210
218
 
211
219
 
data/_sass/minima.scss CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  // Define defaults for each variable.
4
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;
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
6
  $base-font-size: 16px !default;
7
7
  $base-font-weight: 400 !default;
8
8
  $small-font-size: $base-font-size * 0.875 !default;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dark-blog-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gul Noor