jekyll-theme-nix 1.1.0 → 1.1.1

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: d93def0d664f81c9cd3d6b933e4fabeb1c6058aab2ad32eaa785cc355bc9323d
4
- data.tar.gz: 85fc670b4d1e8bc75aba456d8d4ab4bbceb933ae0d53c4000605bd91228c96bc
3
+ metadata.gz: 182a9cc805dbd06edc0ead2a90dec27f3063bf872cf15a7ed2be504939e946c3
4
+ data.tar.gz: 1e1b44b75de9fd8626fc0b88688fe8d30dcc962625e1b44af0456ab1b0ab3dca
5
5
  SHA512:
6
- metadata.gz: 34432d06a237257c66a9359303da2654aff873390f645e5d9e3ca0590d300d2dd901f64f274eba826c480829eea397bceaf5db6be6ca7b09695a2900cc402db2
7
- data.tar.gz: 577cbff69a5b09d1efc48d120397a47cba64f4c4f6ad71031d2f01613a94153db0d60d2e3c4805d6cddf7768e4e5e4ebbb3ba31d2ee983549104eafaf5e92756
6
+ metadata.gz: 323a21b52eedd590a20049c2281153e3cd46193f8ef330e3cc98c058d5675b0f443a80ed01cc9931cc5dcacc4cb52f066cb7a2acee6baac09bac2becc8dd95cd
7
+ data.tar.gz: 8ad6b52905791f998bd5abc9997557505a06e3e7e08f69c33bbdc9f61327f4d4127a25bc04f38422639098d59a472c228980e532397c29451e2bbbe15dd84e25
@@ -0,0 +1,133 @@
1
+
2
+ # Contributor Covenant Code of Conduct
3
+
4
+ ## Our Pledge
5
+
6
+ We as members, contributors, and leaders pledge to make participation in our
7
+ community a harassment-free experience for everyone, regardless of age, body
8
+ size, visible or invisible disability, ethnicity, sex characteristics, gender
9
+ identity and expression, level of experience, education, socio-economic status,
10
+ nationality, personal appearance, race, caste, color, religion, or sexual
11
+ identity and orientation.
12
+
13
+ We pledge to act and interact in ways that contribute to an open, welcoming,
14
+ diverse, inclusive, and healthy community.
15
+
16
+ ## Our Standards
17
+
18
+ Examples of behavior that contributes to a positive environment for our
19
+ community include:
20
+
21
+ * Demonstrating empathy and kindness toward other people
22
+ * Being respectful of differing opinions, viewpoints, and experiences
23
+ * Giving and gracefully accepting constructive feedback
24
+ * Accepting responsibility and apologizing to those affected by our mistakes,
25
+ and learning from the experience
26
+ * Focusing on what is best not just for us as individuals, but for the overall
27
+ community
28
+
29
+ Examples of unacceptable behavior include:
30
+
31
+ * The use of sexualized language or imagery, and sexual attention or advances of
32
+ any kind
33
+ * Trolling, insulting or derogatory comments, and personal or political attacks
34
+ * Public or private harassment
35
+ * Publishing others' private information, such as a physical or email address,
36
+ without their explicit permission
37
+ * Other conduct which could reasonably be considered inappropriate in a
38
+ professional setting
39
+
40
+ ## Enforcement Responsibilities
41
+
42
+ Community leaders are responsible for clarifying and enforcing our standards of
43
+ acceptable behavior and will take appropriate and fair corrective action in
44
+ response to any behavior that they deem inappropriate, threatening, offensive,
45
+ or harmful.
46
+
47
+ Community leaders have the right and responsibility to remove, edit, or reject
48
+ comments, commits, code, wiki edits, issues, and other contributions that are
49
+ not aligned to this Code of Conduct, and will communicate reasons for moderation
50
+ decisions when appropriate.
51
+
52
+ ## Scope
53
+
54
+ This Code of Conduct applies within all community spaces, and also applies when
55
+ an individual is officially representing the community in public spaces.
56
+ Examples of representing our community include using an official email address,
57
+ posting via an official social media account, or acting as an appointed
58
+ representative at an online or offline event.
59
+
60
+ ## Enforcement
61
+
62
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
63
+ reported to the community leaders responsible for enforcement at
64
+ [INSERT CONTACT METHOD].
65
+ All complaints will be reviewed and investigated promptly and fairly.
66
+
67
+ All community leaders are obligated to respect the privacy and security of the
68
+ reporter of any incident.
69
+
70
+ ## Enforcement Guidelines
71
+
72
+ Community leaders will follow these Community Impact Guidelines in determining
73
+ the consequences for any action they deem in violation of this Code of Conduct:
74
+
75
+ ### 1. Correction
76
+
77
+ **Community Impact**: Use of inappropriate language or other behavior deemed
78
+ unprofessional or unwelcome in the community.
79
+
80
+ **Consequence**: A private, written warning from community leaders, providing
81
+ clarity around the nature of the violation and an explanation of why the
82
+ behavior was inappropriate. A public apology may be requested.
83
+
84
+ ### 2. Warning
85
+
86
+ **Community Impact**: A violation through a single incident or series of
87
+ actions.
88
+
89
+ **Consequence**: A warning with consequences for continued behavior. No
90
+ interaction with the people involved, including unsolicited interaction with
91
+ those enforcing the Code of Conduct, for a specified period of time. This
92
+ includes avoiding interactions in community spaces as well as external channels
93
+ like social media. Violating these terms may lead to a temporary or permanent
94
+ ban.
95
+
96
+ ### 3. Temporary Ban
97
+
98
+ **Community Impact**: A serious violation of community standards, including
99
+ sustained inappropriate behavior.
100
+
101
+ **Consequence**: A temporary ban from any sort of interaction or public
102
+ communication with the community for a specified period of time. No public or
103
+ private interaction with the people involved, including unsolicited interaction
104
+ with those enforcing the Code of Conduct, is allowed during this period.
105
+ Violating these terms may lead to a permanent ban.
106
+
107
+ ### 4. Permanent Ban
108
+
109
+ **Community Impact**: Demonstrating a pattern of violation of community
110
+ standards, including sustained inappropriate behavior, harassment of an
111
+ individual, or aggression toward or disparagement of classes of individuals.
112
+
113
+ **Consequence**: A permanent ban from any sort of public interaction within the
114
+ community.
115
+
116
+ ## Attribution
117
+
118
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
119
+ version 2.1, available at
120
+ [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
121
+
122
+ Community Impact Guidelines were inspired by
123
+ [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
124
+
125
+ For answers to common questions about this code of conduct, see the FAQ at
126
+ [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
127
+ [https://www.contributor-covenant.org/translations][translations].
128
+
129
+ [homepage]: https://www.contributor-covenant.org
130
+ [v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
131
+ [Mozilla CoC]: https://github.com/mozilla/diversity
132
+ [FAQ]: https://www.contributor-covenant.org/faq
133
+ [translations]: https://www.contributor-covenant.org/translations
data/README.md CHANGED
@@ -8,6 +8,8 @@ It also changes as little as possible from the default browser settings to impro
8
8
 
9
9
  [Demo](https://jekyll-theme-nix.michaelnordmeyer.com/)
10
10
 
11
+ ![Screenshot](/screenshot.png)
12
+
11
13
  If this theme feels to bloated to you, you can try [“Nixer”](https://github.com/michaelnordmeyer/jekyll-theme-nixer), the ultra-minimalistic version of “Nix”.
12
14
 
13
15
  ## Limited Features
@@ -68,6 +70,10 @@ theme: jekyll-theme-nix
68
70
 
69
71
  Make sure that this is the only `theme:` in `_config.yml`, and that there are no other `remote-theme:`. Afterwards run `bundle install`, and `bundle update` to update it, if there's a new version.
70
72
 
73
+ ```sh
74
+ bundle install
75
+ ```
76
+
71
77
  ### Installation as Remote Theme
72
78
 
73
79
  Add this line to your Jekyll site's `Gemfile`:
@@ -5,6 +5,8 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1">
6
6
  <link rel="icon" type="{{ site.theme_settings.favicon_media_type }}" media="(prefers-color-scheme: light)" href="{{ site.theme_settings.favicon | relative_url }}">
7
7
  <link rel="icon" type="{{ site.theme_settings.favicon_media_type }}" media="(prefers-color-scheme: dark)" href="{{ site.theme_settings.favicon_dark | relative_url }}">
8
+ <meta name="theme-color" media="(prefers-color-scheme: light)" content="white">
9
+ <meta name="theme-color" media="(prefers-color-scheme: dark)" content="black">
8
10
  <style>
9
11
  :root { color-scheme: light dark; }
10
12
  html {
@@ -24,7 +26,9 @@
24
26
  hr { border: 0; border-top: 1px solid; }
25
27
  h1, h2, h3, h4, h5, h6 { line-height: 1.2; }
26
28
  body > header > h1 { margin-bottom: 2rem; text-align: center; }
27
- body > header > a { display: block; margin-block-start: 0.67em; margin-block-end: 1em; text-align: center; font-size: 2rem; font-weight: bold; }
29
+ body > header > h1 > a { text-decoration: none; color: black }
30
+ body > header > a { display: block; margin-block-start: 0.67em; margin-block-end: 1em; text-align: center; font-size: 2em; font-weight: bold; text-decoration: none; line-height: 1.2; }
31
+ body > header a:visited { color: black; }
28
32
  body > main > ul { padding: 0; }
29
33
  body > main > ul > li { margin: 0.5em 0; list-style-type: none; line-height: 1.25; }
30
34
  body > main > ul > li time { font-size: small; }
@@ -36,12 +40,15 @@
36
40
  html { background-color: black; color: white; }
37
41
  a { color: lightskyblue; }
38
42
  a:visited { color: plum; }
43
+ body > header > h1 > a,
44
+ body > header > a { text-decoration: none; color: white }
45
+ body > header > h1 > a:visited,
46
+ body > header > a:visited { color: white; }
39
47
  header > time { color: darkgrey; }
40
48
  th, td { border-color: grey; }
41
49
  }
42
50
  .footnotes { margin: 0; font-size: small; }
43
51
  </style>
44
- <meta name="theme-color" content="#white">
45
52
  <title>{%- if page.title -%}{{ page.title | smartify }} • {{ site.title | smartify }}{%- else -%}{{ site.title | smartify }} • {{ site.description | smartify }}{%- endif -%}</title>
46
53
  <meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | smartify }}{% else %}{{ site.description | smartify }}{% endif %}">
47
54
  <meta name="author" content="{{ site.author.name }}">
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-nix
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Nordmeyer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-03 00:00:00.000000000 Z
11
+ date: 2024-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -51,6 +51,7 @@ executables: []
51
51
  extensions: []
52
52
  extra_rdoc_files: []
53
53
  files:
54
+ - CODE_OF_CONDUCT.md
54
55
  - LICENSE
55
56
  - README.md
56
57
  - _config.yml