miniscule 0.1.5 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/footer.html +13 -10
- data/_includes/fork-me.html +1 -1
- data/_includes/head.html +2 -0
- data/_includes/header.html +3 -3
- data/_layouts/home.html +2 -2
- data/_sass/minima.scss +1 -1
- data/assets/main.scss +43 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f325bb4179ee5948bae4cbe8955d366a131bebf
|
4
|
+
data.tar.gz: 748afe1e122c61a5e137421c45e93cfbe55e5768
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33d8d274dd6bd388c1967bc6a040346bd04cae4f101e8f388ace5d6b8de719d55164eb86bc84fd0d465472d7f63bc936289a59ac459c7d95635571fbd54d6304
|
7
|
+
data.tar.gz: 9bfe23d15e2d91dc97ce52b6d2a5a3dd3fe6770e807ff490b43bce71f0a0f93a97b48b724ccb90c5052eaf301e4bcc5bca18ad57ee501b463fc681d7818a5023
|
data/_includes/footer.html
CHANGED
@@ -2,23 +2,19 @@
|
|
2
2
|
<data class="u-url" href="{{ "/" | relative_url }}"></data>
|
3
3
|
|
4
4
|
<div class="wrapper">
|
5
|
-
|
6
|
-
|
7
|
-
<div class="footer-col-wrapper">
|
5
|
+
<div class="footer-col-wrapper no-print">
|
8
6
|
<div class="footer-col footer-col-1">
|
9
7
|
<ul class="contact-list">
|
10
8
|
<li class="p-name">
|
11
9
|
{%- if site.author and site.show_author -%}
|
12
|
-
|
13
|
-
{%- else -%}
|
14
|
-
<!-- {{ site.title | escape }} -->
|
10
|
+
{{ site.author | escape }}
|
15
11
|
{%- endif -%}
|
16
|
-
|
17
|
-
|
12
|
+
</li>
|
13
|
+
{%- if site.email -%}
|
18
14
|
<li><h2 class="footer-heading">{{ site.title | escape }}</li>
|
19
15
|
<li><a class="u-email" href="mailto:{{ site.email }}">{{ site.email }}</a></li>
|
20
|
-
|
21
|
-
|
16
|
+
{%- endif -%}
|
17
|
+
<li><p class="feed-subscribe" style="padding-top: 1em"><svg class="svg-icon orange"><use xlink:href="{{ '/assets/minima-social-icons.svg#rss' | relative_url }}"></use></svg><a href="{{ "/feed.xml" | relative_url }}">Subscribe</a></p></li>
|
22
18
|
</ul>
|
23
19
|
</div>
|
24
20
|
|
@@ -35,5 +31,12 @@
|
|
35
31
|
</p>
|
36
32
|
</div>
|
37
33
|
</div>
|
34
|
+
{%- if site.url -%}
|
35
|
+
<div class="print-only" style="margin: auto; width: 100%; text-align: center">
|
36
|
+
<small>
|
37
|
+
<strong>{{ site.url | escape }}</strong></a>
|
38
|
+
</small>
|
39
|
+
</div>
|
40
|
+
{%- endif -%}
|
38
41
|
</div>
|
39
42
|
</footer>
|
data/_includes/fork-me.html
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
<!-- http://tholman.com/github-corners/ -->
|
2
|
-
<a href="{{ site.fork_me_url }}" class="github-corner" aria-label="View source on GitHub"><svg width="40" height="40" viewBox="0 0 250 250" style="fill:#fff; color:#151513; position: absolute; top: 0; border: 0; left: 0; transform: scale(-1, 1);" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style>
|
2
|
+
<a href="{{ site.fork_me_url }}" class="github-corner no-print" aria-label="View source on GitHub"><svg width="40" height="40" viewBox="0 0 250 250" style="fill:#fff; color:#151513; position: absolute; top: 0; border: 0; left: 0; transform: scale(-1, 1);" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style>
|
data/_includes/head.html
CHANGED
@@ -15,6 +15,8 @@
|
|
15
15
|
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
16
16
|
<link rel="manifest" href="/site.webmanifest">
|
17
17
|
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
|
18
|
+
<!-- https://fonts.google.com/?selection.family=Anton|Bitter|Lora|Merriweather -->
|
19
|
+
<link href="https://fonts.googleapis.com/css?family=Merriweather&display=swap" rel="stylesheet">
|
18
20
|
<meta name="msapplication-TileColor" content="#da532c">
|
19
21
|
<meta name="theme-color" content="#ffffff">
|
20
22
|
</head>
|
data/_includes/header.html
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
<header class="site-header">
|
1
|
+
<header class="site-header no-print">
|
2
2
|
{%- if site.show_fork_me && site.fork_me_url -%}
|
3
3
|
{%- include fork-me.html -%}
|
4
4
|
{%- endif -%}
|
@@ -17,7 +17,7 @@
|
|
17
17
|
</a>
|
18
18
|
|
19
19
|
{%- if titles_size > 0 -%}
|
20
|
-
<nav class="site-nav">
|
20
|
+
<nav class="site-nav no-print">
|
21
21
|
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
|
22
22
|
<label for="nav-trigger">
|
23
23
|
<span class="menu-icon">
|
@@ -27,7 +27,7 @@
|
|
27
27
|
</span>
|
28
28
|
</label>
|
29
29
|
|
30
|
-
<div class="trigger">
|
30
|
+
<div class="trigger no-print">
|
31
31
|
{%- for path in page_paths -%}
|
32
32
|
{%- assign my_page = site.pages | where: "path", path | first -%}
|
33
33
|
{%- if my_page.title -%}
|
data/_layouts/home.html
CHANGED
@@ -15,11 +15,11 @@ layout: default
|
|
15
15
|
{%- for post in site.posts -%}
|
16
16
|
<li>
|
17
17
|
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
|
18
|
-
<
|
18
|
+
<h3>
|
19
19
|
<a class="post-link" href="{{ post.url | relative_url }}">
|
20
20
|
{{ post.title | escape }}
|
21
21
|
</a>
|
22
|
-
</
|
22
|
+
</h3>
|
23
23
|
<span class="post-meta">{{ post.date | date: date_format }}</span>
|
24
24
|
{%- if site.show_excerpts -%}
|
25
25
|
{{ post.excerpt }}
|
data/_sass/minima.scss
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
// Define defaults for each variable.
|
4
4
|
|
5
|
-
$base-font-family:
|
5
|
+
$base-font-family: 'Merriweather', serif;
|
6
6
|
$base-font-size: 16px !default;
|
7
7
|
$base-font-weight: 400 !default;
|
8
8
|
$small-font-size: $base-font-size * 0.875 !default;
|
data/assets/main.scss
CHANGED
@@ -31,9 +31,52 @@
|
|
31
31
|
font-weight: bold;
|
32
32
|
}
|
33
33
|
|
34
|
+
.trigger {
|
35
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
36
|
+
}
|
37
|
+
|
38
|
+
@media print
|
39
|
+
{
|
40
|
+
.no-print, .no-print *
|
41
|
+
{
|
42
|
+
display: none !important;
|
43
|
+
}
|
44
|
+
.cover-image {
|
45
|
+
height: 50px;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
/* hidden on-screen */
|
50
|
+
.print-only {
|
51
|
+
display: none;
|
52
|
+
}
|
53
|
+
|
54
|
+
@media print {
|
55
|
+
|
56
|
+
/* visible when printed */
|
57
|
+
.print-only {
|
58
|
+
display: block;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
34
62
|
.post-list li {
|
35
63
|
display: block;
|
36
64
|
padding: 20px 10px;
|
37
65
|
margin: 5px;
|
38
66
|
border: 1px solid #eee;
|
39
67
|
}
|
68
|
+
|
69
|
+
/* https://stackoverflow.com/questions/19331362/using-an-image-caption-in-markdown-jekyll */
|
70
|
+
img + em {
|
71
|
+
display: block;
|
72
|
+
text-align: center;
|
73
|
+
margin-top: 4px;
|
74
|
+
font-size: small;
|
75
|
+
font-style: italic;
|
76
|
+
font-weight: 400;
|
77
|
+
}
|
78
|
+
|
79
|
+
article.post img {
|
80
|
+
display: block;
|
81
|
+
margin: 20px auto;
|
82
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: miniscule
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ronen Agranat
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|