pandoc-markdown-jekyll-theme 0.11.4 → 0.12.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/assets/css/theme.css +17 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6b25348bc53e1cd207f6958cd986e91f6f0b8e5cbd9b849da99b4c0e202ee7a7
4
- data.tar.gz: f07aaa9dfa5992992689562268cac49803d5dac6be46dc7119eca76a5edae0b9
3
+ metadata.gz: 6eebc805fd093bd7e970a21b8d444470910bf236e0ec669e2fa5edaba90e6446
4
+ data.tar.gz: 9545d7f7c16e17e1dfcab5d7be10b8677b2bcd57a3df3306b5be0c90b09cdc79
5
5
  SHA512:
6
- metadata.gz: 54a945fb2a5f6aa0acbca78b2197c16819fb204ffc8c5c8aabe24588b01698cfd5947a9d7c844a18e007f624a6905962f4a941118c8501300780fda6bb7d903a
7
- data.tar.gz: 51775c67401a51e7831f1aa209d235ef1721bc8fd80fea751875f711e7b4423c6f2c850e1d0566c7708a9b3eb974a0f689c1d06c20089c50769867ca6113a942
6
+ metadata.gz: f4309b50c9f0de2dceb70972aba44409a144b8c95a72d93394d10dbf0dc6465d94eef4ec898a3dbee445ffb1aa4b307f6406babb991b9c4b3c0e84a02bff0786
7
+ data.tar.gz: b56043ed6c0c830e573f557a13761c523030b131ba1530321ac040f14fadbc61f9ee02874725c3c80f8b3d94daae26cf97948583ffd14fba5d118a2e4c40862a
data/assets/css/theme.css CHANGED
@@ -173,6 +173,23 @@ body {
173
173
  }
174
174
  }
175
175
 
176
+ /* }}} */
177
+ /* ----- Utility classes ----------------------------------------------- {{{ */
178
+ .only-light-mode {
179
+ display: inherit;
180
+ }
181
+ .only-dark-mode {
182
+ display: none;
183
+ }
184
+
185
+ @media (prefers-color-scheme: dark) {
186
+ .only-light-mode {
187
+ display: none;
188
+ }
189
+ .only-dark-mode {
190
+ display: inherit;
191
+ }
192
+ }
176
193
  /* }}} */
177
194
  /* ----- Side notes and margin notes ----------------------------------- {{{ */
178
195
  /* --- Side note text and numbering --- {{{ */
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pandoc-markdown-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.4
4
+ version: 0.12.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jake Zimmerman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-06 00:00:00.000000000 Z
11
+ date: 2022-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll-pandoc