jek 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +85 -0
- data/_config.yml +42 -0
- data/_includes/controls.html +47 -0
- data/_includes/footer.html +10 -0
- data/_includes/head.html +24 -0
- data/_includes/nav.html +5 -0
- data/_includes/sidebar.html +24 -0
- data/_includes/socials.html +12 -0
- data/_layouts/blog.html +30 -0
- data/_layouts/default.html +22 -0
- data/_layouts/home.html +21 -0
- data/_layouts/page.html +5 -0
- data/_layouts/post.html +22 -0
- data/assets/css/borland.css +52 -0
- data/assets/css/main.css +217 -0
- data/assets/img/favicon/android-chrome-192x192.png +0 -0
- data/assets/img/favicon/android-chrome-512x512.png +0 -0
- data/assets/img/favicon/apple-touch-icon.png +0 -0
- data/assets/img/favicon/browserconfig.xml +9 -0
- data/assets/img/favicon/favicon-16x16.png +0 -0
- data/assets/img/favicon/favicon-32x32.png +0 -0
- data/assets/img/favicon/favicon.ico +0 -0
- data/assets/img/favicon/mstile-150x150.png +0 -0
- data/assets/img/favicon/safari-pinned-tab.svg +221 -0
- data/assets/img/favicon/site.webmanifest +19 -0
- data/assets/img/readme/jek.gif +0 -0
- data/assets/img/readme/preview-dark.png +0 -0
- data/assets/img/readme/preview-dragos.png +0 -0
- data/assets/img/readme/preview-sunset.png +0 -0
- data/assets/img/readme/preview.png +0 -0
- data/assets/img/readme/storage.png +0 -0
- data/assets/js/keyInput.js +10 -0
- data/assets/js/themeToggle.js +149 -0
- data/assets/js/toolTip.js +3 -0
- metadata +93 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 27a41819b589e496656452d3880c6c57d3d5f05f753e456f6346099fec2b179e
|
4
|
+
data.tar.gz: 19649c3e3937301d2b99fd5386d476ea81e164555de0e6bf75463b3c071ae80e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a0a3c38cd22a07ea69b68416424d5363d56bf050b7caee5ed9897c3abd77d1685d101dd7cdd0f0666981464ceba9f5a924346093328f9fd38285c6a2b32a782d
|
7
|
+
data.tar.gz: 7f758a641435f9c8bebb36e7a502b4a2467fff43e7a333590ed4c5e02bc663fad87dba9f14de7591596b9515404a22dfebba0fcc7d5886bde424c2e3591b27bf
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2021 tcbutler320
|
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
|
13
|
+
all 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
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,85 @@
|
|
1
|
+
|
2
|
+
```text
|
3
|
+
░░░░░░░░░░░░░░░░░██╗███████╗██╗░░██╗░░░░░░░░░░░░
|
4
|
+
░░░░░░░░░░░░░░░░░██║██╔════╝██║░██╔╝░░░░░░░░░░░░
|
5
|
+
░░░░░░░░░░░░░░░░░██║█████╗░░█████═╝░░░░░░░░░░░░░
|
6
|
+
░░░░░░░░░░░░██╗░░██║██╔══╝░░██╔═██╗░░░░░░░░░░░░░
|
7
|
+
░░░░░░░░░░░░╚█████╔╝███████╗██║░╚██╗░░░░░░░░░░░░
|
8
|
+
░░░░░░░░░░░░░╚════╝░╚══════╝╚═╝░░╚═╝░░░░░░░░░░░░
|
9
|
+
░░░░░░░░░░░░░░░░░░░░ by Tyler Butler ░░░░░░░░░░░
|
10
|
+
```
|
11
|
+
|
12
|
+
[![Netlify Status](https://api.netlify.com/api/v1/badges/9d1f745e-c8d9-4732-ab34-06748d61e84d/deploy-status)](https://app.netlify.com/sites/jekyll-jek/deploys)
|
13
|
+
|
14
|
+
|
15
|
+
> Jek is a minimalist jekyll theme putting the power of color schemes in the user's hands. Toggle between schemes hassle-free, create new one's on the go, and store settings for future use.
|
16
|
+
|
17
|
+
#### Index
|
18
|
+
+ [features](#-features)
|
19
|
+
+ [roadmap](#-roadmap)
|
20
|
+
+ [about themes](#-all-about-the-theme)
|
21
|
+
+ [add new themes](#-add-new-themes)
|
22
|
+
+ [themes](#-default-themes)
|
23
|
+
### ⚡ Features
|
24
|
+
|
25
|
+
*Client Side Themes*
|
26
|
+
+ [x] toggle between dark/light mode by clicking the moon
|
27
|
+
+ [x] choose a random theme by clicking the pallet
|
28
|
+
+ [x] save current theme by clicking the astronaut
|
29
|
+
|
30
|
+
*Site Content*
|
31
|
+
+ [x] About me
|
32
|
+
+ [x] Blog posts
|
33
|
+
+ [x] Socials
|
34
|
+
|
35
|
+
|
36
|
+
### 🚧 Roadmap
|
37
|
+
*Features in the work*
|
38
|
+
+ [ ] Integration with firebase for user login
|
39
|
+
+ [ ] bug fixes in theme changes (current issues prevent smooth transitions)
|
40
|
+
+ [ ] add custom themes on the fly via pop-up modal
|
41
|
+
+ [ ] key bindings for quick feature access
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
### 💡 All About The Theme
|
47
|
+
|
48
|
+
Theme settings are saved in [session](https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage) and [local](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage) storage. Toggling light/dark mode or choosing a random pallet saves settings for only the current session. Clicking the save button adds the theme to local storage for future visits.
|
49
|
+
|
50
|
+
### 👩🚀 Add New Themes
|
51
|
+
|
52
|
+
Adding new themes to your new `jek` site could not be easier, just pick a background color and text color and add them to `main.css`. Once your done, add your theme to `_data/themes.yaml`. Check out [colorhunt](https://colorhunt.co/) for inspiration.
|
53
|
+
|
54
|
+
|
55
|
+
1) add a new scheme to main.css with a `background-color` and `color`.
|
56
|
+
|
57
|
+
```
|
58
|
+
.mytheme {
|
59
|
+
background-color: #0a1d37;
|
60
|
+
color: #ffeedb;
|
61
|
+
}
|
62
|
+
```
|
63
|
+
|
64
|
+
2) Add color scheme name to _data/themes.yaml
|
65
|
+
|
66
|
+
```yaml
|
67
|
+
- name: mytheme
|
68
|
+
enabled: true
|
69
|
+
```
|
70
|
+
|
71
|
+
### 🌈 Default Themes
|
72
|
+
|
73
|
+
Below is the current themes that come pre-configured with jek, more comming soon!
|
74
|
+
|
75
|
+
**dark**
|
76
|
+
|
77
|
+
![](/assets/img/readme/preview-dark.png)
|
78
|
+
|
79
|
+
**sunset**
|
80
|
+
|
81
|
+
![](/assets/img/readme/preview-sunset.png)
|
82
|
+
|
83
|
+
**dragos**
|
84
|
+
|
85
|
+
![](/assets/img/readme/preview-dragos.png)
|
data/_config.yml
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
title: Jek
|
2
|
+
email: hello@jek.com
|
3
|
+
description: >- # this means to ignore newlines until "baseurl:"
|
4
|
+
Write an awesome description for your new site here. You can edit this
|
5
|
+
line in _config.yml. It will appear in your document head meta (for
|
6
|
+
Google search results) and in your feed.xml site description.
|
7
|
+
baseurl: "" # the subpath of your site, e.g. /blog
|
8
|
+
url: "" # the base hostname & protocol for your site, e.g. http://example.com
|
9
|
+
twitter: tbutler0x90
|
10
|
+
github: tcbutler320
|
11
|
+
mail: developer.tbutler@gmail.com
|
12
|
+
linkedin: tyler-b-a700a1aa
|
13
|
+
|
14
|
+
# Theme settings
|
15
|
+
|
16
|
+
edit-date: false # show the date of last edit on pages
|
17
|
+
default-theme: light # pick which theme loads by default
|
18
|
+
|
19
|
+
# post settings
|
20
|
+
|
21
|
+
tags: foo bar
|
22
|
+
# development settings
|
23
|
+
|
24
|
+
developer-controls: false # show developer specefic tips
|
25
|
+
|
26
|
+
# Build settings
|
27
|
+
theme:
|
28
|
+
plugins:
|
29
|
+
- jekyll-feed
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
markdown: kramdown
|
36
|
+
highlighter: rouge
|
37
|
+
kramdown:
|
38
|
+
input: GFM
|
39
|
+
syntax_highlighter_opts:
|
40
|
+
default_lang: html
|
41
|
+
css_class : 'syntax'
|
42
|
+
|
@@ -0,0 +1,47 @@
|
|
1
|
+
<div class="nav">
|
2
|
+
<p style="text-align:right;">
|
3
|
+
<i class="far fa-moon fa-lg zoom" onclick="darkMode();"></i>
|
4
|
+
<i class="fas fa-palette fa-lg zoom" onclick="changeTheme();"></i>
|
5
|
+
<i class="fas fa-user-astronaut fa-lg zoom" onclick="saveFavorite();"></i>
|
6
|
+
<i class="fas fa-sync-alt fa-lg zoom" onclick="reload();"></i>
|
7
|
+
<br>
|
8
|
+
<span id="whatHappened" style="font-size:1rem;"></span>
|
9
|
+
</p>
|
10
|
+
|
11
|
+
<!-- The Modal -->
|
12
|
+
<div id="myModal" class="modal">
|
13
|
+
|
14
|
+
<!-- Modal content-->
|
15
|
+
<div class="modal-content">
|
16
|
+
<span class="close">×</span>
|
17
|
+
<div class="center">
|
18
|
+
<p>{{site.title}} theme settings</p>
|
19
|
+
<br>
|
20
|
+
<input type="text" placeholder="#220E24" id="customBackground">
|
21
|
+
<button type="button" onclick="setCustomBackground();">background</button>
|
22
|
+
<br>
|
23
|
+
<input type="text" placeholder="#639CD9" id="customColor">
|
24
|
+
<button type="button" onclick="setCustomColor();">color</button>
|
25
|
+
<br>
|
26
|
+
<input type="text" placeholder="#220E24" id="customTheme">
|
27
|
+
<button type="button" onclick="setCustomTheme();">name</button>
|
28
|
+
<br>
|
29
|
+
</div>
|
30
|
+
</div>
|
31
|
+
</div>
|
32
|
+
</div>
|
33
|
+
|
34
|
+
|
35
|
+
<script>
|
36
|
+
var themes = ["dark"];
|
37
|
+
</script>
|
38
|
+
|
39
|
+
{% for theme in site.data.themes %}
|
40
|
+
{% if theme.enabled %}
|
41
|
+
<script>
|
42
|
+
themes.push("{{theme.name}}");
|
43
|
+
console.log('added ' + '{{theme.name}}' + ' to themes');
|
44
|
+
</script>
|
45
|
+
{% endif %}
|
46
|
+
{% endfor %}
|
47
|
+
|
data/_includes/head.html
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
<head>
|
2
|
+
<meta charset="UTF-8">
|
3
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
4
|
+
<link rel="stylesheet" href="/assets/css/main.css">
|
5
|
+
<script src="https://kit.fontawesome.com/32a2b2a489.js" crossorigin="anonymous"></script>
|
6
|
+
<script src="/assets/js/themeToggle.js"></script>
|
7
|
+
<script src="/assets/js/toolTip.js"></script>
|
8
|
+
<script src="/assets/js/keyInput.js"></script>
|
9
|
+
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
10
|
+
<link rel="icon" type="image/png" sizes="32x32" href="/assets/img/favicon/favicon-32x32.png">
|
11
|
+
<link rel="icon" type="image/png" sizes="16x16" href="/assets/img/favicon/favicon-16x16.png">
|
12
|
+
<link rel="manifest" href="/assets/img/favicon/site.webmanifest">
|
13
|
+
<link rel="mask-icon" href="/assets/img/favicon/safari-pinned-tab.svg" color="#5bbad5">
|
14
|
+
<meta name="msapplication-TileColor" content="#da532c">
|
15
|
+
<meta name="theme-color" content="#ffffff">
|
16
|
+
<title>~ jek ~</title>
|
17
|
+
<script>
|
18
|
+
window.addEventListener('load', (event) => {
|
19
|
+
console.log('[DEBUG] page is fully loaded');
|
20
|
+
console.log('[DEBUG] checking storage options');
|
21
|
+
checkStorage();
|
22
|
+
});
|
23
|
+
</script>
|
24
|
+
</head>
|
data/_includes/nav.html
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
<!-- TEST SIDEBAR SECTION-->
|
2
|
+
<div class="stickyshare d-none d-lg-block">
|
3
|
+
<div class="rotate">
|
4
|
+
<span class="share-text" style="border-bottom:0;"><span class="nrshares"></span> <span class="sharetext">Share</span></span>
|
5
|
+
</div>
|
6
|
+
|
7
|
+
<a href="https://facebook.com/sharer/sharer.php?u={{ site.url}}{{ page.url}}" target="_blank" rel="noopener" aria-label="Facebook">
|
8
|
+
<div data-network="facebook" class="st-custom-button st-hide-label"><img title="Share on Facebook" width="20" src="https://bootstrapstarter.com/assets/img/icons/fb.svg"></div>
|
9
|
+
</a>
|
10
|
+
|
11
|
+
<a href="https://twitter.com/intent/tweet/?text={{ page.title}} by @{{site.twitter}}&url={{ site.url}}{{ page.url}}" target="_blank" rel="noopener" aria-label="Twitter">
|
12
|
+
<div data-network="twitter" class="st-custom-button st-hide-label"><img title="Tweet this" width="20" src="https://bootstrapstarter.com/assets/img/icons/twitter.svg"></div>
|
13
|
+
</a>
|
14
|
+
|
15
|
+
<a href="https://reddit.com/submit/?url={{ site.url}}{{ page.url}}&resubmit=true&title={{ page.title }}" target="_blank" rel="noopener" aria-label="Reddit">
|
16
|
+
<div data-network="reddit" class="st-custom-button st-hide-label"><img title="Share on Reddit" width="20" src="https://bootstrapstarter.com/assets/img/icons/reddit.svg"></div>
|
17
|
+
</a>
|
18
|
+
|
19
|
+
<a href="mailto:?subject={{ page.title }}&body={{ site.url}}{{ page.url}}" target="_self" rel="noopener" aria-label="E-Mail">
|
20
|
+
<div data-network="email" class="st-custom-button st-hide-label"><img title="E-mail this" width="20" src="https://bootstrapstarter.com/assets/img/icons/email.svg"></div>
|
21
|
+
</a>
|
22
|
+
</div>
|
23
|
+
|
24
|
+
<!-- END TEST SIDEBAR SECTION-->
|
@@ -0,0 +1,12 @@
|
|
1
|
+
{% if site.twitter %}
|
2
|
+
<a style="color:inherit" href="https://twitter.com/{{site.twitter}}"><i class="fab fa-twitter zoom"></i></a>
|
3
|
+
{% endif %}
|
4
|
+
{% if site.linkedin %}
|
5
|
+
<a style="color:inherit" href="https://www.linkedin.com/in/{{site.linkedin}}/"><i class="fab fa-linkedin-in zoom"></i></a>
|
6
|
+
{% endif %}
|
7
|
+
{% if site.mail %}
|
8
|
+
<a style="color:inherit" href="mailto:{{site.mail}}"><i class="fas fa-envelope zoom"></i></a>
|
9
|
+
{% endif %}
|
10
|
+
{% if site.github %}
|
11
|
+
<a style="color:inherit" href="https://github.com/{{site.github}}"><i class="fab fa-github-alt zoom"></i></a>
|
12
|
+
{% endif %}
|
data/_layouts/blog.html
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
{% include head.html %}
|
4
|
+
<body>
|
5
|
+
<div class="center">
|
6
|
+
<div>
|
7
|
+
{% include controls.html %}
|
8
|
+
<p style="font-size: 20px;"><a href="/">Home</a> / Blog /</p>
|
9
|
+
<div>
|
10
|
+
{% for post in site.posts%}
|
11
|
+
<div style="line-height:14px;height:14px; border-bottom:2px dotted;">
|
12
|
+
<p style="text-align:left;">
|
13
|
+
<a href="{{post.url}}" style="text-decoration: none;">{{post.title}}</a>
|
14
|
+
<span style="float:right;">
|
15
|
+
{{post.date|date:'%B %d, %Y'}}
|
16
|
+
</span>
|
17
|
+
</p>
|
18
|
+
</div>
|
19
|
+
{% endfor %}
|
20
|
+
</div>
|
21
|
+
<footer style="position:fixed;bottom:5px;">
|
22
|
+
<p style="text-align:left;">
|
23
|
+
Developed by Tyler Butler
|
24
|
+
<span style="float:right;">
|
25
|
+
{% include socials.html %}
|
26
|
+
</span>
|
27
|
+
</p>
|
28
|
+
</footer>
|
29
|
+
</body>
|
30
|
+
</html>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
{% include head.html %}
|
4
|
+
<body onload="checkFav();">
|
5
|
+
<div class="nav">
|
6
|
+
<p style="text-align: right;">
|
7
|
+
<i class="fas fa-palette zoom tooltip" onclick="changeTheme();"></i>
|
8
|
+
<i class="fas fa-user-astronaut zoom"></i>
|
9
|
+
<i class="fas fa-sign-in-alt zoom"></i>
|
10
|
+
</p>
|
11
|
+
</div>
|
12
|
+
<div class="center">
|
13
|
+
<div>
|
14
|
+
<h2>
|
15
|
+
<p>{% include nav.html %}</p>
|
16
|
+
</h2>
|
17
|
+
<div>
|
18
|
+
{{ content }}
|
19
|
+
</div>
|
20
|
+
{% include footer.html %}
|
21
|
+
</body>
|
22
|
+
</html>
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
{% include head.html %}
|
4
|
+
<body>
|
5
|
+
<div class="center debug">
|
6
|
+
<div>
|
7
|
+
{% include controls.html %}
|
8
|
+
<p style="font-size: 20px;">
|
9
|
+
Home / <a href="/blog">Blog</a>
|
10
|
+
</p>
|
11
|
+
<div>
|
12
|
+
{{ content }}
|
13
|
+
</div>
|
14
|
+
{% if site.edit-date %}
|
15
|
+
<p style="text-align: right;">
|
16
|
+
<small>last edited</small>
|
17
|
+
</p>
|
18
|
+
{% endif %}
|
19
|
+
{% include footer.html %}
|
20
|
+
</body>
|
21
|
+
</html>
|
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
{% include head.html %}
|
4
|
+
<body>
|
5
|
+
{% include sidebar.html %}
|
6
|
+
<div class="center">
|
7
|
+
<div>
|
8
|
+
{% include controls.html %}
|
9
|
+
<p style="font-size: 20px;">
|
10
|
+
<a href="/">Home</a> / <a href="/blog">Blog</a> / {{page.title}}
|
11
|
+
</p>
|
12
|
+
<p style="text-align:left;">
|
13
|
+
<i>{{page.author}}, {{page.date | date: '%B %d %Y'}}</i>
|
14
|
+
<br>
|
15
|
+
{% include read_time.html %}
|
16
|
+
</p>
|
17
|
+
<div>
|
18
|
+
{{ content }}
|
19
|
+
</div>
|
20
|
+
{% include footer.html %}
|
21
|
+
</body>
|
22
|
+
</html>
|
@@ -0,0 +1,52 @@
|
|
1
|
+
.highlight .hll { background-color: #ffffcc }
|
2
|
+
.highlight { background: transparent; }
|
3
|
+
.highlight .c { color: #008800; font-style: italic } /* Comment */
|
4
|
+
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
|
5
|
+
.highlight .k { color: #000080; font-weight: bold } /* Keyword */
|
6
|
+
.highlight .ch { color: #008800; font-style: italic } /* Comment.Hashbang */
|
7
|
+
.highlight .cm { color: #008800; font-style: italic } /* Comment.Multiline */
|
8
|
+
.highlight .cp { color: #008080 } /* Comment.Preproc */
|
9
|
+
.highlight .cpf { color: #008800; font-style: italic } /* Comment.PreprocFile */
|
10
|
+
.highlight .c1 { color: #008800; font-style: italic } /* Comment.Single */
|
11
|
+
.highlight .cs { color: #008800; font-weight: bold } /* Comment.Special */
|
12
|
+
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
|
13
|
+
.highlight .ge { font-style: italic } /* Generic.Emph */
|
14
|
+
.highlight .gr { color: #aa0000 } /* Generic.Error */
|
15
|
+
.highlight .gh { color: #999999 } /* Generic.Heading */
|
16
|
+
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
|
17
|
+
.highlight .go { color: #888888 } /* Generic.Output */
|
18
|
+
.highlight .gp { color: #555555 } /* Generic.Prompt */
|
19
|
+
.highlight .gs { font-weight: bold } /* Generic.Strong */
|
20
|
+
.highlight .gu { color: #aaaaaa } /* Generic.Subheading */
|
21
|
+
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
|
22
|
+
.highlight .kc { color: #000080; font-weight: bold } /* Keyword.Constant */
|
23
|
+
.highlight .kd { color: #000080; font-weight: bold } /* Keyword.Declaration */
|
24
|
+
.highlight .kn { color: #000080; font-weight: bold } /* Keyword.Namespace */
|
25
|
+
.highlight .kp { color: #000080; font-weight: bold } /* Keyword.Pseudo */
|
26
|
+
.highlight .kr { color: #000080; font-weight: bold } /* Keyword.Reserved */
|
27
|
+
.highlight .kt { color: #000080; font-weight: bold } /* Keyword.Type */
|
28
|
+
.highlight .m { color: #0000FF } /* Literal.Number */
|
29
|
+
.highlight .s { color: #0000FF } /* Literal.String */
|
30
|
+
.highlight .na { color: #FF0000 } /* Name.Attribute */
|
31
|
+
.highlight .nt { color: #000080; font-weight: bold } /* Name.Tag */
|
32
|
+
.highlight .ow { font-weight: bold } /* Operator.Word */
|
33
|
+
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
|
34
|
+
.highlight .mb { color: #0000FF } /* Literal.Number.Bin */
|
35
|
+
.highlight .mf { color: #0000FF } /* Literal.Number.Float */
|
36
|
+
.highlight .mh { color: #0000FF } /* Literal.Number.Hex */
|
37
|
+
.highlight .mi { color: #0000FF } /* Literal.Number.Integer */
|
38
|
+
.highlight .mo { color: #0000FF } /* Literal.Number.Oct */
|
39
|
+
.highlight .sa { color: #0000FF } /* Literal.String.Affix */
|
40
|
+
.highlight .sb { color: #0000FF } /* Literal.String.Backtick */
|
41
|
+
.highlight .sc { color: #800080 } /* Literal.String.Char */
|
42
|
+
.highlight .dl { color: #0000FF } /* Literal.String.Delimiter */
|
43
|
+
.highlight .sd { color: #0000FF } /* Literal.String.Doc */
|
44
|
+
.highlight .s2 { color: #0000FF } /* Literal.String.Double */
|
45
|
+
.highlight .se { color: #0000FF } /* Literal.String.Escape */
|
46
|
+
.highlight .sh { color: #0000FF } /* Literal.String.Heredoc */
|
47
|
+
.highlight .si { color: #0000FF } /* Literal.String.Interpol */
|
48
|
+
.highlight .sx { color: #0000FF } /* Literal.String.Other */
|
49
|
+
.highlight .sr { color: #0000FF } /* Literal.String.Regex */
|
50
|
+
.highlight .s1 { color: #0000FF } /* Literal.String.Single */
|
51
|
+
.highlight .ss { color: #0000FF } /* Literal.String.Symbol */
|
52
|
+
.highlight .il { color: #0000FF } /* Literal.Number.Integer.Long */
|
data/assets/css/main.css
ADDED
@@ -0,0 +1,217 @@
|
|
1
|
+
|
2
|
+
body {
|
3
|
+
background-color: transparent;
|
4
|
+
color: black;
|
5
|
+
font-family: 'Noto Sans', sans-serif;
|
6
|
+
}
|
7
|
+
|
8
|
+
|
9
|
+
a {
|
10
|
+
color: inherit;
|
11
|
+
}
|
12
|
+
|
13
|
+
.container {
|
14
|
+
width: 500px;
|
15
|
+
}
|
16
|
+
|
17
|
+
img {
|
18
|
+
width: 100%;
|
19
|
+
}
|
20
|
+
|
21
|
+
@media only screen
|
22
|
+
and (min-device-width : 320px)
|
23
|
+
and (max-device-width : 767px) {
|
24
|
+
/* body {
|
25
|
+
background-color: red;
|
26
|
+
} */
|
27
|
+
|
28
|
+
.center {
|
29
|
+
margin: auto;
|
30
|
+
width: 90%;
|
31
|
+
}
|
32
|
+
|
33
|
+
.nav {
|
34
|
+
margin-right: 10px;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
|
39
|
+
@media only screen
|
40
|
+
and (min-device-width : 768px) {
|
41
|
+
/* body {
|
42
|
+
background-color: blue;
|
43
|
+
} */
|
44
|
+
|
45
|
+
.center {
|
46
|
+
margin: auto;
|
47
|
+
width: 60%;
|
48
|
+
}
|
49
|
+
|
50
|
+
.nav {
|
51
|
+
margin-right: 100px;
|
52
|
+
}
|
53
|
+
|
54
|
+
|
55
|
+
}
|
56
|
+
|
57
|
+
|
58
|
+
.debug {
|
59
|
+
/* border: 1px solid red; */
|
60
|
+
}
|
61
|
+
|
62
|
+
|
63
|
+
|
64
|
+
.zoom:hover {
|
65
|
+
transform: scale(1.5); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
|
66
|
+
}
|
67
|
+
|
68
|
+
/* Theme List */
|
69
|
+
light{
|
70
|
+
color: black;
|
71
|
+
background-color: transparent;
|
72
|
+
}
|
73
|
+
|
74
|
+
.dark {
|
75
|
+
color: white;
|
76
|
+
background-color: black;
|
77
|
+
}
|
78
|
+
.dragos {
|
79
|
+
color:#d2fafb;
|
80
|
+
background-color: #2c003e;
|
81
|
+
}
|
82
|
+
|
83
|
+
.ocean {
|
84
|
+
color: #1b262c;
|
85
|
+
background-color:#bbe1fa;
|
86
|
+
|
87
|
+
}
|
88
|
+
|
89
|
+
.sunset {
|
90
|
+
background-color: #0a1d37;
|
91
|
+
color: #ffeedb;
|
92
|
+
}
|
93
|
+
|
94
|
+
.new {
|
95
|
+
background-color: #293B5F;
|
96
|
+
color: #FFC074;
|
97
|
+
}
|
98
|
+
|
99
|
+
|
100
|
+
/* The Modal (background) */
|
101
|
+
.modal {
|
102
|
+
display: none; /* Hidden by default */
|
103
|
+
position: fixed; /* Stay in place */
|
104
|
+
z-index: 1; /* Sit on top */
|
105
|
+
left: 0;
|
106
|
+
top: 0;
|
107
|
+
right: 10px;
|
108
|
+
width: 100%; /* Full width */
|
109
|
+
height: 100%; /* Full height */
|
110
|
+
overflow: auto; /* Enable scroll if needed */
|
111
|
+
}
|
112
|
+
|
113
|
+
/* Modal Content/Box */
|
114
|
+
.modal-content {
|
115
|
+
background-color: inherit;
|
116
|
+
color: inherit;
|
117
|
+
margin: 15% auto; /* 15% from the top and centered */
|
118
|
+
padding: 20px;
|
119
|
+
border: 1px solid #888;
|
120
|
+
width: 80%; /* Could be more or less, depending on screen size */
|
121
|
+
}
|
122
|
+
|
123
|
+
/* The Close Button */
|
124
|
+
.close {
|
125
|
+
color: #aaa;
|
126
|
+
float: right;
|
127
|
+
font-size: 28px;
|
128
|
+
font-weight: bold;
|
129
|
+
}
|
130
|
+
|
131
|
+
.close:hover,
|
132
|
+
.close:focus {
|
133
|
+
text-decoration: none;
|
134
|
+
cursor: pointer;
|
135
|
+
}
|
136
|
+
|
137
|
+
|
138
|
+
code1 {
|
139
|
+
padding: 20px;
|
140
|
+
font-size: .9em;
|
141
|
+
display: flex;
|
142
|
+
justify-content: center;
|
143
|
+
flex-wrap: wrap;
|
144
|
+
white-space: pre;
|
145
|
+
line-height: 100%;
|
146
|
+
background-color: #f9f9f9;
|
147
|
+
border-radius: 5px;
|
148
|
+
border: 1px solid #ececec;
|
149
|
+
letter-spacing: -3px;
|
150
|
+
overflow-x: auto;
|
151
|
+
overflow-y: auto;
|
152
|
+
}
|
153
|
+
|
154
|
+
|
155
|
+
table{
|
156
|
+
border-collapse: collapse;
|
157
|
+
border-spacing: 0;
|
158
|
+
border:1px solid black;
|
159
|
+
}
|
160
|
+
|
161
|
+
th{
|
162
|
+
border:1px solid black;
|
163
|
+
}
|
164
|
+
|
165
|
+
td{
|
166
|
+
border:1px solid black;
|
167
|
+
}
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
.stickyshare {
|
172
|
+
text-align: center;
|
173
|
+
position: fixed;
|
174
|
+
top: 50%;
|
175
|
+
left: 8%;
|
176
|
+
}
|
177
|
+
|
178
|
+
.rotate {
|
179
|
+
display: flex;
|
180
|
+
margin-top: 0;
|
181
|
+
margin-bottom: 40px;
|
182
|
+
margin-left: 0;
|
183
|
+
margin-right: -20px;
|
184
|
+
-webkit-box-align: center;
|
185
|
+
-webkit-align-items: center;
|
186
|
+
-ms-flex-align: center;
|
187
|
+
align-items: center;
|
188
|
+
-webkit-transform: rotate(-90deg);
|
189
|
+
-ms-transform: rotate(-90deg);
|
190
|
+
transform: rotate(-90deg);
|
191
|
+
-webkit-transform-origin: 50% 100%;
|
192
|
+
-ms-transform-origin: 50% 100%;
|
193
|
+
transform-origin: 50% 100%;
|
194
|
+
}
|
195
|
+
|
196
|
+
|
197
|
+
.d-none {
|
198
|
+
display: none!important;
|
199
|
+
}
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
.footer {
|
204
|
+
bottom: 5px;
|
205
|
+
position: relative;
|
206
|
+
}
|
207
|
+
|
208
|
+
|
209
|
+
blockquote {
|
210
|
+
|
211
|
+
}
|
212
|
+
|
213
|
+
blockquote {
|
214
|
+
margin: 0;
|
215
|
+
padding-left: 1.4rem;
|
216
|
+
border-left: 2px solid hotpink;
|
217
|
+
}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,221 @@
|
|
1
|
+
<?xml version="1.0" standalone="no"?>
|
2
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
|
3
|
+
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
4
|
+
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
5
|
+
width="1024.000000pt" height="1024.000000pt" viewBox="0 0 1024.000000 1024.000000"
|
6
|
+
preserveAspectRatio="xMidYMid meet">
|
7
|
+
<metadata>
|
8
|
+
Created by potrace 1.14, written by Peter Selinger 2001-2017
|
9
|
+
</metadata>
|
10
|
+
<g transform="translate(0.000000,1024.000000) scale(0.100000,-0.100000)"
|
11
|
+
fill="#000000" stroke="none">
|
12
|
+
<path d="M4919 10236 c-2 -2 -42 -7 -89 -10 -47 -4 -98 -9 -115 -12 -16 -2
|
13
|
+
-46 -6 -65 -9 -42 -5 -76 -11 -150 -26 -30 -6 -64 -12 -75 -14 -11 -2 -35 -8
|
14
|
+
-54 -14 -18 -6 -36 -10 -40 -9 -3 1 -13 -1 -21 -4 -26 -10 -195 -60 -195 -58
|
15
|
+
0 3 -103 -36 -167 -64 -20 -9 -39 -16 -43 -16 -19 0 -331 -155 -405 -201 -14
|
16
|
+
-9 -56 -35 -95 -59 -185 -116 -390 -283 -560 -456 -158 -161 -236 -256 -393
|
17
|
+
-481 -12 -18 -22 -37 -22 -43 0 -5 -4 -10 -9 -10 -5 0 -14 -13 -21 -30 -7 -16
|
18
|
+
-16 -30 -20 -30 -4 0 -11 -11 -14 -25 -4 -14 -11 -25 -16 -25 -6 0 -10 -9 -10
|
19
|
+
-19 0 -11 -5 -23 -11 -26 -10 -7 -132 -246 -129 -255 1 -3 -8 -11 -19 -19 -14
|
20
|
+
-9 -21 -10 -21 -2 0 7 -8 8 -25 1 -14 -5 -25 -6 -25 -2 0 4 -29 7 -65 7 -36 0
|
21
|
+
-65 -2 -65 -5 0 -3 -33 -6 -73 -6 -162 -3 -293 -126 -303 -286 -2 -32 -6 -63
|
22
|
+
-9 -68 -3 -5 -1 -11 4 -14 6 -4 6 -18 1 -36 -5 -17 -5 -30 0 -30 4 0 4 -16 0
|
23
|
+
-35 -4 -19 -4 -37 0 -40 5 -3 5 -19 0 -35 -5 -18 -5 -32 1 -36 5 -3 7 -10 3
|
24
|
+
-15 -8 -14 -10 -99 -2 -99 4 0 3 -13 -2 -30 -5 -16 -6 -30 -2 -30 8 0 7 -68
|
25
|
+
-1 -76 -3 -3 -2 -17 3 -30 6 -14 6 -24 0 -24 -5 0 -5 -12 0 -30 5 -17 5 -30 0
|
26
|
+
-30 -5 0 -5 -13 0 -30 5 -17 5 -30 0 -30 -5 0 -5 -13 0 -30 5 -17 5 -30 0 -30
|
27
|
+
-5 0 -5 -12 -1 -28 5 -15 5 -37 0 -49 -5 -13 -4 -25 1 -28 6 -4 7 -13 1 -24
|
28
|
+
-5 -9 -6 -23 -2 -29 4 -7 4 -35 1 -62 -4 -28 -3 -50 1 -50 4 0 4 -13 -1 -30
|
29
|
+
-5 -16 -6 -30 -2 -30 8 0 7 -68 -1 -76 -3 -3 -2 -17 3 -30 6 -14 6 -24 0 -24
|
30
|
+
-5 0 -5 -12 0 -30 5 -17 5 -30 0 -30 -5 0 -5 -13 0 -30 5 -17 5 -30 0 -30 -5
|
31
|
+
0 -5 -13 0 -30 5 -17 5 -30 0 -30 -5 0 -5 -12 -1 -28 5 -15 5 -37 0 -49 -5
|
32
|
+
-13 -4 -25 1 -28 6 -4 7 -13 1 -24 -5 -9 -6 -23 -2 -30 5 -7 5 -30 1 -51 -4
|
33
|
+
-21 -4 -44 1 -51 4 -7 4 -20 -1 -29 -4 -8 -4 -22 0 -31 5 -8 5 -21 0 -28 -4
|
34
|
+
-8 -4 -27 0 -42 5 -16 5 -29 0 -29 -5 0 -5 -13 0 -30 5 -19 5 -30 -1 -30 -6 0
|
35
|
+
-8 -4 -5 -9 3 -5 8 -37 10 -71 3 -35 10 -68 16 -74 5 -5 10 -18 10 -27 0 -9 7
|
36
|
+
-22 15 -29 9 -7 13 -15 10 -18 -9 -9 75 -82 124 -106 42 -22 138 -41 181 -38
|
37
|
+
36 4 103 1 111 -4 5 -3 9 0 9 6 0 6 4 9 9 6 5 -3 30 -7 56 -8 l46 -1 40 -85
|
38
|
+
c21 -46 39 -88 39 -92 0 -5 4 -10 8 -12 4 -1 23 -32 41 -68 18 -36 40 -72 47
|
39
|
+
-81 8 -8 14 -19 14 -23 0 -7 120 -192 143 -221 4 -5 28 -37 52 -70 48 -63 51
|
40
|
+
-67 130 -160 84 -98 244 -256 355 -349 118 -99 140 -117 162 -131 9 -5 53 -36
|
41
|
+
99 -68 45 -32 94 -65 108 -73 14 -8 42 -24 61 -36 98 -59 221 -123 305 -160
|
42
|
+
39 -16 84 -37 100 -45 17 -8 37 -16 45 -18 8 -2 58 -20 110 -40 52 -19 102
|
43
|
+
-37 110 -39 8 -1 22 -6 30 -9 23 -9 211 -57 250 -63 19 -3 38 -8 42 -10 4 -3
|
44
|
+
31 -7 60 -10 28 -3 55 -7 59 -10 4 -2 27 -7 51 -10 24 -2 57 -7 73 -9 189 -27
|
45
|
+
597 -28 785 0 19 2 53 7 75 9 22 3 51 7 65 10 14 3 54 10 89 16 36 6 99 20
|
46
|
+
140 31 42 11 83 21 91 23 29 7 183 57 230 74 8 3 17 6 20 6 12 3 131 51 190
|
47
|
+
78 36 17 82 37 103 45 20 8 37 19 37 24 0 5 8 9 18 9 10 0 27 7 38 15 10 8 46
|
48
|
+
28 80 44 33 17 67 37 74 46 7 8 16 15 21 15 8 0 167 101 196 125 7 6 23 18 35
|
49
|
+
27 413 309 725 677 950 1118 32 63 62 120 66 125 4 6 8 17 10 25 6 28 30 38
|
50
|
+
72 30 22 -4 43 -3 46 1 3 5 9 7 14 4 15 -9 195 -4 240 7 72 18 163 96 197 169
|
51
|
+
19 40 39 141 34 177 0 6 -1 19 -1 27 0 8 0 22 0 30 0 8 0 22 0 30 0 8 0 22 0
|
52
|
+
30 0 8 0 22 0 30 0 8 0 22 0 30 0 8 0 22 0 30 0 8 0 22 0 30 0 8 0 22 0 30 0
|
53
|
+
8 0 22 0 30 0 8 0 22 0 30 0 8 0 22 0 30 0 8 0 22 0 30 0 8 0 22 0 30 0 8 0
|
54
|
+
22 0 30 0 8 0 22 0 30 0 8 0 22 0 30 0 8 0 21 0 28 0 6 -1 26 -3 42 -1 17 1
|
55
|
+
40 5 52 4 12 3 25 -2 28 -5 3 -5 18 0 35 5 17 5 30 0 30 -4 0 -4 16 0 35 4 19
|
56
|
+
4 37 0 40 -5 3 -5 19 0 35 5 17 5 32 0 35 -5 3 -6 13 -3 22 8 21 9 64 1 84 -3
|
57
|
+
9 -2 22 2 29 5 8 5 21 0 30 -5 9 -5 22 0 29 4 8 4 27 0 42 -5 16 -5 29 0 29 5
|
58
|
+
0 5 13 0 30 -5 17 -5 30 0 30 5 0 5 13 0 30 -5 17 -5 30 0 30 5 0 5 13 0 30
|
59
|
+
-5 17 -5 30 0 30 5 0 5 13 0 30 -5 17 -6 30 -2 30 4 0 7 16 7 35 0 19 -3 35
|
60
|
+
-7 35 -4 0 -3 14 2 30 5 17 5 30 1 30 -4 0 -5 22 -1 50 3 27 3 55 -1 62 -4 6
|
61
|
+
-4 19 1 28 4 8 4 22 0 31 -5 8 -5 21 0 28 4 8 4 27 0 42 -5 16 -5 29 0 29 5 0
|
62
|
+
5 13 0 30 -5 19 -5 30 1 30 6 0 8 4 5 9 -3 5 -8 37 -10 71 -3 35 -10 68 -16
|
63
|
+
74 -5 5 -10 18 -10 27 0 9 -7 22 -15 29 -9 7 -13 15 -10 18 9 9 -81 86 -130
|
64
|
+
111 -27 13 -67 24 -96 25 -27 0 -49 4 -49 8 0 4 -11 3 -25 -2 -16 -6 -25 -6
|
65
|
+
-25 0 0 6 -9 6 -25 0 -15 -6 -26 -6 -30 0 -4 7 -13 6 -25 0 -13 -7 -21 -7 -25
|
66
|
+
0 -4 7 -12 7 -24 0 -10 -5 -20 -7 -22 -5 -3 2 -17 6 -33 9 -29 5 -41 12 -41
|
67
|
+
24 -1 4 -6 17 -13 30 -7 12 -9 22 -5 22 4 0 3 4 -2 8 -6 4 -19 27 -30 52 -11
|
68
|
+
25 -22 47 -25 50 -3 3 -21 34 -39 70 -18 36 -40 72 -47 81 -8 8 -14 19 -14 23
|
69
|
+
0 7 -128 205 -140 216 -3 3 -21 28 -40 55 -19 28 -39 55 -45 60 -6 6 -29 33
|
70
|
+
-50 60 -99 125 -277 304 -445 445 -46 38 -58 48 -105 80 -27 19 -54 40 -60 46
|
71
|
+
-11 11 -187 128 -195 129 -5 1 -46 25 -90 54 -39 26 -318 161 -333 161 -7 0
|
72
|
+
-17 4 -22 8 -9 8 -172 71 -198 76 -7 2 -19 6 -27 9 -19 8 -188 57 -215 63 -11
|
73
|
+
2 -51 11 -90 20 -38 9 -83 18 -100 19 -16 2 -30 4 -30 5 0 4 -120 23 -157 24
|
74
|
+
-10 0 -18 3 -18 6 0 6 -36 8 -341 14 -130 3 -238 4 -240 2z m-1214 -1916 c11
|
75
|
+
4 30 4 42 -1 14 -5 25 -4 29 2 4 7 10 7 16 1 5 -5 27 -6 49 -2 22 4 42 4 45
|
76
|
+
-1 2 -4 16 -4 29 1 15 6 25 6 25 0 0 -5 12 -5 28 -1 15 5 37 5 49 0 13 -5 25
|
77
|
+
-4 28 2 4 6 13 6 23 0 10 -6 23 -6 34 0 10 6 19 5 23 -1 4 -6 15 -6 30 0 15 6
|
78
|
+
25 6 25 0 0 -5 12 -5 28 -1 15 5 37 5 49 0 13 -5 25 -4 28 2 4 6 13 6 23 0 10
|
79
|
+
-6 23 -6 34 0 10 6 19 5 23 -1 4 -7 12 -7 25 0 13 7 21 7 25 0 4 -7 12 -7 25
|
80
|
+
0 12 6 21 7 25 0 3 -5 15 -6 28 -1 12 5 34 5 49 0 16 -4 28 -4 28 1 0 6 10 6
|
81
|
+
25 0 15 -6 26 -6 30 1 4 6 13 6 23 0 10 -6 23 -6 34 0 10 6 19 5 23 -1 3 -5
|
82
|
+
15 -6 28 -1 12 5 34 5 49 0 16 -4 28 -4 28 1 0 6 10 6 25 0 15 -6 26 -6 30 1
|
83
|
+
4 6 13 6 23 0 10 -6 23 -6 34 0 10 6 19 5 23 -1 3 -5 15 -6 28 -1 12 5 34 5
|
84
|
+
49 0 16 -4 30 -3 33 2 4 5 13 5 24 -1 10 -5 21 -7 24 -4 7 8 163 8 176 0 6 -4
|
85
|
+
11 -3 11 3 0 7 8 7 25 1 15 -6 26 -6 30 1 4 6 13 6 23 0 10 -6 23 -6 34 0 10
|
86
|
+
6 19 5 23 -1 3 -5 15 -6 28 -1 12 5 34 5 49 0 16 -4 28 -4 28 1 0 6 10 6 25 0
|
87
|
+
15 -6 26 -6 30 1 4 6 13 6 23 0 10 -6 23 -6 34 0 10 6 19 5 23 -1 3 -5 15 -6
|
88
|
+
28 -1 12 5 34 5 49 0 16 -4 28 -4 28 1 0 6 10 6 25 0 15 -6 27 -6 30 0 3 6 15
|
89
|
+
6 30 0 15 -6 27 -6 30 1 4 6 13 6 23 0 10 -6 23 -6 34 0 10 6 19 5 23 -1 4 -6
|
90
|
+
15 -6 30 0 15 6 25 6 25 0 0 -5 12 -5 28 -1 15 5 37 5 49 0 13 -5 25 -4 28 1
|
91
|
+
4 6 13 7 24 1 10 -6 23 -6 31 -1 8 5 18 6 24 3 14 -9 67 -9 73 0 2 4 13 3 23
|
92
|
+
-3 13 -7 21 -7 25 0 5 8 11 8 19 1 7 -6 15 -9 18 -6 8 8 184 9 196 1 6 -3 13
|
93
|
+
-2 17 4 4 6 11 7 18 3 6 -3 36 -8 66 -10 67 -5 116 -10 116 -13 0 -1 14 -4 30
|
94
|
+
-6 86 -14 345 -123 345 -145 0 -5 6 -9 13 -9 13 0 50 -31 134 -111 119 -112
|
95
|
+
202 -279 218 -434 6 -55 9 -248 4 -270 -1 -6 -1 -12 1 -15 4 -12 5 -80 0 -80
|
96
|
+
-3 0 -5 -16 -5 -35 0 -19 3 -35 7 -35 4 0 3 -13 -2 -30 -5 -19 -5 -30 1 -30 6
|
97
|
+
0 8 -4 5 -8 -2 -4 -7 -64 -10 -133 -3 -68 -12 -167 -21 -219 -19 -120 -21
|
98
|
+
-129 -34 -162 -6 -16 -9 -28 -7 -28 5 0 -37 -132 -67 -213 -31 -80 -107 -236
|
99
|
+
-124 -255 -6 -6 -15 -21 -18 -32 -3 -11 -11 -20 -17 -20 -6 0 -8 -3 -5 -6 4
|
100
|
+
-4 -7 -24 -23 -44 -17 -21 -30 -41 -30 -44 0 -6 -25 -38 -52 -68 -10 -10 -16
|
101
|
+
-18 -13 -18 9 0 -61 -76 -155 -170 -140 -140 -258 -229 -435 -327 -72 -40
|
102
|
+
-229 -112 -255 -117 -8 -2 -24 -6 -35 -10 -56 -21 -136 -45 -177 -53 -10 -2
|
103
|
+
-28 -5 -40 -7 -13 -3 -23 -5 -23 -6 0 -3 -41 -10 -85 -15 -25 -3 -52 -8 -60
|
104
|
+
-10 -14 -4 -214 -17 -250 -16 -8 0 -62 0 -120 0 -58 0 -112 0 -120 0 -139 2
|
105
|
+
-373 0 -380 -4 -5 -3 -11 -1 -15 5 -4 6 -10 8 -15 5 -7 -4 -123 -6 -240 -4 -8
|
106
|
+
1 -26 0 -40 -1 -28 -3 -226 8 -256 14 -10 2 -39 7 -64 10 -50 7 -84 13 -87 16
|
107
|
+
-2 2 -11 3 -20 5 -28 3 -74 15 -118 30 -22 8 -49 16 -60 18 -11 2 -33 9 -48
|
108
|
+
15 -16 7 -32 12 -37 12 -5 0 -37 13 -72 29 -35 16 -73 32 -85 36 -13 3 -23 11
|
109
|
+
-23 16 0 5 -8 9 -18 9 -10 0 -22 4 -27 9 -6 5 -32 21 -60 36 -27 15 -71 43
|
110
|
+
-98 61 -26 19 -50 34 -53 34 -3 0 -11 6 -18 13 -7 6 -28 23 -46 37 -19 14 -47
|
111
|
+
36 -64 50 -42 33 -215 208 -246 248 -14 18 -30 38 -36 45 -31 36 -94 128 -94
|
112
|
+
137 0 5 -3 10 -7 10 -5 0 -17 18 -27 40 -11 22 -24 40 -29 40 -6 0 -8 3 -4 6
|
113
|
+
3 3 -8 28 -24 55 -16 28 -29 52 -29 54 0 3 -14 35 -31 71 -41 90 -95 254 -113
|
114
|
+
346 -20 101 -25 130 -31 178 -3 30 -8 90 -10 133 -2 44 -6 81 -8 84 -3 2 -1
|
115
|
+
18 3 34 5 16 5 29 0 29 -5 0 -5 13 0 30 5 17 6 30 2 30 -7 0 -7 134 -1 227 2
|
116
|
+
23 0 45 -3 48 -3 4 -2 20 2 36 5 18 5 29 -1 29 -6 0 -8 4 -4 9 3 5 7 40 9 78
|
117
|
+
5 79 9 96 36 179 48 143 164 290 305 387 33 22 63 45 67 51 4 6 8 8 8 4 0 -4
|
118
|
+
30 8 68 26 112 56 256 94 384 100 32 2 61 6 65 9 3 4 11 3 17 -2 6 -5 20 -5
|
119
|
+
31 -1z"/>
|
120
|
+
<path d="M4157 7984 c-6 -10 -37 -99 -42 -119 -1 -5 -5 -17 -8 -25 -9 -23 -59
|
121
|
+
-174 -62 -185 -1 -5 -5 -17 -8 -25 -10 -25 -69 -204 -71 -215 -1 -5 -4 -14 -8
|
122
|
+
-20 -3 -5 -11 -28 -17 -50 -6 -22 -16 -48 -23 -56 -7 -9 -157 -64 -334 -122
|
123
|
+
-177 -59 -334 -111 -350 -118 -27 -10 -8 -18 256 -106 157 -52 290 -96 295
|
124
|
+
-98 6 -1 21 -7 35 -12 14 -6 39 -14 57 -17 17 -4 36 -13 41 -19 8 -12 37 -95
|
125
|
+
37 -109 0 -3 3 -10 8 -14 4 -4 7 -16 7 -26 0 -10 5 -18 11 -18 5 0 8 -4 5 -8
|
126
|
+
-2 -4 35 -127 84 -272 80 -239 90 -262 99 -237 16 41 63 181 65 192 1 6 5 15
|
127
|
+
8 21 4 6 9 21 12 35 2 13 12 41 20 62 9 20 14 37 11 37 -3 0 2 11 11 25 9 14
|
128
|
+
14 25 11 25 -10 0 91 282 103 290 7 4 167 59 356 121 189 63 344 116 344 119
|
129
|
+
0 3 -157 56 -348 119 -191 63 -352 119 -358 125 -6 6 -26 58 -44 116 -18 58
|
130
|
+
-38 111 -43 118 -5 6 -7 12 -4 12 3 0 -12 51 -34 113 -21 61 -40 114 -40 117
|
131
|
+
-3 11 -8 27 -29 89 -12 35 -23 68 -25 75 -1 6 -5 18 -8 26 -3 8 -7 22 -9 30
|
132
|
+
-3 8 -7 10 -11 4z"/>
|
133
|
+
<path d="M2967 3803 c-2 -1 -28 -5 -58 -9 -29 -3 -58 -8 -62 -11 -4 -3 -24 -7
|
134
|
+
-45 -9 -20 -2 -69 -13 -108 -24 -39 -10 -81 -21 -95 -24 -27 -5 -163 -50 -206
|
135
|
+
-68 -15 -6 -32 -12 -38 -13 -18 -5 -210 -88 -215 -94 -3 -3 -39 -23 -80 -43
|
136
|
+
-113 -56 -354 -214 -416 -272 -7 -6 -31 -27 -55 -46 -56 -44 -263 -250 -314
|
137
|
+
-313 -22 -27 -44 -54 -50 -60 -46 -55 -85 -107 -85 -115 0 -6 -4 -12 -8 -14
|
138
|
+
-18 -7 -232 -360 -232 -382 0 -2 -12 -30 -27 -62 -15 -33 -27 -61 -28 -64 -1
|
139
|
+
-3 -8 -21 -17 -40 -8 -19 -25 -66 -37 -105 -13 -38 -29 -84 -37 -102 -8 -17
|
140
|
+
-14 -35 -13 -40 1 -4 0 -10 -1 -13 -2 -6 -5 -16 -20 -80 -22 -87 -27 -108 -34
|
141
|
+
-151 -3 -19 -8 -43 -10 -55 -4 -20 -12 -79 -23 -172 -3 -26 -7 -164 -9 -307
|
142
|
+
-3 -230 -1 -270 17 -345 10 -47 21 -95 24 -108 3 -13 26 -64 50 -115 118 -241
|
143
|
+
305 -407 565 -499 30 -11 66 -21 80 -23 14 -2 48 -8 75 -14 56 -11 1737 -16
|
144
|
+
1748 -5 3 4 2 15 -3 25 -6 11 -6 20 -1 24 6 3 6 17 1 35 -5 17 -5 30 0 30 5 0
|
145
|
+
5 13 0 30 -5 18 -5 30 0 30 6 0 5 11 0 26 -6 14 -7 23 -2 21 9 -6 7 107 -2
|
146
|
+
121 -3 6 -2 13 3 17 6 3 7 15 2 28 -5 13 -5 30 0 39 6 11 5 19 -1 23 -7 4 -7
|
147
|
+
12 0 25 7 13 7 21 0 25 -6 4 -7 12 -1 22 5 9 5 29 1 45 -5 16 -5 28 0 28 6 0
|
148
|
+
6 10 0 25 -6 15 -6 26 0 30 7 4 6 13 0 26 -6 10 -7 19 -3 19 4 0 8 25 8 55 0
|
149
|
+
30 -3 55 -7 55 -4 0 -3 11 2 25 5 14 6 25 2 25 -4 0 -7 14 -7 30 0 17 2 30 5
|
150
|
+
30 7 0 4 59 -3 66 -3 4 -2 14 3 23 5 10 5 23 0 31 -5 8 -5 21 1 31 5 10 6 20
|
151
|
+
2 22 -6 4 -9 72 -3 72 1 0 2 15 3 33 1 17 -2 32 -6 32 -5 0 -6 4 -2 9 3 5 7
|
152
|
+
43 9 83 5 82 22 162 43 195 8 12 13 23 11 25 -8 8 67 122 113 172 43 47 167
|
153
|
+
140 188 141 3 1 15 6 26 12 39 21 131 44 199 49 39 2 72 6 74 9 3 2 13 0 23
|
154
|
+
-5 11 -6 20 -6 24 -1 3 5 17 6 33 2 15 -5 37 -4 50 0 13 5 22 4 22 -1 0 -6 9
|
155
|
+
-6 23 -1 13 5 30 5 39 0 11 -6 19 -5 23 1 4 7 12 7 25 0 11 -6 21 -6 25 -1 3
|
156
|
+
5 17 6 33 2 15 -5 37 -4 50 0 13 5 22 4 22 -1 0 -6 9 -6 23 -1 13 5 30 5 39 0
|
157
|
+
11 -6 19 -5 23 1 4 7 12 7 25 0 11 -6 21 -6 25 -1 3 5 17 6 33 2 15 -5 37 -4
|
158
|
+
50 0 13 5 22 4 22 -1 0 -6 9 -6 25 0 16 6 25 6 25 0 0 -6 9 -6 25 0 15 6 26 6
|
159
|
+
30 0 4 -7 13 -6 25 0 13 7 21 7 25 0 4 -7 12 -7 24 0 10 5 21 7 25 3 7 -8 112
|
160
|
+
-7 125 1 5 4 12 2 16 -4 4 -7 12 -7 25 0 13 7 21 7 25 0 4 -7 12 -7 24 0 10 5
|
161
|
+
21 7 25 3 7 -8 112 -7 125 1 5 4 12 2 15 -2 3 -5 26 -6 51 -2 25 4 48 3 51 -2
|
162
|
+
3 -5 11 -5 18 1 7 6 17 6 26 1 8 -5 18 -6 24 -3 14 9 67 9 73 0 2 -4 13 -3 23
|
163
|
+
3 13 7 21 7 25 0 4 -7 12 -7 24 0 10 5 21 7 25 3 7 -8 112 -7 125 1 5 4 12 2
|
164
|
+
16 -4 4 -7 12 -7 25 0 13 7 21 7 25 0 4 -6 12 -7 23 -1 9 5 26 5 39 0 13 -5
|
165
|
+
25 -4 28 1 4 7 13 6 25 0 11 -6 21 -6 25 -1 3 5 17 6 33 2 15 -5 37 -4 50 0
|
166
|
+
13 5 22 4 22 -1 0 -6 9 -6 23 -1 13 5 30 5 39 0 11 -6 19 -5 23 1 4 7 12 7 25
|
167
|
+
0 11 -6 21 -6 25 -1 3 5 17 6 33 2 15 -5 37 -4 50 0 13 5 22 4 22 -1 0 -6 9
|
168
|
+
-6 23 -1 13 5 30 5 39 0 11 -6 19 -5 23 1 4 7 12 7 25 0 12 -6 21 -7 25 0 3 5
|
169
|
+
12 7 19 4 22 -8 96 -10 96 -2 0 4 6 5 13 3 6 -2 46 -6 88 -9 42 -2 101 -12
|
170
|
+
132 -21 31 -9 58 -15 61 -13 2 2 13 -6 25 -16 12 -11 21 -16 21 -13 0 18 113
|
171
|
+
-66 176 -129 51 -51 84 -96 112 -153 23 -45 41 -82 41 -84 -1 -1 4 -22 11 -47
|
172
|
+
7 -25 14 -76 15 -113 2 -38 6 -71 9 -74 3 -4 1 -12 -5 -19 -6 -8 -6 -14 0 -18
|
173
|
+
6 -4 6 -18 1 -36 -5 -18 -5 -30 0 -30 6 0 6 -10 0 -25 -6 -15 -6 -26 0 -30 6
|
174
|
+
-4 7 -13 1 -24 -6 -10 -6 -23 -1 -31 5 -8 5 -21 -1 -31 -6 -12 -5 -20 1 -24 7
|
175
|
+
-5 8 -11 1 -19 -6 -7 -6 -17 -1 -26 5 -8 6 -18 3 -24 -9 -14 -9 -66 -1 -66 4
|
176
|
+
0 3 -11 -2 -25 -6 -16 -6 -25 0 -25 6 0 6 -9 0 -25 -6 -17 -6 -25 1 -25 6 0 7
|
177
|
+
-4 4 -10 -9 -14 -10 -114 -2 -127 4 -7 3 -14 -2 -18 -6 -3 -7 -15 -2 -28 5
|
178
|
+
-13 5 -30 0 -39 -6 -11 -5 -19 1 -23 7 -4 7 -12 0 -25 -7 -13 -7 -21 0 -25 6
|
179
|
+
-4 7 -12 1 -22 -5 -9 -5 -29 -1 -45 5 -16 5 -28 0 -28 -6 0 -5 -11 0 -26 6
|
180
|
+
-14 7 -23 2 -21 -4 3 -7 -19 -7 -49 0 -30 3 -54 7 -54 4 0 4 -10 -1 -22 -5
|
181
|
+
-13 -5 -33 0 -45 5 -14 5 -23 -1 -23 -5 0 -5 -12 0 -30 5 -18 5 -32 -1 -35 -5
|
182
|
+
-4 -5 -13 1 -24 5 -10 6 -21 3 -25 -4 -3 376 -6 843 -6 852 1 861 1 1010 34
|
183
|
+
51 11 185 71 252 112 95 60 211 170 276 263 54 78 116 198 116 225 0 8 4 17 9
|
184
|
+
20 5 3 12 20 15 38 3 18 9 44 11 58 22 102 26 168 20 405 -3 143 -8 276 -10
|
185
|
+
295 -7 56 -14 103 -21 130 -3 14 -6 32 -6 40 0 8 -14 71 -30 140 -16 69 -31
|
186
|
+
130 -32 135 -3 13 -36 116 -43 135 -4 8 -7 17 -8 20 -1 3 -5 14 -10 25 -4 11
|
187
|
+
-21 53 -36 92 -34 86 -105 230 -162 328 -52 88 -147 229 -159 233 -4 2 -8 8
|
188
|
+
-8 14 0 11 -98 131 -111 136 -5 2 -9 8 -9 14 0 6 -57 67 -128 137 -126 125
|
189
|
+
-167 162 -232 211 -18 14 -38 30 -44 35 -27 23 -205 143 -258 174 -21 11 -55
|
190
|
+
31 -75 43 -51 29 -156 80 -223 109 -30 12 -58 28 -62 33 -4 6 -8 8 -8 4 0 -4
|
191
|
+
-30 5 -67 19 -116 44 -293 94 -418 117 -249 47 -226 48 -341 -22 -124 -76
|
192
|
+
-344 -189 -471 -242 -54 -23 -107 -45 -118 -50 -110 -48 -462 -154 -584 -175
|
193
|
+
-19 -3 -37 -7 -40 -9 -3 -2 -26 -7 -51 -10 -25 -3 -58 -9 -75 -12 -45 -9 -64
|
194
|
+
-12 -125 -18 -30 -4 -64 -8 -75 -11 -40 -8 -193 -19 -282 -19 -51 -1 -93 -4
|
195
|
+
-93 -8 0 -4 -12 -3 -27 3 -16 6 -30 10 -33 9 -3 -2 -15 -6 -28 -11 -13 -5 -21
|
196
|
+
-6 -19 -1 3 4 -38 7 -91 8 -126 0 -345 20 -442 39 -14 2 -40 7 -57 10 -18 3
|
197
|
+
-48 7 -65 10 -39 6 -91 18 -208 46 -90 21 -99 24 -228 65 -45 14 -88 27 -95
|
198
|
+
28 -7 2 -21 7 -32 11 -111 44 -140 55 -152 55 -7 0 -13 5 -13 12 0 6 -3 9 -6
|
199
|
+
6 -11 -11 -337 144 -461 218 -40 24 -77 44 -82 44 -5 0 -11 4 -13 8 -9 23 -79
|
200
|
+
53 -118 50 -22 -1 -42 -3 -43 -5z"/>
|
201
|
+
<path d="M4085 1270 c-131 -30 -236 -155 -239 -282 -1 -32 -4 -58 -8 -58 -4 0
|
202
|
+
-3 -13 2 -30 5 -17 5 -30 0 -30 -5 0 -5 -13 0 -30 5 -17 5 -30 0 -30 -5 0 -5
|
203
|
+
-13 0 -30 5 -17 5 -30 0 -30 -5 0 -5 -13 0 -30 5 -17 5 -30 0 -30 -5 0 -5 -13
|
204
|
+
0 -30 5 -17 5 -30 0 -30 -5 0 -5 -13 0 -30 5 -17 5 -30 0 -30 -5 0 -5 -13 0
|
205
|
+
-30 5 -17 5 -30 0 -30 -5 0 -5 -13 0 -30 5 -17 5 -30 0 -30 -5 0 -5 -13 0 -30
|
206
|
+
5 -17 5 -30 0 -30 -5 0 -5 -13 0 -30 5 -17 5 -30 0 -30 -5 0 -5 -13 0 -30 5
|
207
|
+
-17 5 -30 0 -30 -5 0 -5 -13 0 -30 5 -17 5 -30 0 -30 -5 0 -5 -12 -1 -28 5
|
208
|
+
-15 5 -37 0 -49 -5 -13 -4 -25 1 -28 6 -4 7 -13 1 -24 -5 -9 -6 -23 -2 -30 5
|
209
|
+
-7 6 -22 4 -32 -5 -18 6 -19 314 -19 l319 0 3 27 c1 16 2 35 2 43 -1 8 -1 26
|
210
|
+
0 40 0 14 0 32 0 40 -1 8 -1 26 0 40 0 14 0 32 0 40 -1 8 -1 26 0 40 0 14 0
|
211
|
+
32 0 40 -1 8 -1 26 0 40 0 14 0 32 0 40 -1 8 -1 26 0 40 0 14 0 32 0 40 -1 8
|
212
|
+
-1 26 0 40 0 14 0 32 0 40 -2 26 -1 54 3 75 1 11 0 34 -4 51 -4 18 -4 37 0 44
|
213
|
+
4 7 4 24 1 39 -4 14 -4 43 -1 63 4 22 3 38 -2 38 -5 0 -7 4 -4 8 11 18 5 150
|
214
|
+
-9 187 -33 89 -90 155 -169 194 -51 25 -152 35 -211 21z"/>
|
215
|
+
<path d="M5973 1260 c-29 -10 -60 -24 -69 -32 -60 -48 -120 -128 -128 -170 -3
|
216
|
+
-13 -5 -24 -7 -25 -1 -2 -2 -6 -3 -10 -1 -5 -4 -13 -8 -19 -4 -6 -5 -14 -2
|
217
|
+
-17 3 -3 8 -31 10 -62 2 -32 13 -76 26 -102 26 -53 91 -122 131 -140 15 -7 39
|
218
|
+
-18 53 -25 25 -12 150 -16 189 -7 78 19 166 94 205 174 34 73 34 200 0 270
|
219
|
+
-40 80 -105 137 -195 170 -43 16 -150 13 -202 -5z"/>
|
220
|
+
</g>
|
221
|
+
</svg>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
{
|
2
|
+
"name": "",
|
3
|
+
"short_name": "",
|
4
|
+
"icons": [
|
5
|
+
{
|
6
|
+
"src": "/android-chrome-192x192.png",
|
7
|
+
"sizes": "192x192",
|
8
|
+
"type": "image/png"
|
9
|
+
},
|
10
|
+
{
|
11
|
+
"src": "/android-chrome-512x512.png",
|
12
|
+
"sizes": "512x512",
|
13
|
+
"type": "image/png"
|
14
|
+
}
|
15
|
+
],
|
16
|
+
"theme_color": "#ffffff",
|
17
|
+
"background_color": "#ffffff",
|
18
|
+
"display": "standalone"
|
19
|
+
}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,149 @@
|
|
1
|
+
let i = 0;
|
2
|
+
|
3
|
+
function changeTheme() {
|
4
|
+
theme = themes[i];
|
5
|
+
let sessTheme = sessionStorage.getItem('theme');
|
6
|
+
if (i < themes.length) {
|
7
|
+
if (sessTheme) {
|
8
|
+
sessionStorage.removeItem('theme');
|
9
|
+
sessionStorage.setItem('theme', theme);
|
10
|
+
i++;
|
11
|
+
sessionStorage.setItem('theme', theme);
|
12
|
+
i++;
|
13
|
+
}
|
14
|
+
checkStorage();
|
15
|
+
} else {
|
16
|
+
i = 0;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
function darkMode() {
|
21
|
+
console.log('[DEBUG]{darkmode} user clicked darkMode toggles');
|
22
|
+
var sessTheme = sessionStorage.getItem('theme');
|
23
|
+
console.log('[DEBUG]{darkmode} sessionStorage value: ' + sessTheme);
|
24
|
+
if (sessTheme == 'light') {
|
25
|
+
console.log('[DEBUG]{darkmode} added dark to session storage');
|
26
|
+
sessionStorage.removeItem('theme');
|
27
|
+
sessionStorage.setItem('theme', 'dark');
|
28
|
+
} else if (sessTheme == 'dark') {
|
29
|
+
console.log('[DEBUG]{darkmode} added light to session storage');
|
30
|
+
sessionStorage.removeItem('theme');
|
31
|
+
sessionStorage.setItem('theme', 'light');
|
32
|
+
} else if (sessTheme === null) {
|
33
|
+
console.log('[DEBUG]{darkmode} null, added light to session storage');
|
34
|
+
sessionStorage.removeItem('theme');
|
35
|
+
sessionStorage.setItem('theme', 'dark');
|
36
|
+
}
|
37
|
+
checkStorage();
|
38
|
+
}
|
39
|
+
|
40
|
+
function saveFavorite() {
|
41
|
+
let locTheme = localStorage.getItem('theme');
|
42
|
+
let sessTheme = sessionStorage.getItem('theme');
|
43
|
+
if ((sessTheme) && !(locTheme)) {
|
44
|
+
localStorage.setItem('theme', sessTheme );
|
45
|
+
console.log('setting favorite theme');
|
46
|
+
} else if ((sessTheme) && (locTheme)) {
|
47
|
+
console.log('remove old favorite theme');
|
48
|
+
console.log('setting favorite theme');
|
49
|
+
sessionStorage.removeItem('theme');
|
50
|
+
localStorage.setItem('theme', sessTheme );
|
51
|
+
}
|
52
|
+
checkStorage();
|
53
|
+
}
|
54
|
+
|
55
|
+
|
56
|
+
function checkFav() {
|
57
|
+
const savedTheme = localStorage.getItem('favTheme');
|
58
|
+
if (savedTheme){
|
59
|
+
document.body.classList.toggle(savedTheme);
|
60
|
+
console.log('[DEBUG] theme changed To',savedTheme);
|
61
|
+
document.getElementById('theme').innerHTML = savedTheme;
|
62
|
+
} else {
|
63
|
+
console.log('[DEBUG] no theme saved');
|
64
|
+
}
|
65
|
+
|
66
|
+
}
|
67
|
+
|
68
|
+
function hoverTheme(opt) {
|
69
|
+
document.body.classList.toggle(opt);
|
70
|
+
var str1 = "hover zoom ";
|
71
|
+
var str2 = opt;
|
72
|
+
var foo = str1.concat(str2);
|
73
|
+
document.getElementById(foo).style.fontWeight = "bold";
|
74
|
+
|
75
|
+
}
|
76
|
+
|
77
|
+
function reload(){
|
78
|
+
location.reload();
|
79
|
+
}
|
80
|
+
|
81
|
+
/* set custom themes using session storage */
|
82
|
+
function setCustomBackground() {
|
83
|
+
console.log('[DEBUG] custom backround entered');
|
84
|
+
var background = document.getElementById("customBackground").value;
|
85
|
+
let locBackground = localStorage.getItem('customBackground');
|
86
|
+
if (locBackground) {
|
87
|
+
localStorage.removeItem('customBackground');
|
88
|
+
localStorage.setItem('customBackground',background);
|
89
|
+
document.getElementById('whatHappened').innerHTML = 'removed previous saved background, set new background to ' + background;
|
90
|
+
} else {
|
91
|
+
localStorage.setItem('customBackground',background);
|
92
|
+
document.getElementById('whatHappened').innerHTML = 'set new background to ' + background;
|
93
|
+
}
|
94
|
+
}
|
95
|
+
|
96
|
+
function setCustomColor() {
|
97
|
+
console.log('[DEBUG] custom color entered');
|
98
|
+
var color = document.getElementById("customColor").value;
|
99
|
+
let locColor = localStorage.getItem('customColor');
|
100
|
+
if (locColor) {
|
101
|
+
localStorage.removeItem('customColor');
|
102
|
+
localStorage.setItem('customColor',color);
|
103
|
+
document.getElementById('whatHappened').innerHTML = 'removed previous saved color, set new color to' + color;
|
104
|
+
} else {
|
105
|
+
localStorage.setItem('customColor',color);
|
106
|
+
document.getElementById('whatHappened').innerHTML = 'set new color to ' + color;
|
107
|
+
}
|
108
|
+
}
|
109
|
+
|
110
|
+
function setCustomTheme() {
|
111
|
+
console.log('[DEBUG] custom theme entered');
|
112
|
+
var theme = document.getElementById("customTheme").value;
|
113
|
+
let locTheme = localStorage.getItem('customTheme');
|
114
|
+
if (locTheme) {
|
115
|
+
localStorage.removeItem('customTheme');
|
116
|
+
localStorage.setItem('customTheme',theme);
|
117
|
+
document.getElementById('whatHappened').innerHTML = 'removed previous saved theme, set new theme to ' + theme;
|
118
|
+
} else {
|
119
|
+
localStorage.setItem('customTheme',theme);
|
120
|
+
document.getElementById('whatHappened').innerHTML = 'set new theme to ' + theme;
|
121
|
+
}
|
122
|
+
checkStorage();
|
123
|
+
}
|
124
|
+
|
125
|
+
function checkStorage(){
|
126
|
+
console.log('[DEBUG] now in checkStorage');
|
127
|
+
|
128
|
+
let locTheme = localStorage.getItem('theme');
|
129
|
+
let customTheme = localStorage.getItem('customTheme');
|
130
|
+
let sessTheme = sessionStorage.getItem('theme');
|
131
|
+
|
132
|
+
if (customTheme) {
|
133
|
+
document.body.classList.toggle(customTheme);
|
134
|
+
document.getElementById('whatHappened').innerHTML = 'theme: ' + customTheme;
|
135
|
+
console.log('[DEBUG] custom theme set');
|
136
|
+
} else if (locTheme) {
|
137
|
+
document.body.classList.toggle(locTheme);
|
138
|
+
document.getElementById('whatHappened').innerHTML = 'theme: ' + locTheme;
|
139
|
+
console.log('[DEBUG] local theme set: ' + locTheme);
|
140
|
+
} else if (sessTheme) {
|
141
|
+
document.body.classList.toggle(sessTheme);
|
142
|
+
document.getElementById('whatHappened').innerHTML = 'theme: ' + sessTheme;
|
143
|
+
console.log('[DEBUG] session theme set: ' + sessTheme);
|
144
|
+
} else {
|
145
|
+
document.body.classList.toggle('light');
|
146
|
+
document.getElementById('whatHappened').innerHTML = 'theme: light';
|
147
|
+
console.log('[DEBUG] no theme set: going light');
|
148
|
+
}
|
149
|
+
}
|
metadata
ADDED
@@ -0,0 +1,93 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jek
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- tcbutler320
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2021-06-17 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
|
+
- tcbutler320@gmail.com
|
30
|
+
executables: []
|
31
|
+
extensions: []
|
32
|
+
extra_rdoc_files: []
|
33
|
+
files:
|
34
|
+
- LICENSE.txt
|
35
|
+
- README.md
|
36
|
+
- _config.yml
|
37
|
+
- _includes/controls.html
|
38
|
+
- _includes/footer.html
|
39
|
+
- _includes/head.html
|
40
|
+
- _includes/nav.html
|
41
|
+
- _includes/sidebar.html
|
42
|
+
- _includes/socials.html
|
43
|
+
- _layouts/blog.html
|
44
|
+
- _layouts/default.html
|
45
|
+
- _layouts/home.html
|
46
|
+
- _layouts/page.html
|
47
|
+
- _layouts/post.html
|
48
|
+
- assets/css/borland.css
|
49
|
+
- assets/css/main.css
|
50
|
+
- assets/img/favicon/android-chrome-192x192.png
|
51
|
+
- assets/img/favicon/android-chrome-512x512.png
|
52
|
+
- assets/img/favicon/apple-touch-icon.png
|
53
|
+
- assets/img/favicon/browserconfig.xml
|
54
|
+
- assets/img/favicon/favicon-16x16.png
|
55
|
+
- assets/img/favicon/favicon-32x32.png
|
56
|
+
- assets/img/favicon/favicon.ico
|
57
|
+
- assets/img/favicon/mstile-150x150.png
|
58
|
+
- assets/img/favicon/safari-pinned-tab.svg
|
59
|
+
- assets/img/favicon/site.webmanifest
|
60
|
+
- assets/img/readme/jek.gif
|
61
|
+
- assets/img/readme/preview-dark.png
|
62
|
+
- assets/img/readme/preview-dragos.png
|
63
|
+
- assets/img/readme/preview-sunset.png
|
64
|
+
- assets/img/readme/preview.png
|
65
|
+
- assets/img/readme/storage.png
|
66
|
+
- assets/js/keyInput.js
|
67
|
+
- assets/js/themeToggle.js
|
68
|
+
- assets/js/toolTip.js
|
69
|
+
homepage: https://jekyll-jek.netlify.app/
|
70
|
+
licenses:
|
71
|
+
- MIT
|
72
|
+
metadata: {}
|
73
|
+
post_install_message:
|
74
|
+
rdoc_options: []
|
75
|
+
require_paths:
|
76
|
+
- lib
|
77
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - ">="
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0'
|
82
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
83
|
+
requirements:
|
84
|
+
- - ">="
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: '0'
|
87
|
+
requirements: []
|
88
|
+
rubygems_version: 3.0.3
|
89
|
+
signing_key:
|
90
|
+
specification_version: 4
|
91
|
+
summary: Jek is a minimalist jekyll theme putting the power of color schemes in the
|
92
|
+
user’s hands
|
93
|
+
test_files: []
|