jekyll-theme-jsblog 1.0.36 → 1.0.37

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: d9d48ee60bb9508522396f93b2fa3c308042d15233c9de977ee735737f490338
4
- data.tar.gz: 290b1defe4afb9a1862fdacc3630f39b639f0eb1cc7dbd417ffc4ea17abb7c28
3
+ metadata.gz: 7142ecbea43295908996ba8268453998baafd16ba9f13b3d74f26f2c97e1f1f3
4
+ data.tar.gz: 3aac5fd09ec6be7756ab98fa780822478284821666b1d5860cdf5778e14a4f80
5
5
  SHA512:
6
- metadata.gz: fe4356dac96fab9c85833907a5a9a02bb8734369cfc45417ec37cc3d9ba10a45369e021fb37e24433f9a388188922ebc40a117a46ac317c2eb3b63e9420d6ca8
7
- data.tar.gz: 95e8665e5c7c57f6d0c2799f19922fbd59af985839ce2bb6fb78baa31cf15dcd3b9881d89b48608eab7228d2ef312befea1b8ff2744bfc15271cbbbce520180d
6
+ metadata.gz: a8f0b1f6b6e378e2d77d88cff7840408c7ad8e09d99dc91a4f20592ccfa16953d6e9a743fc042889b12784dab0cad6318d1e00b2b1be39ae7057c8f39b78b677
7
+ data.tar.gz: 3f187ffaef93840b96f4ab2c216093b629adc83a8e5ba746358019e6b5152310f9b4ef10796f62720c9f17b14bd61fc94a9a1351687aacec6eabf980ffd062bd
data/_includes/head.html CHANGED
@@ -22,6 +22,10 @@
22
22
  <link rel="stylesheet" href="{{ "/assets/home.css" | relative_url }}">
23
23
  {% endif %}
24
24
 
25
+ {% if site.codefund.property %}
26
+ <script src="https://codefund.app/properties/{{ site.codefund.property }}/funder.js?theme={{ site.codefund.theme | default: light }}&template={{ site.codefund.template | default: default }}" async="async"></script>
27
+ {% endif %}
28
+
25
29
  <link rel="canonical" href="{{ canonical }}">
26
30
  {% assign feed_path = "/feed.xml" %}
27
31
  {% if site.feed and site.feed.path %}
data/_layouts/home.html CHANGED
@@ -4,6 +4,8 @@ layout: default
4
4
 
5
5
  <div class="home">
6
6
 
7
+ <div id="codefund"></div>
8
+
7
9
  {{ content }}
8
10
 
9
11
  {% capture site_lang %}{{ site.lang | default: "en" }}{% endcapture %}
@@ -144,14 +144,14 @@
144
144
  * Page content
145
145
  */
146
146
  .page-content {
147
- padding-top: 50px;
147
+ padding-top: 20px;
148
148
 
149
149
  @include media-query($on-medium) {
150
- padding-top: 40px;
150
+ padding-top: 10px;
151
151
  }
152
152
 
153
153
  @include media-query($on-small) {
154
- padding-top: 30px
154
+ padding-top: 10px
155
155
  }
156
156
  }
157
157
 
@@ -395,3 +395,45 @@
395
395
  float: right;
396
396
  }
397
397
  }
398
+
399
+ /**
400
+ * Codefund Ads
401
+ */
402
+
403
+ :root {
404
+ --ad-background-color: #ededed;
405
+ --ad-text-color: #777777;
406
+ --ad-strong-text-color: #212121;
407
+ --ad-powered-by-color: #909090;
408
+ }
409
+
410
+ @media (prefers-color-scheme: dark) {
411
+ :root {
412
+ --ad-background-color: rgba(0, 0, 0, 0.3);
413
+ --ad-text-color: rgba(255, 255, 255, 0.8);
414
+ --ad-strong-text-color: #fafafa;
415
+ --ad-powered-by-color: rgba(255, 255, 255, 0.7);
416
+ }
417
+ }
418
+
419
+ #codefund {
420
+ width: 100%;
421
+ margin-bottom: 20px;
422
+ }
423
+
424
+ .cf-wrapper {
425
+ background-color: var(--ad-background-color) !important;
426
+ border-radius: 10px;
427
+ }
428
+
429
+ .cf-text {
430
+ color: var(--ad-text-color) !important;
431
+
432
+ strong {
433
+ color: var(--ad-strong-text-color) !important;
434
+ }
435
+ }
436
+
437
+ .cf-powered-by {
438
+ color: var(--ad-powered-by-color) !important;
439
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-jsblog
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.36
4
+ version: 1.0.37
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julian Schiavo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-11 00:00:00.000000000 Z
11
+ date: 2019-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll