pandoc-markdown-jekyll-theme 0.11.4 → 0.12.0

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: 7f9a3e870639dc23ab69b67e125e9b24d8a4fe7dde27b21337c4b47030fc64cb
4
+ data.tar.gz: 9e6ba85867e05df9717eea117e5addd6bbc5f462e6f83b8aefce5ed35ccb740c
5
5
  SHA512:
6
- metadata.gz: 54a945fb2a5f6aa0acbca78b2197c16819fb204ffc8c5c8aabe24588b01698cfd5947a9d7c844a18e007f624a6905962f4a941118c8501300780fda6bb7d903a
7
- data.tar.gz: 51775c67401a51e7831f1aa209d235ef1721bc8fd80fea751875f711e7b4423c6f2c850e1d0566c7708a9b3eb974a0f689c1d06c20089c50769867ca6113a942
6
+ metadata.gz: 4ff83595ba26f829584276a1490885ca4fa3bda794750a9180d0c5e6e91fa53a7244a9904084b4eb4420bf8e213fdfee780084d0f2468b0731b13d2c06eea6f1
7
+ data.tar.gz: 871e09a0b8f758f109fa4f353602ad4194490ffc5207304ad53ec7c09390639825d96664671f9824caf897da2e284b36dc1f5938164342019f96c4d6b68c7932
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.0
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