minima-rock 0.7.3 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_data/backgrounds.yml +8 -0
- data/_includes/head.html +1 -1
- data/_layouts/default.html +10 -0
- data/_layouts/home.html +1 -1
- data/_layouts/page.html +1 -1
- data/_layouts/post.html +1 -1
- data/_sass/minima/_layout.scss +9 -0
- data/assets/css/background/3px-tile.png +0 -0
- data/assets/css/background/45-degree-fabric-light.png +0 -0
- data/assets/css/background/back-pattern.png +0 -0
- data/assets/css/background/batthern.png +0 -0
- data/assets/css/background/bedge-grunge.png +0 -0
- data/assets/css/background/brick-wall.png +0 -0
- data/assets/css/background/concrete-wall-2.png +0 -0
- metadata +10 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 696ae99765fd47d4f267603630b68cea73ebe81fb3dba4119c7f35588405bb40
|
4
|
+
data.tar.gz: d8eaa33589e8f56115443a1153367e9a0ee971b250b7a5d2ff78f20eb5871294
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 -%}
|
data/_layouts/default.html
CHANGED
@@ -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
data/_layouts/page.html
CHANGED
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>
|
data/_sass/minima/_layout.scss
CHANGED
@@ -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
|
Binary file
|
Binary file
|
Binary file
|
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.
|
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-
|
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
|