bluetonic 0.1.0 → 0.3.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: 9e7a817971627e733418b97b5130a652c327fa821b68f7548ef61400a63ff4ca
4
- data.tar.gz: 0753e07ebc3c7aac66324ff0075cd93f243b52bf13ac2d37ccf7b8e4e1ee2c24
3
+ metadata.gz: 920921edb2b4d32f630a9d9c0d2b91783219548fe29065970e897ff65ec59ce2
4
+ data.tar.gz: a3d8ba1c9ffd7a17c531791eb1a211b698656e790ef22a1a06ae274c1edf86aa
5
5
  SHA512:
6
- metadata.gz: 80fe8e73aeb316d22394e61cf7670652ed293ce8308d671ceab88967e568888580a99f776d2803a3f6e5f0eefe6661474e077e6d579bac6a789f6be785a034e1
7
- data.tar.gz: 555650c72d0110300d70e22ae73cd32679a1203819d1596824b4296d4eea54e4b43bad963f77971b3c692a156e6d1f8c5455acfb76c1a2145c9d28b36a069b66
6
+ metadata.gz: 0ac0ddc524e8d78a78522900763703ff68c04088a9755f66f55310e6ab1753ef2591249aa2f71f35b6a3b0f96d01445f46d4eeef21b1aec364c2bdb6bdfaa5bb
7
+ data.tar.gz: 0d3b770d3011f4692429ebe51397ef36b59071095ac2a927018cc81a0c616c978d5c9ebc901dc7176d5b8210b5aa87a911b8e3790f133890cd69593049b20f99
data/README.md CHANGED
@@ -1,12 +1,12 @@
1
1
  # Blue
2
+ ![Gem Version](https://img.shields.io/gem/v/bluetonic)
2
3
  ![GitHub branch status](https://img.shields.io/github/checks-status/SuperYoshi10000/BlueTonic/main)
3
4
  ![GitHub License](https://img.shields.io/github/license/SuperYoshi10000/bluetonic)
4
5
 
5
6
 
6
-
7
7
  This theme is a blue theme for Jekyll.
8
8
 
9
9
  Everything is some shade of blue.
10
10
 
11
11
  ## Usage
12
- You can find it at [a](https://example.com).
12
+ You can find it at https://rubygems.org/gems/bluetonic.
@@ -0,0 +1,20 @@
1
+ <script>
2
+ function copyHeaderLink(/** @type {MouseEvent} */ event) {
3
+ const id = event.target.id;
4
+ const url = `${location.href.replace(/#.*/, '')}#${id}`;
5
+ navigator.clipboard.writeText(url);
6
+ location.hash = id;
7
+ }
8
+ document.querySelectorAll("h1,h2,h3,h4,h5,h6")
9
+ .forEach(header => header.addEventListener("click", copyHeaderLink));
10
+
11
+ function copyText(/** @type {MouseEvent} */ event) {
12
+ event.stopPropagation();
13
+ const content = event.target.textContent;
14
+ navigator.clipboard.writeText(content);
15
+ }
16
+ document.querySelectorAll("pre,code")
17
+ .forEach(code => code.addEventListener("click", copyText));
18
+
19
+
20
+ </script>
@@ -3,4 +3,5 @@
3
3
  <body>
4
4
  {{ content }}
5
5
  </body>
6
+ {% include script.html %}
6
7
  </html>
data/_sass/base.scss CHANGED
@@ -1,7 +1,95 @@
1
+ @import url('https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Special+Gothic:wght@400..700&display=swap');
2
+
3
+ * {
4
+ --color-bg: #007fff;
5
+ --color-bga: #00afff;
6
+ --color-bg2: #003fff7f;
7
+ --color-header-highlight: #ffffff2f;
8
+ --color-fg: #00007f;
9
+ --color-link: #0000df;
10
+ --color-linkh: #00009f;
11
+ --color-linka: #00005f;
12
+ --color-line: #00003f;
13
+ --color-codeshadow: #003fcf7f;
14
+ --color-codehovershadow: #00003f7f;
15
+
16
+ transition: 0.2s ease;
17
+ }
18
+
19
+ :root {
20
+ background: linear-gradient(to right, var(--color-bga) 0%, var(--color-bg) calc(50% - 40ch), var(--color-bg) calc(50% + 40ch), var(--color-bga) 100%);
21
+ }
1
22
  body {
2
- background-color: #007fff;
3
- font-family: sans-serif;
23
+ font-family: "Special Gothic", sans-serif;
4
24
  margin: auto;
5
25
  max-width: 70ch;
6
- color: #00007f;
7
- }
26
+ color: var(--color-fg);
27
+ }
28
+
29
+ h1, h2, h3, h4, h5, h6 {
30
+ font-family: "Montserrat", sans-serif;
31
+ font-weight: 300;
32
+ cursor: copy;
33
+ }
34
+ h1, h2 {
35
+ background: linear-gradient(to bottom, transparent 50%, var(--color-header-highlight) 100%);
36
+ border-bottom: 1px solid var(--color-line);
37
+ }
38
+ :is(h1, h2, h3, h4, h5, h6):hover {
39
+ font-weight: bolder;
40
+ }
41
+
42
+ hr {
43
+ border: none;
44
+ border-bottom: 2px solid var(--color-line);
45
+ box-shadow: 0 0 10px white;
46
+ }
47
+
48
+ pre, code {
49
+ cursor: text;
50
+ font-family: "IBM Plex Mono", monospace;
51
+ }
52
+ pre, :not(pre) > code {
53
+ background-color: var(--color-bg2);
54
+ box-shadow: inset 0 0 3px var(--color-codeshadow);
55
+ }
56
+ :is(pre, :not(pre) > code):hover {
57
+ box-shadow: inset 0 0 3px var(--color-codehovershadow);
58
+ }
59
+ code {
60
+ padding: 2px;
61
+ border-radius: 4px;
62
+ }
63
+ pre {
64
+ padding: 5px;
65
+ border-radius: 8px;
66
+ }
67
+
68
+ a {
69
+ color: var(--color-link);
70
+ text-decoration: inherit;
71
+ }
72
+ a:is(:hover, :focus) {
73
+ color: var(--color-linkh);
74
+ text-decoration: 2px underline;
75
+ }
76
+ a:active {
77
+ color: var(--color-linka);
78
+ }
79
+
80
+ th, td {
81
+ padding: 2px 5px;
82
+ }
83
+
84
+ table {
85
+ border-collapse: collapse;
86
+ }
87
+ tr th {
88
+ border-bottom: 2px solid var(--color-line);
89
+ }
90
+ tr:not(:last-child) td {
91
+ border-bottom: 1px solid var(--color-line);
92
+ }
93
+ :is(th, td):not(:last-child) {
94
+ border-right: 1px solid var(--color-line);
95
+ }
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bluetonic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - SuperYoshi10000
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-10-26 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: jekyll
@@ -47,6 +47,7 @@ files:
47
47
  - README.md
48
48
  - _config.yml
49
49
  - _includes/head.html
50
+ - _includes/script.html
50
51
  - _layouts/default.html
51
52
  - _sass/base.scss
52
53
  - assets/blue.scss
@@ -68,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
68
69
  - !ruby/object:Gem::Version
69
70
  version: '0'
70
71
  requirements: []
71
- rubygems_version: 3.6.2
72
+ rubygems_version: 3.6.9
72
73
  specification_version: 4
73
74
  summary: ''
74
75
  test_files: []