minimal-jekyll 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 792af2562fd5d8087181212306e72264f20cbc28b00c0aee1b660065d73e0fb4
4
+ data.tar.gz: d4c7e34c199b6ab94cfee53aedcc5955cca09a8d860e246386c0d30d85cf0047
5
+ SHA512:
6
+ metadata.gz: 59f986bbc5a25d597550294980ba4e095ef9f4ada1dc9960aabac2d1af91afb4fc204b82be37daca30fd30f6b4f37dfe16484ac78fdd547b6f6490be12dee90a
7
+ data.tar.gz: 7111a8aa6d1f936f67641efd35505f011e0f2d63f4a4a0849ae4268014285008b69546369b5d42eae1eb9c2d49528945586015bd4e5c30454f11139cbf3beb6d
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Kaijun Zhu
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,56 @@
1
+ # Minimal
2
+
3
+ Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
4
+
5
+ To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
6
+
7
+ TODO: Delete this and the text above, and describe your gem
8
+
9
+ ## 关于
10
+ Minimal是一个正在开发的个人的Jekyll主题,这个主题追求极致的洁简而不失美观与高级感。该主题仍在开发中,部分界面仍不是很美观,将在后续进行优化。你可用通过修改配置config文件来更改主题颜色。
11
+
12
+ ## About
13
+ Minimal is a personal Jekyll theme under development. The theme aims for a minimalistic design that is aesthetically pleasing and sophisticated. Since the theme is still under development, some interfaces may not be visually appealing and will be improved in future updates. You can modify the theme color by editing the configuration file (config).
14
+
15
+ ## Installation
16
+
17
+ Add this line to your Jekyll site's `Gemfile`:
18
+
19
+ ```ruby
20
+ gem "Minimal"
21
+ ```
22
+
23
+ And add this line to your Jekyll site's `_config.yml`:
24
+
25
+ ```yaml
26
+ theme: Minimal
27
+ ```
28
+
29
+ And then execute:
30
+
31
+ $ bundle
32
+
33
+ Or install it yourself as:
34
+
35
+ $ gem install Minimal
36
+
37
+ ## Usage
38
+
39
+ TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
40
+
41
+ ## Contributing
42
+
43
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/Minimal. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](https://www.contributor-covenant.org/) code of conduct.
44
+
45
+ ## Development
46
+
47
+ To set up your environment to develop this theme, run `bundle install`.
48
+
49
+ 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.
50
+
51
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
52
+ To add a custom directory to your theme-gem, please edit the regexp in `Minimal.gemspec` accordingly.
53
+
54
+ ## License
55
+
56
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/_config.yml ADDED
@@ -0,0 +1,50 @@
1
+
2
+ title: Minmal
3
+
4
+ # Build settings
5
+ markdown: kramdown
6
+
7
+ # Plugins
8
+ plugins:
9
+ - jekyll-paginate
10
+ - jekyll-sitemap
11
+ - jekyll-gist
12
+ - jekyll-feed
13
+ - jemoji
14
+ - jekyll-include-cache
15
+
16
+ permalink: /:categories/:title/
17
+ paginate: 5 # amount of posts to show
18
+ paginate_path: /page:num/
19
+
20
+ include:
21
+ - _pages
22
+
23
+
24
+ # collections:
25
+ # splashs:
26
+ # output: true
27
+ # permalink: /:collections/:path/
28
+
29
+
30
+ defaults:
31
+ # _posts
32
+ - scope:
33
+ path: ""
34
+ type: posts
35
+ values:
36
+ layout: single
37
+
38
+ # _page
39
+ - scope:
40
+ path: "_pages"
41
+ type: pages
42
+ values:
43
+ layout: single
44
+
45
+ # _imgae
46
+ # - scope:
47
+ # path: "_splash"
48
+ # type: splash
49
+ # values:
50
+ # layout: splash
@@ -0,0 +1,9 @@
1
+ main:
2
+ - title: "Home"
3
+ url: "/"
4
+ - title: "Archive"
5
+ url: "/archive/"
6
+ - title: "splash"
7
+ url: "/splash"
8
+ - title: "About"
9
+ url: "https://kaijunzhu.com"
@@ -0,0 +1,19 @@
1
+ <article class="post">
2
+ <div class="post-header">
3
+ {% assign date = post.date | default: page.date %}
4
+ {% assign date_format = site.date_format | default: "%B.%-d.%Y" %}
5
+ <h2>
6
+ <!-- TODO: title of date -->
7
+ {% if post.title %}
8
+ <a href="{{ post.url }}">{{ post.title }}</a>
9
+ {% else %}
10
+ {% assign date_title_format = site.date_format | default: "%Y.%-b.%-d" %}
11
+ <a href="{{ post.url }}">{{ date | date: date_format }}</a>
12
+ {% endif %}
13
+ </h2>
14
+ <time datetime="{{ date | date_to_xmlschema }}">{{ date | date: date_format }}</time>
15
+ </div>
16
+ <section>
17
+ {{ post.content }}
18
+ </section>
19
+ </article>
@@ -0,0 +1,3 @@
1
+ <div class="footer-copyright">
2
+ &copy; 2022 {{ site.title }}.
3
+ </div>
@@ -0,0 +1,12 @@
1
+ <meta charset="UTF-8">
2
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
3
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
4
+ <link rel="preconnect" href="https://fonts.googleapis.com">
5
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
6
+ <link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
7
+ <link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
8
+
9
+ <meta name="theme-color" content="white" media="(prefers-color-scheme: light)">
10
+ <meta name="theme-color" content="black" media="(prefers-color-scheme: dark)">
11
+
12
+ <title>{{ site.title }}</title>
@@ -0,0 +1,3 @@
1
+ <header>
2
+ <h1 class="site-title">{{ site.title }}</h1>
3
+ </header>
@@ -0,0 +1,8 @@
1
+ <div class="main">
2
+ <div class="archive">
3
+ {% for post in posts %}
4
+ {% include archive-single.html %}
5
+ {% endfor %}
6
+ </div>
7
+ {% include pagination.html %}
8
+ </div>
@@ -0,0 +1,8 @@
1
+ <ul class="nav-menu">
2
+ {%- for link in site.data.navigation.main -%}
3
+ <li class="nav-menu-item">
4
+ <a href="{{ link.url | relative_url }}">{{ link.title }}</a>
5
+ </li>
6
+ {%- endfor -%}
7
+ </li>
8
+ </ul>
@@ -0,0 +1,20 @@
1
+ {% if paginator.total_pages > 1 %}
2
+ <div class="pagination">
3
+ {% assign first_page_path = paginator.first_page_path | default: site.paginate_path | replace: 'page:num', '' | replace: '//', '/' | relative_url %}
4
+ {% if paginator.previous_page %}
5
+ {% if paginator.previous_page == 1%}
6
+ <a href="{{ first_page_path }}" class="previous">Previous</a>
7
+ {% else %}
8
+ <a href="{{ site.paginate_path | replace: ':num', paginator.previous_page | replace: '//', '/' | relative_url }}" class="previous">Previous</a>
9
+ {% endif %}
10
+ {% else %}
11
+ <span>Previous</span>
12
+ {% endif %}
13
+
14
+ {% if paginator.page < paginator.total_pages %}
15
+ <a href="{{ site.paginate_path | replace: ':num', paginator.next_page | replace: '//', '/' | relative_url }}" class="next">Next</a>
16
+ {% else %}
17
+ <span>Next</span>
18
+ {% endif %}
19
+ </div>
20
+ {% endif %}
@@ -0,0 +1,19 @@
1
+ {% if page.previous or page.next %}
2
+ <div class="pagination">
3
+ {% if page.next %}
4
+ <!-- <a href="{{ page.next.url | relative_url }}" class="next" title="{{ page.next.title | markdownify | strip_html }}">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a> -->
5
+ <a href="{{ page.next.url | relative_url }}" class="next" title="{{ page.next.title | markdownify | strip_html }}">Newer</a>
6
+ {% else %}
7
+ <!-- <span>{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</span> -->
8
+ <span>Newer</span>
9
+ {% endif %}
10
+
11
+ {% if page.previous %}
12
+ <!-- <a href="{{ page.previous.url | relative_url }}" title="{{ page.previous.title | markdownify | strip_html }}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a> -->
13
+ <a href="{{ page.previous.url | relative_url }}" title="{{ page.previous.title | markdownify | strip_html }}">Older</a>
14
+ {% else %}
15
+ <!-- <span>{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</span> -->
16
+ <span>Older</span>
17
+ {% endif %}
18
+ </div>
19
+ {% endif %}
@@ -0,0 +1,18 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="archive">
6
+ {% for post in site.posts %}
7
+ {% if post.type != "photo" %}
8
+ <article class="post">
9
+ <div class="post-header">
10
+ <h2>
11
+ <a href="{{ post.url }}">{{ post.title }}</a>
12
+ </h2>
13
+ <time class="post-date">{{ post.date | replace: "-", " "}}</time>
14
+ </div>
15
+ </article>
16
+ {% endif %}
17
+ {% endfor %}
18
+ </div>
@@ -0,0 +1,25 @@
1
+ ---
2
+ ---
3
+ <!DOCTYPE html>
4
+ <html lang="en">
5
+ <head>
6
+ {% include_cached head.html %}
7
+ </head>
8
+
9
+ <body>
10
+ {% include_cached header.html %}
11
+ <div class="initial-content">
12
+ <div class="nav">
13
+ {% include_cached navigation.html %}
14
+ </div>
15
+ <div class="main">
16
+ {{ content }}
17
+ </div>
18
+ </div>
19
+
20
+ <!-- <footer>
21
+ {% include_cached footer.html %}
22
+ </footer> -->
23
+
24
+ </body>
25
+ </html>
@@ -0,0 +1,18 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {% if paginator %}
6
+ {% assign posts = paginator.posts %}
7
+ {% else %}
8
+ {% assign posts = site.posts %}
9
+ {% endif %}
10
+
11
+ <div class="archive">
12
+ {% for post in posts %}
13
+ <!-- {% if post.type != "photo" %} -->
14
+ {% include archive-single.html %}
15
+ <!-- {% endif %} -->
16
+ {% endfor %}
17
+ </div>
18
+ {% include pagination.html %}
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: single
3
+ ---
4
+
5
+ {{ content }}
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: single
3
+ ---
4
+
5
+ {{ content }}
@@ -0,0 +1,20 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="archive">
6
+ <div class="archive">
7
+ <article class="post">
8
+ <div class="post-header">
9
+ <h2>
10
+ {{ page.title }}
11
+ </h2>
12
+ <time class="post-date">{{ page.date }}</time>
13
+ </div>
14
+ <section>
15
+ {{ content }}
16
+ </section>
17
+ </article>
18
+ </div>
19
+ </div>
20
+ {% include post-pagination.html %}
@@ -0,0 +1,32 @@
1
+ ---
2
+ ---
3
+ <!DOCTYPE html>
4
+ <html lang="en">
5
+ <head>
6
+ {% include_cached head.html %}
7
+ </head>
8
+
9
+ <body>
10
+
11
+ <header class="splash-header">
12
+ <h1 class="site-title">{{ site.title }}</h1>
13
+ </header>
14
+ <div class="initial-content">
15
+ <div class="nav">
16
+ {% include_cached navigation.html %}
17
+ </div>
18
+ <div class="splash-main">
19
+ <div class="thumbnails">
20
+ <div class="thumb-single">
21
+ <img src="{{ page.img }}" alt="">
22
+ </div>
23
+ </div>
24
+ </div>
25
+ </div>
26
+
27
+ <!-- <footer>
28
+ {% include_cached footer.html %}
29
+ </footer> -->
30
+
31
+ </body>
32
+ </html>
@@ -0,0 +1,58 @@
1
+ ---
2
+ ---
3
+ <!DOCTYPE html>
4
+ <html lang="en">
5
+ <head>
6
+ {% include_cached head.html %}
7
+ </head>
8
+
9
+ <body>
10
+
11
+ <header class="splash-header">
12
+ <h1 class="site-title">{{ site.title }}</h1>
13
+ </header>
14
+ <div class="initial-content">
15
+ <div class="nav">
16
+ {% include_cached navigation.html %}
17
+ </div>
18
+ <div class="splash-main">
19
+ <div class="thumbnails">
20
+ {% for collection in site.collections %}
21
+ {% for post in collection.docs %}
22
+ {% unless collection.output == false or collection.label == "posts" %}
23
+ <div class="thumbbox">
24
+ <div class="thumb">
25
+ <a class="thubm-a" href="{{ post.url }}">
26
+ <img src="{{ post.img }}" alt="">
27
+ </a>
28
+ </div>
29
+ </div>
30
+ {% endunless %}
31
+ {% endfor %}
32
+ {% endfor %}
33
+ <!-- {% for post in site.posts %}
34
+ {% if post.type == "photo" %}
35
+ <div class="thumbbox">
36
+ <div class="thumb">
37
+ <a class="thubm-a" href="{{ post.url }}">
38
+ <img src="{{ post.img }}" alt="">
39
+ </a>
40
+ </div>
41
+ </div>
42
+ {% endif %}
43
+ {% endfor %} -->
44
+ </div>
45
+ </div>
46
+ </div>
47
+
48
+ <!-- <footer>
49
+ {% include_cached footer.html %}
50
+ </footer> -->
51
+
52
+ </body>
53
+ </html>
54
+
55
+
56
+
57
+
58
+ <!-- {% include pagination.html %} -->
@@ -0,0 +1,74 @@
1
+ :root {
2
+ -webkit-box-sizing: border-box;
3
+ box-sizing: border-box;
4
+
5
+ // overflow-x: hidden;
6
+ }
7
+
8
+ body {
9
+ font-family: 'Source Code Pro', monospace;
10
+ background-color: $theme-bg-color;
11
+ color: black;
12
+ position: relative;
13
+ -webkit-transition: color .5s, background-color .5s, -webkit-transform .5s;
14
+ transition: color .5s, background-color .5s, transform .5s;
15
+ }
16
+
17
+ a {
18
+ transition: all .1s ease-in-out;
19
+ color: $theme-text-color;
20
+ text-decoration: none;
21
+ text-underline-offset: 0rem;
22
+ bottom: 0em;
23
+ }
24
+
25
+ a:hover {
26
+ position: relative;
27
+ bottom: 0.05rem;
28
+ cursor: pointer;
29
+ text-decoration: underline;
30
+ text-decoration-style: solid;
31
+ text-underline-offset: 0.3rem;
32
+ }
33
+
34
+ .initial-content {
35
+ display: flex;
36
+ margin: 0;
37
+ height: 100%;
38
+ }
39
+
40
+ @media (max-width: 52em) {
41
+ .initial-content {
42
+ display: block;
43
+ }
44
+
45
+ .nav {
46
+ float: left;
47
+ width: 100%;
48
+ display: block;
49
+ }
50
+
51
+ .nav ul {
52
+ text-align: center;
53
+ }
54
+
55
+ .nav ul li {
56
+ display: inline;
57
+ list-style: none;
58
+ }
59
+
60
+ .main {
61
+ // float: left;
62
+ margin-left: 1em;
63
+ margin-right: 1em;
64
+ width: auto;
65
+ }
66
+
67
+ header {
68
+ margin-top: 1em;
69
+ }
70
+
71
+ section {
72
+ font-size: 1em;
73
+ }
74
+ }
@@ -0,0 +1,19 @@
1
+ @media (prefers-color-scheme: dark) {
2
+ body {
3
+ background-color: $theme-bg-color-dark;
4
+ color: white;
5
+ }
6
+
7
+ header h1 {
8
+ color: $theme-text-color-dark;
9
+ }
10
+
11
+ a {
12
+ color: $theme-text-color-dark;
13
+ }
14
+
15
+ .pagination a:hover {
16
+ background-color: $theme-text-color-dark;
17
+ color: $theme-bg-color-dark;
18
+ }
19
+ }
@@ -0,0 +1,13 @@
1
+ footer {
2
+ position: absolute;
3
+ width: 100%;
4
+ bottom: 0;
5
+ bottom: 2em;
6
+ // margin-top: 2em;
7
+ // margin-bottom: 2em;
8
+ }
9
+
10
+ .footer-copyright {
11
+ text-align: center;
12
+ color: gray;
13
+ }
@@ -0,0 +1,16 @@
1
+ header {
2
+ width: 100%;
3
+ // margin: auto;
4
+ font-size: 1.5em;
5
+ color: $theme-text-color;
6
+ margin-top: 4em;
7
+ margin-bottom: 1em;
8
+ letter-spacing: .2em;
9
+ }
10
+
11
+ header h1 {
12
+ display: flex;
13
+ justify-content: center;
14
+ text-transform: uppercase;
15
+ text-align: center;
16
+ }
@@ -0,0 +1,22 @@
1
+ .nav {
2
+ float: left;
3
+ width: 15%;
4
+ height: 100%;
5
+ position: -webkit-sticky;
6
+ position: sticky;
7
+ top: 3em;
8
+ }
9
+
10
+ .nav ul {
11
+ font-style: italic;
12
+ font-weight: lighter;
13
+ list-style: none;
14
+ text-align: right;
15
+ padding-right: 1em;
16
+ }
17
+
18
+ .nav li {
19
+ padding: .2em;
20
+ font-size: 1.1em;
21
+ text-transform: uppercase;
22
+ }
@@ -0,0 +1,38 @@
1
+ .main {
2
+ float: left;
3
+ width: 85%;
4
+ margin-right: 2em;
5
+ margin-top: -1em;
6
+ }
7
+
8
+ .post {
9
+ text-align: justify;
10
+ }
11
+
12
+ .post-header {
13
+ font-size: 1.5em;
14
+ }
15
+
16
+ .post-header h2 {
17
+ margin-bottom: 0em;
18
+ }
19
+
20
+ .post-header time {
21
+ font-size: 0.8em;
22
+ color: gray;
23
+ }
24
+
25
+ section {
26
+ font-size: 1.2em;
27
+ }
28
+
29
+ section blockquote {
30
+ margin-left: 0;
31
+ padding-left: 1em;
32
+ border-left: 0.25rem solid gray;
33
+ }
34
+
35
+ section img {
36
+ width: 100%;
37
+ border-radius: .5em;
38
+ }
@@ -0,0 +1,34 @@
1
+ .pagination {
2
+ width: 100%;
3
+ text-align: center;
4
+ font-weight: bold;
5
+ }
6
+
7
+ .pagination a, span{
8
+ float: left;
9
+ width: 50%;
10
+ margin: 2em 0;
11
+ padding: 1.4em 0;
12
+ font-size: 1.2em;
13
+ }
14
+
15
+ .pagination span {
16
+ color: gray;
17
+ }
18
+
19
+ .pagination a:first-child{
20
+ border-top-left-radius: 0.2em;
21
+ border-bottom-left-radius: 0.2em;
22
+ }
23
+
24
+ .pagination a:last-child {
25
+ border-top-right-radius: 0.2em;
26
+ border-bottom-right-radius: 0.2em;
27
+ }
28
+
29
+ .pagination a:hover {
30
+ background-color: $theme-text-color;
31
+ color: $theme-bg-color;
32
+ cursor: pointer;
33
+ text-decoration: none;
34
+ }
@@ -0,0 +1,100 @@
1
+ .splash-header {
2
+ width: 15%;
3
+ // margin-left: 0em;
4
+ // font-size: 1.5em;
5
+ font-size: 1.5vw;
6
+ margin-top: 4em;
7
+ margin-bottom: 1em;
8
+ letter-spacing: .2em;
9
+ // line-height: 1.5em;
10
+ }
11
+
12
+ .splash-header h1 {
13
+ display: flex;
14
+ text-align: center;
15
+ text-transform: uppercase;
16
+ }
17
+
18
+ .splash-main {
19
+ float: left;
20
+ width: 85%;
21
+ margin-right: 2em;
22
+ margin-top: -5em;
23
+ }
24
+
25
+ .thubmbnails {
26
+ display: block;
27
+ }
28
+
29
+ .thumbbox {
30
+ padding: 0.3em;
31
+ width: calc(100% / 4 - 0.6em);
32
+ float: left;
33
+ transition: all .5s;
34
+ }
35
+
36
+ .thumb a:hover {
37
+ position: static;
38
+ }
39
+
40
+ .thumb-single {
41
+ text-align: center;
42
+ }
43
+
44
+ .thumb-single img {
45
+ // height: 100%;
46
+ max-height: 80vh;
47
+ }
48
+
49
+ @media (max-width: 90em) {
50
+ .thumbbox {
51
+ width: calc(100% / 3 - 0.6em);
52
+ }
53
+ }
54
+
55
+ @media (max-width: 70em) {
56
+ .thumbbox {
57
+ width: calc(100% / 2 - 0.6em);
58
+ }
59
+ }
60
+
61
+ @media (max-width: 45em) {
62
+ .thumbbox {
63
+ width: calc(100% / 1 - 0.6em);
64
+ }
65
+ }
66
+
67
+
68
+ .thumb {
69
+ position: relative;
70
+ width: 100%;
71
+ padding-bottom: 100%;
72
+ height: 0;
73
+ float: left;
74
+ }
75
+
76
+ .thumb img {
77
+ height: 100%;
78
+ width: 100%;
79
+ position: absolute;
80
+ object-fit: cover;
81
+ }
82
+
83
+ @media (max-width: 52em) {
84
+
85
+ .splash-main {
86
+ // float: left;
87
+ display: block;
88
+ margin-top: 1em;
89
+ margin-left: 1em;
90
+ margin-right: 1em;
91
+ width: calc(100% - 2em);
92
+ }
93
+
94
+ .splash-header {
95
+ // margin-top: 1em;
96
+ width: 100%;
97
+ font-size: 1.5em;
98
+ margin-top: 1em;
99
+ }
100
+ }
@@ -0,0 +1,9 @@
1
+ $theme-text-color: #BC3430;
2
+ // $theme-text-color: white;
3
+ // $theme-text-color-dark: #BC3430;
4
+ $theme-text-color-dark: #FF770F;
5
+ //$theme-text-color-dark: #F4CA45;
6
+
7
+ $theme-bg-color: white;
8
+ //$theme-bg-color: #F4CA45;
9
+ $theme-bg-color-dark: black;
@@ -0,0 +1,13 @@
1
+ @import "minimal/variables";
2
+
3
+
4
+ @import "minimal/pagination";
5
+ @import "minimal/footer";
6
+ @import "minimal/header";
7
+ @import "minimal/navigation";
8
+ @import "minimal/page";
9
+ @import "minimal/splash";
10
+
11
+ @import "minimal/base";
12
+
13
+ @import "minimal/dark";
@@ -0,0 +1,7 @@
1
+ ---
2
+ # Only the main Sass file needs front matter (the dashes are enough)
3
+ ---
4
+
5
+ @charset "utf-8";
6
+
7
+ @import "minimal"; // main partials
Binary file
Binary file
metadata ADDED
@@ -0,0 +1,90 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: minimal-jekyll
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Heyya
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2023-07-31 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.3'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4.3'
27
+ description:
28
+ email:
29
+ executables: []
30
+ extensions: []
31
+ extra_rdoc_files: []
32
+ files:
33
+ - LICENSE
34
+ - README.md
35
+ - _config.yml
36
+ - _data/navigation.yml
37
+ - _includes/archive-single.html
38
+ - _includes/footer.html
39
+ - _includes/head.html
40
+ - _includes/header.html
41
+ - _includes/main.html
42
+ - _includes/navigation.html
43
+ - _includes/pagination.html
44
+ - _includes/post-pagination.html
45
+ - _layouts/archive.html
46
+ - _layouts/default.html
47
+ - _layouts/home.html
48
+ - _layouts/page.html
49
+ - _layouts/post.html
50
+ - _layouts/single.html
51
+ - _layouts/splash-single.html
52
+ - _layouts/splash.html
53
+ - _sass/minimal.scss
54
+ - _sass/minimal/_base.scss
55
+ - _sass/minimal/_dark.scss
56
+ - _sass/minimal/_footer.scss
57
+ - _sass/minimal/_header.scss
58
+ - _sass/minimal/_navigation.scss
59
+ - _sass/minimal/_page.scss
60
+ - _sass/minimal/_pagination.scss
61
+ - _sass/minimal/_splash.scss
62
+ - _sass/minimal/_variables.scss
63
+ - assets/css/main.scss
64
+ - assets/image/splash1.png
65
+ - assets/image/splash2.png
66
+ homepage: https://memo.kaijunzhu.com
67
+ licenses:
68
+ - MIT
69
+ metadata: {}
70
+ post_install_message:
71
+ rdoc_options: []
72
+ require_paths:
73
+ - lib
74
+ required_ruby_version: !ruby/object:Gem::Requirement
75
+ requirements:
76
+ - - ">="
77
+ - !ruby/object:Gem::Version
78
+ version: '0'
79
+ required_rubygems_version: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: '0'
84
+ requirements: []
85
+ rubygems_version: 3.3.7
86
+ signing_key:
87
+ specification_version: 4
88
+ summary: Minimal aims for a minimalistic design that is aesthetically pleasing and
89
+ sophisticated.
90
+ test_files: []