jekyll-theme-minimal-ryan 0.1.2

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: d8224352ef583e984238aa2a634b4ff45d7e9490cf6ab0e546890145ccfbed15
4
+ data.tar.gz: '09233fb1c6acc79761f1805b7e9e8687ef07ea7bdb7d483083002f2d5ee08d64'
5
+ SHA512:
6
+ metadata.gz: b73c81b8bdeb88dd66489ffdb34ce59309958455adbdc89d5fac04d8704fc4984eade9f27b8b6b8d143cf8f1a839202f64ffb56ae3454cba18eaa00cf0fde776
7
+ data.tar.gz: 06d6724e37d88dc7a961079f637be85cc39aff11fae9c091edcdcf7ef86bd64422d382666c847d57bf706f25d89dedc96b9c54e64cde5b1327acf35d4f52e9a0
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2022 Ryan Sheppard
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,41 @@
1
+ # jekyll-theme-minimal-ryan
2
+
3
+ ## Installation
4
+
5
+ Add this line to your Jekyll site's `Gemfile`:
6
+
7
+ ```ruby
8
+ gem "jekyl-theme-minimal-ryan"
9
+ ```
10
+
11
+ And add this line to your Jekyll site's `_config.yml`:
12
+
13
+ ```yaml
14
+ theme: minimal-ryan
15
+ ```
16
+
17
+ And then execute:
18
+
19
+ $ bundle
20
+
21
+ Or install it yourself as:
22
+
23
+ $ gem install jekyll-theme-minimal-ryan
24
+
25
+ ## Usage
26
+
27
+ All customizable options can be configured in [_data/theme.yml](_data/theme.yml).
28
+
29
+ ## Contributing
30
+
31
+ Bug reports and pull requests are welcome on GitHub at https://github.com/ryanshepps/jekyll-theme-minimal-ryan.
32
+
33
+ ## Development
34
+
35
+ To set up your environment to develop this theme, run `bundle install`.
36
+
37
+ 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.
38
+
39
+ ## License
40
+
41
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/_data/theme.yml ADDED
@@ -0,0 +1,16 @@
1
+ title: Minimal Ryan
2
+
3
+ home:
4
+ image:
5
+ src: /assets/images/image1.jpg
6
+
7
+ footer:
8
+ contact:
9
+ - { title: Email, link: mailto:ryansheppardd@gmail.com }
10
+ - { title: LinkedIn, link: https://www.linkedin.com/in/ryansheppardd/ }
11
+ social-media:
12
+ - { title: Twitter, link: https://twitter.com/ryannsheppardd }
13
+ - { title: Instagram, link: https://www.instagram.com/ryannsheppardd/ }
14
+ other-links:
15
+ - { title: GitHub, link: https://github.com/ryanshepps }
16
+ - { title: DevPost, link: https://devpost.com/ryanshepps }
@@ -0,0 +1,15 @@
1
+ <footer class="content-container">
2
+ {%- for footer_entry in site.data.theme.footer -%}
3
+ <div class="footer-column">
4
+ <p>
5
+ <b>{{ footer_entry[0] | replace: '-', ' ' | capitalize }}</b>
6
+ </p>
7
+ {%- for footer_link in footer_entry[1] -%}
8
+ <a href="{{ footer_link.link }}" target="_blank">
9
+ {{ footer_link.title }}
10
+ </a>
11
+ <br>
12
+ {%- endfor -%}
13
+ </div>
14
+ {%- endfor -%}
15
+ </footer>
@@ -0,0 +1,7 @@
1
+ <head>
2
+ <meta charset="utf-8">
3
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
+ <meta name="viewport" content="width=device-width, initial-scale=1">
5
+
6
+ <link rel="stylesheet" href="/assets/css/style.css" />
7
+ </head>
@@ -0,0 +1,11 @@
1
+ <header class="content-container">
2
+ {%- assign page_paths = site.pages | map: "path" -%}
3
+ {%- assign titles_size = site.pages | map: 'title' | join: '' | size -%}
4
+
5
+ <a id="site-title" href="/">{{ site.data.theme.title }}</a>
6
+
7
+ <nav>
8
+ <a href="/">Home</a>
9
+ <a href="/blog">Blog</a>
10
+ </nav>
11
+ </header>
@@ -0,0 +1,21 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div id="blog-page" class="content-container">
6
+ {%- for post in site.posts -%}
7
+ <a class="post" href="{{ post.url }}">
8
+ {%- if post.image -%}
9
+ <div class="img-container">
10
+ <img src="{{ post.image }}" />
11
+ </div>
12
+ {%- endif -%}
13
+ <div class="post-content">
14
+ <p class="post-title">{{ post.title | escape }}</p>
15
+ <p class="post-blurb">
16
+ {{ post.content | escape | regex_replace: '&lt;[^&gt;]*&gt;', '' }}
17
+ </p>
18
+ </div>
19
+ </a>
20
+ {%- endfor -%}
21
+ </div>
@@ -0,0 +1,19 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ {%- include head.html -%}
5
+
6
+ <body>
7
+
8
+ {%- include header.html -%}
9
+
10
+ <main>
11
+ {{ content }}
12
+ </main>
13
+
14
+ {%- include footer.html -%}
15
+
16
+ </body>
17
+
18
+ </html>
19
+
@@ -0,0 +1,15 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div id="home-page">
6
+ <div id="left-column">
7
+ <img src="{{ site.data.theme.home.image.src }}">
8
+ </div>
9
+ <div id="right-column">
10
+ <div id="content-box">
11
+ <h1 id="home-title">{{ site.data.theme.title }}</h1>
12
+ {{ content }}
13
+ </div>
14
+ </div>
15
+ </div>
@@ -0,0 +1,13 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div id="post-page" class="content-container">
6
+ {%- if page.image -%}
7
+ <img src="{{ page.image }}" />
8
+ {%- endif -%}
9
+
10
+ <h1>{{ page.title }}</h1>
11
+
12
+ {{ content }}
13
+ </div>
@@ -0,0 +1,56 @@
1
+ body, h1, h2, h3, h4, h5, h6,
2
+ p {
3
+ margin: 0;
4
+ padding: 0;
5
+ }
6
+
7
+ body {
8
+ font: $base-font-size $base-font-family $base-font-color;
9
+ display: flex;
10
+ flex-direction: column;
11
+ }
12
+
13
+ a {
14
+ color: inherit;
15
+ text-decoration: none;
16
+
17
+ &:hover {
18
+ filter: brightness(50%);
19
+ }
20
+ }
21
+
22
+ header {
23
+ height: $header-height;
24
+ display: flex;
25
+ align-items: center;
26
+
27
+ background-color: $primary-color;
28
+ z-index: 2;
29
+
30
+ nav {
31
+ height: 100%;
32
+ width: 100%;
33
+ display: flex;
34
+ justify-content: flex-end;
35
+
36
+ a {
37
+ padding: 0 10px;
38
+ height: 100%;
39
+ display: flex;
40
+ align-items: center;
41
+ font-size: $big-font-size;
42
+ }
43
+ }
44
+ }
45
+
46
+ footer {
47
+ display: flex;
48
+ justify-content: space-between;
49
+
50
+ padding: 30px 0;
51
+ line-height: 28px;
52
+ font-size: $big-font-size;
53
+
54
+ background-color: $primary-color;
55
+ z-index: 2;
56
+ }
@@ -0,0 +1,26 @@
1
+ /* Colors */
2
+ $primary-color: white;
3
+ $secondary-color: black;
4
+ $tertiary-color: #575757;
5
+
6
+ /* Font */
7
+ $base-font-family: "Roboto", Arial;
8
+ $base-font-color: $secondary-color;
9
+
10
+ $base-font-size: 16px;
11
+ $big-font-size: 18px;
12
+ $biggest-font-size: 20px;
13
+
14
+ @font-face {
15
+ font-family: "Roboto";
16
+ src: url("../fonts/Roboto-Regular.ttf");
17
+ }
18
+
19
+ @font-face {
20
+ font-family: "Roboto";
21
+ src: url("../fonts/Roboto-Bold.ttf");
22
+ font-weight: bold;
23
+ }
24
+
25
+ /* Layout */
26
+ $header-height: 80px;
@@ -0,0 +1,143 @@
1
+ .content-container {
2
+ margin: auto;
3
+
4
+ @media only screen and (min-width: 320px) {
5
+ width: 320px;
6
+ }
7
+
8
+ @media only screen and (min-width: 600px) {
9
+ width: 600px;
10
+ }
11
+
12
+ @media only screen and (min-width: 900px) {
13
+ width: 900px;
14
+ }
15
+
16
+ @media only screen and (min-width: 1200px) {
17
+ width: 1200px;
18
+ }
19
+ }
20
+
21
+ .flexbox-column {
22
+ display: flex;
23
+ flex-direction: column;
24
+ }
25
+
26
+ #site-title {
27
+ font-size: 24px;
28
+ font-weight: bold;
29
+ white-space: nowrap;
30
+ }
31
+
32
+ #home-page {
33
+ height: calc(100vh - #{$header-height});
34
+ display: flex;
35
+ flex-direction: row;
36
+ justify-content: center;
37
+
38
+ $right-column-size: 45%;
39
+
40
+ #right-column {
41
+ width: $right-column-size;
42
+ background-color: $primary-color;
43
+
44
+ display: flex;
45
+ flex-direction: column;
46
+ justify-content: center;
47
+ align-items: center;
48
+
49
+ #content-box {
50
+ text-align: right;
51
+
52
+ @media only screen and (min-width: 1200px) {
53
+ padding-right: 18%;
54
+ }
55
+
56
+ #home-title {
57
+ font-size: 128px;
58
+ }
59
+
60
+ p {
61
+ font-size: $biggest-font-size;
62
+ }
63
+ }
64
+
65
+ }
66
+
67
+ #left-column {
68
+ display: flex;
69
+ justify-content: center;
70
+
71
+ width: calc(100% - #{$right-column-size});
72
+ overflow: hidden;
73
+
74
+ img {
75
+ object-fit: fill;
76
+ }
77
+ }
78
+ }
79
+
80
+ #blog-page {
81
+ min-height: calc(100vh - #{$header-height});
82
+
83
+ .post {
84
+ display: flex;
85
+ gap: 10px;
86
+ height: 104px;
87
+ padding: 10px;
88
+
89
+ .img-container {
90
+ flex: 1;
91
+ overflow: hidden;
92
+
93
+ img {
94
+ height: 100%;
95
+ object-fit: cover;
96
+ }
97
+ }
98
+
99
+ .post-content {
100
+ flex: 7;
101
+
102
+ .post-title {
103
+ font-size: $big-font-size;
104
+ font-weight: bold;
105
+ padding-bottom: 16px;
106
+ }
107
+
108
+ .post-blurb {
109
+ $line-height: 1.2em;
110
+ $num-lines: 3;
111
+
112
+ color: $tertiary-color;
113
+ overflow: hidden;
114
+ max-height: calc(#{$line-height} * #{$num-lines});
115
+ line-height: $line-height;
116
+ }
117
+
118
+ }
119
+ }
120
+ }
121
+
122
+ #post-page {
123
+ min-height: calc(100vh - #{$header-height});
124
+ display: flex;
125
+ flex-direction: column;
126
+ align-items: center;
127
+
128
+ * {
129
+ padding: 8px 0;
130
+ width: 100%;
131
+ line-height: 1.4em;
132
+
133
+ @media only screen and (min-width: 1200px) {
134
+ width: 65%;
135
+ }
136
+ }
137
+
138
+ img {
139
+ height: 300px;
140
+ width: 100%;
141
+ object-fit: cover;
142
+ }
143
+ }
@@ -0,0 +1,8 @@
1
+ ---
2
+ ---
3
+
4
+ @import
5
+ 'minimal-ryan/_theme',
6
+ 'minimal-ryan/_base',
7
+ 'minimal-ryan/custom'
8
+ ;
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
metadata ADDED
@@ -0,0 +1,99 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-theme-minimal-ryan
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.2
5
+ platform: ruby
6
+ authors:
7
+ - ryanshepps
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-12-24 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-regex-replace
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 1.1.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.1.0
41
+ description:
42
+ email:
43
+ - ryansheppardd@gmail.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - LICENSE
49
+ - README.md
50
+ - _data/theme.yml
51
+ - _includes/footer.html
52
+ - _includes/head.html
53
+ - _includes/header.html
54
+ - _layouts/blog.html
55
+ - _layouts/default.html
56
+ - _layouts/home.html
57
+ - _layouts/post.html
58
+ - _sass/minimal-ryan/_base.scss
59
+ - _sass/minimal-ryan/_theme.scss
60
+ - _sass/minimal-ryan/custom.scss
61
+ - assets/css/style.scss
62
+ - assets/fonts/Roboto-Black.ttf
63
+ - assets/fonts/Roboto-BlackItalic.ttf
64
+ - assets/fonts/Roboto-Bold.ttf
65
+ - assets/fonts/Roboto-BoldItalic.ttf
66
+ - assets/fonts/Roboto-Italic.ttf
67
+ - assets/fonts/Roboto-Light.ttf
68
+ - assets/fonts/Roboto-LightItalic.ttf
69
+ - assets/fonts/Roboto-Medium.ttf
70
+ - assets/fonts/Roboto-MediumItalic.ttf
71
+ - assets/fonts/Roboto-Regular.ttf
72
+ - assets/fonts/Roboto-Thin.ttf
73
+ - assets/fonts/Roboto-ThinItalic.ttf
74
+ - assets/images/image1.jpg
75
+ homepage: https://github.com/ryanshepps/jekyll-theme-minimal-ryan
76
+ licenses:
77
+ - MIT
78
+ metadata:
79
+ plugin_type: theme
80
+ post_install_message:
81
+ rdoc_options: []
82
+ require_paths:
83
+ - lib
84
+ required_ruby_version: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
89
+ required_rubygems_version: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - ">="
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ requirements: []
95
+ rubygems_version: 3.3.26
96
+ signing_key:
97
+ specification_version: 4
98
+ summary: Minimalistic blogging theme for Jekyll
99
+ test_files: []