water-css 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +36 -0
- data/README.md.bak +47 -0
- data/_config.yml +20 -0
- data/_includes/head.html +20 -0
- data/_layouts/default.html +21 -0
- data/assets/css/auto.css +1 -0
- data/assets/css/dark.css +1 -0
- data/assets/css/light.css +1 -0
- metadata +66 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 4901bedeee0ce50e298d26ce1757aee75331a02279f71cd21fbbc5157f5200cf
|
4
|
+
data.tar.gz: abaa6be19f291b73752499f27f6b1c881922e9f5bdfb62c80f063137408fe118
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 196833b82591c483fc6050a14cbff3b9c8d2cc9770a4079a3636be47f1c2300b4a2ca506b10c154954cbcd5189b0eaba067c093b039afdcdbee2e359e5086202
|
7
|
+
data.tar.gz: 0f7dfc45842954d46d2c574b365392527311ba758bf82a18c93f8e025638fa7d4a10ef75df24a65bf488df55fa26aff586b04f10ca47ba53ea075085c93d6a0b
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2021 Luke Metoki
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
# Water.css Jekyll theme (Work in Progress)
|
2
|
+
|
3
|
+
This is a Jekyll theme for GitHub Pages with simple styling from [Water.css](https://watercss.kognise.dev)
|
4
|
+
## Installation
|
5
|
+
|
6
|
+
Add this line to your `_config.yml` (only on GitHub Pages). You can also fork or download this repo and host it wherever you want. A Ruby Gem will be published once this is more complete.
|
7
|
+
|
8
|
+
```yaml
|
9
|
+
remote-theme: "luke2m/watercss-jekyll@main"
|
10
|
+
```
|
11
|
+
|
12
|
+
## Usage
|
13
|
+
|
14
|
+
This theme is meant for quick repo docs, not blogs or personal sites. I may make a theme for that purpose sometime soon.
|
15
|
+
Configurable variables (in `_config.yml`):
|
16
|
+
- Light, Dark, or Automatic theme
|
17
|
+
- Title and description
|
18
|
+
- Show or hide download and source links
|
19
|
+
- Change View on GitHub to another name
|
20
|
+
- Change download link
|
21
|
+
- Add privacy friendly analytics with [GoatCounter](https://www.goatcounter.com)
|
22
|
+
- More customization will be coming soon.
|
23
|
+
## Contributing
|
24
|
+
|
25
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/luke2m/watercss-jekyll. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
26
|
+
|
27
|
+
|
28
|
+
## License
|
29
|
+
|
30
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
31
|
+
## TODO
|
32
|
+
- [x] Customize or disable download and code buttons
|
33
|
+
- [ ] Make easier for non-github users
|
34
|
+
- [ ] Publish Ruby Gem
|
35
|
+
- [ ] Make version for personal sites/blogs
|
36
|
+
|
data/README.md.bak
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
# Water.css Jekyll theme
|
2
|
+
|
3
|
+
This is a Jekyll theme for GitHub Pages with simple styling from [Water.css](https://watercss.kognise.dev)
|
4
|
+
# Once this theme is finished and published, the below will apply.
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your Jekyll site's `Gemfile`:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem "water-css"
|
11
|
+
```
|
12
|
+
|
13
|
+
And add this line to your Jekyll site's `_config.yml`:
|
14
|
+
|
15
|
+
```yaml
|
16
|
+
theme: water-css
|
17
|
+
```
|
18
|
+
|
19
|
+
And then execute:
|
20
|
+
|
21
|
+
$ bundle
|
22
|
+
|
23
|
+
Or install it yourself as:
|
24
|
+
|
25
|
+
$ gem install water-css
|
26
|
+
|
27
|
+
## Usage
|
28
|
+
|
29
|
+
TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
|
30
|
+
|
31
|
+
## Contributing
|
32
|
+
|
33
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/luke2m/watercss-jekyll. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
34
|
+
|
35
|
+
## Development
|
36
|
+
|
37
|
+
To set up your environment to develop this theme, run `bundle install`.
|
38
|
+
|
39
|
+
Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
|
40
|
+
|
41
|
+
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
42
|
+
To add a custom directory to your theme-gem, please edit the regexp in `water-css.gemspec` accordingly.
|
43
|
+
|
44
|
+
## License
|
45
|
+
|
46
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
47
|
+
|
data/_config.yml
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# Title for your page
|
2
|
+
title: Put Your Title Here
|
3
|
+
|
4
|
+
# Description for your page
|
5
|
+
description: "A Great Project has a lot of description needed"
|
6
|
+
|
7
|
+
# Theme -- dark light or auto
|
8
|
+
css: auto
|
9
|
+
|
10
|
+
# Show downloads links -- True or false
|
11
|
+
show_downloads: true
|
12
|
+
|
13
|
+
# Not using GitHub? Change this.
|
14
|
+
git_provider: GitHub
|
15
|
+
|
16
|
+
#Different Download link?
|
17
|
+
#download_url: "https://example.com"
|
18
|
+
|
19
|
+
#Goatcounter Tracking Code
|
20
|
+
#goatcounter: myproject
|
data/_includes/head.html
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
<head>
|
2
|
+
<!-- Responsive and required -->
|
3
|
+
<meta charset="UTF-8">
|
4
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
5
|
+
<!-- Styling -->{% if site.css == dark %}
|
6
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/water.css@latest/out/dark.min.css"> {% elsif site.css == light %}
|
7
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/water.css@latest/out/light.min.css"> {% else %}
|
8
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/water.css@latest/out/water.min.css"> {% endif %}
|
9
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
10
|
+
<!-- Primary Meta Tags -->
|
11
|
+
<title>{{ page.title | default: site.title | default: site.github.repository_name }}</title>
|
12
|
+
<meta name="title" content="{{ page.title | default: site.title | default: site.github.repository_name }}">
|
13
|
+
<meta name="description" content="{{ page.description | default: site.description | default: site.github.project_tagline }}">
|
14
|
+
<!-- Open Graph / Facebook -->
|
15
|
+
<meta property="og:title" content="{{ page.title | default: site.title | default: site.github.repository_name }}">
|
16
|
+
<meta property="og:description" content="{{ page.description | default: site.description | default: site.github.project_tagline }}">
|
17
|
+
<!-- Twitter -->
|
18
|
+
<meta property="twitter:title" content="{{ page.title | default: site.title | default: site.github.repository_name }}">
|
19
|
+
<meta property="twitter:description" content="{{ page.description | default: site.description | default: site.github.project_tagline }}">
|
20
|
+
</head>
|
@@ -0,0 +1,21 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ site.lang | default: " en-US " }}">
|
3
|
+
{% include head.html %}
|
4
|
+
<body>
|
5
|
+
<h1 style="text-align: center;">{{ page.title | default: site.title | default: site.github.repository_name }}</h1>
|
6
|
+
<h2 style="text-align: center;">{{ page.description | default: site.description | default: site.github.project_tagline }}</h2>
|
7
|
+
{% if site.show_downloads %}
|
8
|
+
<h3 style="text-align: center;"><a href="{{ site.repo_url | default: site.github.repository_url }}">View on {{ site.git_provider | default: GitHub }}</a> | <a href="{{ site.download_url | default: site.github.repository_url }}/releases">Downloads</a></h3>
|
9
|
+
{% endif %}
|
10
|
+
<hr>
|
11
|
+
{{ content }}
|
12
|
+
<footer class="site-footer">
|
13
|
+
{% if site.github.is_project_page %}
|
14
|
+
<span><a href="{{ site.github.repository_url }}">{{ site.github.repository_name }}</a> is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a>.</span>
|
15
|
+
{% endif %}
|
16
|
+
<br> <span>This page was generated by <a href="https://pages.github.com">GitHub Pages</a> using the <a href="https://github.com/luke2m/watercss-jekyll">water.css theme</a>.</span>
|
17
|
+
|
18
|
+
</footer> {% if site.goatcounter %}
|
19
|
+
<script data-goatcounter="https://{{ site.goatcounter }}.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script> {% endif %} </body>
|
20
|
+
|
21
|
+
</html>
|
data/assets/css/auto.css
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
@import https://cdn.jsdelivr.net/npm/water.css@latest/out/water.min.css;
|
data/assets/css/dark.css
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
@import https://cdn.jsdelivr.net/npm/water.css@latest/out/dark.min.css;
|
@@ -0,0 +1 @@
|
|
1
|
+
@import https://cdn.jsdelivr.net/npm/water.css@latest/out/light.min.css
|
metadata
ADDED
@@ -0,0 +1,66 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: water-css
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Luke Metoki
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2021-02-25 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: jekyll
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '4.2'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '4.2'
|
27
|
+
description:
|
28
|
+
email:
|
29
|
+
- hello@lukesempire.com
|
30
|
+
executables: []
|
31
|
+
extensions: []
|
32
|
+
extra_rdoc_files: []
|
33
|
+
files:
|
34
|
+
- LICENSE
|
35
|
+
- README.md
|
36
|
+
- README.md.bak
|
37
|
+
- _config.yml
|
38
|
+
- _includes/head.html
|
39
|
+
- _layouts/default.html
|
40
|
+
- assets/css/auto.css
|
41
|
+
- assets/css/dark.css
|
42
|
+
- assets/css/light.css
|
43
|
+
homepage: https://github.com/luke2m/watercss-jekyll/
|
44
|
+
licenses:
|
45
|
+
- MIT
|
46
|
+
metadata: {}
|
47
|
+
post_install_message:
|
48
|
+
rdoc_options: []
|
49
|
+
require_paths:
|
50
|
+
- lib
|
51
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
61
|
+
requirements: []
|
62
|
+
rubygems_version: 3.2.7
|
63
|
+
signing_key:
|
64
|
+
specification_version: 4
|
65
|
+
summary: A simple Jekyll theme for GitHub Pages, using Water.css styling
|
66
|
+
test_files: []
|