jekyll-apple 1.0.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,208 @@
1
+ /**
2
+ * Site header
3
+ */
4
+ .site-header {
5
+ min-height: 56px;
6
+ background-color: $dark-background-color;
7
+
8
+ // Positioning context for the mobile navigation icon
9
+ position: relative;
10
+ }
11
+
12
+ .site-title {
13
+ color: $light-text-color !important;
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
+ .site-nav {
23
+ float: right;
24
+ line-height: 56px;
25
+
26
+ .page-link {
27
+ color: $light-text-color;
28
+ line-height: $base-line-height;
29
+
30
+ // Gaps between nav items, but not on the last one
31
+ &:not(:last-child) {
32
+ margin-right: 20px;
33
+ }
34
+ }
35
+
36
+ @include media-query($on-palm) {
37
+ .page-link {
38
+ padding: 20px 0;
39
+
40
+ &:not(:last-child) {
41
+ margin-right: 0;
42
+ }
43
+ margin-left: 20px;
44
+ }
45
+ }
46
+ }
47
+
48
+
49
+
50
+ /**
51
+ * Site footer
52
+ */
53
+ .site-footer {
54
+ padding: $spacing-unit 0;
55
+ font-size: 15px;
56
+ color: $grey-color;
57
+ background-color: $footer-background-color;
58
+ text-align: center;
59
+ }
60
+
61
+
62
+
63
+ /**
64
+ * Page content
65
+ */
66
+ .page-content {
67
+ padding: 80px 0;
68
+ }
69
+
70
+ .page-heading {
71
+ font-size: 20px;
72
+ }
73
+
74
+ .post-list {
75
+ margin-left: 0;
76
+ list-style: none;
77
+
78
+ .post-link:hover {
79
+ text-decoration: none;
80
+ }
81
+
82
+ > li {
83
+ margin-bottom: $spacing-unit * 2;
84
+
85
+ &:not(:first-child) {
86
+ border-top: 4px solid $grey-color-light;
87
+ padding-top: $spacing-unit * 2;
88
+ }
89
+ }
90
+ }
91
+
92
+ .post-archives {
93
+ margin-left: 0;
94
+ list-style: none;
95
+
96
+ .post-link {
97
+ font-size: 24px;
98
+ }
99
+
100
+ > li {
101
+ margin-bottom: $spacing-unit;
102
+ }
103
+ }
104
+
105
+ .post-meta {
106
+ font-size: $small-font-size;
107
+ color: $grey-color;
108
+ }
109
+
110
+ .post-link {
111
+ &,
112
+ &:visited {
113
+ color: $text-color;
114
+ }
115
+
116
+ &:hover {
117
+ color: $brand-color;
118
+ }
119
+ }
120
+
121
+ .post-continue {
122
+ a {
123
+ text-decoration: none;
124
+ color: $a-color;
125
+
126
+ &:hover {
127
+ text-decoration: underline;
128
+ }
129
+ }
130
+ }
131
+
132
+
133
+
134
+ /**
135
+ * Posts
136
+ */
137
+ .post-header {
138
+ margin-bottom: $spacing-unit;
139
+ }
140
+
141
+ .post-title {
142
+ letter-spacing: -1px;
143
+ line-height: 1;
144
+
145
+ @include media-query($on-laptop) {
146
+ font-size: 36px;
147
+ }
148
+ }
149
+
150
+ .post-content {
151
+ margin-bottom: $spacing-unit;
152
+
153
+ h2 {
154
+ font-size: 32px;
155
+
156
+ @include media-query($on-laptop) {
157
+ font-size: 28px;
158
+ }
159
+ }
160
+
161
+ h3 {
162
+ font-size: 26px;
163
+
164
+ @include media-query($on-laptop) {
165
+ font-size: 22px;
166
+ }
167
+ }
168
+
169
+ h4 {
170
+ font-size: 20px;
171
+
172
+ @include media-query($on-laptop) {
173
+ font-size: 18px;
174
+ }
175
+ }
176
+ }
177
+
178
+
179
+
180
+ /**
181
+ * Pagination
182
+ */
183
+ .pagination {
184
+ padding: $spacing-unit / 2 0;
185
+ border-top: 1px solid $grey-color-light;
186
+ border-bottom: 1px solid $grey-color-light;
187
+ text-align: center;
188
+ @extend %clearfix;
189
+
190
+ a {
191
+ &,
192
+ &:visited {
193
+ color: $grey-color;
194
+ }
195
+
196
+ &:hover {
197
+ color: $brand-color;
198
+ }
199
+ }
200
+
201
+ .previous {
202
+ float: left;
203
+ }
204
+
205
+ .next {
206
+ float: right;
207
+ }
208
+ }
@@ -0,0 +1,71 @@
1
+ /**
2
+ * Syntax highlighting styles
3
+ */
4
+ .highlight {
5
+ background-color: lighten($grey-color-light, 5%);
6
+ @extend %vertical-rhythm;
7
+
8
+ .highlighter-rouge & {
9
+ background-color: lighten($grey-color-light, 5%);
10
+ }
11
+
12
+ .c { color: #998; font-style: italic } // Comment
13
+ .err { color: #a61717; background-color: #e3d2d2 } // Error
14
+ .k { font-weight: bold } // Keyword
15
+ .o { font-weight: bold } // Operator
16
+ .cm { color: #998; font-style: italic } // Comment.Multiline
17
+ .cp { color: #999; font-weight: bold } // Comment.Preproc
18
+ .c1 { color: #998; font-style: italic } // Comment.Single
19
+ .cs { color: #999; font-weight: bold; font-style: italic } // Comment.Special
20
+ .gd { color: #000; background-color: #fdd } // Generic.Deleted
21
+ .gd .x { color: #000; background-color: #faa } // Generic.Deleted.Specific
22
+ .ge { font-style: italic } // Generic.Emph
23
+ .gr { color: #a00 } // Generic.Error
24
+ .gh { color: #999 } // Generic.Heading
25
+ .gi { color: #000; background-color: #dfd } // Generic.Inserted
26
+ .gi .x { color: #000; background-color: #afa } // Generic.Inserted.Specific
27
+ .go { color: #888 } // Generic.Output
28
+ .gp { color: #555 } // Generic.Prompt
29
+ .gs { font-weight: bold } // Generic.Strong
30
+ .gu { color: #aaa } // Generic.Subheading
31
+ .gt { color: #a00 } // Generic.Traceback
32
+ .kc { font-weight: bold } // Keyword.Constant
33
+ .kd { font-weight: bold } // Keyword.Declaration
34
+ .kp { font-weight: bold } // Keyword.Pseudo
35
+ .kr { font-weight: bold } // Keyword.Reserved
36
+ .kt { color: #458; font-weight: bold } // Keyword.Type
37
+ .m { color: #099 } // Literal.Number
38
+ .s { color: #d14 } // Literal.String
39
+ .na { color: #008080 } // Name.Attribute
40
+ .nb { color: #0086B3 } // Name.Builtin
41
+ .nc { color: #458; font-weight: bold } // Name.Class
42
+ .no { color: #008080 } // Name.Constant
43
+ .ni { color: #800080 } // Name.Entity
44
+ .ne { color: #900; font-weight: bold } // Name.Exception
45
+ .nf { color: #900; font-weight: bold } // Name.Function
46
+ .nn { color: #555 } // Name.Namespace
47
+ .nt { color: #000080 } // Name.Tag
48
+ .nv { color: #008080 } // Name.Variable
49
+ .ow { font-weight: bold } // Operator.Word
50
+ .w { color: #bbb } // Text.Whitespace
51
+ .mf { color: #099 } // Literal.Number.Float
52
+ .mh { color: #099 } // Literal.Number.Hex
53
+ .mi { color: #099 } // Literal.Number.Integer
54
+ .mo { color: #099 } // Literal.Number.Oct
55
+ .sb { color: #d14 } // Literal.String.Backtick
56
+ .sc { color: #d14 } // Literal.String.Char
57
+ .sd { color: #d14 } // Literal.String.Doc
58
+ .s2 { color: #d14 } // Literal.String.Double
59
+ .se { color: #d14 } // Literal.String.Escape
60
+ .sh { color: #d14 } // Literal.String.Heredoc
61
+ .si { color: #d14 } // Literal.String.Interpol
62
+ .sx { color: #d14 } // Literal.String.Other
63
+ .sr { color: #009926 } // Literal.String.Regex
64
+ .s1 { color: #d14 } // Literal.String.Single
65
+ .ss { color: #990073 } // Literal.String.Symbol
66
+ .bp { color: #999 } // Name.Builtin.Pseudo
67
+ .vc { color: #008080 } // Name.Variable.Class
68
+ .vg { color: #008080 } // Name.Variable.Global
69
+ .vi { color: #008080 } // Name.Variable.Instance
70
+ .il { color: #099 } // Literal.Number.Integer.Long
71
+ }
data/assets/main.scss ADDED
@@ -0,0 +1,43 @@
1
+ ---
2
+ ---
3
+ @charset "utf-8";
4
+
5
+ // Our variables
6
+ $base-font-family: -apple-system-font, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", Helvetica, Arial, sans-serif;
7
+ $monospace-font-family: Monaco, Menlo, Consolas, "Courier New", DotumChe, monospace;
8
+ $base-font-size: 17px;
9
+ $base-font-weight: 400;
10
+ $small-font-size: $base-font-size * 0.875;
11
+ $base-line-height: 1.5;
12
+
13
+ $spacing-unit: 30px;
14
+
15
+ // Colours
16
+ $text-color: #111;
17
+ $light-text-color: #fff;
18
+ $background-color: #fdfdfd;
19
+ $dark-background-color: #111;
20
+ $footer-background-color: #f2f2f2;
21
+ $brand-color: #2568ba;
22
+ $a-color: #0070c9;
23
+
24
+ $grey-color: #828282;
25
+ $grey-color-light: lighten($grey-color, 40%);
26
+ $grey-color-dark: darken($grey-color, 25%);
27
+
28
+ // Width of the content area
29
+ $content-width: 980px;
30
+ $on-palm: 692px;
31
+ $on-laptop: 980px;
32
+
33
+
34
+ @mixin media-query($device) {
35
+ @media screen and (max-width: $device) {
36
+ @content;
37
+ }
38
+ }
39
+
40
+
41
+
42
+ // Import partials from the `apple` theme.
43
+ @import "apple";
metadata ADDED
@@ -0,0 +1,150 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-apple
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Jamie Bishop
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-07-21 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: jekyll-archives
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.1'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2.1'
41
+ - !ruby/object:Gem::Dependency
42
+ name: jekyll-paginate
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.1'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.1'
55
+ - !ruby/object:Gem::Dependency
56
+ name: jekyll-sitemap
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: bundler
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.12'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.12'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rake
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ description:
98
+ email:
99
+ - jamie@nullpixel.uk
100
+ executables: []
101
+ extensions: []
102
+ extra_rdoc_files: []
103
+ files:
104
+ - CHANGELOG.md
105
+ - LICENSE.txt
106
+ - README.md
107
+ - _includes/custom_comments_provider.html
108
+ - _includes/fonts.html
109
+ - _includes/footer.html
110
+ - _includes/footer_content.html
111
+ - _includes/google_analytics.html
112
+ - _includes/head.html
113
+ - _includes/head_custom.html
114
+ - _includes/header.html
115
+ - _includes/pagination.html
116
+ - _layouts/default.html
117
+ - _layouts/feed.xml
118
+ - _layouts/home.html
119
+ - _layouts/page.html
120
+ - _layouts/post.html
121
+ - _sass/apple.scss
122
+ - _sass/apple/_base.scss
123
+ - _sass/apple/_layout.scss
124
+ - _sass/apple/_syntax-highlighting.scss
125
+ - assets/main.scss
126
+ homepage: https://github.com/nullpixel/jekyll-apple
127
+ licenses:
128
+ - MIT
129
+ metadata: {}
130
+ post_install_message:
131
+ rdoc_options: []
132
+ require_paths:
133
+ - lib
134
+ required_ruby_version: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ required_rubygems_version: !ruby/object:Gem::Requirement
140
+ requirements:
141
+ - - ">="
142
+ - !ruby/object:Gem::Version
143
+ version: '0'
144
+ requirements: []
145
+ rubyforge_project:
146
+ rubygems_version: 2.6.11
147
+ signing_key:
148
+ specification_version: 4
149
+ summary: Minimal, apple style jekyll theme.
150
+ test_files: []