nano-theme 0.3.0 → 0.3.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/_includes/analytics.html +41 -0
- data/_includes/csp.html +23 -0
- data/_includes/newsroom.html +20 -0
- data/_includes/site-footer.html +12 -17
- data/_includes/site-header.html +6 -11
- data/_includes/verifications.html +30 -0
- data/_layouts/default.html +22 -47
- data/_layouts/newsroom.html +1 -10
- data/_layouts/page.html +2 -28
- data/_layouts/post.html +2 -0
- data/_sass/_theme.scss +32 -51
- metadata +22 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04cf8c237bc6e81caf8599adf4eaa2327e64c40cd6131a3c3e1f8ad383fd4cc2
|
4
|
+
data.tar.gz: 1a215c23fa7a10f920aab325126c3ec9d45f97d7fd87989af18c7d57215cbb56
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eecaef6a892128edce640b3aaee1f3399bcbc3651e3c7f5472143906ee53f8805b17894f89465ca7bad0ec7cca0f121b6c8add1dbc109dcc3ee3b74d61423df3
|
7
|
+
data.tar.gz: e9ff534f43b5bd2560da3478d8d2d6e8be5796a7d415d64973fcf5eec28089aed8655ddac5b4d99dc7a508bbaed04322a1b954e892c8ddb8675c14777308597c
|
data/README.md
CHANGED
@@ -14,4 +14,4 @@ Many thanks to the Jekyll and RubyGems community for great documentation, allowi
|
|
14
14
|
|
15
15
|
Big thanks to the StackOverflow community; they helped me find some nice CSS workarounds for some things (like missing images). I quoted the posts I used when I used them.
|
16
16
|
|
17
|
-
Special thanks to [Rishi](https://github.com/rveerepalli) for staying up late on the day before the launch of v0.3.
|
17
|
+
Special thanks to [Rishi](https://github.com/rveerepalli) for staying up late on the day before the launch of v0.3 to help fix some issues.
|
@@ -0,0 +1,41 @@
|
|
1
|
+
<!-- Analytics Start -->
|
2
|
+
{% if site.simpleanalytics == true %}
|
3
|
+
<script src="https://scripts.simpleanalyticscdn.com/latest.js" async defer></script>
|
4
|
+
<noscript>
|
5
|
+
<img class="pxl" src="https://queue.simpleanalyticscdn.com/noscript.gif" alt="">
|
6
|
+
</noscript>
|
7
|
+
{% elsif site.matomoanalytics == true %}
|
8
|
+
<!-- Matomo -->
|
9
|
+
<script>
|
10
|
+
var _paq = window._paq || [];
|
11
|
+
_paq.push(["setDoNotTrack", true]);
|
12
|
+
_paq.push(["disableCookies"]);
|
13
|
+
_paq.push(['trackPageView']);
|
14
|
+
_paq.push(['enableLinkTracking']);
|
15
|
+
(function() {
|
16
|
+
var u="https://{{site.matomourl}}/";
|
17
|
+
_paq.push(['setTrackerUrl', u+'matomo.php']);
|
18
|
+
_paq.push(['setSiteId', '{{site.matomositeid}}']);
|
19
|
+
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
20
|
+
g.type='text/javascript'; g.async=true; g.defer=true; g.src='https://cdn.matomo.cloud/{{site.matomourl}}/matomo.js'; s.parentNode.insertBefore(g,s);
|
21
|
+
})();
|
22
|
+
</script>
|
23
|
+
<noscript>
|
24
|
+
<p>
|
25
|
+
<img class="pxl" src="https://{{site.matomourl}}/matomo.php?idsite=1&rec=1" style="border:0;" alt="">
|
26
|
+
</p>
|
27
|
+
</noscript>
|
28
|
+
{% elsif site.fathomanalytics == true %}
|
29
|
+
{% if site.customfathomurl != "" %}
|
30
|
+
<script src="https://{{site.customfathomurl}}" site="{{site.fathomsite}}" honor-dnt="true" async defer></script>
|
31
|
+
{% else %}
|
32
|
+
<script src="https://cdn.usefathom.com/script.js" site="{{site.fathomsite}}" honor-dnt="true" async defer></script>
|
33
|
+
{% endif %}
|
34
|
+
{% elsif site.plausibleanalytics == true %}
|
35
|
+
{% if site.customplausibleurl != "" %}
|
36
|
+
<script data-domain="{{site.github.url}}" src="https://{{site.customplausibleurl}}/js/index.js" async defer></script>
|
37
|
+
{% else %}
|
38
|
+
<script data-domain="{{site.github.url}}" src="https://plausible.io/js/plausible.js" async defer></script>
|
39
|
+
{% endif %}
|
40
|
+
{% endif %}
|
41
|
+
<!-- Analytics End -->
|
data/_includes/csp.html
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
{% if site.simpleanalytics == true %}
|
2
|
+
<meta http-equiv="Content-Security-Policy" content="script-src 'self' https://scripts.simpleanalyticscdn.com/latest.js">
|
3
|
+
{% elsif site.fathomanalytics == true %}
|
4
|
+
{% if site.customfathomurl == "" %}
|
5
|
+
<meta http-equiv="Content-Security-Policy" content="script-src 'self' https://cdn.usefathom.com/script.js">
|
6
|
+
{% else %}
|
7
|
+
<meta http-equiv="Content-Security-Policy" content="script-src 'self' https://{{site.customfathomurl}}">
|
8
|
+
{% endif %}
|
9
|
+
{% elsif site.matomoanalytics %}
|
10
|
+
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'sha256-qj/jwzjem2sfrDp/CEX8ODDzwfezTtpX43MRAcQTuUQ=' https://cdn.matomo.cloud/{{site.matomourl}}/matomo.js">
|
11
|
+
{% elsif site.plausibleanalytics %}
|
12
|
+
{% if site.customplausibleurl == "" %}
|
13
|
+
<meta http-equiv="Content-Security-Policy" content="script-src 'self' https://plausible.io/js/plausible.js">
|
14
|
+
{% else %}
|
15
|
+
<meta http-equiv="Content-Security-Policy" content="script-src 'self' https://{{site.customplausibleurl}}/js/index.js">
|
16
|
+
{% endif %}
|
17
|
+
{% endif %}
|
18
|
+
|
19
|
+
{% if site.unsafecontent == false %}
|
20
|
+
<meta http-equiv="Content-Security-Policy" content="default-src 'self' https://*">
|
21
|
+
{% else %}
|
22
|
+
<meta http-equiv="Content-Security-Policy" content="script-src 'self'">
|
23
|
+
{% endif %}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<h2><a href="{{ '/atom.xml' | | relative_url }}">Subscribe to the Feed.</a></h2>
|
2
|
+
<ul>
|
3
|
+
{% for post in site.posts %}
|
4
|
+
<li>
|
5
|
+
{% if site.classicnews == true %}
|
6
|
+
<p>
|
7
|
+
<a href="{{ post.url }}">
|
8
|
+
<b>{{ post.title }} ({{ post.dateS }}). </b>
|
9
|
+
</a>
|
10
|
+
{{ post.excerpt | strip_html }}
|
11
|
+
</p>
|
12
|
+
{% else %}
|
13
|
+
<a href="{{ post.url }}">
|
14
|
+
<b>{{ post.title }} ({{ post.dateS }}). </b>
|
15
|
+
</a>
|
16
|
+
{{ post.excerpt }}
|
17
|
+
{% endif %}
|
18
|
+
</li>
|
19
|
+
{% endfor %}
|
20
|
+
</ul>
|
data/_includes/site-footer.html
CHANGED
@@ -1,18 +1,13 @@
|
|
1
|
-
<hr class="end">
|
2
|
-
<footer>
|
3
|
-
<p class="copyright">
|
4
|
-
© {% if copyrightYear %}{{copyrightYear}}{% else %}{{ site.time | date: '%Y' }}{% endif %} {{ site.copyrightName }}.
|
5
|
-
<br
|
6
|
-
{%
|
7
|
-
|
8
|
-
|
9
|
-
{%
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
{% assign url = item.url | relative_url %}
|
14
|
-
{% endif %}
|
15
|
-
<a href="{{url}}">{{item.title}}</a>
|
16
|
-
{% endfor %}
|
17
|
-
</p>
|
1
|
+
<hr class="end">
|
2
|
+
<footer>
|
3
|
+
<p class="copyright">
|
4
|
+
© {% if copyrightYear %}{{copyrightYear}}{% else %}{{ site.time | date: '%Y' }}{% endif %} {{ site.copyrightName }}.
|
5
|
+
<br>{% if site.webSource %}
|
6
|
+
<a href="{{site.webSource}}">Contribute to this site.</a><br>{% endif %}{% for item in site.footerLinks %}
|
7
|
+
{% if item.url contains '://' %}
|
8
|
+
{% assign url = item.url %}
|
9
|
+
{% else %}
|
10
|
+
{% assign url = item.url | relative_url %}
|
11
|
+
{% endif %}<a href="{{url}}">{{item.title}}</a>{% endfor %}
|
12
|
+
</p>
|
18
13
|
</footer>
|
data/_includes/site-header.html
CHANGED
@@ -1,23 +1,18 @@
|
|
1
|
-
<header>
|
2
|
-
|
3
|
-
<h1 class="logo">
|
1
|
+
<header>{% if site.logo %}
|
2
|
+
<h1 class="logo">
|
4
3
|
<a href="{{ '/' | relative_url }}">
|
5
4
|
<img src="{{site.logo}}" width="64px" alt="Home">
|
6
5
|
</a>
|
7
|
-
|
8
|
-
{% endif %}
|
6
|
+
</h1>{% endif %}
|
9
7
|
<nav>
|
10
|
-
<ul>
|
11
|
-
{% for item in site.navigation %}
|
8
|
+
<ul>{% for item in site.navigation %}
|
12
9
|
{% if item.url contains '://' %}
|
13
10
|
{% assign url = item.url %}
|
14
11
|
{% else %}
|
15
12
|
{% assign url = item.url | relative_url %}
|
16
|
-
{% endif %}
|
17
|
-
<li>
|
13
|
+
{% endif %}<li>
|
18
14
|
<a href="{{url}}">{{item.title}}</a>
|
19
|
-
</li>
|
20
|
-
{% endfor %}
|
15
|
+
</li>{% endfor %}
|
21
16
|
</ul>
|
22
17
|
</nav>
|
23
18
|
</header>
|
@@ -0,0 +1,30 @@
|
|
1
|
+
{% if site.plingverify != "" %}
|
2
|
+
<meta name="ocs-site-verification" content="{{ site.plingverify }}">
|
3
|
+
{% endif %}
|
4
|
+
{% if site.googleverify != "" %}
|
5
|
+
<meta name="google-site-verification" content="{{ site.googleverify }}">
|
6
|
+
{% endif %}
|
7
|
+
{% if site.bingverify != "" %}
|
8
|
+
<meta name="msvalidate.01" content="{{ site.bingverify }}">
|
9
|
+
{% endif %}
|
10
|
+
{% if site.pinverify != "" %}
|
11
|
+
<meta name="p:domain_verify" content="{{ site.pinverify }}">
|
12
|
+
{% endif %}
|
13
|
+
{% if site.dailyverify != "" %}
|
14
|
+
<meta name="dailymotion-domain-verification" content="{{ site.dailyverify }}">
|
15
|
+
{% endif %}
|
16
|
+
{% if site.yandexverify != "" %}
|
17
|
+
<meta name="yandex-verification" content="{{ site.yandexverify }}">
|
18
|
+
{% endif %}
|
19
|
+
{% if site.nortonverify != "" %}
|
20
|
+
<meta name="norton-safeweb-site-verification" content="{{ site.nortonverify }}">
|
21
|
+
{% endif %}
|
22
|
+
{% if site.alexaverify != "" %}
|
23
|
+
<meta name="alexaVerifyID" content="{{ site.alexaverify }}">
|
24
|
+
{% endif %}
|
25
|
+
{% if site.wotverify != "" %}
|
26
|
+
<meta name="wot-verification" content="{{ site.wotverify }}">
|
27
|
+
{% endif %}
|
28
|
+
{% if site.specificverify != "" %}
|
29
|
+
<meta name="specificfeeds-verification-code" content="{{ site.specificverify }}">
|
30
|
+
{% endif %}
|
data/_layouts/default.html
CHANGED
@@ -1,58 +1,33 @@
|
|
1
|
-
<!doctype html>
|
2
|
-
{
|
3
|
-
<html lang="{{site.lang}}">
|
1
|
+
<!doctype html>{% if site.lang != "" %}
|
2
|
+
<html lang="{{site.lang}}">
|
4
3
|
{% else %}
|
5
|
-
|
6
|
-
{% endif %}
|
7
|
-
<head>
|
4
|
+
<html>
|
5
|
+
{% endif %}<head>
|
8
6
|
<meta charset="UTF-8">
|
9
7
|
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
10
8
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
11
|
-
|
9
|
+
{% include csp.html %}
|
12
10
|
<meta name="referrer" content="no-referrer, same-origin">
|
13
11
|
<title>{{ page.title }} - {{ site.title }}</title>
|
14
|
-
<meta
|
15
|
-
{% if site.lang %}
|
16
|
-
|
17
|
-
|
18
|
-
{% if page.description %}
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
{% endif %}
|
27
|
-
{% for item in site.font-import %}
|
28
|
-
<link rel="stylesheet" href="{{item}}">
|
29
|
-
{% endfor %}
|
12
|
+
<meta name="twitter:title" content="{{page.title}} - {{site.title}}">
|
13
|
+
<meta property="og:title" content="{{page.title}} - {{site.title}}">{% if site.lang != "" %}
|
14
|
+
<meta property="og:locale" content="{{site.lang}}">
|
15
|
+
<meta http-equiv="language" content="{{site.lang}}">
|
16
|
+
{% endif %}{% if page.description != nil %}
|
17
|
+
<meta name="description" content="{{page.description}}">
|
18
|
+
<meta property="og:description" content="{{page.description}}">
|
19
|
+
<meta name="twitter:description" content="{{page.description}}">{% elsif site.description != nil %}<meta name="description" content="{{site.description}}">
|
20
|
+
<meta property="og:description" content="{{site.description}}">
|
21
|
+
<meta name="twitter:description" content="{{site.description}}">{% endif %}{% for item in site.font-import %}
|
22
|
+
<link rel="stylesheet" href="{{item}}">{% endfor %}
|
23
|
+
<link rel="canonical" href="{{ site.url }}{{ page.url | replace:'index.html',''}}">
|
30
24
|
<link rel="stylesheet" href="{{ '/assets/main.css' | relative_url }}">
|
31
|
-
{% if site.favicon %}
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
{% elsif site.googleverify %}
|
36
|
-
<meta name="google-site-verification" content="{{ site.googleverify }}">
|
37
|
-
{% elsif site.bingverify %}
|
38
|
-
<meta name="msvalidate.01" content="{{ site.bingverify }}">
|
39
|
-
{% elsif site.pinverify %}
|
40
|
-
<meta name="p:domain_verify" content="{{ site.pinverify }}">
|
41
|
-
{% elsif site.dailyverify %}
|
42
|
-
<meta name="dailymotion-domain-verification" content="{{ site.dailyverify }}">
|
43
|
-
{% elsif site.yandexverify %}
|
44
|
-
<meta name="yandex-verification" content="{{ site.yandexverify }}">
|
45
|
-
{% elsif site.nortonverify %}
|
46
|
-
<meta name="norton-safeweb-site-verification" content="{{ site.nortonverify }}">
|
47
|
-
{% elsif site.alexaverify %}
|
48
|
-
<meta name="alexaVerifyID" content="{{ site.alexaverify }}">
|
49
|
-
{% elsif site.wotverify %}
|
50
|
-
<meta name="wot-verification" content="{{ site.wotverify }}">
|
51
|
-
{% elsif site.specificverify %}
|
52
|
-
<meta name="specificfeeds-verification-code" content="{{ site.specificverify }}">
|
53
|
-
{% endif %}
|
25
|
+
{% if site.favicon != "" %}<link rel="shortcut icon" href="{{ site.favicon }}">
|
26
|
+
<link rel="icon" href="{{site.favicon}}">
|
27
|
+
<link rel="apple-touch-icon" href="{{site.favicon}}">{% endif %}
|
28
|
+
{% include verifications.html %}
|
54
29
|
</head>
|
55
30
|
<body>
|
56
31
|
{{ content }}
|
57
32
|
</body>
|
58
|
-
</html>
|
33
|
+
</html>
|
data/_layouts/newsroom.html
CHANGED
@@ -6,16 +6,7 @@ layout: default
|
|
6
6
|
|
7
7
|
<div class="container">
|
8
8
|
{{ content }}
|
9
|
-
|
10
|
-
{% for post in site.posts %}
|
11
|
-
<li>
|
12
|
-
<p>
|
13
|
-
<a class="news-text" href="{{ post.url }}"><b>{{ post.title }} ({{ post.dateS }}).</b></a>
|
14
|
-
{{ post.excerpt }}
|
15
|
-
</p>
|
16
|
-
</li>
|
17
|
-
{% endfor %}
|
18
|
-
</ul>
|
9
|
+
{% include newsroom.html %}
|
19
10
|
</div>
|
20
11
|
|
21
12
|
{% include site-footer.html %}
|
data/_layouts/page.html
CHANGED
@@ -5,35 +5,9 @@ layout: default
|
|
5
5
|
{% include site-header.html %}
|
6
6
|
|
7
7
|
<div class="container">
|
8
|
-
|
8
|
+
{{ content }}
|
9
9
|
</div>
|
10
10
|
|
11
|
-
{%
|
12
|
-
<script async defer src="https://scripts.simpleanalyticscdn.com/latest.js"></script>
|
13
|
-
<noscript><img src="https://queue.simpleanalyticscdn.com/noscript.gif" alt=""></noscript>
|
14
|
-
{% elsif site.matomoanalytics == true %}
|
15
|
-
<!-- Matomo -->
|
16
|
-
<script type="text/javascript">
|
17
|
-
var _paq = window._paq || [];
|
18
|
-
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
19
|
-
_paq.push(["setDoNotTrack", true]);
|
20
|
-
_paq.push(["disableCookies"]);
|
21
|
-
_paq.push(['trackPageView']);
|
22
|
-
_paq.push(['enableLinkTracking']);
|
23
|
-
(function() {
|
24
|
-
var u="https://{{site.matomourl}}/";
|
25
|
-
_paq.push(['setTrackerUrl', u+'matomo.php']);
|
26
|
-
_paq.push(['setSiteId', '{{site.matomositeid}}']);
|
27
|
-
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
28
|
-
g.type='text/javascript'; g.async=true; g.defer=true; g.src='//cdn.matomo.cloud/{{site.matomourl}}/matomo.js'; s.parentNode.insertBefore(g,s);
|
29
|
-
})();
|
30
|
-
</script>
|
31
|
-
<noscript><p><img src="https://{{site.matomourl}}/matomo.php?idsite=1&rec=1" style="border:0;" alt="" /></p></noscript>
|
32
|
-
<!-- End Matomo Code -->
|
33
|
-
{% endif %}
|
34
|
-
|
35
|
-
{% if site.fathomanalytics == true %}
|
36
|
-
<script src="https://cdn.usefathom.com/script.js" site="{{site.fathomsite}}" honor-dnt="true" async defer></script>
|
37
|
-
{% endif %}
|
11
|
+
{% include analytics.html %}
|
38
12
|
|
39
13
|
{% include site-footer.html %}
|
data/_layouts/post.html
CHANGED
data/_sass/_theme.scss
CHANGED
@@ -40,53 +40,30 @@ body {
|
|
40
40
|
|
41
41
|
// Typography
|
42
42
|
@media only screen and (max-device-width: 480px) {
|
43
|
-
h1 {
|
44
|
-
|
45
|
-
}
|
46
|
-
|
47
|
-
h2 {
|
48
|
-
font-size: 21px !important;
|
49
|
-
}
|
50
|
-
|
51
|
-
h3 {
|
52
|
-
font-size: 19px !important;
|
53
|
-
}
|
54
|
-
|
55
|
-
.post {
|
56
|
-
h3 {
|
57
|
-
font-size: 14px !important;
|
58
|
-
}
|
59
|
-
}
|
60
|
-
|
43
|
+
h1 { font-size: 28px !important; }
|
44
|
+
h2 { font-size: 21px !important; }
|
45
|
+
h3 { font-size: 19px !important; }
|
46
|
+
.post { h3 { font-size: 14px !important; } }
|
61
47
|
h4, h5, h6 { font-size: 16px !important; }
|
62
|
-
.tagline { font-size: 40px !important; }
|
48
|
+
.tagline, .tagline * { font-size: 40px !important; }
|
49
|
+
b { font-weight: $font-bold !important; } // Keeps bold bold, no matter the scenario
|
63
50
|
}
|
64
51
|
|
65
|
-
.bold { font-weight: $font-bold; } // Jekyll will process bold text to have the "bold" class
|
66
|
-
|
67
52
|
p { margin: 1em 0; }
|
68
|
-
|
69
53
|
h1 {
|
70
54
|
font-size: 48px;
|
71
55
|
letter-spacing: -.05em;
|
72
56
|
font-weight: $font-bold;
|
73
57
|
line-height: 1.1;
|
74
58
|
}
|
75
|
-
|
76
59
|
h2 {
|
77
60
|
font-size: 24px;
|
78
61
|
line-height: 1.35;
|
79
62
|
}
|
63
|
+
h3 { font-size: 16px; }
|
64
|
+
ol, ul { margin: 2em 1em; }
|
80
65
|
|
81
|
-
|
82
|
-
font-size: 16px;
|
83
|
-
}
|
84
|
-
|
85
|
-
ol, ul {
|
86
|
-
margin: 2em 1em;
|
87
|
-
}
|
88
|
-
|
89
|
-
a {
|
66
|
+
a, ul a, ol a, p a {
|
90
67
|
color: $LIGHTlinkColour;
|
91
68
|
text-decoration: none;
|
92
69
|
:hover {
|
@@ -134,7 +111,6 @@ header {
|
|
134
111
|
img {
|
135
112
|
display: block;
|
136
113
|
border: none !important;
|
137
|
-
vertical-align: bottom;
|
138
114
|
}
|
139
115
|
}
|
140
116
|
a {
|
@@ -185,21 +161,20 @@ nav {
|
|
185
161
|
justify-content: center;
|
186
162
|
background: $accentColour;
|
187
163
|
color: $headerTextColour;
|
188
|
-
padding
|
189
|
-
|
190
|
-
max-height: 32.5vh;
|
164
|
+
padding: 1.5em 32px;
|
165
|
+
max-height: 30vh;
|
191
166
|
|
192
|
-
p {
|
167
|
+
p, b {
|
193
168
|
flex: 0 0 auto;
|
194
|
-
margin:
|
169
|
+
margin: auto 16px;
|
195
170
|
display: flex;
|
196
|
-
flex-direction: column;
|
197
171
|
justify-content: center;
|
198
172
|
|
199
173
|
font-size: 80px;
|
200
174
|
letter-spacing: -.05em;
|
201
175
|
font-weight: $font-regular;
|
202
176
|
line-height: 1.1;
|
177
|
+
white-space: nowrap;
|
203
178
|
}
|
204
179
|
}
|
205
180
|
|
@@ -225,20 +200,22 @@ footer {
|
|
225
200
|
|
226
201
|
// Main Content
|
227
202
|
.container {
|
228
|
-
|
229
|
-
margin: 1em
|
203
|
+
width: 75vw;
|
204
|
+
margin: 1em auto;
|
230
205
|
ul, ol {
|
231
206
|
margin-left: 2em !important;
|
232
207
|
margin-right: 24px !important;
|
233
208
|
}
|
234
|
-
.highlight, p, hr
|
209
|
+
.highlight, p, hr {
|
235
210
|
margin-left: 1em !important;
|
236
211
|
margin-right: 24px !important;
|
237
212
|
}
|
238
213
|
@media only screen and (max-device-width: 480px) {
|
239
214
|
max-width: 100% !important;
|
240
|
-
margin: 1em
|
215
|
+
margin: 1em 1em 1em 1em;
|
216
|
+
width: auto !important;
|
241
217
|
}
|
218
|
+
hr { margin-bottom: 1em; }
|
242
219
|
}
|
243
220
|
|
244
221
|
// Images
|
@@ -251,17 +228,14 @@ img {
|
|
251
228
|
}
|
252
229
|
|
253
230
|
// Blog Posts
|
254
|
-
.post {
|
255
|
-
h3 {
|
256
|
-
font-size: 14px !important;
|
257
|
-
}
|
258
|
-
}
|
231
|
+
.post { h3 { font-size: 14px !important; } }
|
259
232
|
|
260
233
|
// Auto Dark Theme as Declared by Browser/OS
|
261
234
|
@media (prefers-color-scheme: dark) {
|
262
|
-
a {
|
263
|
-
|
264
|
-
|
235
|
+
a, ul a, ol a, p a { color: $DARKlinkColour;}
|
236
|
+
a:hover, ul a:hover, ol a:hover, p a:hover {
|
237
|
+
color: $DARKlinkHoverColour;
|
238
|
+
transition: color 250ms ease-in-out;
|
265
239
|
}
|
266
240
|
.highlight {
|
267
241
|
background: $DARKcodebgColour;
|
@@ -276,4 +250,11 @@ img {
|
|
276
250
|
background: $DARKcodebgColour;
|
277
251
|
color: $DARKcodeColour;
|
278
252
|
}
|
253
|
+
}
|
254
|
+
|
255
|
+
// Make pixel trackers invisible
|
256
|
+
.pxl {
|
257
|
+
width: 1px;
|
258
|
+
height: 1px;
|
259
|
+
border: none;
|
279
260
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nano-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- doamatto
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '4.
|
19
|
+
version: '4.1'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '4.
|
26
|
+
version: '4.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: jekyll-sitemap
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.4'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: jekyll-feed
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0.13'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0.13'
|
41
55
|
description:
|
42
56
|
email:
|
43
57
|
- hello@doamatto.xyz
|
@@ -47,8 +61,12 @@ extra_rdoc_files: []
|
|
47
61
|
files:
|
48
62
|
- LICENSE
|
49
63
|
- README.md
|
64
|
+
- _includes/analytics.html
|
65
|
+
- _includes/csp.html
|
66
|
+
- _includes/newsroom.html
|
50
67
|
- _includes/site-footer.html
|
51
68
|
- _includes/site-header.html
|
69
|
+
- _includes/verifications.html
|
52
70
|
- _layouts/default.html
|
53
71
|
- _layouts/newsroom.html
|
54
72
|
- _layouts/page.html
|