jekyll-theme-doodle 5.2.0 → 5.2.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 18a9a55074a8a22ed0b3e3bb3fa0e24a749217a71118ce4a8a864d4b07d54c6b
4
- data.tar.gz: b8653371ee46f39f9cc01f78df94b7d04a36b99ba36c82baff4a3b4a03f60348
3
+ metadata.gz: 7c903cf48cffc4afbb4a3750d8ab4e6d5198455399d583792ce487261ab4abc7
4
+ data.tar.gz: 85733cd5f70c1a92298d0954256a6e42e009108184075e0d6801b9c4ae3bc45b
5
5
  SHA512:
6
- metadata.gz: 833120d18cae14e8744d74357111c8d5bf8c8416485501e64725beeb4d0d19579b25a97112464a9730b1459d94f2cddc353d9c953065b4eb76b82efb71793381
7
- data.tar.gz: 0b885e10752f19e9d1e0045ca4b35374dbef5900b514aea2eaf762f7167e63d42ea38bb2e9749b2bc3ec6745c74a608b0190f1b2181a5a19036a224b21ee7485
6
+ metadata.gz: ca1dcb6fae51d6f601efd9ad5e85c3e9187b92daf36651a5ca4a1446029f516e5a33096f119d1dd918d89ec939688a4920743ded38d60232d40ccb8fed2c5f7f
7
+ data.tar.gz: b57e6981a5616fd45b535cfdc31a4d098005c8dc8ad7131685b4b7bcdbc9d578a9bb86027f06e1e9797ee778c59fcf87218cb247de124cbfb19f620731eb5932
@@ -139,29 +139,6 @@ a {
139
139
  }
140
140
  }
141
141
 
142
- /**
143
- * Blockquotes
144
- */
145
- blockquote {
146
- background-color: var(--md-sys-color-tertiary-container);
147
- color: var(--md-sys-color-on-tertiary-container);
148
- padding: $spacing-unit;
149
- margin-left: 10px;
150
- margin-right: 10px;
151
- border-radius: 16px;
152
- @include relative-font-size(1.125);
153
- letter-spacing: -1px;
154
-
155
- > :last-child {
156
- margin-bottom: 0;
157
- }
158
- > p {
159
- text-align: left;
160
- }
161
- }
162
-
163
-
164
-
165
142
  /**
166
143
  * Wrapper
167
144
  */
@@ -283,3 +260,13 @@ main {
283
260
  overflow: hidden;
284
261
  animation: mainreveal 0.25s;
285
262
  }
263
+ ::-moz-selection {
264
+ /* Code for Firefox */
265
+ color: var(--md-sys-color-on-primary);
266
+ background: var(--md-sys-color-primary);
267
+ }
268
+
269
+ ::selection {
270
+ color: var(--md-sys-color-on-primary);
271
+ background: var(--md-sys-color-primary);
272
+ }
@@ -0,0 +1,28 @@
1
+ blockquote {
2
+ // display: flex;
3
+ background-color: var(--md-sys-color-tertiary-container);
4
+ color: var(--md-sys-color-on-tertiary-container);
5
+ // border: 1px solid var(--md-sys-color-on-tertiary-container);
6
+ border-left: 6px solid var(--md-sys-color-on-tertiary-container);
7
+ padding: $spacing-unit;
8
+ margin-left: 10px;
9
+ margin-right: 10px;
10
+ border-radius: 6px;
11
+ svg{
12
+ margin-right: 4px;
13
+ flex-shrink: 0;
14
+ float: left;
15
+ }
16
+
17
+ > :last-child {
18
+ margin-bottom: 0;
19
+ }
20
+ > p {
21
+ text-align: left;
22
+ }
23
+ &.warning {
24
+ background-color: var(--md-sys-color-error-container);
25
+ color: var(--md-sys-color-on-error-container);
26
+ border-color: var(--md-sys-color-on-error-container);
27
+ }
28
+ }
@@ -15,9 +15,13 @@
15
15
  align-items: center;
16
16
  justify-content: center;
17
17
  width: calc(100vw - 1230px);
18
-
19
18
  height: 100vh;
20
19
  overflow-y: scroll;
20
+ opacity: 0.8;
21
+ transition: opacity 0.2s;
22
+ &:hover {
23
+ opacity: 1;
24
+ }
21
25
  }
22
26
  }
23
27
  .toc {
data/_sass/minima.scss CHANGED
@@ -45,7 +45,7 @@ $on-laptop: 800px !default;
45
45
  }
46
46
 
47
47
  // Import partials.
48
- @import "minima/fonts", "minima/theme", "minima/base", "minima/header",
48
+ @import "minima/fonts", "minima/theme", "minima/base", "minima/header","minima/blockquotes",
49
49
  "minima/page", "minima/posts","minima/toc", "minima/syntax-highlighting",
50
50
  "minima/navigation-bar", "minima/pinned-post", "minima/theme-selector",
51
51
  "minima/footer";
@@ -49,7 +49,7 @@
49
49
  const ul = document.createElement("ul");
50
50
  ul.className = "toc";
51
51
 
52
- if (headings.length > 0) {
52
+ if (headings.length > 1) {
53
53
  const title = document.createElement("h3");
54
54
  title.innerText = "Table of contents";
55
55
  toc.appendChild(title);
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-doodle
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.0
4
+ version: 5.2.2
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-09-08 00:00:00.000000000 Z
11
+ date: 2024-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -72,6 +72,7 @@ files:
72
72
  - _layouts/post.html
73
73
  - _sass/minima.scss
74
74
  - _sass/minima/_base.scss
75
+ - _sass/minima/_blockquotes.scss
75
76
  - _sass/minima/_fonts.scss
76
77
  - _sass/minima/_footer.scss
77
78
  - _sass/minima/_header.scss