no-style-please2 0.7.0 → 0.7.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5e95a4a91f6613fff961b42de602960f4abb8f75788928f136ba7f770bf58aa2
4
- data.tar.gz: e6e43f6882a428283e70ef4968eedcd45468dd28df2592f0e0ad6a4116b412a0
3
+ metadata.gz: 4bfcd8f5dd3e6b567d77743b5a60b6f6ee52a1f640e3a1c9c06ead55e2a815e6
4
+ data.tar.gz: 4877fc2ce2da1c7f3cfcdab230f3b1b8b434dfcf6662f28815b0d9dc3163a1d1
5
5
  SHA512:
6
- metadata.gz: c3303d70b4e21d536df3a2706460737b005be5f91165e76467ad996dc765dad3f5fc88b977f1174a11651912161ee4e76fbbd555c78fe2b0d50a71472b1b1d8a
7
- data.tar.gz: e21677259b350605bc94ed37219812423727b229ad6b9173074138b5ed7b34aeeb623f197a1d605c4bb794de8dff25d6db4ab5d620ec052fb2fae77c19d048bc
6
+ metadata.gz: 7f4510dd442703e06d6c862f9b0102d4b05e2ee995f1fbf96d07969a4f6da6243a43fb7e6eedfe3ddfb9865694d08eef15b6bb92087dcc29c0a33ab4d776e229
7
+ data.tar.gz: 0b9b6e372bda82421c20175688076939b903a9d44e57b84ac49b0dab614b89714193d0ab51ae0548eb62c3d69634c57e1c968e4a85c198e2ca7be10116def9f7
data/README.md CHANGED
@@ -11,8 +11,7 @@ Inspired by [elly's site](http://tilde.town/~elly/) [riggraz](https://riggraz.de
11
11
 
12
12
  + ### new
13
13
  + tags support
14
- + mathjax , inluce_code post_link support, include
15
- + support, link to other post
14
+ + mathjax , inluce_code post_link support, include support, link to other post
16
15
  + encrytion support. Only those who know the password can view the article
17
16
 
18
17
  **IMPORTANT NOTE**
@@ -20,16 +19,19 @@ Inspired by [elly's site](http://tilde.town/~elly/) [riggraz](https://riggraz.de
20
19
 
21
20
 
22
21
  #### how to encrypt your post
23
- 1. generate your own public & private key to protect your password
22
+ 1. generate your own public & private key to protect your password
24
23
  ```
25
24
  ltectool g
26
25
  ```
27
- you will get
26
+ you will get
28
27
  ```
29
28
  publickey: AAA
30
29
  privatekey: BBBBB
31
30
  ```
32
- 2. encrypt your password
31
+
32
+ 2. encrypt your password
33
+
34
+
33
35
  ``` bash
34
36
  # ltectool e [your publickey] [your password]
35
37
  # like below
@@ -65,9 +67,10 @@ enc_tags:
65
67
  * Light, dark and auto modes
66
68
  * Responsive
67
69
  * Content first (typography optimized for maximum readability)
68
- * SEO optimized (uses [Jekyll SEO Tag](https://github.com/jekyll/jekyll-seo-tag))
69
- * RSS feed (uses [Jekyll Feed](https://github.com/jekyll/jekyll-feed))
70
- * Fully compatible with [GitHub Pages](https://pages.github.com/) (see [GitHub Pages installation](#github-pages-installation))
70
+ * ~~SEO optimized (uses [Jekyll SEO Tag](https://github.com/jekyll/jekyll-seo-tag))~~
71
+ * ~~RSS feed (uses [Jekyll Feed](https://github.com/jekyll/jekyll-feed))~~
72
+ * ~~Fully compatible with [GitHub Pages](https://pages.github.com/) (see [GitHub Pages installation](#github-pages-installation))~~
73
+ > you should build the _site by yourself , because githubpage do not support all plugins
71
74
 
72
75
 
73
76
 
@@ -115,6 +118,24 @@ The `menu.yml` file accepts the following fields:
115
118
  - `show_more_url`, which can be a string. It specifies the URL for the show more link. Use only if `show_more` is true. This will usually redirect to a page containing all posts, which you can easily create using an archive page (see [create archive pages](#create-archive-pages) section)
116
119
  - `show_more_text`, which can be a string. It specifies the text for the show more link. Use only if `show_more` is true.
117
120
  - `entries`, yes, you can have entries inside entries. In this way you can create nested sublists!
121
+ ### Show all tags
122
+ create a `tags.md` with content below
123
+ ``` yml
124
+ ---
125
+ title: TAGS
126
+ layout: tags
127
+ permalink: /tags/index.html
128
+ ---
129
+ ```
130
+
131
+ add a entry in the _data/menu.yml
132
+ ``` yml
133
+ - title: tags
134
+ url: tags
135
+ ```
136
+
137
+
138
+
118
139
 
119
140
  ### Create archive pages
120
141
 
data/_config.yml CHANGED
@@ -34,7 +34,7 @@ theme_config:
34
34
 
35
35
 
36
36
  sass:
37
- style: :compressed
37
+ style: :nested
38
38
  sourcemap: "never"
39
39
 
40
40
  plugins:
data/_includes/head.html CHANGED
@@ -6,16 +6,7 @@
6
6
  {% if page.mathjax %}
7
7
  <script type="text/x-mathjax-config">MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});</script>
8
8
  <script type="text/javascript" async src="//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML"></script>
9
-
10
-
11
- <!-- <script type="text/javascript" async src="/static/js/MathJax.js"></script> -->
12
-
13
9
  {% endif %}
14
-
15
-
16
-
17
-
18
-
19
10
  <title>
20
11
  {%- if page.title -%}
21
12
  {{ page.title }}
@@ -31,7 +22,12 @@
31
22
  {% include collecttags.html %}
32
23
  {% endif %}
33
24
 
34
-
35
25
  <link rel="shortcut icon" type="image/x-icon" href="{{ site.favicon | relative_url }}" />
36
- <link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}" />
26
+ {% comment %}
27
+ <!-- <link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}" /> -->
28
+ {% endcomment %}
29
+ <style>
30
+ {%- include main.css -%}
31
+ </style>
32
+
37
33
  </head>
@@ -0,0 +1,90 @@
1
+ body[a="dark"] {
2
+ filter: invert(1); }
3
+ body[a="dark"] img {
4
+ filter: invert(1); }
5
+ body[a="dark"] img.ioda {
6
+ filter: invert(0); }
7
+
8
+ @media (prefers-color-scheme: dark) {
9
+ body[a="auto"] {
10
+ filter: invert(1); }
11
+ body[a="auto"] img {
12
+ filter: invert(1); }
13
+ body[a="auto"] img.ioda {
14
+ filter: invert(0); } }
15
+
16
+ html, body {
17
+ background: white; }
18
+
19
+ html {
20
+ height: 100%; }
21
+
22
+ body {
23
+ color: black;
24
+ font-family: monospace;
25
+ font-size: 16px;
26
+ line-height: 1.4;
27
+ margin: 0;
28
+ min-height: 100%;
29
+ overflow-wrap: break-word; }
30
+
31
+ .post-meta {
32
+ text-align: right; }
33
+
34
+ h2, h3, h4, h5, h6 {
35
+ margin-top: 3rem; }
36
+
37
+ hr {
38
+ margin: 2rem 0; }
39
+
40
+ p {
41
+ margin: 1rem 0; }
42
+
43
+ li {
44
+ margin: 0.4rem 0; }
45
+
46
+ *:target {
47
+ background: yellow; }
48
+
49
+ .w {
50
+ max-width: 640px;
51
+ margin: 0 auto;
52
+ padding: 4rem 2rem; }
53
+
54
+ hr {
55
+ text-align: center;
56
+ border: 0; }
57
+ hr:before {
58
+ content: '/////'; }
59
+ hr:after {
60
+ content: attr(data-content) "/////"; }
61
+
62
+ table {
63
+ width: 100%; }
64
+
65
+ table, th, td {
66
+ border: thin solid black;
67
+ border-collapse: collapse;
68
+ padding: 0.4rem; }
69
+
70
+ code {
71
+ color: white;
72
+ background: black; }
73
+
74
+ div.highlighter-rouge code {
75
+ display: block;
76
+ overflow-x: auto;
77
+ white-space: pre-wrap;
78
+ padding: 1rem; }
79
+
80
+ blockquote {
81
+ font-style: italic;
82
+ border: thin solid black;
83
+ padding: 1rem; }
84
+ blockquote p {
85
+ margin: 0; }
86
+
87
+ img {
88
+ max-width: 100%;
89
+ display: block;
90
+ margin: 0 auto; }
@@ -96,7 +96,3 @@ img {
96
96
  margin: 0 auto;
97
97
  }
98
98
 
99
- a{
100
- text-decoration: none;
101
- color: royalblue;
102
- }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: no-style-please2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - vitock
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-21 00:00:00.000000000 Z
11
+ date: 2022-05-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -53,6 +53,7 @@ files:
53
53
  - _includes/encrypted.html
54
54
  - _includes/goat_counter.html
55
55
  - _includes/head.html
56
+ - _includes/main.css
56
57
  - _includes/menu_item.html
57
58
  - _includes/post_list.html
58
59
  - _layouts/archive.html