dark-blog-theme 0.1.5 → 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: 4b0c3cfc8831b6000b0b4bc16cd6263a47a75a69315fc89fa490e58cecf2f9b4
4
- data.tar.gz: 681160cdb1edf72c0228ded6f201a6b2e9c6432b7f17965f0ea580174dc52957
3
+ metadata.gz: b8e27d536a72fa8f6db9c38cedcdc2a970308d09e0a9271d82b1550b714b29e5
4
+ data.tar.gz: ff01737062b9afcdf99b2e746ab8ccfc5cb1f34c82ed0f3ded3f89c292431a90
5
5
  SHA512:
6
- metadata.gz: 7ee0c39d504e752f7e1cf4eb049b63aa75df55380b2054692fd171e78a60929013a346a9078a8199db0a270e3afa5e82216d700530990680b61eaad8cb161537
7
- data.tar.gz: e42f350bf4040072a4b7309687d8097144b42fc3c23f085f66075275764f5a2a225d71c6d1620c7d60bdcdb9a0c9d391b717a7ab8c9e1604434c64c46309164f
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.5
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gul Noor
@@ -9,21 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
  date: 2024-07-25 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: jekyll
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '4.3'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '4.3'
12
+ dependencies: []
27
13
  description:
28
14
  email:
29
15
  - gulnoor5233@gmail.com