no-style-please 0.4.6 → 0.4.9

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: 25566ff00a95e519bc1a75d023f4ed37542a76a2e92d662aad44334abd269365
4
- data.tar.gz: 4437b0fb4ac2c51fe3d0555777a6c10b82789670b3c7113d41e188f0e8d9ee1e
3
+ metadata.gz: 5075ba6a57cee9536d0cc0e9d804cb4985d365584fd28233bf77b340bb70b31a
4
+ data.tar.gz: f25c913614643ee97ace43a498d754315ad6cbe29985bb952342d6a4717be1c6
5
5
  SHA512:
6
- metadata.gz: 8c1657a7d4fcb80873de3c6244b65282db6a03a121b9e3814544414f72b6702a3040a00dbc687a173157302295840a500fa75fa39a0186f4848e760f672bc991
7
- data.tar.gz: 658f8b6504b8982867308baf835a1a1174b11f4373a4ea6fd8049f127b11c0fc3115a4626a3c949299e0eb11bdac0ce0838bea47ca180bfd0a4d108cb657e74a
6
+ metadata.gz: 8f1dde9b097b99caf35588a4ceee1f14ffc8e3aff97c1de4cd9a40221ba22bac998e99cd4d3972ebe67e2cc3087ca51d88f64ea82ac3e5f16b083a6ee5664c09
7
+ data.tar.gz: 0a6d71190c04f95a16953c1d2111edb33d1f8755d3e0b22f511d0ac58913e27acd8e0afbe5b59e5d2abff0e1b3d0310a50d426e83f08b7a12e516110ae68ce6e
data/_config.yml CHANGED
@@ -11,16 +11,17 @@ permalink: /:slug.html
11
11
  favicon: "logo.png" # name+extension of favicon (which must be put on the root folder)
12
12
  # goat_counter: "yoursitename" # put your GoatCounter name if you want to use GoatCounter analytics
13
13
 
14
- theme: no-style-please # if you are using GitHub Pages, change it to remote_theme: riggraz/no-style-please
14
+ remote_theme: riggraz/no-style-please # if you are using GitHub Pages, change it to remote_theme: riggraz/no-style-please
15
15
 
16
16
  theme_config:
17
17
  appearance: "auto" # can be "light", "dark" or "auto"
18
18
  back_home_text: ".." # customize text for homepage link in post layout
19
19
  date_format: "%Y-%m-%d" # customize how date is formatted
20
20
  show_description: false # show blog description in home page
21
+ lowercase_titles: true # show titles in lowercase in lists
21
22
 
22
23
  sass:
23
- style: :compressed
24
+ style: compressed
24
25
 
25
26
  plugins:
26
27
  - jekyll-feed
@@ -15,11 +15,15 @@
15
15
  {%- for post in posts limit: include.limit -%}
16
16
  <li>
17
17
  <span>{{- post.date | date: site.theme_config.date_format -}}</span>
18
+ {% if site.theme_config.lowercase_titles == true %}
18
19
  <a href="{{ post.url | relative_url }}">{{ post.title | downcase }}</a>
20
+ {% else %}
21
+ <a href="{{ post.url | relative_url }}">{{ post.title }}</a>
22
+ {% endif %}
19
23
  </li>
20
24
  {%- endfor -%}
21
25
  {%- if include.show_more and limit_exceeded -%}
22
26
  <li><a href="{{ include.show_more_url }}">{{ include.show_more_text | default: "Show more..." }}</a></li>
23
27
  {%- endif -%}
24
28
  </ul>
25
- {%- endif -%}
29
+ {%- endif -%}
@@ -6,6 +6,7 @@
6
6
 
7
7
  &.ioda { filter: invert(0); }
8
8
  }
9
+ .emoji { filter: invert(1); }
9
10
  }
10
11
 
11
12
  body[a="dark"] { @include dark-appearance; }
@@ -21,7 +22,7 @@ body[a="dark"] { @include dark-appearance; }
21
22
  // see: https://stackoverflow.com/a/61265706
22
23
  html, body { background: white; }
23
24
 
24
- html { height: 100%; }
25
+ html { height: 100%; scroll-behavior: smooth; }
25
26
 
26
27
  body {
27
28
  color: black;
@@ -30,6 +31,7 @@ body {
30
31
  line-height: 1.4;
31
32
  margin: 0;
32
33
  min-height: 100%;
34
+ overflow-wrap: break-word;
33
35
  }
34
36
 
35
37
  .post-meta { text-align: right; }
@@ -45,7 +47,6 @@ li { margin: 0.4rem 0; }
45
47
  *:target { background: yellow; }
46
48
 
47
49
  .w {
48
- width: fit-content;
49
50
  max-width: 640px;
50
51
  margin: 0 auto;
51
52
  padding: 4rem 2rem;
@@ -91,4 +92,4 @@ img {
91
92
  max-width: 100%;
92
93
  display: block;
93
94
  margin: 0 auto;
94
- }
95
+ }
@@ -0,0 +1,125 @@
1
+ body[a=dark] {
2
+ filter: invert(1);
3
+ }
4
+ body[a=dark] img {
5
+ filter: invert(1);
6
+ }
7
+ body[a=dark] img.ioda {
8
+ filter: invert(0);
9
+ }
10
+ body[a=dark] .emoji {
11
+ filter: invert(1);
12
+ }
13
+
14
+ @media (prefers-color-scheme: dark) {
15
+ body[a=auto] {
16
+ filter: invert(1);
17
+ }
18
+ body[a=auto] img {
19
+ filter: invert(1);
20
+ }
21
+ body[a=auto] img.ioda {
22
+ filter: invert(0);
23
+ }
24
+ body[a=auto] .emoji {
25
+ filter: invert(1);
26
+ }
27
+ }
28
+ html, body {
29
+ background: white;
30
+ }
31
+
32
+ html {
33
+ height: 100%;
34
+ scroll-behavior: smooth;
35
+ }
36
+
37
+ body {
38
+ color: black;
39
+ font-family: monospace;
40
+ font-size: 16px;
41
+ line-height: 1.4;
42
+ margin: 0;
43
+ min-height: 100%;
44
+ overflow-wrap: break-word;
45
+ }
46
+
47
+ .post-meta {
48
+ text-align: right;
49
+ }
50
+
51
+ h2, h3, h4, h5, h6 {
52
+ margin-top: 3rem;
53
+ }
54
+
55
+ hr {
56
+ margin: 2rem 0;
57
+ }
58
+
59
+ p {
60
+ margin: 1rem 0;
61
+ }
62
+
63
+ li {
64
+ margin: 0.4rem 0;
65
+ }
66
+
67
+ *:target {
68
+ background: yellow;
69
+ }
70
+
71
+ .w {
72
+ max-width: 640px;
73
+ margin: 0 auto;
74
+ padding: 4rem 2rem;
75
+ }
76
+
77
+ hr {
78
+ text-align: center;
79
+ border: 0;
80
+ }
81
+ hr:before {
82
+ content: "/////";
83
+ }
84
+ hr:after {
85
+ content: attr(data-content) "/////";
86
+ }
87
+
88
+ table {
89
+ width: 100%;
90
+ }
91
+
92
+ table, th, td {
93
+ border: thin solid black;
94
+ border-collapse: collapse;
95
+ padding: 0.4rem;
96
+ }
97
+
98
+ code {
99
+ color: white;
100
+ background: black;
101
+ }
102
+
103
+ div.highlighter-rouge code {
104
+ display: block;
105
+ overflow-x: auto;
106
+ white-space: pre-wrap;
107
+ padding: 1rem;
108
+ }
109
+
110
+ blockquote {
111
+ font-style: italic;
112
+ border: thin solid black;
113
+ padding: 1rem;
114
+ }
115
+ blockquote p {
116
+ margin: 0;
117
+ }
118
+
119
+ img {
120
+ max-width: 100%;
121
+ display: block;
122
+ margin: 0 auto;
123
+ }
124
+
125
+ /*# sourceMappingURL=main.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sourceRoot":"","sources":["../../_sass/no-style-please.scss"],"names":[],"mappings":"AAWA;EATE;;AACA;EACE;;AAEA;EAAS;;AAEb;EAAS;;;AAMT;EACE;IAbA;;EACA;IACE;;EAEA;IAAS;;EAEb;IAAS;;;AAcT;EAAa;;;AAEb;EAAO;EAAc;;;AAErB;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EAAa;;;AAEb;EAAqB;;;AAErB;EAAK;;;AAEL;EAAI;;;AAEJ;EAAK;;;AAEL;EAAW;;;AAEX;EACE;EACA;EACA;;;AAGF;EACE;EACA;;AAEA;EAAW;;AACX;EAAU;;;AAGZ;EAAQ;;;AAER;EACE;EACA;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;;AAEA;EAAI;;;AAGN;EACE;EACA;EACA","file":"main.css"}
data/assets/css/main.scss CHANGED
@@ -1,4 +1 @@
1
- ---
2
- ---
3
-
4
- @import "no-style-please";
1
+ @use "no-style-please" as *;
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: no-style-please
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6
4
+ version: 0.4.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Riccardo Graziosi
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2021-06-13 00:00:00.000000000 Z
10
+ date: 2025-01-01 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: jekyll
@@ -16,43 +15,42 @@ dependencies:
16
15
  requirements:
17
16
  - - "~>"
18
17
  - !ruby/object:Gem::Version
19
- version: 3.9.0
18
+ version: 3.10.0
20
19
  type: :runtime
21
20
  prerelease: false
22
21
  version_requirements: !ruby/object:Gem::Requirement
23
22
  requirements:
24
23
  - - "~>"
25
24
  - !ruby/object:Gem::Version
26
- version: 3.9.0
25
+ version: 3.10.0
27
26
  - !ruby/object:Gem::Dependency
28
27
  name: jekyll-feed
29
28
  requirement: !ruby/object:Gem::Requirement
30
29
  requirements:
31
30
  - - "~>"
32
31
  - !ruby/object:Gem::Version
33
- version: 0.15.1
32
+ version: 0.17.0
34
33
  type: :runtime
35
34
  prerelease: false
36
35
  version_requirements: !ruby/object:Gem::Requirement
37
36
  requirements:
38
37
  - - "~>"
39
38
  - !ruby/object:Gem::Version
40
- version: 0.15.1
39
+ version: 0.17.0
41
40
  - !ruby/object:Gem::Dependency
42
41
  name: jekyll-seo-tag
43
42
  requirement: !ruby/object:Gem::Requirement
44
43
  requirements:
45
44
  - - "~>"
46
45
  - !ruby/object:Gem::Version
47
- version: 2.7.1
46
+ version: 2.8.0
48
47
  type: :runtime
49
48
  prerelease: false
50
49
  version_requirements: !ruby/object:Gem::Requirement
51
50
  requirements:
52
51
  - - "~>"
53
52
  - !ruby/object:Gem::Version
54
- version: 2.7.1
55
- description:
53
+ version: 2.8.0
56
54
  email:
57
55
  - riccardo.graziosi97@gmail.com
58
56
  executables: []
@@ -73,13 +71,14 @@ files:
73
71
  - _layouts/page.html
74
72
  - _layouts/post.html
75
73
  - _sass/no-style-please.scss
74
+ - assets/css/main.css
75
+ - assets/css/main.css.map
76
76
  - assets/css/main.scss
77
77
  - assets/js/mouse_coords.js
78
78
  homepage: https://github.com/riggraz/no-style-please
79
79
  licenses:
80
80
  - MIT
81
81
  metadata: {}
82
- post_install_message:
83
82
  rdoc_options: []
84
83
  require_paths:
85
84
  - lib
@@ -87,15 +86,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
87
86
  requirements:
88
87
  - - ">="
89
88
  - !ruby/object:Gem::Version
90
- version: '0'
89
+ version: '3.4'
91
90
  required_rubygems_version: !ruby/object:Gem::Requirement
92
91
  requirements:
93
92
  - - ">="
94
93
  - !ruby/object:Gem::Version
95
94
  version: '0'
96
95
  requirements: []
97
- rubygems_version: 3.0.3
98
- signing_key:
96
+ rubygems_version: 3.6.2
99
97
  specification_version: 4
100
98
  summary: A (nearly) no-CSS, fast, minimalist Jekyll theme.
101
99
  test_files: []