hey-world 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 78f5a79f1b24d14d1518e19b40c0d40f99f9c22f8e48d85742c966bf729c4b8d
4
- data.tar.gz: 4619e9807fef42b50329b3a2295ad1ea5b17b763cd08de4f06cc2f5bc6272777
3
+ metadata.gz: 5929dff21bc4a279cec4d4060ef79c98b7eb4a8233b538efba00c720e3331eb5
4
+ data.tar.gz: 346889a0983d716dc7b23250914d488812ab6bf96cb024fdc830944bc6e8e580
5
5
  SHA512:
6
- metadata.gz: 63615293f6f0f8382c2dc61b3b8e031d0487bce4f2e10a28184676d4755055aa4e9f1459cfb4af9b518eacbe829a829a318aabfdb83171d3c3be58507cc8ba93
7
- data.tar.gz: 875ac17226da6953c823f5d7c59ccc60ed310e7d4db0d57787e26b46af5bdc40e3f5957812d165b636835dd8a7cd5a5f771dfab95663257aa5c835ecf47f09bc
6
+ metadata.gz: af9a9b164846164de91fd533e93ddc286fb5d371d76e378b8e071e58d95862e61cd47a27a959f416b1f739f3a01802c4eecfaa5089190fd4d203975036605266
7
+ data.tar.gz: 9d268e31ba850e5a1754b0062580e3ac6a242a1bd3bdac8a47468682853688aa87edf5c677d05b072736082f46b1f7e82f99912cb3b50408fe8a7cbda1589628
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021 Marcus Heng
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,52 @@
1
+ # hey-world
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
+ ## Installation
11
+
12
+ Add this line to your Jekyll site's `Gemfile`:
13
+
14
+ ```ruby
15
+ gem "hey-world"
16
+ ```
17
+
18
+ And add this line to your Jekyll site's `_config.yml`:
19
+
20
+ ```yaml
21
+ theme: hey-world
22
+ ```
23
+
24
+ And then execute:
25
+
26
+ $ bundle
27
+
28
+ Or install it yourself as:
29
+
30
+ $ gem install hey-world
31
+
32
+ ## Usage
33
+
34
+ TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
35
+
36
+ ## Contributing
37
+
38
+ 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.
39
+
40
+ ## Development
41
+
42
+ To set up your environment to develop this theme, run `bundle install`.
43
+
44
+ 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.
45
+
46
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
47
+ To add a custom directory to your theme-gem, please edit the regexp in `hey-world.gemspec` accordingly.
48
+
49
+ ## License
50
+
51
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
52
+
@@ -0,0 +1,14 @@
1
+ <div class="grid-item">
2
+ <div class="author-container">
3
+ {%if site.logo and site.logo != "" %}
4
+ <div class="logo">
5
+ <a class="logo-link" href="{{site.baseurl}}" />
6
+ <img src="{{ site.logo | relative_url }}" alt="{{ site.title }}" />
7
+ </div>
8
+ {% endif %} {% if site.author.name %}
9
+ <div>
10
+ <a class="author-name" href="{{site.baseurl}}">{{site.author.name}}</a>
11
+ </div>
12
+ {% endif %}
13
+ </div>
14
+ </div>
@@ -0,0 +1 @@
1
+ @import "2-base/base";
@@ -0,0 +1,23 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
7
+ <!-- Fonts -->
8
+ <link rel="preconnect" href="https://fonts.gstatic.com" />
9
+ <link
10
+ href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap"
11
+ rel="stylesheet"
12
+ />
13
+ <style>
14
+ {% capture include_to_scssify %}
15
+ {% include main.scss %}
16
+ {% endcapture %}
17
+ {{ include_to_scssify | scssify }}
18
+ </style>
19
+ </head>
20
+ <body>
21
+ <div class="grid-container">{% include header.html %} {{ content }}</div>
22
+ </body>
23
+ </html>
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
@@ -0,0 +1,13 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="grid-item">
6
+ <article class="post">
7
+ <div class="header">
8
+ <span class="date"> {{ page.date | date: '%B %d, %Y' }} </span>
9
+ <p class="title">{{ page.title}}</p>
10
+ </div>
11
+ <div class="content">{{content}}</div>
12
+ </article>
13
+ </div>
@@ -0,0 +1,154 @@
1
+ body {
2
+ background-color: #1b2733;
3
+ // font-family: "Roboto Slab", serif;
4
+ font-family: "Montserrat", sans-serif;
5
+ padding: 0 0 6.4rem;
6
+ }
7
+
8
+ .grid-container {
9
+ display: grid;
10
+ padding: 10px;
11
+ max-width: 790px;
12
+ margin: 0 auto;
13
+ justify-content: center;
14
+ row-gap: 1rem;
15
+ }
16
+
17
+ .grid-item {
18
+ max-width: 702px;
19
+ }
20
+
21
+ .pagination {
22
+ margin-top: 1rem;
23
+ text-align: center;
24
+ a {
25
+ text-decoration: none;
26
+ color: #eae7e4;
27
+ padding: 0.3em 0.8em;
28
+ border-radius: 3rem;
29
+ font-weight: 500;
30
+ font-size: 13px;
31
+ border: 1px solid #eae7e4;
32
+ }
33
+ }
34
+
35
+ .author-container {
36
+ margin-top: 2.6rem;
37
+ margin-bottom: 1rem;
38
+ text-align: center;
39
+ .logo-link {
40
+ top: 0;
41
+ left: 0;
42
+ right: 0;
43
+ bottom: 0;
44
+ text-indent: -9999px;
45
+ z-index: 1;
46
+ }
47
+ .author-name {
48
+ text-decoration: none;
49
+ letter-spacing: 2px;
50
+ margin-top: 0rem;
51
+ text-transform: uppercase;
52
+ color: #a4a7a9;
53
+ }
54
+ img {
55
+ width: 2.625em;
56
+ height: 2.635em;
57
+ border-radius: 100%;
58
+ z-index: 1;
59
+ position: relative;
60
+ }
61
+ }
62
+
63
+ .post {
64
+ margin-top: 0;
65
+ text-align: center;
66
+ color: #ece9e6;
67
+ blockquote {
68
+ font-style: italic;
69
+ margin: 1.6rem;
70
+ padding-block: 0;
71
+ padding-inline-end: 0;
72
+ padding-inline-start: 1.5rem;
73
+ border-inline-start: 1px solid #3a444e;
74
+ }
75
+ cite {
76
+ font-weight: bold;
77
+ }
78
+ a {
79
+ color: #4e9df7;
80
+ }
81
+ .header {
82
+ margin-bottom: 2.6rem;
83
+ }
84
+ .date {
85
+ font-size: 14px;
86
+ color: #8c9195;
87
+ }
88
+ .title {
89
+ font-size: 36px;
90
+ font-weight: bolder;
91
+ margin-top: 0rem;
92
+ margin-bottom: 0.6rem;
93
+ }
94
+ .content {
95
+ text-align: left;
96
+ font-size: 17px;
97
+ line-height: 1.6rem;
98
+ }
99
+ img {
100
+ width: 100%;
101
+ margin: 0.625rem 0;
102
+ text-align: center;
103
+ }
104
+ }
105
+
106
+ .post-container {
107
+ position: relative;
108
+ padding: 1.6rem;
109
+ border-radius: 0.2rem;
110
+ border: 1px solid #3a444e;
111
+ color: #ece9e6;
112
+ text-align: center;
113
+ .post-title {
114
+ font-size: 30px;
115
+ font-weight: bolder;
116
+ margin-top: 0rem;
117
+ margin-bottom: 0.6rem;
118
+ }
119
+ .date {
120
+ font-size: 14px;
121
+ color: #8c9195;
122
+ }
123
+ .excerpt {
124
+ text-align: justify;
125
+ font-size: 18px;
126
+ margin-bottom: 3rem;
127
+ }
128
+ .card-link {
129
+ position: absolute;
130
+ top: 0;
131
+ left: 0;
132
+ right: 0;
133
+ bottom: 0;
134
+ text-indent: -9999px;
135
+ z-index: 1;
136
+ }
137
+ .read-more-section {
138
+ padding: 1.75em;
139
+ position: absolute;
140
+ left: 0;
141
+ right: 0;
142
+ bottom: 0;
143
+ text-align: center;
144
+ z-index: 0;
145
+ }
146
+ .read-more-button {
147
+ color: #8c9195;
148
+ padding: 0.3em 0.8em;
149
+ border-radius: 3rem;
150
+ font-weight: 500;
151
+ font-size: 13px;
152
+ border: 1px solid #3a444e;
153
+ }
154
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hey-world
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcus Heng
@@ -64,7 +64,15 @@ email:
64
64
  executables: []
65
65
  extensions: []
66
66
  extra_rdoc_files: []
67
- files: []
67
+ files:
68
+ - LICENSE.txt
69
+ - README.md
70
+ - _includes/header.html
71
+ - _includes/main.scss
72
+ - _layouts/default.html
73
+ - _layouts/page.html
74
+ - _layouts/post.html
75
+ - _sass/2-base/_base.scss
68
76
  homepage: http://website.com
69
77
  licenses:
70
78
  - MIT