jekyll-theme-console 0.3.8 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +14 -2
- data/_layouts/default.html +3 -0
- data/_sass/base.scss +1 -7
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a58a3f2c14b67508a27071ba7aca8d5b6329ff645a89dadc280e2c7d9399ddc
|
4
|
+
data.tar.gz: 7c558c26fee571309bf40f7c247972f77f22cf9567348034b411dcc518790f96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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://
|
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
|
-
|
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:
|
data/_layouts/default.html
CHANGED
@@ -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.
|
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:
|
11
|
+
date: 2021-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|