jekyll-theme-midnight-mountains 0.1.0
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 +7 -0
- data/CHANGELOG.md +5 -0
- data/CODE_OF_CONDUCT.md +84 -0
- data/LICENSE.txt +21 -0
- data/README.md +94 -0
- data/_layouts/default.html +55 -0
- data/_layouts/home.html +139 -0
- data/_layouts/home.html~ +96 -0
- data/_layouts/page.html +12 -0
- data/_layouts/post.html +15 -0
- data/assets/css/midnight-mountains.scss +492 -0
- data/lib/jekyll/theme/midnight/mountains/version.rb +15 -0
- data/lib/jekyll/theme/midnight/mountains.rb +20 -0
- data/lib/jekyll-theme-midnight-mountains/version.rb +5 -0
- data/lib/jekyll-theme-midnight-mountains.rb +3 -0
- metadata +175 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: c9cebbfd6159575108eb4813833cc441087c31b11952d3f64f2220658fcc7bca
|
|
4
|
+
data.tar.gz: 706de40262c65be1486dcffc2c56b901b34dfecc67d2ad11fa83129f4abd24a9
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: c9e4d407c18b7754889be92345137d33158932508168a26e928463316b4f686b953a61d230fbed7ac3339c59fb5eeafe75d0a114c2c916790aa14153c279eb2f
|
|
7
|
+
data.tar.gz: 573e10197966422f5f6191873745edb458f6eee699796dc4ace8b69903f54c776580cd8c3d7bfbeb3f47f2a0d3382673b5bed61ebe1c9195622aacd98e638276
|
data/CHANGELOG.md
ADDED
data/CODE_OF_CONDUCT.md
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Pledge
|
|
4
|
+
|
|
5
|
+
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
|
|
6
|
+
|
|
7
|
+
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
|
|
8
|
+
|
|
9
|
+
## Our Standards
|
|
10
|
+
|
|
11
|
+
Examples of behavior that contributes to a positive environment for our community include:
|
|
12
|
+
|
|
13
|
+
* Demonstrating empathy and kindness toward other people
|
|
14
|
+
* Being respectful of differing opinions, viewpoints, and experiences
|
|
15
|
+
* Giving and gracefully accepting constructive feedback
|
|
16
|
+
* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
|
|
17
|
+
* Focusing on what is best not just for us as individuals, but for the overall community
|
|
18
|
+
|
|
19
|
+
Examples of unacceptable behavior include:
|
|
20
|
+
|
|
21
|
+
* The use of sexualized language or imagery, and sexual attention or
|
|
22
|
+
advances of any kind
|
|
23
|
+
* Trolling, insulting or derogatory comments, and personal or political attacks
|
|
24
|
+
* Public or private harassment
|
|
25
|
+
* Publishing others' private information, such as a physical or email
|
|
26
|
+
address, without their explicit permission
|
|
27
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
|
28
|
+
professional setting
|
|
29
|
+
|
|
30
|
+
## Enforcement Responsibilities
|
|
31
|
+
|
|
32
|
+
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
|
|
33
|
+
|
|
34
|
+
Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
|
|
35
|
+
|
|
36
|
+
## Scope
|
|
37
|
+
|
|
38
|
+
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
|
|
39
|
+
|
|
40
|
+
## Enforcement
|
|
41
|
+
|
|
42
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at palak.mathur@gmail.com. All complaints will be reviewed and investigated promptly and fairly.
|
|
43
|
+
|
|
44
|
+
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
|
|
45
|
+
|
|
46
|
+
## Enforcement Guidelines
|
|
47
|
+
|
|
48
|
+
Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
|
|
49
|
+
|
|
50
|
+
### 1. Correction
|
|
51
|
+
|
|
52
|
+
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
|
|
53
|
+
|
|
54
|
+
**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
|
|
55
|
+
|
|
56
|
+
### 2. Warning
|
|
57
|
+
|
|
58
|
+
**Community Impact**: A violation through a single incident or series of actions.
|
|
59
|
+
|
|
60
|
+
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
|
|
61
|
+
|
|
62
|
+
### 3. Temporary Ban
|
|
63
|
+
|
|
64
|
+
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
|
|
65
|
+
|
|
66
|
+
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
|
|
67
|
+
|
|
68
|
+
### 4. Permanent Ban
|
|
69
|
+
|
|
70
|
+
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
|
|
71
|
+
|
|
72
|
+
**Consequence**: A permanent ban from any sort of public interaction within the community.
|
|
73
|
+
|
|
74
|
+
## Attribution
|
|
75
|
+
|
|
76
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
|
|
77
|
+
available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
|
|
78
|
+
|
|
79
|
+
Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
|
|
80
|
+
|
|
81
|
+
[homepage]: https://www.contributor-covenant.org
|
|
82
|
+
|
|
83
|
+
For answers to common questions about this code of conduct, see the FAQ at
|
|
84
|
+
https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
|
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Palak Mathur
|
|
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,94 @@
|
|
|
1
|
+
# Midnight Mountains
|
|
2
|
+
|
|
3
|
+
A dark, card-based Jekyll theme with a featured post hero and a bold sidebar layout.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
Add the gem to your site's Gemfile:
|
|
8
|
+
|
|
9
|
+
```ruby
|
|
10
|
+
gem "jekyll-theme-midnight-mountains"
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Then set the theme in `_config.yml`:
|
|
14
|
+
|
|
15
|
+
```yaml
|
|
16
|
+
theme: jekyll-theme-midnight-mountains
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
If you see an error about the `{% seo %}` tag, add the plugins explicitly:
|
|
20
|
+
|
|
21
|
+
```yaml
|
|
22
|
+
plugins:
|
|
23
|
+
- jekyll-seo-tag
|
|
24
|
+
- jekyll-feed
|
|
25
|
+
- jekyll-sitemap
|
|
26
|
+
- jekyll-paginate
|
|
27
|
+
- jekyll-gist
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Usage
|
|
31
|
+
|
|
32
|
+
- Use the `home` layout for the landing page, `page` for pages, and `post` for posts.
|
|
33
|
+
- Add `nav: true` (and optional `nav_order`) to pages to show them in the header nav.
|
|
34
|
+
- Add `footer_links` to `_config.yml` to populate the footer.
|
|
35
|
+
- Set `image` in post front matter to control card backgrounds.
|
|
36
|
+
|
|
37
|
+
Example `index.md`:
|
|
38
|
+
|
|
39
|
+
```yaml
|
|
40
|
+
---
|
|
41
|
+
layout: home
|
|
42
|
+
title: Home
|
|
43
|
+
---
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Example nav page front matter:
|
|
47
|
+
|
|
48
|
+
```yaml
|
|
49
|
+
---
|
|
50
|
+
layout: page
|
|
51
|
+
title: About
|
|
52
|
+
nav: true
|
|
53
|
+
nav_order: 1
|
|
54
|
+
---
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Example footer config:
|
|
58
|
+
|
|
59
|
+
```yaml
|
|
60
|
+
title: Midnight Mountains
|
|
61
|
+
footer_links:
|
|
62
|
+
- title: GitHub
|
|
63
|
+
url: https://github.com/systemhalted/jekyll-theme-midnight-mountains
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
## Demo
|
|
67
|
+
|
|
68
|
+
To run the demo site from the repo root:
|
|
69
|
+
|
|
70
|
+
```sh
|
|
71
|
+
bundle exec jekyll serve --source example
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## Development
|
|
75
|
+
|
|
76
|
+
After checking out the repo, run `bin/setup`, then `bundle exec jekyll serve`.
|
|
77
|
+
|
|
78
|
+
Run the test suite with:
|
|
79
|
+
|
|
80
|
+
```sh
|
|
81
|
+
bundle exec rake test
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
## Contributing
|
|
85
|
+
|
|
86
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/systemhalted/jekyll-theme-midnight-mountains. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/systemhalted/jekyll-theme-midnight-mountains/blob/main/CODE_OF_CONDUCT.md).
|
|
87
|
+
|
|
88
|
+
## License
|
|
89
|
+
|
|
90
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
|
91
|
+
|
|
92
|
+
## Code of Conduct
|
|
93
|
+
|
|
94
|
+
Everyone interacting in the Midnight Mountains project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/systemhalted/jekyll-theme-midnight-mountains/blob/main/CODE_OF_CONDUCT.md).
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="{{ site.lang | default: 'en' }}">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
+
<title>
|
|
7
|
+
{% if page.title %}
|
|
8
|
+
{{ page.title | escape }} -
|
|
9
|
+
{% endif %}
|
|
10
|
+
{{ site.title | default: "Midnight Mountains" | escape }}
|
|
11
|
+
</title>
|
|
12
|
+
<link rel="stylesheet" href="{{ '/assets/css/midnight-mountains.css' | relative_url }}">
|
|
13
|
+
{% seo %}
|
|
14
|
+
</head>
|
|
15
|
+
<body>
|
|
16
|
+
<header class="site-header">
|
|
17
|
+
<div class="wrapper header-content">
|
|
18
|
+
<a class="site-brand" href="{{ '/' | relative_url }}">
|
|
19
|
+
<span class="site-logo" aria-hidden="true"></span>
|
|
20
|
+
<span class="site-title">{{ site.title | default: "Midnight Mountains" | escape }}</span>
|
|
21
|
+
</a>
|
|
22
|
+
{% assign nav_pages = site.pages | where_exp: "page", "page.nav == true" | sort: "nav_order" %}
|
|
23
|
+
{% if nav_pages.size > 0 %}
|
|
24
|
+
<nav class="site-nav" aria-label="Primary">
|
|
25
|
+
{% for nav_page in nav_pages %}
|
|
26
|
+
<a href="{{ nav_page.url | relative_url }}">{{ nav_page.title | escape }}</a>
|
|
27
|
+
{% endfor %}
|
|
28
|
+
</nav>
|
|
29
|
+
{% endif %}
|
|
30
|
+
</div>
|
|
31
|
+
</header>
|
|
32
|
+
|
|
33
|
+
<main class="page-content" role="main">
|
|
34
|
+
{% if page.layout == "home" %}
|
|
35
|
+
{{ content }}
|
|
36
|
+
{% else %}
|
|
37
|
+
<div class="wrapper">
|
|
38
|
+
{{ content }}
|
|
39
|
+
</div>
|
|
40
|
+
{% endif %}
|
|
41
|
+
</main>
|
|
42
|
+
|
|
43
|
+
<footer class="site-footer">
|
|
44
|
+
<div class="wrapper">
|
|
45
|
+
{% if site.footer_links %}
|
|
46
|
+
<div class="footer-links">
|
|
47
|
+
{% for item in site.footer_links %}
|
|
48
|
+
<a href="{{ item.url | relative_url }}">{{ item.title | escape }}</a>
|
|
49
|
+
{% endfor %}
|
|
50
|
+
</div>
|
|
51
|
+
{% endif %}
|
|
52
|
+
</div>
|
|
53
|
+
</footer>
|
|
54
|
+
</body>
|
|
55
|
+
</html>
|
data/_layouts/home.html
ADDED
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: default
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<div class="home-container">
|
|
6
|
+
<div class="wrapper">
|
|
7
|
+
|
|
8
|
+
<!-- Featured Post -->
|
|
9
|
+
{% if site.posts.size > 0 %}
|
|
10
|
+
{% assign featured_post = site.posts.first %}
|
|
11
|
+
<article class="featured-post">
|
|
12
|
+
<div class="post-hero" style="background-image: linear-gradient(135deg, rgba(15, 20, 25, 0.2), rgba(15, 20, 25, 0.75)), url('{{ featured_post.image | default: '/assets/images/default.svg' | relative_url }}')">
|
|
13
|
+
<div class="hero-overlay"></div>
|
|
14
|
+
</div>
|
|
15
|
+
<div class="featured-content">
|
|
16
|
+
<h2 class="post-title">
|
|
17
|
+
<a href="{{ featured_post.url | relative_url }}">
|
|
18
|
+
{{ featured_post.title | escape }}
|
|
19
|
+
</a>
|
|
20
|
+
</h2>
|
|
21
|
+
<p class="post-excerpt">{{ featured_post.excerpt | strip_html | truncatewords: 30 }}</p>
|
|
22
|
+
</div>
|
|
23
|
+
</article>
|
|
24
|
+
{% endif %}
|
|
25
|
+
|
|
26
|
+
<!-- Sidebar and Grid -->
|
|
27
|
+
<div class="content-grid">
|
|
28
|
+
|
|
29
|
+
<!-- Post Grid -->
|
|
30
|
+
<div class="posts-section">
|
|
31
|
+
<div class="post-grid">
|
|
32
|
+
{% for post in site.posts offset:1 limit:8 %}
|
|
33
|
+
<article class="post-card">
|
|
34
|
+
<div class="post-thumbnail" style="background-image: linear-gradient(135deg, rgba(15, 20, 25, 0.2), rgba(15, 20, 25, 0.75)), url('{{ post.image | default: '/assets/images/default.svg' | relative_url }}')">
|
|
35
|
+
<div class="thumbnail-overlay"></div>
|
|
36
|
+
</div>
|
|
37
|
+
<div class="post-info">
|
|
38
|
+
<h3 class="post-card-title">
|
|
39
|
+
<a href="{{ post.url | relative_url }}">
|
|
40
|
+
{{ post.title | escape }}
|
|
41
|
+
</a>
|
|
42
|
+
</h3>
|
|
43
|
+
<p class="post-card-excerpt">{{ post.excerpt | strip_html | truncatewords: 15 }}</p>
|
|
44
|
+
</div>
|
|
45
|
+
</article>
|
|
46
|
+
{% endfor %}
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
|
|
50
|
+
<!-- Sidebar -->
|
|
51
|
+
<aside class="sidebar">
|
|
52
|
+
|
|
53
|
+
<!-- Profile Widget -->
|
|
54
|
+
<div class="widget profile-widget">
|
|
55
|
+
{% assign profile = site.profile %}
|
|
56
|
+
{% if profile %}
|
|
57
|
+
<div class="profile-header">
|
|
58
|
+
<div class="profile-avatar">
|
|
59
|
+
{% if profile.avatar %}
|
|
60
|
+
<img src="{{ profile.avatar | relative_url }}" alt="{{ profile.name | escape }}">
|
|
61
|
+
{% else %}
|
|
62
|
+
<span class="avatar-placeholder" aria-hidden="true"></span>
|
|
63
|
+
{% endif %}
|
|
64
|
+
</div>
|
|
65
|
+
<div class="profile-meta">
|
|
66
|
+
{% if profile.name %}
|
|
67
|
+
<p class="profile-name">{{ profile.name | escape }}</p>
|
|
68
|
+
{% endif %}
|
|
69
|
+
{% if profile.role %}
|
|
70
|
+
<p class="profile-role">{{ profile.role | escape }}</p>
|
|
71
|
+
{% endif %}
|
|
72
|
+
{% if profile.location %}
|
|
73
|
+
<p class="profile-location">{{ profile.location | escape }}</p>
|
|
74
|
+
{% endif %}
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
{% if profile.bio %}
|
|
78
|
+
<p class="profile-bio">{{ profile.bio | escape }}</p>
|
|
79
|
+
{% endif %}
|
|
80
|
+
{% if profile.links %}
|
|
81
|
+
<div class="profile-links">
|
|
82
|
+
{% for link in profile.links %}
|
|
83
|
+
{% if link.url contains "://" %}
|
|
84
|
+
<a href="{{ link.url }}" class="profile-link">{{ link.title | escape }}</a>
|
|
85
|
+
{% else %}
|
|
86
|
+
<a href="{{ link.url | relative_url }}" class="profile-link">{{ link.title | escape }}</a>
|
|
87
|
+
{% endif %}
|
|
88
|
+
{% endfor %}
|
|
89
|
+
</div>
|
|
90
|
+
{% endif %}
|
|
91
|
+
{% else %}
|
|
92
|
+
<div class="profile-header">
|
|
93
|
+
<div class="profile-avatar"></div>
|
|
94
|
+
<div class="profile-lines">
|
|
95
|
+
<div class="line"></div>
|
|
96
|
+
<div class="line"></div>
|
|
97
|
+
<div class="line"></div>
|
|
98
|
+
</div>
|
|
99
|
+
</div>
|
|
100
|
+
{% endif %}
|
|
101
|
+
</div>
|
|
102
|
+
|
|
103
|
+
<!-- Tags Widget -->
|
|
104
|
+
<div class="widget tags-widget">
|
|
105
|
+
<p class="widget-title">Tags</p>
|
|
106
|
+
{% if site.tags.size > 0 %}
|
|
107
|
+
<div class="tag-cloud">
|
|
108
|
+
{% for tag in site.tags %}
|
|
109
|
+
<span class="tag">{{ tag[0] | escape }}</span>
|
|
110
|
+
{% endfor %}
|
|
111
|
+
</div>
|
|
112
|
+
{% else %}
|
|
113
|
+
<p class="widget-empty">No tags yet.</p>
|
|
114
|
+
{% endif %}
|
|
115
|
+
</div>
|
|
116
|
+
|
|
117
|
+
<!-- About Widget -->
|
|
118
|
+
<div class="widget about-widget">
|
|
119
|
+
<p class="widget-title">About</p>
|
|
120
|
+
{% assign about_text = site.sidebar_about | default: site.description %}
|
|
121
|
+
{% if about_text %}
|
|
122
|
+
<p class="about-text">{{ about_text | escape }}</p>
|
|
123
|
+
{% else %}
|
|
124
|
+
<div class="about-lines">
|
|
125
|
+
<div class="line"></div>
|
|
126
|
+
<div class="line"></div>
|
|
127
|
+
<div class="line"></div>
|
|
128
|
+
<div class="line"></div>
|
|
129
|
+
<div class="line short"></div>
|
|
130
|
+
</div>
|
|
131
|
+
{% endif %}
|
|
132
|
+
</div>
|
|
133
|
+
|
|
134
|
+
</aside>
|
|
135
|
+
|
|
136
|
+
</div>
|
|
137
|
+
|
|
138
|
+
</div>
|
|
139
|
+
</div>
|
data/_layouts/home.html~
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: default
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<div class="home-container">
|
|
6
|
+
<div class="wrapper">
|
|
7
|
+
|
|
8
|
+
<!-- Featured Post -->
|
|
9
|
+
{% if site.posts.size > 0 %}
|
|
10
|
+
{% assign featured_post = site.posts.first %}
|
|
11
|
+
<article class="featured-post">
|
|
12
|
+
<div class="post-hero" style="background-image: linear-gradient(135deg, rgba(15, 20, 25, 0.2), rgba(15, 20, 25, 0.75)), url('{{ featured_post.image | default: '/assets/images/mountain-1.jpg' | relative_url }}')">
|
|
13
|
+
<div class="hero-overlay"></div>
|
|
14
|
+
</div>
|
|
15
|
+
<div class="featured-content">
|
|
16
|
+
<h2 class="post-title">
|
|
17
|
+
<a href="{{ featured_post.url | relative_url }}">
|
|
18
|
+
{{ featured_post.title | escape }}
|
|
19
|
+
</a>
|
|
20
|
+
</h2>
|
|
21
|
+
<p class="post-excerpt">{{ featured_post.excerpt | strip_html | truncatewords: 30 }}</p>
|
|
22
|
+
</div>
|
|
23
|
+
</article>
|
|
24
|
+
{% endif %}
|
|
25
|
+
|
|
26
|
+
<!-- Sidebar and Grid -->
|
|
27
|
+
<div class="content-grid">
|
|
28
|
+
|
|
29
|
+
<!-- Post Grid -->
|
|
30
|
+
<div class="posts-section">
|
|
31
|
+
<div class="post-grid">
|
|
32
|
+
{% for post in site.posts offset:1 limit:8 %}
|
|
33
|
+
<article class="post-card">
|
|
34
|
+
<div class="post-thumbnail" style="background-image: linear-gradient(135deg, rgba(15, 20, 25, 0.2), rgba(15, 20, 25, 0.75)), url('{{ post.image | default: '/assets/images/mountain-' | append: forloop.index | append: '.jpg' | relative_url }}')">
|
|
35
|
+
<div class="thumbnail-overlay"></div>
|
|
36
|
+
</div>
|
|
37
|
+
<div class="post-info">
|
|
38
|
+
<h3 class="post-card-title">
|
|
39
|
+
<a href="{{ post.url | relative_url }}">
|
|
40
|
+
{{ post.title | escape }}
|
|
41
|
+
</a>
|
|
42
|
+
</h3>
|
|
43
|
+
<p class="post-card-excerpt">{{ post.excerpt | strip_html | truncatewords: 15 }}</p>
|
|
44
|
+
</div>
|
|
45
|
+
</article>
|
|
46
|
+
{% endfor %}
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
|
|
50
|
+
<!-- Sidebar -->
|
|
51
|
+
<aside class="sidebar">
|
|
52
|
+
|
|
53
|
+
<!-- Profile Widget -->
|
|
54
|
+
<div class="widget profile-widget">
|
|
55
|
+
<div class="profile-avatar"></div>
|
|
56
|
+
<div class="profile-lines">
|
|
57
|
+
<div class="line"></div>
|
|
58
|
+
<div class="line"></div>
|
|
59
|
+
<div class="line"></div>
|
|
60
|
+
</div>
|
|
61
|
+
</div>
|
|
62
|
+
|
|
63
|
+
<!-- Tags Widget -->
|
|
64
|
+
<div class="widget tags-widget">
|
|
65
|
+
<div class="widget-title"></div>
|
|
66
|
+
<div class="tag-cloud">
|
|
67
|
+
<span class="tag">Tag 1</span>
|
|
68
|
+
<span class="tag">Tag 2</span>
|
|
69
|
+
<span class="tag">Tag 3</span>
|
|
70
|
+
<span class="tag">Tag 4</span>
|
|
71
|
+
<span class="tag">Tag 5</span>
|
|
72
|
+
<span class="tag">Tag 6</span>
|
|
73
|
+
<span class="tag">Tag 7</span>
|
|
74
|
+
<span class="tag">Tag 8</span>
|
|
75
|
+
<span class="tag">Tag 9</span>
|
|
76
|
+
</div>
|
|
77
|
+
</div>
|
|
78
|
+
|
|
79
|
+
<!-- About Widget -->
|
|
80
|
+
<div class="widget about-widget">
|
|
81
|
+
<div class="widget-title"></div>
|
|
82
|
+
<div class="about-lines">
|
|
83
|
+
<div class="line"></div>
|
|
84
|
+
<div class="line"></div>
|
|
85
|
+
<div class="line"></div>
|
|
86
|
+
<div class="line"></div>
|
|
87
|
+
<div class="line short"></div>
|
|
88
|
+
</div>
|
|
89
|
+
</div>
|
|
90
|
+
|
|
91
|
+
</aside>
|
|
92
|
+
|
|
93
|
+
</div>
|
|
94
|
+
|
|
95
|
+
</div>
|
|
96
|
+
</div>
|
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: default
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<article class="content-card">
|
|
6
|
+
{% if page.title %}
|
|
7
|
+
<h1 class="content-title">{{ page.title | escape }}</h1>
|
|
8
|
+
{% endif %}
|
|
9
|
+
{% if page.date %}
|
|
10
|
+
<p class="content-meta">{{ page.date | date: "%B %-d, %Y" }}</p>
|
|
11
|
+
{% endif %}
|
|
12
|
+
<div class="content-body">
|
|
13
|
+
{{ content }}
|
|
14
|
+
</div>
|
|
15
|
+
</article>
|
|
@@ -0,0 +1,492 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
|
|
4
|
+
// Color Variables
|
|
5
|
+
$bg-dark: #1a1f2e;
|
|
6
|
+
$bg-darker: #0f1419;
|
|
7
|
+
$card-bg: #2a3348;
|
|
8
|
+
$card-hover: #323d56;
|
|
9
|
+
$text-light: #a8b2c8;
|
|
10
|
+
$text-lighter: #c5cdd9;
|
|
11
|
+
$accent-blue: #5b8fb9;
|
|
12
|
+
$accent-light: #7ba7c7;
|
|
13
|
+
|
|
14
|
+
* {
|
|
15
|
+
margin: 0;
|
|
16
|
+
padding: 0;
|
|
17
|
+
box-sizing: border-box;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
body {
|
|
21
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
|
|
22
|
+
background-color: $bg-darker;
|
|
23
|
+
color: $text-light;
|
|
24
|
+
line-height: 1.6;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.wrapper {
|
|
28
|
+
max-width: 1240px;
|
|
29
|
+
margin: 0 auto;
|
|
30
|
+
padding: 0 20px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// Header
|
|
34
|
+
.site-header {
|
|
35
|
+
background-color: $bg-dark;
|
|
36
|
+
padding: 20px 0;
|
|
37
|
+
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
|
38
|
+
|
|
39
|
+
.header-content {
|
|
40
|
+
display: flex;
|
|
41
|
+
align-items: center;
|
|
42
|
+
gap: 40px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.site-brand {
|
|
46
|
+
display: inline-flex;
|
|
47
|
+
align-items: center;
|
|
48
|
+
gap: 14px;
|
|
49
|
+
text-decoration: none;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.site-title {
|
|
53
|
+
color: $text-lighter;
|
|
54
|
+
font-size: 20px;
|
|
55
|
+
font-weight: 600;
|
|
56
|
+
letter-spacing: 0.02em;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.site-logo {
|
|
60
|
+
width: 45px;
|
|
61
|
+
height: 45px;
|
|
62
|
+
background-color: $accent-blue;
|
|
63
|
+
border-radius: 50%;
|
|
64
|
+
flex-shrink: 0;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.site-nav {
|
|
68
|
+
margin-left: auto;
|
|
69
|
+
display: flex;
|
|
70
|
+
flex-wrap: wrap;
|
|
71
|
+
gap: 18px;
|
|
72
|
+
|
|
73
|
+
a {
|
|
74
|
+
color: $text-light;
|
|
75
|
+
text-decoration: none;
|
|
76
|
+
padding: 8px 20px;
|
|
77
|
+
background-color: rgba(255, 255, 255, 0.05);
|
|
78
|
+
border-radius: 4px;
|
|
79
|
+
transition: all 0.3s ease;
|
|
80
|
+
|
|
81
|
+
&:hover {
|
|
82
|
+
background-color: rgba(255, 255, 255, 0.1);
|
|
83
|
+
color: $text-lighter;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
@media (max-width: 720px) {
|
|
89
|
+
.header-content {
|
|
90
|
+
flex-direction: column;
|
|
91
|
+
align-items: flex-start;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.site-nav {
|
|
95
|
+
margin-left: 0;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
// Main Content
|
|
101
|
+
.page-content {
|
|
102
|
+
min-height: calc(100vh - 200px);
|
|
103
|
+
padding: 40px 0;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.content-card {
|
|
107
|
+
background-color: $card-bg;
|
|
108
|
+
border-radius: 8px;
|
|
109
|
+
padding: 32px;
|
|
110
|
+
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.content-title {
|
|
114
|
+
color: $text-lighter;
|
|
115
|
+
font-size: 32px;
|
|
116
|
+
margin-bottom: 12px;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.content-meta {
|
|
120
|
+
color: $text-light;
|
|
121
|
+
font-size: 14px;
|
|
122
|
+
margin-bottom: 24px;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.content-body {
|
|
126
|
+
color: $text-light;
|
|
127
|
+
line-height: 1.8;
|
|
128
|
+
|
|
129
|
+
p {
|
|
130
|
+
margin-bottom: 18px;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
a {
|
|
134
|
+
color: $accent-light;
|
|
135
|
+
text-decoration: none;
|
|
136
|
+
border-bottom: 1px solid rgba(123, 167, 199, 0.4);
|
|
137
|
+
|
|
138
|
+
&:hover {
|
|
139
|
+
color: $text-lighter;
|
|
140
|
+
border-bottom-color: $accent-light;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.home-container {
|
|
146
|
+
.wrapper {
|
|
147
|
+
max-width: 1400px;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
// Featured Post
|
|
152
|
+
.featured-post {
|
|
153
|
+
margin-bottom: 40px;
|
|
154
|
+
background-color: $card-bg;
|
|
155
|
+
border-radius: 8px;
|
|
156
|
+
overflow: hidden;
|
|
157
|
+
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
158
|
+
|
|
159
|
+
&:hover {
|
|
160
|
+
transform: translateY(-4px);
|
|
161
|
+
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.post-hero {
|
|
165
|
+
height: 300px;
|
|
166
|
+
background-size: cover;
|
|
167
|
+
background-position: center;
|
|
168
|
+
position: relative;
|
|
169
|
+
|
|
170
|
+
.hero-overlay {
|
|
171
|
+
position: absolute;
|
|
172
|
+
inset: 0;
|
|
173
|
+
background: linear-gradient(to bottom, transparent 0%, rgba(26, 31, 46, 0.8) 100%);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.featured-content {
|
|
178
|
+
padding: 30px;
|
|
179
|
+
|
|
180
|
+
.post-title {
|
|
181
|
+
font-size: 28px;
|
|
182
|
+
margin-bottom: 15px;
|
|
183
|
+
|
|
184
|
+
a {
|
|
185
|
+
color: $text-lighter;
|
|
186
|
+
text-decoration: none;
|
|
187
|
+
transition: color 0.3s ease;
|
|
188
|
+
|
|
189
|
+
&:hover {
|
|
190
|
+
color: $accent-light;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.post-excerpt {
|
|
196
|
+
color: $text-light;
|
|
197
|
+
font-size: 16px;
|
|
198
|
+
line-height: 1.7;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
// Content Grid
|
|
204
|
+
.content-grid {
|
|
205
|
+
display: grid;
|
|
206
|
+
grid-template-columns: 1fr 320px;
|
|
207
|
+
gap: 40px;
|
|
208
|
+
|
|
209
|
+
@media (max-width: 1024px) {
|
|
210
|
+
grid-template-columns: 1fr;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
// Post Grid
|
|
215
|
+
.post-grid {
|
|
216
|
+
display: grid;
|
|
217
|
+
grid-template-columns: repeat(2, 1fr);
|
|
218
|
+
gap: 25px;
|
|
219
|
+
|
|
220
|
+
@media (max-width: 768px) {
|
|
221
|
+
grid-template-columns: 1fr;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.post-card {
|
|
226
|
+
background-color: $card-bg;
|
|
227
|
+
border-radius: 8px;
|
|
228
|
+
overflow: hidden;
|
|
229
|
+
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
230
|
+
|
|
231
|
+
&:hover {
|
|
232
|
+
transform: translateY(-4px);
|
|
233
|
+
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
|
|
234
|
+
|
|
235
|
+
.post-thumbnail {
|
|
236
|
+
.thumbnail-overlay {
|
|
237
|
+
background-color: rgba(26, 31, 46, 0.6);
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.post-thumbnail {
|
|
243
|
+
height: 180px;
|
|
244
|
+
background-size: cover;
|
|
245
|
+
background-position: center;
|
|
246
|
+
position: relative;
|
|
247
|
+
|
|
248
|
+
.thumbnail-overlay {
|
|
249
|
+
position: absolute;
|
|
250
|
+
inset: 0;
|
|
251
|
+
background-color: rgba(26, 31, 46, 0.4);
|
|
252
|
+
transition: background-color 0.3s ease;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.post-info {
|
|
257
|
+
padding: 20px;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.post-card-title {
|
|
261
|
+
font-size: 18px;
|
|
262
|
+
margin-bottom: 10px;
|
|
263
|
+
|
|
264
|
+
a {
|
|
265
|
+
color: $text-lighter;
|
|
266
|
+
text-decoration: none;
|
|
267
|
+
transition: color 0.3s ease;
|
|
268
|
+
|
|
269
|
+
&:hover {
|
|
270
|
+
color: $accent-light;
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.post-card-excerpt {
|
|
276
|
+
color: $text-light;
|
|
277
|
+
font-size: 14px;
|
|
278
|
+
line-height: 1.6;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
// Sidebar
|
|
283
|
+
.sidebar {
|
|
284
|
+
display: flex;
|
|
285
|
+
flex-direction: column;
|
|
286
|
+
gap: 25px;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.widget {
|
|
290
|
+
background-color: $card-bg;
|
|
291
|
+
border-radius: 8px;
|
|
292
|
+
padding: 25px;
|
|
293
|
+
|
|
294
|
+
.widget-title {
|
|
295
|
+
color: $text-lighter;
|
|
296
|
+
font-size: 16px;
|
|
297
|
+
font-weight: 600;
|
|
298
|
+
letter-spacing: 0.02em;
|
|
299
|
+
margin-bottom: 16px;
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.profile-widget {
|
|
304
|
+
display: flex;
|
|
305
|
+
flex-direction: column;
|
|
306
|
+
gap: 16px;
|
|
307
|
+
|
|
308
|
+
.profile-header {
|
|
309
|
+
display: flex;
|
|
310
|
+
align-items: center;
|
|
311
|
+
gap: 16px;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.profile-avatar {
|
|
315
|
+
width: 64px;
|
|
316
|
+
height: 64px;
|
|
317
|
+
background-color: $accent-blue;
|
|
318
|
+
border-radius: 50%;
|
|
319
|
+
flex-shrink: 0;
|
|
320
|
+
overflow: hidden;
|
|
321
|
+
display: flex;
|
|
322
|
+
align-items: center;
|
|
323
|
+
justify-content: center;
|
|
324
|
+
|
|
325
|
+
img {
|
|
326
|
+
width: 100%;
|
|
327
|
+
height: 100%;
|
|
328
|
+
object-fit: cover;
|
|
329
|
+
display: block;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.avatar-placeholder {
|
|
333
|
+
width: 28px;
|
|
334
|
+
height: 28px;
|
|
335
|
+
border-radius: 50%;
|
|
336
|
+
background-color: rgba(255, 255, 255, 0.2);
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.profile-meta {
|
|
341
|
+
display: flex;
|
|
342
|
+
flex-direction: column;
|
|
343
|
+
gap: 4px;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.profile-name {
|
|
347
|
+
color: $text-lighter;
|
|
348
|
+
font-size: 18px;
|
|
349
|
+
font-weight: 600;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.profile-role,
|
|
353
|
+
.profile-location {
|
|
354
|
+
color: $text-light;
|
|
355
|
+
font-size: 13px;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
.profile-bio {
|
|
359
|
+
color: $text-light;
|
|
360
|
+
font-size: 14px;
|
|
361
|
+
line-height: 1.6;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.profile-links {
|
|
365
|
+
display: flex;
|
|
366
|
+
flex-wrap: wrap;
|
|
367
|
+
gap: 10px;
|
|
368
|
+
|
|
369
|
+
.profile-link {
|
|
370
|
+
color: $text-lighter;
|
|
371
|
+
background-color: rgba(255, 255, 255, 0.06);
|
|
372
|
+
border-radius: 20px;
|
|
373
|
+
padding: 6px 14px;
|
|
374
|
+
font-size: 12px;
|
|
375
|
+
text-decoration: none;
|
|
376
|
+
transition: all 0.3s ease;
|
|
377
|
+
|
|
378
|
+
&:hover {
|
|
379
|
+
background-color: rgba(255, 255, 255, 0.12);
|
|
380
|
+
transform: translateY(-1px);
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.profile-lines {
|
|
386
|
+
flex: 1;
|
|
387
|
+
display: flex;
|
|
388
|
+
flex-direction: column;
|
|
389
|
+
gap: 8px;
|
|
390
|
+
|
|
391
|
+
.line {
|
|
392
|
+
height: 8px;
|
|
393
|
+
background-color: rgba(255, 255, 255, 0.1);
|
|
394
|
+
border-radius: 4px;
|
|
395
|
+
|
|
396
|
+
&:nth-child(1) {
|
|
397
|
+
width: 80%;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
&:nth-child(2) {
|
|
401
|
+
width: 100%;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
&:nth-child(3) {
|
|
405
|
+
width: 60%;
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
.tags-widget {
|
|
412
|
+
.tag-cloud {
|
|
413
|
+
display: flex;
|
|
414
|
+
flex-wrap: wrap;
|
|
415
|
+
gap: 10px;
|
|
416
|
+
|
|
417
|
+
.tag {
|
|
418
|
+
display: inline-flex;
|
|
419
|
+
align-items: center;
|
|
420
|
+
padding: 8px 16px;
|
|
421
|
+
background-color: $accent-blue;
|
|
422
|
+
border-radius: 20px;
|
|
423
|
+
font-size: 13px;
|
|
424
|
+
color: $text-lighter;
|
|
425
|
+
transition: all 0.3s ease;
|
|
426
|
+
|
|
427
|
+
&:hover {
|
|
428
|
+
background-color: $accent-light;
|
|
429
|
+
transform: translateY(-2px);
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.about-widget {
|
|
436
|
+
.about-text {
|
|
437
|
+
color: $text-light;
|
|
438
|
+
font-size: 14px;
|
|
439
|
+
line-height: 1.7;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
.about-lines {
|
|
443
|
+
display: flex;
|
|
444
|
+
flex-direction: column;
|
|
445
|
+
gap: 8px;
|
|
446
|
+
|
|
447
|
+
.line {
|
|
448
|
+
height: 8px;
|
|
449
|
+
background-color: rgba(255, 255, 255, 0.08);
|
|
450
|
+
border-radius: 4px;
|
|
451
|
+
|
|
452
|
+
&.short {
|
|
453
|
+
width: 40%;
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
.widget-empty {
|
|
460
|
+
color: $text-light;
|
|
461
|
+
font-size: 14px;
|
|
462
|
+
opacity: 0.8;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
// Footer
|
|
466
|
+
.site-footer {
|
|
467
|
+
background-color: $bg-dark;
|
|
468
|
+
padding: 30px 0;
|
|
469
|
+
margin-top: 60px;
|
|
470
|
+
border-top: 1px solid rgba(255, 255, 255, 0.05);
|
|
471
|
+
|
|
472
|
+
.footer-links {
|
|
473
|
+
display: flex;
|
|
474
|
+
gap: 30px;
|
|
475
|
+
justify-content: center;
|
|
476
|
+
|
|
477
|
+
a {
|
|
478
|
+
color: $text-light;
|
|
479
|
+
text-decoration: none;
|
|
480
|
+
padding: 8px 16px;
|
|
481
|
+
background-color: rgba(255, 255, 255, 0.05);
|
|
482
|
+
border-radius: 4px;
|
|
483
|
+
font-size: 14px;
|
|
484
|
+
transition: all 0.3s ease;
|
|
485
|
+
|
|
486
|
+
&:hover {
|
|
487
|
+
background-color: rgba(255, 255, 255, 0.1);
|
|
488
|
+
color: $text-lighter;
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require "jekyll-theme-midnight-mountains/version"
|
|
4
|
+
|
|
5
|
+
if defined?(Jekyll) && defined?(Jekyll::Theme) && Jekyll::Theme.is_a?(Class)
|
|
6
|
+
module Jekyll
|
|
7
|
+
class Theme
|
|
8
|
+
module Midnight
|
|
9
|
+
module Mountains
|
|
10
|
+
VERSION = JekyllThemeMidnightMountains::VERSION
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require "jekyll-theme-midnight-mountains/version"
|
|
4
|
+
|
|
5
|
+
module JekyllThemeMidnightMountains
|
|
6
|
+
class Error < StandardError; end
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
if defined?(Jekyll) && defined?(Jekyll::Theme) && Jekyll::Theme.is_a?(Class)
|
|
10
|
+
module Jekyll
|
|
11
|
+
class Theme
|
|
12
|
+
module Midnight
|
|
13
|
+
module Mountains
|
|
14
|
+
Error = JekyllThemeMidnightMountains::Error
|
|
15
|
+
VERSION = JekyllThemeMidnightMountains::VERSION
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: jekyll-theme-midnight-mountains
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Palak Mathur
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2026-01-05 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
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: jekyll-feed
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - "~>"
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '0.15'
|
|
34
|
+
type: :runtime
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - "~>"
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '0.15'
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: jekyll-paginate
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - "~>"
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '1.1'
|
|
48
|
+
type: :runtime
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - "~>"
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: '1.1'
|
|
55
|
+
- !ruby/object:Gem::Dependency
|
|
56
|
+
name: jekyll-gist
|
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
|
58
|
+
requirements:
|
|
59
|
+
- - "~>"
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: '1.5'
|
|
62
|
+
type: :runtime
|
|
63
|
+
prerelease: false
|
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
+
requirements:
|
|
66
|
+
- - "~>"
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: '1.5'
|
|
69
|
+
- !ruby/object:Gem::Dependency
|
|
70
|
+
name: jekyll-sitemap
|
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - "~>"
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: '1.4'
|
|
76
|
+
type: :runtime
|
|
77
|
+
prerelease: false
|
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
+
requirements:
|
|
80
|
+
- - "~>"
|
|
81
|
+
- !ruby/object:Gem::Version
|
|
82
|
+
version: '1.4'
|
|
83
|
+
- !ruby/object:Gem::Dependency
|
|
84
|
+
name: jekyll-seo-tag
|
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
|
86
|
+
requirements:
|
|
87
|
+
- - "~>"
|
|
88
|
+
- !ruby/object:Gem::Version
|
|
89
|
+
version: '2.8'
|
|
90
|
+
type: :runtime
|
|
91
|
+
prerelease: false
|
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
93
|
+
requirements:
|
|
94
|
+
- - "~>"
|
|
95
|
+
- !ruby/object:Gem::Version
|
|
96
|
+
version: '2.8'
|
|
97
|
+
- !ruby/object:Gem::Dependency
|
|
98
|
+
name: bundler
|
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
|
100
|
+
requirements:
|
|
101
|
+
- - ">="
|
|
102
|
+
- !ruby/object:Gem::Version
|
|
103
|
+
version: '0'
|
|
104
|
+
type: :development
|
|
105
|
+
prerelease: false
|
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
107
|
+
requirements:
|
|
108
|
+
- - ">="
|
|
109
|
+
- !ruby/object:Gem::Version
|
|
110
|
+
version: '0'
|
|
111
|
+
- !ruby/object:Gem::Dependency
|
|
112
|
+
name: rake
|
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
|
114
|
+
requirements:
|
|
115
|
+
- - ">="
|
|
116
|
+
- !ruby/object:Gem::Version
|
|
117
|
+
version: '0'
|
|
118
|
+
type: :development
|
|
119
|
+
prerelease: false
|
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
121
|
+
requirements:
|
|
122
|
+
- - ">="
|
|
123
|
+
- !ruby/object:Gem::Version
|
|
124
|
+
version: '0'
|
|
125
|
+
description: Midnight Mountains is a dark, card-driven Jekyll theme with a featured
|
|
126
|
+
post hero and a bold sidebar layout.
|
|
127
|
+
email:
|
|
128
|
+
- palak.mathur@gmail.com
|
|
129
|
+
executables: []
|
|
130
|
+
extensions: []
|
|
131
|
+
extra_rdoc_files: []
|
|
132
|
+
files:
|
|
133
|
+
- CHANGELOG.md
|
|
134
|
+
- CODE_OF_CONDUCT.md
|
|
135
|
+
- LICENSE.txt
|
|
136
|
+
- README.md
|
|
137
|
+
- _layouts/default.html
|
|
138
|
+
- _layouts/home.html
|
|
139
|
+
- _layouts/home.html~
|
|
140
|
+
- _layouts/page.html
|
|
141
|
+
- _layouts/post.html
|
|
142
|
+
- assets/css/midnight-mountains.scss
|
|
143
|
+
- lib/jekyll-theme-midnight-mountains.rb
|
|
144
|
+
- lib/jekyll-theme-midnight-mountains/version.rb
|
|
145
|
+
- lib/jekyll/theme/midnight/mountains.rb
|
|
146
|
+
- lib/jekyll/theme/midnight/mountains/version.rb
|
|
147
|
+
homepage: https://github.com/systemhalted/jekyll-theme-midnight-mountains
|
|
148
|
+
licenses:
|
|
149
|
+
- MIT
|
|
150
|
+
metadata:
|
|
151
|
+
plugin_type: theme
|
|
152
|
+
documentation_uri: https://rubydoc.info/gems/jekyll-theme-midnight-mountains
|
|
153
|
+
homepage_uri: https://github.com/systemhalted/jekyll-theme-midnight-mountains
|
|
154
|
+
source_code_uri: https://github.com/systemhalted/jekyll-theme-midnight-mountains
|
|
155
|
+
changelog_uri: https://github.com/systemhalted/jekyll-theme-midnight-mountains/blob/main/CHANGELOG.md
|
|
156
|
+
post_install_message:
|
|
157
|
+
rdoc_options: []
|
|
158
|
+
require_paths:
|
|
159
|
+
- lib
|
|
160
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
161
|
+
requirements:
|
|
162
|
+
- - ">="
|
|
163
|
+
- !ruby/object:Gem::Version
|
|
164
|
+
version: 2.7.0
|
|
165
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
166
|
+
requirements:
|
|
167
|
+
- - ">="
|
|
168
|
+
- !ruby/object:Gem::Version
|
|
169
|
+
version: '0'
|
|
170
|
+
requirements: []
|
|
171
|
+
rubygems_version: 3.4.20
|
|
172
|
+
signing_key:
|
|
173
|
+
specification_version: 4
|
|
174
|
+
summary: A moody, card-based Jekyll theme inspired by midnight mountain views.
|
|
175
|
+
test_files: []
|