minima-rock 0.7.3 → 0.8.0

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: b5e0526ae4c6d4387607b5244e1bfb86492ea423dfacff0df00508b4feda2b9e
4
- data.tar.gz: c7832178f311008bc1c9377fd6e2bcb1fa2347ef9c745291619103e67ef718f3
3
+ metadata.gz: 696ae99765fd47d4f267603630b68cea73ebe81fb3dba4119c7f35588405bb40
4
+ data.tar.gz: d8eaa33589e8f56115443a1153367e9a0ee971b250b7a5d2ff78f20eb5871294
5
5
  SHA512:
6
- metadata.gz: b8f39686761ef213e5bd06fbe452b81ff2774f9f076c8a728b7b9c62f6704c9efb260bd179773fea19cd084e8fad502f6a81d09b317fd1e3f2010e5cf212e6b6
7
- data.tar.gz: 8d9a0e9f7ada32743c41f0d4730bd2b7a91d030f53cd36e1d519fa2fbe72d15ea4a0780894dfea828cb0c39d635564a4a59ca894cda21229b6510e10c2ec6245
6
+ metadata.gz: ccb260f33faeedd592a1c0e5b2c491aa980be9958ced64e96797a351a5921c1ccc3d957fa9c72efa3dc60b73d428ff0b6795f6f86c40bb7ef4183af467f3bf0a
7
+ data.tar.gz: 3edce84b61491bcb6d76a120eb653ee3a859f2d770c4f64afd4661133acdc48eeb35ba68bedbf4a971adbed8953d8f2697893901073b374787cdad7dc84588e0
@@ -0,0 +1,8 @@
1
+ # From https://www.transparenttextures.com/
2
+ - name: '/assets/css/background/3px-tile.png'
3
+ - name: 'assets/css/background/45-degree-fabric-light.png'
4
+ - name: 'assets/css/background/back-pattern.png'
5
+ - name: 'assets/css/background/batthern.png'
6
+ - name: 'assets/css/background/bedge-grunge.png'
7
+ - name: 'assets/css/background/brick-wall.png'
8
+ - name: '/assets/css/background/concrete-wall-2.png'
data/_includes/head.html CHANGED
@@ -3,7 +3,7 @@
3
3
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
4
  <meta name="viewport" content="width=device-width, initial-scale=1">
5
5
  {%- seo -%}
6
- <link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}">
6
+ <link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}"/>
7
7
  <script type="text/javascript" src="{{ site.baseurl }}/assets/js/color.js"></script>
8
8
  {%- if page.math -%}
9
9
  {%- include mathjax.html -%}
@@ -17,4 +17,14 @@
17
17
 
18
18
  </body>
19
19
 
20
+ <script>
21
+ const imgs = [
22
+ {%- for item in site.data.backgrounds -%}
23
+ '{{ item.name }}',
24
+ {%- endfor -%}
25
+ ];
26
+ const date = new Date();
27
+ const index = date.getDay() % imgs.length;
28
+ document.body.style.backgroundImage = `url('{{ site.baseurl }}${imgs[index]}')`;
29
+ </script>
20
30
  </html>
data/_layouts/home.html CHANGED
@@ -2,7 +2,7 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- <div class="home">
5
+ <div class="home card">
6
6
  {%- if page.title -%}
7
7
  <h1 class="page-heading">{{ page.title }}</h1>
8
8
  {%- endif -%}
data/_layouts/page.html CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
- <article class="post">
4
+ <article class="post card">
5
5
 
6
6
  <header class="post-header">
7
7
  <h1 class="post-title">{{ page.title | escape }}</h1>
data/_layouts/post.html CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
- <article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
4
+ <article class="post h-entry card" itemscope itemtype="http://schema.org/BlogPosting">
5
5
 
6
6
  <header class="post-header">
7
7
  <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
@@ -2,6 +2,7 @@
2
2
  * Site header
3
3
  */
4
4
  .site-header {
5
+ background-color: darken($background-color, 3%);
5
6
  border-top: 5px solid $brand-color;
6
7
  border-bottom: 1px solid $grey-color-light;
7
8
  min-height: $spacing-unit * 1.865;
@@ -117,6 +118,7 @@
117
118
  * Site footer
118
119
  */
119
120
  .site-footer {
121
+ background-color: darken($background-color, 3%);
120
122
  border-top: 1px solid $grey-color-light;
121
123
  padding: $spacing-unit 0;
122
124
  }
@@ -307,3 +309,10 @@
307
309
  width: -webkit-calc(50% - (#{$spacing-unit} / 2));
308
310
  width: calc(50% - (#{$spacing-unit} / 2));
309
311
  }
312
+
313
+ .card {
314
+ background-color: $background-color;
315
+ box-shadow: 0 0 0 0, 0 8px 16px rgba(0, 0, 0, 0.2);
316
+ border-radius: 6px;
317
+ padding: 20px;
318
+ }
Binary file
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minima-rock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joel Glovier
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-03-29 00:00:00.000000000 Z
12
+ date: 2019-03-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll
@@ -91,6 +91,7 @@ extra_rdoc_files: []
91
91
  files:
92
92
  - LICENSE.txt
93
93
  - README.md
94
+ - _data/backgrounds.yml
94
95
  - _data/disqus.yml
95
96
  - _data/google_analytics.yml
96
97
  - _data/navigation.yml
@@ -119,6 +120,13 @@ files:
119
120
  - _sass/minima/_layout.scss
120
121
  - _sass/minima/_share.scss
121
122
  - _sass/minima/_syntax-highlighting.scss
123
+ - assets/css/background/3px-tile.png
124
+ - assets/css/background/45-degree-fabric-light.png
125
+ - assets/css/background/back-pattern.png
126
+ - assets/css/background/batthern.png
127
+ - assets/css/background/bedge-grunge.png
128
+ - assets/css/background/brick-wall.png
129
+ - assets/css/background/concrete-wall-2.png
122
130
  - assets/css/style.scss
123
131
  - assets/js/color.js
124
132
  - assets/minima-social-icons.svg