jekyll-theme-console 0.3.8 → 0.4.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: 0d8199be043bdc2145d7e1101fb983d2b0d95043e5cb5f365d534f8c0f8c6cf4
4
- data.tar.gz: 5b5e30ea1aa790ae3d00805fbc1a0fbaa4b65390b0db82d4e9e36caf42720a17
3
+ metadata.gz: 0a58a3f2c14b67508a27071ba7aca8d5b6329ff645a89dadc280e2c7d9399ddc
4
+ data.tar.gz: 7c558c26fee571309bf40f7c247972f77f22cf9567348034b411dcc518790f96
5
5
  SHA512:
6
- metadata.gz: ed26b0d2da4bdc81ed6c3bc3629e7fa2250ffef74e131839117440aae0de87b5211eb6b465af0d67d5eb142131e511a6d40190d04f18a979b8a7a95d91ce177f
7
- data.tar.gz: 64c7f1ab473960237b744bab328e52e92387f9e2686dc1172f25c98ea69b315af260d4ced7ebc5c3099e322ab3938b002c9b4af119c0d1e23d5ac229e4860ae5
6
+ metadata.gz: 7f69bf74fb728289535cf182b412db6957d1a1fe1825c84cb442fdc47681de10a105e0b8f36d98a52dae46921a41c328914d4c8c6a71359b33ff19c98ad390be
7
+ data.tar.gz: 42e28072d71eb9c5e5afd46562b937b3c5d51ef595cd899051faf6da162c52cfca6d1585679ef4005c1dc345976f9c55e723ec858b22f286509f7eadf96bbe02
data/README.md CHANGED
@@ -6,15 +6,27 @@ A jekyll theme with inspiration from linux consoles for hackers, developers and
6
6
 
7
7
  ## Demo
8
8
 
9
- [https://b2a3e8.github.io/jekyll-theme-console/](https://b2a3e8.github.io/jekyll-theme-console/)
9
+ [dark style](https://b2a3e8.github.io/jekyll-theme-console-demo-dark/) ([source code](https://github.com/b2a3e8/jekyll-theme-console-demo-dark)):
10
10
 
11
- source code: [https://github.com/b2a3e8/jekyll-theme-console/tree/gh-pages](https://github.com/b2a3e8/jekyll-theme-console/tree/gh-pages)
11
+ [<img src="https://raw.githubusercontent.com/b2a3e8/jekyll-theme-console/master/screenshot-dark.png" width="350" title="Screenshot">](https://b2a3e8.github.io/jekyll-theme-console-demo-dark/)
12
+
13
+
14
+ [light style](https://b2a3e8.github.io/jekyll-theme-console-demo-light/) ([source code](https://github.com/b2a3e8/jekyll-theme-console-demo-light)):
15
+
16
+ [<img src="https://raw.githubusercontent.com/b2a3e8/jekyll-theme-console/master/screenshot-light.png" width="350" title="Screenshot">](https://b2a3e8.github.io/jekyll-theme-console-demo-light/)
17
+
18
+
19
+ [hacker style](https://b2a3e8.github.io/jekyll-theme-console-demo-hacker/) ([source code](https://github.com/b2a3e8/jekyll-theme-console-demo-hacker)):
20
+
21
+ [<img src="https://raw.githubusercontent.com/b2a3e8/jekyll-theme-console/master/screenshot-hacker.png" width="350" title="Screenshot">](https://b2a3e8.github.io/jekyll-theme-console-demo-hacker/)
12
22
 
13
23
 
14
24
  ## Installation
15
25
 
16
26
  First, follow the steps in [this Quickstart Guide](https://jekyllrb.com/docs/) if you're starting with Jekyll from scratch. Skip this if you already have an existing jekyll project.
17
27
 
28
+ **_You can also use the [demo site's source code](https://b2a3e8.github.io/jekyll-theme-console-demo-dark/) as template for an easy start._**
29
+
18
30
  ### Remote theme method for GitHub Pages
19
31
 
20
32
  Use this method for sites hosted with GitHub Pages only. To install:
@@ -1,5 +1,8 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="{{ page.lang | default: site.lang | default: "en" }}">
3
+ <meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'self'; style-src 'self' https://fonts.googleapis.com; img-src 'self'; font-src 'self' https://fonts.gstatic.com; connect-src 'self'; media-src 'self'; object-src 'self'; child-src 'self'; form-action 'none'; base-uri 'self'" />
4
+ <meta http-equiv="X-XSS-Protection" content="1;mode=block" always>
5
+ <meta http-equiv="Referrer-Policy" content="no-referrer, strict-origin-when-cross-origin">
3
6
 
4
7
  {%- include head.html -%}
5
8
 
data/_sass/base.scss CHANGED
@@ -20,18 +20,12 @@ p, ul, ol { margin: 0px; color: var(--text-color); }
20
20
  a { text-decoration: underline; color: var(--link-color); }
21
21
  a:hover { color: var(--background-color); background-color: var(--base-color); }
22
22
  @media only screen and (max-device-width: 500px) { * { font-size: $mobile-font-size !important; } }
23
- /*h1:before { content: "#"; margin-right: 9px; }
24
- h2:before { content: "##"; margin-right: 9px; }
25
- h3:before { content: "###"; margin-right: 9px; }
26
- h4:before { content: "####"; margin-right: 9px; }
27
- h5:before { content: "#####"; margin-right: 9px; }
28
- h6:before { content: "######"; margin-right: 9px; }*/
29
23
 
30
24
  /**
31
25
  * Layout
32
26
  */
33
27
  .container { width: $container-width; max-width: $container-max-width; margin-right: auto; margin-left: auto; }
34
- p { word-wrap: break-word; word-break: break-word; white-space: pre-wrap; }
28
+ p { word-wrap: break-word; word-break: break-word; white-space: pre-wrap; margin-bottom: 15px; }
35
29
  footer { color: var(--text-color); border-top: var(--border); margin: 20px auto 15px; padding-top: 10px; text-align: right; }
36
30
  header { margin-top: 25px; margin-bottom: 10px; }
37
31
  header p { text-align: left; margin: 0; }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-console
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.8
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - b2a3e8
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-27 00:00:00.000000000 Z
11
+ date: 2021-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll