jekyll-bear-theme 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 1d3dac47362e4fdab38896ea44cdb9047fb1d447f64fe3f127910b44c5cc0460
4
+ data.tar.gz: 6875fb95f7bbd55a043d252e4d047d178e1f0a905e6dc78e99c8ac324e6be920
5
+ SHA512:
6
+ metadata.gz: 759c5f12c9ecbf97b3eadf2de2d020eadb275cef843773f1659856cac5417b8e790b7ce33905f3e3c500394f9d329f26057f5f89253dacbc031d4962a5c60a9c
7
+ data.tar.gz: ba5ef0d70c9f23dafe0b1f1c6d63c8a7925c5d6bf07e4ba668ca42ce2794d9f62c45e413d4da6e6ff9707cb50eeab6a4894f03e99fde431e357bd9b778a0db50
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022
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,63 @@
1
+ # jekyllBear
2
+
3
+ ## An easy to use, minimal, text focused Jekyll theme
4
+
5
+ [Bear Blog](https://bearblog.dev/) is *"a blogging platform where words matter most"*.
6
+
7
+ This is a port of it's theme to Jekyll, with some tweaks. So you can use GitHub Pages to host your blog while getting the same awesome Bear Blog feels.
8
+
9
+ **Stop worrying about the style, focus on your writing.**
10
+
11
+ - Looks great on *any* device
12
+ - Tiny, optimized, and awesome pages
13
+ - No trackers, ads, or scripts, *did I mention minimal already?*
14
+ - Auto light and dark themes
15
+ - Tag support, to filter blog pages
16
+ - Quick, *15 minute* setup
17
+ - Gallery view for your images
18
+ - Code highlighting
19
+
20
+
21
+ ## Installation
22
+
23
+ Add this line to your Jekyll site's `Gemfile`:
24
+
25
+ ```ruby
26
+ gem "jekyllBear"
27
+ ```
28
+
29
+ And add this line to your Jekyll site's `_config.yml`:
30
+
31
+ ```yaml
32
+ theme: jekyllBear
33
+ ```
34
+
35
+ And then execute:
36
+
37
+ $ bundle
38
+
39
+ Or install it yourself as:
40
+
41
+ $ gem install jekyllBear
42
+
43
+ ## Usage
44
+
45
+ TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
46
+
47
+ ## Contributing
48
+
49
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. 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.
50
+
51
+ ## Development
52
+
53
+ To set up your environment to develop this theme, run `bundle install`.
54
+
55
+ 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.
56
+
57
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
58
+ To add a custom directory to your theme-gem, please edit the regexp in `jekyllBear.gemspec` accordingly.
59
+
60
+ ## License
61
+
62
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
63
+
data/_config.yml ADDED
@@ -0,0 +1,66 @@
1
+ ###########
2
+ # site.title
3
+
4
+ title: jekyllBear
5
+ description: a minimal, text focused blog theme
6
+ url: "https://knhash.in/jekyllBear"
7
+ host: 0.0.0.0
8
+
9
+
10
+ #########################
11
+ # more settings
12
+
13
+ plugins:
14
+ - jekyll-redirect-from
15
+
16
+ whitelist:
17
+ - jekyll-redirect-from
18
+
19
+ markdown: kramdown
20
+
21
+ compress_html:
22
+ clippings: all
23
+ comments: [""]
24
+ endings: [html, head, body, li, dt, dd, rt, rp, optgroup, option, colgroup, caption, thead, tbody, tfoot, tr, td, th]
25
+ profile: false
26
+ blanklines: false
27
+ ignore:
28
+ envs: []
29
+
30
+ # sass:
31
+ # sass_dir: css
32
+ # style: compressed
33
+
34
+ collections:
35
+ my_tags:
36
+ output: true
37
+ permalink: /tagged/:slug/
38
+ defaults:
39
+ -
40
+ scope:
41
+ path: ""
42
+ type: my_tags
43
+ values:
44
+ layout: tagged
45
+
46
+ baseurl: ""
47
+ permalink: /blog/:slug
48
+ timezone: America/New_York
49
+ future: false
50
+
51
+ exclude:
52
+ - README.md
53
+ - LICENSE.md
54
+
55
+ exclude: [vendor]
56
+
57
+ Blog: /blog
58
+
59
+ # Add general links to site pages here
60
+ links:
61
+ Resume: /assets/resume.pdf
62
+
63
+
64
+ # Add links for more focus here
65
+ special_links:
66
+ "Search": https://duckduckgo.com
@@ -0,0 +1,48 @@
1
+
2
+
3
+ <footer>
4
+ <a href="{{ site.baseurl }}/blog">← Back to all writings</a>
5
+ <!-- <nav class="sans">
6
+ <hr>
7
+ <input class="menu-btn" type="checkbox" id="menu-btn" />
8
+ <p><label class="menu-icon" for="menu-btn">Menu</label></p>
9
+ <ul class="site-nav">
10
+ <li><a href="/">Home</a></li>
11
+ <li><a href="/blog">Blog</a></li>
12
+ <li><a href="/designs">Designs</a></li>
13
+ <li><a href="/about">About</a></li>
14
+ <li><a href="https://canisee.xyz" title="Confirm your vision functionality">[Can I See]</a></li>
15
+ </ul>
16
+ </nav> -->
17
+ <!-- <span class="mini-note">You've reached the end of the page. Good job!</span> -->
18
+ <!-- <nav class="sans">
19
+ <hr>
20
+ <p><label class="menu-icon" for="menu-btn">Menu</label></p>
21
+ <ul class="site-nav">
22
+ <li><a href="/">Home</a></li>
23
+ <li><a href="/blog">Blog</a></li>
24
+ <li><a href="/designs">Designs</a></li>
25
+ <li><a href="/about">About</a></li>
26
+ <li><a href="https://canisee.xyz" title="Confirm your vision functionality">[Can I See]</a></li>
27
+ </ul>
28
+ </nav> -->
29
+ <div class="bottom-footer">
30
+ <i>Theme
31
+ <a href="https://knhash.in/jekyllBear" title="the art">jekyllBear</a> built and maintained by
32
+ <a href="https://knhash.in" title="the artist">knhash</a>
33
+ </i>
34
+ </div>
35
+ </footer>
36
+
37
+
38
+
39
+
40
+ <!-- <script type="text/x-mathjax-config">
41
+ MathJax.Hub.Config({
42
+ extensions: ["tex2jax.js", "TeX/AMSmath.js"],
43
+ jax: ["input/TeX", "output/SVG"],
44
+ })
45
+ </script>
46
+ <script type="text/javascript" async
47
+ src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.6/MathJax.js?config=default">
48
+ </script> -->
@@ -0,0 +1,19 @@
1
+ <footer class="bottom-footer">
2
+ <!-- <span class="mini-note">You've reached the end of the page. Good job!</span> -->
3
+ <!-- <nav class="sans">
4
+ <hr>
5
+ <p><label class="menu-icon" for="menu-btn">Menu</label></p>
6
+ <ul class="site-nav">
7
+ <li><a href="/">Home</a></li>
8
+ <li><a href="/blog">Blog</a></li>
9
+ <li><a href="/designs">Designs</a></li>
10
+ <li><a href="/about">About</a></li>
11
+ <li><a href="https://canisee.xyz" title="Confirm your vision functionality">[Can I See]</a></li>
12
+ </ul>
13
+ </nav> -->
14
+ <i>Theme
15
+ <a href="https://knhash.in/jekyllBear" title="the art">jekyllBear</a> built and maintained by
16
+ <a href="https://knhash.in" title="the artist">knhash</a>
17
+ </i>
18
+ </footer>
19
+
@@ -0,0 +1,17 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en" dir="ltr">
3
+
4
+ <head>
5
+ <meta charset="UTF-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <meta http-equiv="X-UA-Compatible" content="ie=edge">
8
+ <title>{{ page.title }} | {{ site.title }}</title>
9
+ <meta name="description" content="{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}">
10
+ <link rel="shortcut icon" href="{{ site.baseurl }}/assets/favicon.ico" type="image/x-icon">
11
+ <link rel="icon" href="{{ site.baseurl }}/assets/favicon.ico" type="image/x-icon">
12
+ <link href='{{ site.baseurl }}/feed.xml' rel='alternate' type='application/atom+xml'>
13
+ <link rel="canonical" href="{{ site.baseurl }}{{ page.url }}">
14
+ <link rel="stylesheet" href="{{ site.baseurl }}/assets/style.css">
15
+ </head>
16
+
17
+ <body>
@@ -0,0 +1,13 @@
1
+ <h2 class="title">{{ site.title }}</h2>
2
+ <nav>
3
+ <a href="/">Home</a>
4
+ <a href="{{ site.Blog }}">Blog</a>
5
+
6
+ {% for link in site.links %}
7
+ <a href="{{ link[1] }}">{{ link[0] }}</a>
8
+ {% endfor %}
9
+
10
+ {% for link in site.special_links %}
11
+ <a href="{{ link[1] }}">[{{ link[0] }}]</a>
12
+ {% endfor %}
13
+ </nav>
@@ -0,0 +1,25 @@
1
+ <style>
2
+ .image-gallery {overflow: auto; margin-left: -1%!important;}
3
+ .image-gallery li {float: left; display: block; margin: 0 0 1% 1%; width: 250px;}
4
+ .image-gallery li a {text-align: center; text-decoration: none!important; color: #777;}
5
+ .image-gallery li a span {display: block; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; padding: 3px 0;}
6
+ .image-gallery li a img {width: 100%; display: block;}
7
+ </style>
8
+
9
+ <ul class="image-gallery">
10
+ {% for file in site.static_files %}
11
+ {% if file.path contains include.folder %}
12
+ {% if file.extname == '.png' %}
13
+ {% assign filenameparts = file.path | split: "/" %}
14
+ {% assign filename = filenameparts | last | replace: file.extname,"" %}
15
+ <li>
16
+ <a href="{{ file.path | relative_url }}" title="{{ filename }}">
17
+ <img src="{{ file.path }}"
18
+ alt="{{ filename }}" class="figure"
19
+ title="{{ filename }}" />
20
+ </a>
21
+ </li>
22
+ {% endif %}
23
+ {% endif %}
24
+ {% endfor %}
25
+ </ul>
@@ -0,0 +1,48 @@
1
+ ---
2
+ layout: compress
3
+ ---
4
+
5
+ {% include head.html %}
6
+
7
+ <main>
8
+
9
+ {% include header.html %}
10
+
11
+ {{ content }}
12
+
13
+ <ul class="blog-posts">
14
+ {% for post in site.posts %}
15
+ {% for tag in post.tags %}
16
+ <li>
17
+ <span>
18
+ <i>
19
+ <time datetime="2022-01-28" pubdate="">
20
+ {{ post.date | date: "%b %-d, %Y" }}
21
+ </time>
22
+ </i>
23
+ </span>
24
+ <a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
25
+ </li>
26
+ {% endfor %}
27
+ {% endfor %}
28
+
29
+ </ul>
30
+
31
+ <small>
32
+
33
+ {% for tag in site.tags %}
34
+
35
+ {% assign tag_slug = tag | first %}
36
+ {% assign no_of_posts = tag | last | size %}
37
+
38
+ <a href="{{ 'tagged/' | relative_url }}{{ tag_slug }}" title="See all posts by {{ tag_slug }} tag">#{{ tag_slug }}</a>
39
+ {% endfor %}
40
+ </small>
41
+
42
+ </main>
43
+
44
+ {% include footer.html %}
45
+
46
+ </body>
47
+
48
+ </html>
@@ -0,0 +1,10 @@
1
+ ---
2
+ # Jekyll layout that compresses HTML
3
+ # v3.0.2
4
+ # http://jch.penibelst.de/
5
+ # © 2014–2015 Anatol Broder
6
+ # MIT License
7
+ ---
8
+
9
+ {% capture _LINE_FEED %}
10
+ {% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
@@ -0,0 +1,18 @@
1
+ ---
2
+ layout: compress
3
+ ---
4
+
5
+ {% include head.html %}
6
+
7
+ <main>
8
+
9
+ {% include header.html %}
10
+
11
+ {{ content }}
12
+
13
+ </main>
14
+
15
+ {% include footer.html %}
16
+
17
+ </body>
18
+ </html>
@@ -0,0 +1,23 @@
1
+ ---
2
+ layout: compress
3
+ ---
4
+
5
+ {% include head.html %}
6
+
7
+ <main>
8
+
9
+ {% include header.html %}
10
+
11
+ <h1>{{ page.title }}</h1>
12
+ <i>{{ page.date | date: "%b %d, %Y" }}</i>
13
+ <h4 class="subtitle">{{ page.subtitle }}</h4>
14
+
15
+ {{ page.content }}
16
+
17
+ </main>
18
+
19
+ {% include footer-post.html %}
20
+
21
+ </body>
22
+
23
+ </html>
@@ -0,0 +1,24 @@
1
+ ---
2
+ layout: compress
3
+ ---
4
+
5
+ {% include head.html %}
6
+
7
+ <main>
8
+
9
+ {% include header.html %}
10
+
11
+ <article>
12
+
13
+ <h1>{{ page.title }}</h1>
14
+
15
+ {{ content }}
16
+
17
+ </article>
18
+
19
+ </main>
20
+
21
+ {% include footer.html %}
22
+
23
+ </body>
24
+ </html>
@@ -0,0 +1,26 @@
1
+ ---
2
+ layout: compress
3
+ ---
4
+
5
+ {% include head.html %}
6
+
7
+ <main>
8
+
9
+ {% include header.html %}
10
+
11
+
12
+ <h1>{{ page.title }}</h1>
13
+ <i>{{ page.date | date: "%b %d, %Y" }}</i>
14
+ <h4 class="subtitle">{{ page.subtitle }}</h4>
15
+
16
+ {{ page.content }}
17
+
18
+
19
+
20
+ </main>
21
+
22
+ {% include footer-post.html %}
23
+
24
+ </body>
25
+
26
+ </html>
@@ -0,0 +1,48 @@
1
+ ---
2
+ layout: compress
3
+ ---
4
+
5
+ {% include head.html %}
6
+
7
+ <main>
8
+
9
+ {% include header.html %}
10
+
11
+ {{ content }}
12
+
13
+ {% if site.tags[page.slug] %}
14
+ <p>
15
+ Here be writings, tagged as <b>"{{ page.slug }}"</b>.<br>
16
+ <small><a href="{{ site.baseurl }}{{ site.Blog }}">Remove filter</a></small>
17
+ </p>
18
+
19
+ <ul class="blog-posts">
20
+ {% for post in site.tags[page.slug] %}
21
+ {% for tag in post.tags %}
22
+ <li>
23
+ <span>
24
+ <i>
25
+ <time datetime="2022-01-28" pubdate="">
26
+ {{ post.date | date: "%b %-d, %Y" }}
27
+ </time>
28
+ </i>
29
+ </span>
30
+ <a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
31
+ </li>
32
+ {% endfor %}
33
+ {% endfor %}
34
+
35
+ </ul>
36
+ {% else %}
37
+ <p>
38
+ There are no posts in {{ page.slug }}.
39
+ </p>
40
+ {% endif %}
41
+
42
+ </main>
43
+
44
+ {% include footer.html %}
45
+
46
+ </body>
47
+
48
+ </html>
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
data/assets/style.css ADDED
@@ -0,0 +1,346 @@
1
+ body {
2
+ font-family: Verdana, sans-serif;
3
+ margin: auto;
4
+ padding: 20px;
5
+ max-width: 720px;
6
+ text-align: left;
7
+ background-color: #fff;
8
+ word-wrap: break-word;
9
+ overflow-wrap: break-word;
10
+ line-height: 1.5;
11
+ color: #444;
12
+ }
13
+
14
+ /* Hide scrollbar for Chrome, Safari and Opera */
15
+ html::-webkit-scrollbar {
16
+ display: none;
17
+ }
18
+
19
+ /* Hide scrollbar for IE, Edge and Firefox */
20
+ html {
21
+ -ms-overflow-style: none;
22
+ /* IE and Edge */
23
+ scrollbar-width: none;
24
+ /* Firefox */
25
+ }
26
+
27
+ h1,
28
+ h2,
29
+ h3,
30
+ h4,
31
+ h5,
32
+ h6,
33
+ strong,
34
+ b {
35
+ color: #222;
36
+ }
37
+
38
+ a {
39
+ color: #3273dc;
40
+ cursor: pointer;
41
+ text-decoration: underline;
42
+ /*color: #ff5e6c;*/
43
+ }
44
+
45
+ .title {
46
+ text-decoration: none;
47
+ border: 0;
48
+ }
49
+
50
+ .title h1 {
51
+ font-size: 1.5em;
52
+ }
53
+
54
+ .title span {
55
+ font-weight: 400;
56
+ }
57
+
58
+ .bear::before {
59
+ content: "ᕦʕ •ᴥ•ʔᕤ";
60
+ font-weight: 400;
61
+ }
62
+
63
+ .bear:hover::before {
64
+ content: "ᕙʕ ಠᴥಠʔᕗ";
65
+ font-weight: 400;
66
+ }
67
+
68
+ nav a {
69
+ margin-right: 10px;
70
+ }
71
+
72
+ textarea,
73
+ input:not([type="submit"]) {
74
+ background-color: inherit;
75
+ color: inherit;
76
+ border: 1px dashed;
77
+ padding: 5px;
78
+ font-size: 16px;
79
+ }
80
+
81
+ .full-width textarea,
82
+ .full-width input:not([type="submit"], [type="checkbox"], [type="radio"]) {
83
+ width: calc(100% - 15px);
84
+ }
85
+
86
+ .nav-image {
87
+ height: 3.14rem;
88
+ border-radius: 12.5%;
89
+ }
90
+
91
+ textarea:required,
92
+ input:required:not([type="submit"]) {
93
+ border: 1px solid;
94
+ }
95
+
96
+ textarea.full-screen {
97
+ position: fixed;
98
+ background-color: white;
99
+ top: -2px;
100
+ bottom: -2px;
101
+ left: 0;
102
+ width: calc(100vw - 30px);
103
+ max-width: 720px;
104
+ border: 10px solid;
105
+ border-width: 10px calc(50vw - 370px);
106
+ }
107
+
108
+ @media only screen and (max-width: 750px) {
109
+ textarea.full-screen {
110
+ border-width: 10px;
111
+ }
112
+ }
113
+
114
+ button.floating {
115
+ position: fixed;
116
+ bottom: 20px;
117
+ right: 25px;
118
+ }
119
+
120
+ button#toggle-full-screen {
121
+ float: right;
122
+ }
123
+
124
+ content {
125
+ line-height: 1.6;
126
+ }
127
+
128
+ table {
129
+ width: 100%;
130
+ }
131
+
132
+ hr {
133
+ border-top: 1px dashed;
134
+ }
135
+
136
+ img {
137
+ max-width: 100%;
138
+ }
139
+
140
+ code {
141
+ font-family: monospace;
142
+ padding: 2px;
143
+ background-color: #f2f2f2;
144
+ color: #222;
145
+ border-radius: 3px;
146
+ }
147
+
148
+ .highlight,
149
+ .code {
150
+ padding: 1px 15px;
151
+ background-color: #f2f2f2;
152
+ color: #222;
153
+ border-radius: 3px;
154
+ margin-block-start: 1em;
155
+ margin-block-end: 1em;
156
+ overflow:auto;
157
+ }
158
+
159
+ blockquote {
160
+ border-left: 1px solid #999;
161
+ color: #222;
162
+ padding-left: 20px;
163
+ font-style: italic;
164
+ }
165
+
166
+ footer {
167
+ padding: 25px 0;
168
+ text-align: left;
169
+ }
170
+
171
+ .helptext {
172
+ color: #777;
173
+ font-size: small;
174
+ }
175
+
176
+ .errorlist {
177
+ color: #eba613;
178
+ font-size: small;
179
+ }
180
+
181
+ #id_favicon {
182
+ width: 20px;
183
+ text-align: center;
184
+ }
185
+
186
+ #date-range,
187
+ #initial-values,
188
+ #import-contacts {
189
+ display: none;
190
+ }
191
+
192
+ #date-range:target,
193
+ #initial-values:target,
194
+ #import-contacts:target {
195
+ display: block;
196
+ }
197
+
198
+ /* dashboard post list and analytics */
199
+ ul.post-list {
200
+ list-style-type: none;
201
+ padding: unset;
202
+ }
203
+
204
+ ul.post-list li {
205
+ display: flex;
206
+ padding: 10px 0;
207
+ border-bottom: 1px dashed;
208
+ }
209
+
210
+ ul.post-list li span {
211
+ flex: 0 0 130px;
212
+ }
213
+
214
+ ul.post-list li span.number {
215
+ flex: 0 0 50px;
216
+ }
217
+
218
+ ul.post-list li a {
219
+ flex: max-content;
220
+ }
221
+
222
+ ul.post-list li small {
223
+ text-align: right;
224
+ flex: 0 0 115px;
225
+ }
226
+
227
+ /* blog posts */
228
+ ul.blog-posts {
229
+ list-style-type: none;
230
+ padding: unset;
231
+ }
232
+
233
+ ul.blog-posts li {
234
+ display: flex;
235
+ }
236
+
237
+ ul.blog-posts li span {
238
+ flex: 0 0 130px;
239
+ }
240
+
241
+ ul.blog-posts li a:visited {
242
+ color: #8b6fcb;
243
+ }
244
+
245
+ /* discovery feed */
246
+ ul.discover-posts {
247
+ list-style-type: none;
248
+ padding: unset;
249
+ }
250
+
251
+ ul.discover-posts li {
252
+ display: flex;
253
+ line-height: 1.2;
254
+ }
255
+
256
+ ul.discover-posts li span {
257
+ flex: 0 0 40px;
258
+ }
259
+
260
+ ul.discover-posts li a:visited {
261
+ color: #8b6fcb;
262
+ }
263
+
264
+ ul.discover-posts li div {
265
+ padding-bottom: 8px;
266
+ }
267
+
268
+ ul.discover-posts li small {
269
+ color: #777 !important;
270
+ }
271
+
272
+ ul.discover-posts li small a {
273
+ color: #777 !important;
274
+ }
275
+
276
+
277
+ @media (prefers-color-scheme: dark) {
278
+ body {
279
+ background-color: #01242e;
280
+ color: #ddd;
281
+ }
282
+
283
+ h1,
284
+ h2,
285
+ h3,
286
+ h4,
287
+ h5,
288
+ h6,
289
+ strong,
290
+ b {
291
+ color: #eee;
292
+ }
293
+
294
+ a {
295
+ color: #8cc2dd;
296
+ }
297
+
298
+ code {
299
+ background-color: #777;
300
+ }
301
+
302
+ pre code {
303
+ color: #ddd;
304
+ }
305
+
306
+ blockquote {
307
+ color: #ccc;
308
+ }
309
+
310
+ .helptext {
311
+ color: #aaa;
312
+ }
313
+ }
314
+
315
+
316
+
317
+ ul.blog-posts {
318
+ padding-bottom: 0.61803rem;
319
+ }
320
+
321
+ ul.blog-posts li {
322
+ padding-top: 0.61803rem;
323
+ }
324
+
325
+ small a {
326
+ padding-right: 0.61803rem;
327
+ }
328
+
329
+ hr {
330
+ border: 1.61803px solid;
331
+ }
332
+
333
+ body:hover {
334
+ border-image: ;
335
+ border-width: 0;
336
+ }
337
+
338
+
339
+ small a {
340
+ padding-right: 0.61803rem;
341
+ }
342
+
343
+ .bottom-footer {
344
+ padding: 50px;
345
+ text-align: center;
346
+ }
metadata ADDED
@@ -0,0 +1,113 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-bear-theme
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - knhash
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-08-21 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
+ - !ruby/object:Gem::Dependency
28
+ name: webrick
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 1.7.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 1.7.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: jekyll-redirect-from
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 0.16.0
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 0.16.0
55
+ description:
56
+ email:
57
+ - mail@knhash.in
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - LICENSE.txt
63
+ - README.md
64
+ - _config.yml
65
+ - _includes/footer-post.html
66
+ - _includes/footer.html
67
+ - _includes/head.html
68
+ - _includes/header.html
69
+ - _includes/image-gallery.html
70
+ - _layouts/blog.html
71
+ - _layouts/compress.html
72
+ - _layouts/default.html
73
+ - _layouts/design-post.html
74
+ - _layouts/page.html
75
+ - _layouts/post.html
76
+ - _layouts/tagged.html
77
+ - assets/design_assets/Logo_01.png
78
+ - assets/design_assets/Logo_02.png
79
+ - assets/design_assets/Logo_03.png
80
+ - assets/design_assets/Logo_04.png
81
+ - assets/favicon.ico
82
+ - assets/files/ShashankResume.pdf
83
+ - assets/images/about.png
84
+ - assets/images/apple-touch-icon-dark.png
85
+ - assets/images/apple-touch-icon-light.png
86
+ - assets/images/circle-about-tr.png
87
+ - assets/images/circle-about.ico
88
+ - assets/images/circle-about.png
89
+ - assets/style.css
90
+ homepage: https://knhash.in/jekyllBear
91
+ licenses:
92
+ - MIT
93
+ metadata: {}
94
+ post_install_message:
95
+ rdoc_options: []
96
+ require_paths:
97
+ - lib
98
+ required_ruby_version: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
+ required_rubygems_version: !ruby/object:Gem::Requirement
104
+ requirements:
105
+ - - ">="
106
+ - !ruby/object:Gem::Version
107
+ version: '0'
108
+ requirements: []
109
+ rubygems_version: 3.3.7
110
+ signing_key:
111
+ specification_version: 4
112
+ summary: A minimal, text focused blog theme inspired by Bear Blog
113
+ test_files: []