octopress-genesis-theme 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/README.md +56 -15
  4. data/assets/config.yml +7 -0
  5. data/assets/includes/index-post.html +6 -4
  6. data/assets/includes/post-nav.html +2 -2
  7. data/assets/includes/primary-nav.html +2 -2
  8. data/assets/includes/social/page-header.html +1 -0
  9. data/assets/includes/social/post-footer.html +1 -0
  10. data/assets/includes/social/post-header.html +1 -0
  11. data/assets/layouts/default.html +4 -4
  12. data/assets/layouts/page.html +3 -5
  13. data/assets/layouts/paginated-posts.html +2 -2
  14. data/assets/layouts/post.html +18 -8
  15. data/assets/pages/index.html +2 -2
  16. data/assets/stylesheets/_colors.scss +13 -1
  17. data/assets/stylesheets/_entry.scss +85 -0
  18. data/assets/stylesheets/_fonts.scss +3 -0
  19. data/assets/stylesheets/_grid.scss +153 -0
  20. data/assets/stylesheets/_header.scss +50 -0
  21. data/assets/stylesheets/_layout.scss +18 -10
  22. data/assets/stylesheets/_post-nav.scss +38 -0
  23. data/assets/stylesheets/_sizes.scss +6 -4
  24. data/assets/stylesheets/_theme.scss +20 -11
  25. data/assets/stylesheets/_typography.scss +90 -0
  26. data/assets/stylesheets/index.scss +11 -0
  27. data/demo/Gemfile +1 -1
  28. data/demo/_config.yml +1 -0
  29. data/demo/_plugins/theme/config.yml +6 -2
  30. data/demo/_plugins/theme/stylesheets/_colors.scss +16 -0
  31. data/demo/_plugins/theme/stylesheets/_entry.scss +85 -0
  32. data/demo/_plugins/theme/stylesheets/_header.scss +51 -0
  33. data/demo/_plugins/theme/stylesheets/_post-nav.scss +38 -0
  34. data/demo/_plugins/theme/stylesheets/_sizes.scss +17 -0
  35. data/demo/_plugins/theme/stylesheets/_typography.scss +91 -0
  36. data/demo/_plugins/theme/stylesheets/index.scss +16 -0
  37. data/demo/_posts/2014-08-03-dang-that-was-fast.md +17 -0
  38. data/demo/_posts/2014-08-03-hi-guys.markdown +1 -0
  39. data/demo/images/panorama.jpg +0 -0
  40. data/demo/page.html +175 -0
  41. data/lib/octopress-genesis/version.rb +1 -1
  42. metadata +21 -5
  43. data/demo/_plugins/theme/stylesheets/_layout.scss +0 -63
  44. data/demo/_plugins/theme/stylesheets/_theme.scss +0 -19
  45. data/demo/_posts/2014-08-03-dang-that-was-fast.markdown +0 -10
@@ -0,0 +1,51 @@
1
+ .site-top-content {
2
+ display: table;
3
+ width: 100%;
4
+ background-color: $site-header-bg;
5
+ }
6
+
7
+ .site-header, .site-nav {
8
+ padding: 1rem 1rem;
9
+ vertical-align: middle;
10
+ @include at-least($medium) {
11
+ padding: 1rem 1.5rem;
12
+ }
13
+ }
14
+
15
+ .site-header {
16
+ text-align: left;
17
+ display: table-cell;
18
+ }
19
+
20
+ .site-title {
21
+ margin: 0;
22
+ font-size: 1.8rem;
23
+ }
24
+
25
+ .site-title-link {
26
+ text-decoration: none;
27
+ color: $site-title-color;
28
+ font-weight: normal;
29
+ }
30
+
31
+ .site-nav {
32
+ display: table-cell;
33
+ text-align: right;
34
+ }
35
+
36
+ .site-nav-link {
37
+ text-decoration: none;
38
+ color: $site-nav-color;
39
+ padding: 0 .3rem;
40
+
41
+ &:last-child {
42
+ padding-right: 0;
43
+ }
44
+ }
45
+
46
+ .site-subtitle {
47
+ margin: .2rem 0;
48
+ color: $medium-text-color;
49
+ font-size: .95rem;
50
+ }
51
+
@@ -0,0 +1,38 @@
1
+ // Post index navigation
2
+
3
+ .post-index-nav {
4
+ text-align: center;
5
+ border-top: 1px solid $page-border;
6
+ overflow: hidden;
7
+ padding: { top: .65em; }
8
+ }
9
+
10
+ .post-nav {
11
+ border-top: 1px solid $page-border;
12
+ overflow: hidden;
13
+ }
14
+
15
+ .next-post { float: right; text-align: right; }
16
+ .previous-post { float: left; }
17
+
18
+ .next-post, .previous-post {
19
+ text-decoration: none;
20
+ color: inherit;
21
+ padding: { top: .65em; bottom: .65em; }
22
+ }
23
+
24
+ .previous-post-marker, .next-post-marker {
25
+ color: $accent-color;
26
+ font-size: .8em;
27
+ }
28
+
29
+ .previous-post-title, .next-post-title {
30
+ font-family: $title-font;
31
+ font-weight: bold;
32
+ margin: .2em 0;
33
+ }
34
+
35
+ .previous-post-date, .next-post-date {
36
+ color: $light-text-color;
37
+ font-size: .8em;
38
+ }
@@ -0,0 +1,17 @@
1
+ // Global breakpoints
2
+ $tiny: 320px;
3
+ $small: 600px;
4
+ $medium: 750px;
5
+ $large: 900px;
6
+ $max: 1080px;
7
+
8
+
9
+ // Item widths
10
+ $main-sidebar-width: 300px;
11
+ $main-content-max: 900px;
12
+ $content-pad: 20px;
13
+
14
+ $h-pad-box: 5%, 40px;
15
+ $v-pad-box: 5%, 30px;
16
+
17
+ $base-font-size: 20px;
@@ -0,0 +1,91 @@
1
+ $post-title-font-stack: "Source Serif Pro", Georgia, Times, 'Times New Roman', serif;
2
+
3
+ html {
4
+ font-size: $base-font-size;
5
+ }
6
+
7
+ body {
8
+ font-family: "Source Serif Pro", Georgia, Times, 'Times New Roman', serif;
9
+ line-height: 1.65em;
10
+ }
11
+
12
+ h1,h2,h3,h4,h5,h6 {
13
+ line-height: normal;
14
+ margin: .83em 0;
15
+ }
16
+
17
+ h1 {
18
+ font-size: 2.8rem;
19
+ }
20
+
21
+ h2 {
22
+ font-size: 2em;
23
+ }
24
+
25
+ h3 {
26
+ font-size: 1.6em;
27
+ }
28
+
29
+ h4 {
30
+ font-size: 1.3em;
31
+ }
32
+
33
+ h5 {
34
+ font-size: 1.2em;
35
+ }
36
+
37
+ h6 {
38
+ font-size: 1em;
39
+ }
40
+
41
+ p, ul, ol, dl, table, figure, blockquote {
42
+ margin: { top: 1.45rem; bottom: 1.45rem; }
43
+ }
44
+
45
+ figure {
46
+ margin: {left: 0; right: 0;}
47
+ }
48
+
49
+ img {
50
+ max-width: 100%;
51
+ }
52
+
53
+ blockquote {
54
+ border-left: 5px solid $page-border;
55
+ margin-left: 0;
56
+ padding: 1px .5rem 1px 2rem;
57
+ color: $medium-text-color;
58
+ p {
59
+ margin: .8rem 0;
60
+ }
61
+ }
62
+
63
+ .float-right {
64
+ float: right;
65
+ margin: { top: 1.1em; left: 1.1em; bottom: 1.1em; }
66
+ }
67
+ .float-left {
68
+ float: left;
69
+ margin: { top: 1.1em; right: 1.1em; bottom: 1.1em; }
70
+ }
71
+
72
+ .align-left { text-align: left; }
73
+ .align-center { text-align: center; }
74
+ .align-left { text-align: left; }
75
+
76
+ .align-top { vertical-align: top; }
77
+ .align-middle { vertical-align: middle; }
78
+ .align-bottom { vertical-align: bottom; }
79
+
80
+ hr {
81
+ border: none;
82
+ background: none;
83
+ width: 100%;
84
+ border-bottom: 1px solid $page-border;
85
+ &.dark {
86
+ border-bottom: 1px solid $gray;
87
+ }
88
+ &.thick {
89
+ }
90
+ }
91
+
@@ -0,0 +1,16 @@
1
+ // Theme settings
2
+
3
+ $center-headings: {{ theme.center-headings }};
4
+
5
+ // Stylesheets
6
+ @import "colors";
7
+ @import "sizes";
8
+ @import "mixins";
9
+ @import "fonts";
10
+ @import "typography";
11
+ @import "theme";
12
+ @import "grid";
13
+ @import "layout";
14
+ @import "header";
15
+ @import "entry";
16
+ @import "post-nav";
@@ -0,0 +1,17 @@
1
+ ---
2
+ layout: theme:post
3
+ title: "Dang That Was Fast"
4
+ date: 2014-08-03T23:18:12-05:00
5
+ categories:
6
+ - 'hi'
7
+ - 'guys'
8
+ title-graphic: /images/panorama.jpg
9
+ class: light-title
10
+ subtitle: But was it? Was it really?
11
+ ---
12
+
13
+ **The quick**, brown fox jumps over a lazy dog. DJs flock by when MTV ax quiz prog. Junk MTV quiz graced by fox whelps. Bawds jog, flick quartz, vex nymphs. Waltz, bad nymph, for quick jigs vex! Fox nymphs grab quick-jived waltz. Brick quiz whangs jumpy veldt fox. Bright vixens jump; dozy fowl quack.
14
+
15
+ Quick wafting zephyrs vex bold Jim. Quick zephyrs blow, vexing daft Jim. Sex-charged fop blew my junk TV quiz. How quickly daft jumping zebras vex. Two driven jocks help fax my big quiz. Quick, Baz, get my woven flax jodhpurs! "Now fax quiz Jack! " my brave ghost pled.
16
+
17
+ Five quacking zephyrs jolt my wax bed. Flummoxed by job, kvetching W. zaps Iraq. Cozy sphinx waves quart jug of bad milk. A very bad quack might jinx zippy fowls. Few quips galvanized the mock jury box. Quick brown dogs jump over the lazy fox. The jay, pig, fox, zebra, and my wolves quack! Blowzy red vixens fight for a quick jump. Joaquin Phoenix was gazed by MTV for luck. A wizard’s job is to vex chumps quickly in fog. Watch "Jeopardy! ", Alex Trebek's fun TV quiz game. Woven silk pyjamas exchanged for blue quartz. Brawny gods just
@@ -2,6 +2,7 @@
2
2
  layout: theme:post
3
3
  title: "Hi Guys"
4
4
  date: 2014-08-03T22:59:25-05:00
5
+ subtitle: How's it going?
5
6
  ---
6
7
 
7
8
  Testing!
Binary file
data/demo/page.html ADDED
@@ -0,0 +1,175 @@
1
+ ---
2
+ layout: theme:page
3
+ title: some awesome page
4
+ ---
5
+
6
+ <!-- Sample Content to Plugin to Template -->
7
+ <h1>CSS Basic Elements</h1>
8
+
9
+ <p>The purpose of this HTML is to help determine what default settings are with CSS and to make sure that all possible HTML Elements are included in this HTML so as to not miss any possible Elements when designing a site.</p>
10
+
11
+ <hr>
12
+
13
+ <h1 id="headings">Headings</h1>
14
+
15
+ <h1>Heading 1</h1>
16
+ <h2>Heading 2</h2>
17
+ <h3>Heading 3</h3>
18
+ <h4>Heading 4</h4>
19
+ <h5>Heading 5</h5>
20
+ <h6>Heading 6</h6>
21
+
22
+ <small><a href="#wrapper">[top]</a></small>
23
+ <hr>
24
+
25
+ <figure class='image full-width'><img src="/images/panorama.jpg"></figure>
26
+
27
+
28
+ <h1 id="paragraph">Paragraph</h1>
29
+
30
+
31
+ <p><img class='float-right' width=250 height=125px src="#" alt="Some image">Lorem ipsum dolor sit amet, <a href="#" title="test link">test link</a> adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl. Praesent mattis, massa quis luctus fermentum, turpis mi volutpat justo, eu volutpat enim diam eget metus. Maecenas ornare tortor. Donec sed tellus eget sapien fringilla nonummy. Mauris a ante. Suspendisse quam sem, consequat at, commodo vitae, feugiat in, nunc. Morbi imperdiet augue quis tellus.</p>
32
+
33
+ <figure class='float-left'>
34
+ <img src="#" width=250 height=125px alt="Cat picture">
35
+ <figcaption>This is a totally awesome cat picture</figcaption>
36
+ </figure>
37
+
38
+ <p>Lorem ipsum dolor sit amet, <em>emphasis</em> consectetuer adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl. Praesent mattis, massa quis luctus fermentum, turpis mi volutpat justo, eu volutpat enim diam eget metus. Maecenas ornare tortor. Donec sed tellus eget sapien fringilla nonummy. Mauris a ante. Suspendisse quam sem, consequat at, commodo vitae, feugiat in, nunc. Morbi imperdiet augue quis tellus.</p>
39
+
40
+ <small><a href="#wrapper">[top]</a></small>
41
+ <hr>
42
+
43
+ <h1 id="list_types">List Types</h1>
44
+
45
+ <h3>Definition List</h3>
46
+ <dl>
47
+ <dt>Definition List Title</dt>
48
+ <dd>This is a definition list division.</dd>
49
+ </dl>
50
+
51
+ <h3>Ordered List</h3>
52
+ <ol>
53
+ <li>List Item 1</li>
54
+ <li>List Item 2</li>
55
+ <li>List Item 3</li>
56
+ </ol>
57
+
58
+ <h3>Unordered List</h3>
59
+ <ul>
60
+ <li>List Item 1</li>
61
+ <li>List Item 2</li>
62
+ <li>List Item 3</li>
63
+ </ul>
64
+
65
+ <small><a href="#wrapper">[top]</a></small>
66
+ <hr>
67
+
68
+ <h1 id="figures">Figures</h1>
69
+
70
+ <h1 id="form_elements">Fieldsets, Legends, and Form Elements</h1>
71
+
72
+ <fieldset>
73
+ <legend>Legend</legend>
74
+
75
+ <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl. Praesent mattis, massa quis luctus fermentum, turpis mi volutpat justo, eu volutpat enim diam eget metus.</p>
76
+
77
+ <form>
78
+ <h2>Form Element</h2>
79
+
80
+ <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui.</p>
81
+
82
+ <p><label for="text_field">Text Field:</label><br>
83
+ <input type="text" id="text_field"></p>
84
+
85
+ <p><label for="text_area">Text Area:</label><br>
86
+ <textarea id="text_area"></textarea></p>
87
+
88
+ <p><label for="select_element">Select Element:</label><br>
89
+ <select name="select_element">
90
+ <optgroup label="Option Group 1">
91
+ <option value="1">Option 1</option>
92
+ <option value="2">Option 2</option>
93
+ <option value="3">Option 3</option>
94
+ </optgroup>
95
+ <optgroup label="Option Group 2">
96
+ <option value="1">Option 1</option>
97
+ <option value="2">Option 2</option>
98
+ <option value="3">Option 3</option>
99
+ </optgroup>
100
+ </select></p>
101
+
102
+ <p><label for="radio_buttons">Radio Buttons:</label><br>
103
+ <input type="radio" class="radio" name="radio_button" value="radio_1"> Radio 1<br/>
104
+ <input type="radio" class="radio" name="radio_button" value="radio_2"> Radio 2<br/>
105
+ <input type="radio" class="radio" name="radio_button" value="radio_3"> Radio 3<br/>
106
+ </p>
107
+
108
+ <p><label for="checkboxes">Checkboxes:</label><br>
109
+ <input type="checkbox" class="checkbox" name="checkboxes" value="check_1"> Radio 1<br/>
110
+ <input type="checkbox" class="checkbox" name="checkboxes" value="check_2"> Radio 2<br/>
111
+ <input type="checkbox" class="checkbox" name="checkboxes" value="check_3"> Radio 3<br/>
112
+ </p>
113
+
114
+ <p><label for="password">Password:</label><br>
115
+ <input type="password" class="password" name="password">
116
+ </p>
117
+
118
+ <p><label for="file">File Input:</label><br>
119
+ <input type="file" class="file" name="file">
120
+ </p>
121
+
122
+
123
+ <p><input class="button" type="reset" value="Clear"> <input class="button" type="submit" value="Submit" />
124
+ </p>
125
+
126
+
127
+
128
+ </form>
129
+
130
+ </fieldset>
131
+
132
+ <small><a href="#wrapper">[top]</a></small>
133
+ <hr>
134
+
135
+ <h1 id="tables">Tables</h1>
136
+
137
+ <table cellspacing="0" cellpadding="0">
138
+ <tr>
139
+ <th>Table Header 1</th><th>Table Header 2</th><th>Table Header 3</th>
140
+ </tr>
141
+ <tr>
142
+ <td>Division 1</td><td>Division 2</td><td>Division 3</td>
143
+ </tr>
144
+ <tr class="even">
145
+ <td>Division 1</td><td>Division 2</td><td>Division 3</td>
146
+ </tr>
147
+ <tr>
148
+ <td>Division 1</td><td>Division 2</td><td>Division 3</td>
149
+ </tr>
150
+
151
+ </table>
152
+
153
+ <small><a href="#wrapper">[top]</a></small>
154
+ <hr>
155
+
156
+ <h1 id="misc">Misc Stuff - abbr, acronym, pre, code, sub, sup, etc.</h1>
157
+
158
+ <p>Lorem <sup>superscript</sup> dolor <sub>subscript</sub> amet, consectetuer adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. <cite>cite</cite>. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl. Praesent mattis, massa quis luctus fermentum, turpis mi volutpat justo, eu volutpat enim diam eget metus. Maecenas ornare tortor. Donec sed tellus eget sapien fringilla nonummy. <acronym title="National Basketball Association">NBA</acronym> Mauris a ante. Suspendisse quam sem, consequat at, commodo vitae, feugiat in, nunc. Morbi imperdiet augue quis tellus. <abbr title="Avenue">AVE</abbr></p>
159
+
160
+ <pre><p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl. Praesent mattis, massa quis luctus fermentum, turpis mi volutpat justo, eu volutpat enim diam eget metus. Maecenas ornare tortor. Donec sed tellus eget sapien fringilla nonummy. <acronym title="National Basketball Association">NBA</acronym> Mauris a ante. Suspendisse quam sem, consequat at, commodo vitae, feugiat in, nunc. Morbi imperdiet augue quis tellus. <abbr title="Avenue">AVE</abbr></p></pre>
161
+
162
+ <blockquote>
163
+ "This stylesheet is going to help so freaking much." <br>-Blockquote
164
+ </blockquote>
165
+
166
+ <figure class='quote'>
167
+ <blockquote>Never pet a burning dog.</blockquote>
168
+ <figcaption>
169
+ <span class='quote-author'>Some NPC</span>
170
+ <cite>Warcraft II</cite>
171
+ </figcaption>
172
+ </figure>
173
+
174
+ <small><a href="#wrapper">[top]</a></small>
175
+ <!-- End of Sample Content -->
@@ -1,5 +1,5 @@
1
1
  module Octopress
2
2
  module Genesis
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octopress-genesis-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Mathis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-25 00:00:00.000000000 Z
11
+ date: 2014-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octopress-ink
@@ -240,6 +240,9 @@ files:
240
240
  - assets/includes/primary-nav.html
241
241
  - assets/includes/site-footer.html
242
242
  - assets/includes/site-header.html
243
+ - assets/includes/social/page-header.html
244
+ - assets/includes/social/post-footer.html
245
+ - assets/includes/social/post-header.html
243
246
  - assets/layouts/base.html
244
247
  - assets/layouts/category-index.html
245
248
  - assets/layouts/default.html
@@ -249,18 +252,31 @@ files:
249
252
  - assets/pages/archive.html
250
253
  - assets/pages/index.html
251
254
  - assets/stylesheets/_colors.scss
255
+ - assets/stylesheets/_entry.scss
256
+ - assets/stylesheets/_fonts.scss
257
+ - assets/stylesheets/_grid.scss
258
+ - assets/stylesheets/_header.scss
252
259
  - assets/stylesheets/_layout.scss
253
260
  - assets/stylesheets/_mixins.scss
261
+ - assets/stylesheets/_post-nav.scss
254
262
  - assets/stylesheets/_sizes.scss
255
263
  - assets/stylesheets/_theme.scss
264
+ - assets/stylesheets/_typography.scss
256
265
  - assets/stylesheets/index.scss
257
266
  - demo/Gemfile
258
267
  - demo/_config.yml
259
268
  - demo/_plugins/theme/config.yml
260
- - demo/_plugins/theme/stylesheets/_layout.scss
261
- - demo/_plugins/theme/stylesheets/_theme.scss
262
- - demo/_posts/2014-08-03-dang-that-was-fast.markdown
269
+ - demo/_plugins/theme/stylesheets/_colors.scss
270
+ - demo/_plugins/theme/stylesheets/_entry.scss
271
+ - demo/_plugins/theme/stylesheets/_header.scss
272
+ - demo/_plugins/theme/stylesheets/_post-nav.scss
273
+ - demo/_plugins/theme/stylesheets/_sizes.scss
274
+ - demo/_plugins/theme/stylesheets/_typography.scss
275
+ - demo/_plugins/theme/stylesheets/index.scss
276
+ - demo/_posts/2014-08-03-dang-that-was-fast.md
263
277
  - demo/_posts/2014-08-03-hi-guys.markdown
278
+ - demo/images/panorama.jpg
279
+ - demo/page.html
264
280
  - lib/octopress-genesis.rb
265
281
  - lib/octopress-genesis/category-generator.rb
266
282
  - lib/octopress-genesis/version.rb