garth-jekyll-theme 0.3.0 → 0.4.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.
@@ -0,0 +1,171 @@
1
+ ---
2
+ styles: true
3
+ ---
4
+
5
+
6
+ // Frameworks & Imports
7
+ @charset "utf-8";
8
+ @import "colors.scss";
9
+ @import "normalize";
10
+ @import "sassline-base";
11
+ @import "syntax";
12
+ @import "flex";
13
+
14
+
15
+ // Structural elements
16
+ body {
17
+ background: $color__site--background;
18
+ color: $color__site--body;
19
+ height: 100%;
20
+ display: flex;
21
+ @include flex-direction(column);
22
+ overflow-x: hidden;
23
+ }
24
+
25
+ .container {
26
+ width: 90%;
27
+ max-width: 900px;
28
+ margin: 0 auto;
29
+ }
30
+
31
+
32
+ // Header, feature and footer
33
+ .header,
34
+ .footer {
35
+ .container {
36
+ padding: 1rem 0;
37
+ @include flexbox;
38
+ @include flex-direction(column);
39
+ @include align-items(center);
40
+ text-align: center;
41
+ }
42
+ @include breakpoint(break-1) {
43
+ .container {
44
+ @include flex-direction(row);
45
+ @include justify-content(space-between);
46
+ text-align: inherit;
47
+ }
48
+ }
49
+ }
50
+
51
+ .header {
52
+ @include flex(0, 0, auto);
53
+ background: darken($color__site--background, 10%);
54
+ }
55
+
56
+ .logo {
57
+ display: inline-block;
58
+ line-height: 0;
59
+ border-radius: 100%;
60
+ overflow: hidden;
61
+ img {
62
+ width: 4rem;
63
+ height: 4rem;
64
+ }
65
+ }
66
+
67
+ .small {
68
+ padding-top: .6rem;
69
+ color: $color__site--captions;
70
+ display: inline-block;
71
+ }
72
+
73
+ .footer {
74
+ border-top: 1px solid darken($color__site--background, 15%);
75
+ }
76
+
77
+
78
+ // Nav and copyright
79
+ .nav {
80
+ &--paginator {
81
+ @include flexbox;
82
+ @include justify-content(center);
83
+ color: $color__site--captions;
84
+ text-align: center;
85
+ }
86
+ }
87
+
88
+ .pagination {
89
+ margin: 0 1rem;
90
+ }
91
+
92
+
93
+ // Main content
94
+ .main {
95
+ @include flexbox;
96
+ @include flex-direction(column);
97
+ @include flex(1, 0, auto);
98
+ margin-bottom: 1.6rem;
99
+ @include breakpoint(break-1) {
100
+ @include flex-direction(row);
101
+ }
102
+ }
103
+
104
+
105
+ // Lists
106
+ .list {
107
+ &--posts {
108
+ list-style: none;
109
+ }
110
+ &--nav {
111
+ list-style: none;
112
+ }
113
+ .item--post {
114
+ margin-left: 0;
115
+ }
116
+ }
117
+
118
+ .item {
119
+ &--nav {
120
+ display: inline-block;
121
+ margin-left: 1rem;
122
+ &:first-of-type {
123
+ margin-left: 0;
124
+ }
125
+ }
126
+ &--current {
127
+ a {
128
+ color: $color__site--link--current;
129
+ }
130
+ }
131
+ }
132
+
133
+
134
+ // Images and media elements
135
+ img {
136
+ max-width: 100%;
137
+ height: auto;
138
+ }
139
+
140
+ audio,
141
+ video {
142
+ width: 100%;
143
+ }
144
+
145
+
146
+ // Text selection
147
+ ::selection {
148
+ background: $color__site--heading;
149
+ color: $color__site--background;
150
+ text-shadow: none;
151
+ }
152
+
153
+
154
+ // Sassline overrides
155
+ .typeset {
156
+ .button,
157
+ button {
158
+ background-image: none;
159
+ text-shadow: none;
160
+ color: lighten(invert($color__site--body), 15%);
161
+ &:hover,
162
+ &:active,
163
+ &:focus {
164
+ background-image: none;
165
+ color: lighten(invert($color__site--body), 15%);
166
+ }
167
+ }
168
+ hr {
169
+ width: 100%;
170
+ }
171
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: garth-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Darnes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-02 00:00:00.000000000 Z
11
+ date: 2017-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -16,23 +16,75 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '3.2'
19
+ version: '3.3'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '3.2'
27
- description: A stupidly simple theme for Jekyll (3.2), using official Jekyll theme
28
- implementation
26
+ version: '3.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: jekyll-paginate
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.1'
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'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.12'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.12'
55
+ description: A stupidly simple theme for Jekyll, using the official Jekyll theme implementation.
29
56
  email:
30
57
  - me@daviddarnes.com
31
58
  executables: []
32
59
  extensions: []
33
60
  extra_rdoc_files: []
34
- files: []
35
- homepage: https://github.com/daviddarnes/garth-jekyll-theme
61
+ files:
62
+ - LICENSE
63
+ - README.md
64
+ - _includes/post-list.html
65
+ - _includes/post-meta.html
66
+ - _includes/post-pagination.html
67
+ - _includes/site-footer.html
68
+ - _includes/site-header.html
69
+ - _includes/site-logo.html
70
+ - _includes/site-nav.html
71
+ - _layouts/default.html
72
+ - _layouts/home.html
73
+ - _layouts/page.html
74
+ - _layouts/post.html
75
+ - _sass/_colors.scss
76
+ - _sass/_flex.scss
77
+ - _sass/_normalize.scss
78
+ - _sass/_sassline-base.scss
79
+ - _sass/_syntax.scss
80
+ - _sass/sassline-base/_layouts.scss
81
+ - _sass/sassline-base/_mixins.scss
82
+ - _sass/sassline-base/_modular-scale.scss
83
+ - _sass/sassline-base/_reset.scss
84
+ - _sass/sassline-base/_typography.scss
85
+ - _sass/sassline-base/_variables.scss
86
+ - assets/styles.scss
87
+ homepage: https://garth.darn.es
36
88
  licenses:
37
89
  - MIT
38
90
  metadata: {}
@@ -55,5 +107,5 @@ rubyforge_project:
55
107
  rubygems_version: 2.4.5
56
108
  signing_key:
57
109
  specification_version: 4
58
- summary: A stupidly simple theme for Jekyll (3.2)
110
+ summary: A stupidly simple theme for Jekyll.
59
111
  test_files: []