menjay 0.1.0

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
+ SHA1:
3
+ metadata.gz: 5fc80de48543ad9292d1ec72ca5e65bb3432241d
4
+ data.tar.gz: b9a232ea685396ce4bd20800fe96d87b2002dce8
5
+ SHA512:
6
+ metadata.gz: c48fb86708eedd3c8ba15bf56ba917a4ffe327c62726b30c1c368859155795de0192a6817737bf4b88bc51fe9bfbe1c0c84fb4316b1f579e3baf2a99013e2dbf
7
+ data.tar.gz: 7b16dce20f3a244c4c1b84508e3f08ba4482ae4694c9307d46f98af45da2259b13093d210212554cfe7eda4ab179feff9a6d7c99e277406bea37a9fba8f6d10e
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Ryan Hoffmann
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,47 @@
1
+ # menjay
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` and your sass in `_sass`. To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your Jekyll site's Gemfile:
10
+
11
+ ```ruby
12
+ gem "menjay"
13
+ ```
14
+
15
+ And add this line to your Jekyll site's `_config.yml`:
16
+
17
+ ```yaml
18
+ theme: menjay
19
+ ```
20
+
21
+ And then execute:
22
+
23
+ $ bundle
24
+
25
+ Or install it yourself as:
26
+
27
+ $ gem install menjay
28
+
29
+ ## Usage
30
+
31
+ TODO: Write usage instructions here. Describe your available layouts, includes, and/or sass.
32
+
33
+ ## Contributing
34
+
35
+ 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.
36
+
37
+ ## Development
38
+
39
+ To set up your environment to develop this theme, run `bundle install`.
40
+
41
+ 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.
42
+
43
+ When your theme is released, only the files in `_layouts`, `_includes`, and `_sass` tracked with Git will be released.
44
+
45
+ ## License
46
+
47
+ The theme is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -0,0 +1,20 @@
1
+ {% if page.comments != false and jekyll.environment == "production" %}
2
+
3
+ <div id="disqus_thread"></div>
4
+ <script>
5
+ var disqus_config = function () {
6
+ this.page.url = '{{ page.url | absolute_url }}';
7
+ this.page.identifier = '{{ page.url | absolute_url }}';
8
+ };
9
+
10
+ (function() {
11
+ var d = document, s = d.createElement('script');
12
+
13
+ s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
14
+
15
+ s.setAttribute('data-timestamp', +new Date());
16
+ (d.head || d.body).appendChild(s);
17
+ })();
18
+ </script>
19
+ <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
20
+ {% endif %}
@@ -0,0 +1,9 @@
1
+ <!-- <footer class="site-footer">
2
+
3
+ <div class="wrapper">
4
+
5
+ <h2 class="footer-heading">{{ site.title | escape }}</h2>
6
+
7
+ </div>
8
+
9
+ </footer> -->
@@ -0,0 +1,22 @@
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
+ <title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
7
+ <meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}">
8
+
9
+ <!-- Import Google Font -->
10
+ <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Hind:300:400:500:600,700">
11
+ <link href="https://fonts.googleapis.com/css?family=Merriweather:300:300i:400:700:900" rel="stylesheet">
12
+
13
+
14
+
15
+ <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
16
+ <link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
17
+ <link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
18
+
19
+ {% if jekyll.environment == 'production' and site.google_analytics %}
20
+ {% include google-analytics.html %}
21
+ {% endif %}
22
+ </head>
@@ -0,0 +1,16 @@
1
+ <div class="wrapper">
2
+
3
+ <!-- <a class="site-title" href=href="{{ "/" | relative_url}}">{{ site.title | escape }}</a> -->
4
+
5
+ <nav class="site-nav">
6
+
7
+ <a class="site-title" href="{{ "/" | relative_url}}">Ryan Hoffmann</a>
8
+
9
+ <!-- {% for my_page in site.pages %}
10
+ {% if my_page.title %}
11
+ <a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
12
+ {% endif %}
13
+ {% endfor %} -->
14
+ </nav>
15
+
16
+ </div>
@@ -0,0 +1,20 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ page.lang | default: site.lang | default: "en" }}">
3
+
4
+ {% include head.html %}
5
+
6
+ <body>
7
+
8
+ {% include header.html %}
9
+
10
+ <main class="page-content" aria-label="Content">
11
+ <div class="wrapper">
12
+ {{ content }}
13
+ </div>
14
+ </main>
15
+
16
+ {% include footer.html %}
17
+
18
+ </body>
19
+
20
+ </html>
@@ -0,0 +1,22 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="home">
6
+
7
+ {{ content }}
8
+
9
+ <ul class="post-list">
10
+ {% for post in site.posts %}
11
+ <a class="post-link" href="{{ post.url | relative_url }}">
12
+ <li class="post-preview">
13
+ <p class="post-meta"><time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">{{ post.date | date: "%b %-d, %Y" }}</time></p>
14
+ <h2 class="post-title">{{ post.title | escape }}</h2>
15
+ <p class="post-excerpt">{{ post.excerpt | truncatewords:50 | remove: '<p>' | remove: '</p>' }}</p>
16
+ </li>
17
+ </a>
18
+
19
+ {% endfor %}
20
+ </ul>
21
+
22
+ </div>
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
@@ -0,0 +1,18 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <article class="post" itemscope itemtype="http://schema.org/BlogPosting">
5
+
6
+ <header class="post-header">
7
+ <p class="post-meta"><time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">{{ page.date | date: "%b %-d, %Y" }}</time>{% if page.author %} • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page.author }}</span></span>{% endif %}</p>
8
+ <h1 class="post-title" itemprop="name headline">{{ page.title | escape }}</h1>
9
+ </header>
10
+
11
+ <div class="post-content" itemprop="articleBody">
12
+ {{ content }}
13
+ </div>
14
+
15
+ {% if site.disqus.shortname %}
16
+ {% include disqus_comments.html %}
17
+ {% endif %}
18
+ </article>
data/_sass/menjay.scss ADDED
@@ -0,0 +1,50 @@
1
+ // ** Define defaults for each variable **
2
+
3
+ // Global Colors
4
+ $background-color: #FFF !default;
5
+ $copy-color: #1B1B1B !default;
6
+ $label-color: lighten($copy-color, 30%) !default;
7
+ $brand-color: #36CC7F !default;
8
+ $horiz-rule-color: #ddd;
9
+
10
+ // Body Copy
11
+ $body-font-family: "Merriweather", sans-serif !default;
12
+ $body-font-size: 18px !default;
13
+ $body-font-weight: 400 !default;
14
+ $body-font-line-height: 1.8 !default;
15
+
16
+ // Label Copy
17
+ $label-font-family: "Hind", sans-serif !default;
18
+ $label-font-size: $body-font-size * .75 !default;
19
+ $label-font-weight: 900 !default;
20
+ $label-font-line-height: 1 !default;
21
+
22
+ // Header Copy
23
+ $header-font-family: "Hind", sans-serif !default;
24
+ $header-font-size: $body-font-size * 2.75 !default;
25
+ $header-font-weight: 700 !default;
26
+ $header-font-line-height: 1.2 !default;
27
+
28
+ // Spacing
29
+ $spacing-unit: 30px !default;
30
+
31
+ // Content Width
32
+ $content-width: 800px !default;
33
+
34
+ // Media Query Content Widths
35
+ $small-screen: 600px !default;
36
+
37
+ // Media Queriies
38
+ @mixin media-query($screen-width) {
39
+ @media screen and (max-width: $screen-width) {
40
+ @content;
41
+ }
42
+ }
43
+
44
+ // Mixins
45
+
46
+ // Import partials.
47
+ @import
48
+ "menjay/base",
49
+ "menjay/layout"
50
+ ;
@@ -0,0 +1,208 @@
1
+ /**
2
+ * Reset some basic elements
3
+ */
4
+ body, h1, h2, h3, h4, h5, h6,
5
+ p, blockquote, pre, hr,
6
+ dl, dd, ol, ul, figure {
7
+ margin: 0;
8
+ padding: 0;
9
+ }
10
+
11
+
12
+
13
+ /**
14
+ * Basic styling
15
+ */
16
+ body {
17
+ font: $body-font-weight #{$body-font-size}/#{$body-font-line-height} $body-font-family;
18
+ color: $copy-color;
19
+ background-color: $background-color;
20
+ -webkit-text-size-adjust: 100%;
21
+ -webkit-font-feature-settings: "kern" 1;
22
+ -moz-font-feature-settings: "kern" 1;
23
+ -o-font-feature-settings: "kern" 1;
24
+ font-feature-settings: "kern" 1;
25
+ font-kerning: normal;
26
+ }
27
+
28
+
29
+
30
+ /**
31
+ * Set `margin-bottom` to maintain vertical rhythm
32
+ */
33
+ h1, h2, h3, h4, h5, h6,
34
+ p, blockquote, pre,
35
+ ul, ol, dl, figure,
36
+ %vertical-rhythm {
37
+ margin-bottom: $spacing-unit / 2;
38
+ }
39
+
40
+
41
+
42
+ /**
43
+ * Images
44
+ */
45
+ img {
46
+ max-width: 100%;
47
+ vertical-align: middle;
48
+ }
49
+
50
+
51
+
52
+ /**
53
+ * Figures
54
+ */
55
+ figure > img {
56
+ display: block;
57
+ }
58
+
59
+ figcaption {
60
+ font-size: $body-font-size * .75;
61
+ }
62
+
63
+
64
+
65
+ /**
66
+ * Lists
67
+ */
68
+ ul, ol {
69
+ margin-left: $spacing-unit;
70
+ }
71
+
72
+ li {
73
+ > ul,
74
+ > ol {
75
+ margin-bottom: 0;
76
+ }
77
+ }
78
+
79
+
80
+
81
+ /**
82
+ * Headings
83
+ */
84
+ h1, h2, h3, h4, h5, h6 {
85
+ font-weight: $header-font-weight;
86
+ }
87
+
88
+
89
+
90
+ // /**
91
+ // * Links
92
+ // */
93
+ // a {
94
+ // color: $brand-color;
95
+ // text-decoration: none;
96
+ //
97
+ // &:visited {
98
+ // color: darken($brand-color, 15%);
99
+ // }
100
+ //
101
+ // &:hover {
102
+ // color: $copy-color;
103
+ // text-decoration: underline;
104
+ // }
105
+ // }
106
+
107
+
108
+
109
+ /**
110
+ * Blockquotes
111
+ */
112
+ blockquote {
113
+
114
+ margin: $spacing-unit * 2;
115
+ padding-left: $spacing-unit * 1;
116
+
117
+ border-left: 8px solid $brand-color;
118
+
119
+ color: $copy-color;
120
+
121
+ font-family: $body-font-family;
122
+ font-size: $body-font-size * 1.25;
123
+ font-weight: $body-font-weight;
124
+ font-style: italic;
125
+
126
+ @include media-query($small-screen) {
127
+
128
+ margin: $spacing-unit * 1.25;
129
+ padding-left: $spacing-unit * .75;
130
+
131
+ border-left: 6px solid $brand-color;
132
+ font-size: $body-font-size * 1;
133
+ }
134
+
135
+ }
136
+
137
+
138
+
139
+ /**
140
+ * Code formatting
141
+ */
142
+ pre,
143
+ code {
144
+ font-size: 15px;
145
+ border: 1px solid #eee;
146
+ border-radius: 3px;
147
+ background-color: #FFFAF8;
148
+ }
149
+
150
+ code {
151
+ padding: 1px 5px;
152
+ }
153
+
154
+ pre {
155
+ padding: 8px 12px;
156
+ overflow-x: auto;
157
+
158
+ > code {
159
+ border: 0;
160
+ padding-right: 0;
161
+ padding-left: 0;
162
+ }
163
+ }
164
+
165
+
166
+
167
+ /**
168
+ * Wrapper
169
+ */
170
+ .wrapper {
171
+ max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
172
+ max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
173
+ margin-right: auto;
174
+ margin-left: auto;
175
+ padding-right: $spacing-unit;
176
+ padding-left: $spacing-unit;
177
+ @extend %clearfix;
178
+
179
+ // @include media-query($small-screen) {
180
+ // background: black;
181
+ // }
182
+
183
+ }
184
+
185
+
186
+
187
+ /**
188
+ * Clearfix
189
+ */
190
+ %clearfix:after {
191
+ content: "";
192
+ display: table;
193
+ clear: both;
194
+ }
195
+
196
+
197
+
198
+ /**
199
+ * Icons
200
+ */
201
+ .icon > svg {
202
+ display: inline-block;
203
+ vertical-align: middle;
204
+
205
+ path {
206
+ fill: #eee;
207
+ }
208
+ }
@@ -0,0 +1,198 @@
1
+ /**
2
+ * Reset some basic elements
3
+ */
4
+ body, h1, h2, h3, h4, h5, h6,
5
+ p, blockquote, pre, hr,
6
+ dl, dd, ol, ul, figure {
7
+ margin: 0;
8
+ padding: 0;
9
+ }
10
+
11
+
12
+
13
+ /**
14
+ * Basic styling
15
+ */
16
+ body {
17
+ font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
18
+ color: $text-color;
19
+ background-color: $background-color;
20
+ -webkit-text-size-adjust: 100%;
21
+ -webkit-font-feature-settings: "kern" 1;
22
+ -moz-font-feature-settings: "kern" 1;
23
+ -o-font-feature-settings: "kern" 1;
24
+ font-feature-settings: "kern" 1;
25
+ font-kerning: normal;
26
+ }
27
+
28
+
29
+
30
+ /**
31
+ * Set `margin-bottom` to maintain vertical rhythm
32
+ */
33
+ h1, h2, h3, h4, h5, h6,
34
+ p, blockquote, pre,
35
+ ul, ol, dl, figure,
36
+ %vertical-rhythm {
37
+ margin-bottom: $spacing-unit / 2;
38
+ }
39
+
40
+
41
+
42
+ /**
43
+ * Images
44
+ */
45
+ img {
46
+ max-width: 100%;
47
+ vertical-align: middle;
48
+ }
49
+
50
+
51
+
52
+ /**
53
+ * Figures
54
+ */
55
+ figure > img {
56
+ display: block;
57
+ }
58
+
59
+ figcaption {
60
+ font-size: $small-font-size;
61
+ }
62
+
63
+
64
+
65
+ /**
66
+ * Lists
67
+ */
68
+ ul, ol {
69
+ margin-left: $spacing-unit;
70
+ }
71
+
72
+ li {
73
+ > ul,
74
+ > ol {
75
+ margin-bottom: 0;
76
+ }
77
+ }
78
+
79
+
80
+
81
+ /**
82
+ * Headings
83
+ */
84
+ h1, h2, h3, h4, h5, h6 {
85
+ font-weight: $base-font-weight;
86
+ }
87
+
88
+
89
+
90
+ /**
91
+ * Links
92
+ */
93
+ a {
94
+ color: $brand-color;
95
+ text-decoration: none;
96
+
97
+ &:visited {
98
+ color: darken($brand-color, 15%);
99
+ }
100
+
101
+ &:hover {
102
+ color: $text-color;
103
+ text-decoration: underline;
104
+ }
105
+ }
106
+
107
+
108
+
109
+ /**
110
+ * Blockquotes
111
+ */
112
+ blockquote {
113
+ color: $grey-color;
114
+ border-left: 4px solid $grey-color-light;
115
+ padding-left: $spacing-unit / 2;
116
+ font-size: 18px;
117
+ letter-spacing: -1px;
118
+ font-style: italic;
119
+
120
+ > :last-child {
121
+ margin-bottom: 0;
122
+ }
123
+ }
124
+
125
+
126
+
127
+ /**
128
+ * Code formatting
129
+ */
130
+ pre,
131
+ code {
132
+ font-size: 15px;
133
+ border: 1px solid $grey-color-light;
134
+ border-radius: 3px;
135
+ background-color: #eef;
136
+ }
137
+
138
+ code {
139
+ padding: 1px 5px;
140
+ }
141
+
142
+ pre {
143
+ padding: 8px 12px;
144
+ overflow-x: auto;
145
+
146
+ > code {
147
+ border: 0;
148
+ padding-right: 0;
149
+ padding-left: 0;
150
+ }
151
+ }
152
+
153
+
154
+
155
+ /**
156
+ * Wrapper
157
+ */
158
+ .wrapper {
159
+ max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
160
+ max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
161
+ margin-right: auto;
162
+ margin-left: auto;
163
+ padding-right: $spacing-unit;
164
+ padding-left: $spacing-unit;
165
+ @extend %clearfix;
166
+
167
+ @include media-query($on-laptop) {
168
+ max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
169
+ max-width: calc(#{$content-width} - (#{$spacing-unit}));
170
+ padding-right: $spacing-unit / 2;
171
+ padding-left: $spacing-unit / 2;
172
+ }
173
+ }
174
+
175
+
176
+
177
+ /**
178
+ * Clearfix
179
+ */
180
+ %clearfix:after {
181
+ content: "";
182
+ display: table;
183
+ clear: both;
184
+ }
185
+
186
+
187
+
188
+ /**
189
+ * Icons
190
+ */
191
+ .icon > svg {
192
+ display: inline-block;
193
+ vertical-align: middle;
194
+
195
+ path {
196
+ fill: $grey-color;
197
+ }
198
+ }
@@ -0,0 +1,193 @@
1
+ // ** Start Styles **
2
+
3
+ .wrapper {
4
+ }
5
+
6
+ .site-nav {
7
+
8
+ padding: ($spacing-unit * 1) 0;
9
+ margin-bottom: $spacing-unit * 1.5;
10
+
11
+ border-bottom: 1px solid rgba(0,0,0,.05);
12
+
13
+ @include media-query($small-screen) {
14
+ padding: ($spacing-unit * .75) 0;
15
+ margin-bottom: $spacing-unit * .75;
16
+ }
17
+
18
+ // .page-link {
19
+ // text-decoration: none;
20
+ // font-family: $title-font-family;
21
+ // font-size: $title-font-size * .75;
22
+ // font-weight: 400;
23
+ // color: $copy-color;
24
+ //
25
+ // // Gaps between nav items, but not on the last one
26
+ // &:not(:last-child) {
27
+ // margin-right: ($spacing-unit * 1.5);
28
+ //
29
+ // @include media-query($small-screen) {
30
+ // margin-right: ($spacing-unit);
31
+ // }
32
+ // }
33
+ // }
34
+
35
+ }
36
+
37
+
38
+ .site-title {
39
+
40
+ text-decoration: none;
41
+ font-family: $title-font-family;
42
+ font-size: $title-font-size * .75;
43
+ font-weight: $title-font-weight;
44
+ color: $copy-color;
45
+ text-transform: uppercase;
46
+
47
+ }
48
+
49
+
50
+ // ** Site Footer **
51
+
52
+ .site-footer {
53
+ // background: #FAFAFA;
54
+ // border-top: 1px solid $horiz-rule-color;
55
+ // padding: $spacing-unit 0;
56
+ }
57
+
58
+
59
+
60
+ // ** Page Content (Default Layout) **
61
+
62
+ .page-content {
63
+ // padding: $spacing-unit 0;
64
+ }
65
+
66
+
67
+
68
+ // ** Home **
69
+
70
+ .post-list {
71
+ margin: 0;
72
+ list-style: none;
73
+ }
74
+
75
+ .post-link {
76
+ text-decoration: none;
77
+ color: $copy-color;
78
+ }
79
+
80
+ .post-preview {
81
+
82
+ padding-top: $spacing-unit * 1.5;
83
+ padding-bottom: $spacing-unit * 1.5;
84
+
85
+ border-bottom: 1px solid rgba(0,0,0,.05);
86
+
87
+ @include media-query($small-screen) {
88
+ padding-top: $spacing-unit * .75;
89
+ padding-bottom: $spacing-unit * .75;
90
+ }
91
+
92
+
93
+ }
94
+
95
+ .post-list > .post-link:first-child > .post-preview {
96
+
97
+ padding-top: 0;
98
+
99
+ }
100
+
101
+
102
+ // ** Posts **
103
+
104
+ .post-meta {
105
+ margin: 0;
106
+ font-family: $label-font-family;
107
+ font-size: $label-font-size * .75;
108
+ font-weight: $label-font-weight;
109
+ color: $label-color;
110
+ text-transform: uppercase;
111
+
112
+ @include media-query($small-screen) {
113
+ font-size: $label-font-size * .7;
114
+ }
115
+
116
+ }
117
+
118
+ .post-title {
119
+ margin-top: $spacing-unit / 2.5;
120
+ margin-bottom: $spacing-unit / 2.5;
121
+
122
+ font-family: $header-font-family;
123
+ font-size: $header-font-size;
124
+ font-weight: $header-font-weight;
125
+ line-height: $header-font-line-height;
126
+
127
+ //transition: color .125s ease-in-out;
128
+
129
+ @include media-query($small-screen) {
130
+ font-size: $header-font-size * .75;
131
+ }
132
+
133
+ }
134
+
135
+ .post-excerpt {
136
+ font-size: $body-font-size;
137
+ font-weight: $body-font-weight;
138
+ line-height: $body-font-line-height;
139
+
140
+ @include media-query($small-screen) {
141
+ font-size: $body-font-size * .9;
142
+ }
143
+
144
+ }
145
+
146
+ .post-content {
147
+
148
+ @include media-query($small-screen) {
149
+ font-size: $body-font-size * .9;
150
+ }
151
+
152
+ h1,h2,h3,h4 {
153
+ font-family: $header-font-family;
154
+
155
+ @include media-query($small-screen) {
156
+ margin-top: $spacing-unit * .25;
157
+ margin-bottom: $spacing-unit * .25;
158
+ }
159
+ }
160
+
161
+ h2 {
162
+ font-size: 32px;
163
+ }
164
+
165
+ h3 {
166
+ font-size: 26px;
167
+ }
168
+
169
+ h4 {
170
+ font-size: 20px;
171
+ }
172
+
173
+ p {
174
+ margin-top: $spacing-unit;
175
+ margin-bottom: $spacing-unit;
176
+
177
+ @include media-query($small-screen) {
178
+ margin-top: $spacing-unit * .25;
179
+ margin-bottom: $spacing-unit * .25;
180
+ }
181
+ }
182
+
183
+ a {
184
+ color: $copy-color;
185
+ text-decoration: none;
186
+ border-bottom: 1px solid $label-color;
187
+
188
+ &:hover {
189
+ border-bottom: 1px solid $copy-color;
190
+ }
191
+ }
192
+
193
+ } // end .post-content
@@ -0,0 +1,237 @@
1
+ /**
2
+ * Site header
3
+ */
4
+ .site-header {
5
+ border-top: 5px solid $grey-color-dark;
6
+ border-bottom: 1px solid $grey-color-light;
7
+ min-height: 56px;
8
+
9
+ // Positioning context for the mobile navigation icon
10
+ position: relative;
11
+ }
12
+
13
+ .site-title {
14
+ font-size: 26px;
15
+ font-weight: 300;
16
+ line-height: 56px;
17
+ letter-spacing: -1px;
18
+ margin-bottom: 0;
19
+ float: left;
20
+
21
+ &,
22
+ &:visited {
23
+ color: $grey-color-dark;
24
+ }
25
+ }
26
+
27
+ .site-nav {
28
+ float: right;
29
+ line-height: 56px;
30
+
31
+ .menu-icon {
32
+ display: none;
33
+ }
34
+
35
+ .page-link {
36
+ color: $text-color;
37
+ line-height: $base-line-height;
38
+
39
+ // Gaps between nav items, but not on the last one
40
+ &:not(:last-child) {
41
+ margin-right: 20px;
42
+ }
43
+ }
44
+
45
+ @include media-query($on-palm) {
46
+ position: absolute;
47
+ top: 9px;
48
+ right: $spacing-unit / 2;
49
+ background-color: $background-color;
50
+ border: 1px solid $grey-color-light;
51
+ border-radius: 5px;
52
+ text-align: right;
53
+
54
+ .menu-icon {
55
+ display: block;
56
+ float: right;
57
+ width: 36px;
58
+ height: 26px;
59
+ line-height: 0;
60
+ padding-top: 10px;
61
+ text-align: center;
62
+
63
+ > svg path {
64
+ fill: $grey-color-dark;
65
+ }
66
+ }
67
+
68
+ .trigger {
69
+ clear: both;
70
+ display: none;
71
+ }
72
+
73
+ &:hover .trigger {
74
+ display: block;
75
+ padding-bottom: 5px;
76
+ }
77
+
78
+ .page-link {
79
+ display: block;
80
+ padding: 5px 10px;
81
+
82
+ &:not(:last-child) {
83
+ margin-right: 0;
84
+ }
85
+ margin-left: 20px;
86
+ }
87
+ }
88
+ }
89
+
90
+
91
+
92
+ /**
93
+ * Site footer
94
+ */
95
+ .site-footer {
96
+ border-top: 1px solid $grey-color-light;
97
+ padding: $spacing-unit 0;
98
+ }
99
+
100
+ .footer-heading {
101
+ font-size: 18px;
102
+ margin-bottom: $spacing-unit / 2;
103
+ }
104
+
105
+ .contact-list,
106
+ .social-media-list {
107
+ list-style: none;
108
+ margin-left: 0;
109
+ }
110
+
111
+ .footer-col-wrapper {
112
+ font-size: 15px;
113
+ color: $grey-color;
114
+ margin-left: -$spacing-unit / 2;
115
+ @extend %clearfix;
116
+ }
117
+
118
+ .footer-col {
119
+ float: left;
120
+ margin-bottom: $spacing-unit / 2;
121
+ padding-left: $spacing-unit / 2;
122
+ }
123
+
124
+ .footer-col-1 {
125
+ width: -webkit-calc(35% - (#{$spacing-unit} / 2));
126
+ width: calc(35% - (#{$spacing-unit} / 2));
127
+ }
128
+
129
+ .footer-col-2 {
130
+ width: -webkit-calc(20% - (#{$spacing-unit} / 2));
131
+ width: calc(20% - (#{$spacing-unit} / 2));
132
+ }
133
+
134
+ .footer-col-3 {
135
+ width: -webkit-calc(45% - (#{$spacing-unit} / 2));
136
+ width: calc(45% - (#{$spacing-unit} / 2));
137
+ }
138
+
139
+ @include media-query($on-laptop) {
140
+ .footer-col-1,
141
+ .footer-col-2 {
142
+ width: -webkit-calc(50% - (#{$spacing-unit} / 2));
143
+ width: calc(50% - (#{$spacing-unit} / 2));
144
+ }
145
+
146
+ .footer-col-3 {
147
+ width: -webkit-calc(100% - (#{$spacing-unit} / 2));
148
+ width: calc(100% - (#{$spacing-unit} / 2));
149
+ }
150
+ }
151
+
152
+ @include media-query($on-palm) {
153
+ .footer-col {
154
+ float: none;
155
+ width: -webkit-calc(100% - (#{$spacing-unit} / 2));
156
+ width: calc(100% - (#{$spacing-unit} / 2));
157
+ }
158
+ }
159
+
160
+
161
+
162
+ /**
163
+ * Page content
164
+ */
165
+ .page-content {
166
+ padding: $spacing-unit 0;
167
+ }
168
+
169
+ .page-heading {
170
+ font-size: 20px;
171
+ }
172
+
173
+ .post-list {
174
+ margin-left: 0;
175
+ list-style: none;
176
+
177
+ > li {
178
+ margin-bottom: $spacing-unit;
179
+ }
180
+ }
181
+
182
+ .post-meta {
183
+ font-size: $small-font-size;
184
+ color: $grey-color;
185
+ }
186
+
187
+ .post-link {
188
+ display: block;
189
+ font-size: 24px;
190
+ }
191
+
192
+
193
+
194
+ /**
195
+ * Posts
196
+ */
197
+ .post-header {
198
+ margin-bottom: $spacing-unit;
199
+ }
200
+
201
+ .post-title {
202
+ font-size: 42px;
203
+ letter-spacing: -1px;
204
+ line-height: 1;
205
+
206
+ @include media-query($on-laptop) {
207
+ font-size: 36px;
208
+ }
209
+ }
210
+
211
+ .post-content {
212
+ margin-bottom: $spacing-unit;
213
+
214
+ h2 {
215
+ font-size: 32px;
216
+
217
+ @include media-query($on-laptop) {
218
+ font-size: 28px;
219
+ }
220
+ }
221
+
222
+ h3 {
223
+ font-size: 26px;
224
+
225
+ @include media-query($on-laptop) {
226
+ font-size: 22px;
227
+ }
228
+ }
229
+
230
+ h4 {
231
+ font-size: 20px;
232
+
233
+ @include media-query($on-laptop) {
234
+ font-size: 18px;
235
+ }
236
+ }
237
+ }
data/assets/main.scss ADDED
@@ -0,0 +1,50 @@
1
+ ---
2
+ # Only the main Sass file needs front matter (the dashes are enough)
3
+ ---
4
+ @charset "utf-8";
5
+
6
+ // ** Our variables **
7
+
8
+ // Global Colors
9
+ $background-color: #FFF;
10
+ $copy-color: #1B1B1B;
11
+ $label-color: lighten($copy-color, 45%);
12
+ $brand-color: #36CC7F;
13
+ $horiz-rule-color: #ddd;
14
+
15
+ // Body Copy
16
+ $body-font-family: "Merriweather", sans-serif;
17
+ $body-font-size: 17px;
18
+ $body-font-weight: 300;
19
+ $body-font-line-height: 1.8;
20
+
21
+ // Label Copy
22
+ $label-font-family: "Hind", sans-serif;
23
+ $label-font-size: $body-font-size * 1;
24
+ $label-font-weight: 300;
25
+ $label-font-line-height: 1;
26
+
27
+ // Header Copy
28
+ $header-font-family: "Hind", sans-serif;
29
+ $header-font-size: $body-font-size * 2.65;
30
+ $header-font-weight: 700;
31
+ $header-font-line-height: 1.2;
32
+
33
+ // Title Copy
34
+ $title-font-family: "Hind", sans-serif;
35
+ $title-font-size: $body-font-size;
36
+ $title-font-weight: 700;
37
+ $title-font-line-height: 1;
38
+
39
+
40
+ // Spacing
41
+ $spacing-unit: 30px;
42
+
43
+ // Content Width
44
+ $content-width: 800px;
45
+
46
+ // Media Query Content Widths
47
+ $small-screen: $content-width;
48
+
49
+ // Import partials from the `menjay` theme.
50
+ @import "menjay";
metadata ADDED
@@ -0,0 +1,102 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: menjay
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Ryan Hoffmann
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-07-20 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: '3.3'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.12'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.12'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ description:
56
+ email:
57
+ - rhoff37@gmail.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - LICENSE.txt
63
+ - README.md
64
+ - _includes/disqus_comments.html
65
+ - _includes/footer.html
66
+ - _includes/head.html
67
+ - _includes/header.html
68
+ - _layouts/default.html
69
+ - _layouts/home.html
70
+ - _layouts/page.html
71
+ - _layouts/post.html
72
+ - _sass/menjay.scss
73
+ - _sass/menjay/_base.scss
74
+ - _sass/menjay/_base_old.scss
75
+ - _sass/menjay/_layout.scss
76
+ - _sass/menjay/_layout_old.scss
77
+ - assets/main.scss
78
+ homepage: http://www.ryanhoffmann.com
79
+ licenses:
80
+ - MIT
81
+ metadata: {}
82
+ post_install_message:
83
+ rdoc_options: []
84
+ require_paths:
85
+ - lib
86
+ required_ruby_version: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - ">="
89
+ - !ruby/object:Gem::Version
90
+ version: '0'
91
+ required_rubygems_version: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ requirements: []
97
+ rubyforge_project:
98
+ rubygems_version: 2.6.11
99
+ signing_key:
100
+ specification_version: 4
101
+ summary: A blog theme.
102
+ test_files: []