jekyll-theme-switch 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +52 -0
- data/_includes/date.html +4 -0
- data/_includes/disqus.html +16 -0
- data/_includes/footer.html +85 -0
- data/_includes/head.html +16 -0
- data/_includes/header.html +27 -0
- data/_includes/holidays_contents.html +8 -0
- data/_includes/holidays_ul.html +21 -0
- data/_includes/month.html +14 -0
- data/_includes/post_meta.html +7 -0
- data/_includes/section_nav.html +29 -0
- data/_includes/vimeo.html +8 -0
- data/_includes/youtube.html +7 -0
- data/_layouts/archive.html +15 -0
- data/_layouts/category_page.html +24 -0
- data/_layouts/default.html +21 -0
- data/_layouts/holidays.html +19 -0
- data/_layouts/home.html +52 -0
- data/_layouts/monthly_archive.html +17 -0
- data/_layouts/page.html +14 -0
- data/_layouts/post.html +34 -0
- data/_layouts/series_index.html +11 -0
- data/_layouts/series_post.html +16 -0
- data/_layouts/tag_page.html +23 -0
- data/_layouts/yearly_archive.html +20 -0
- data/_sass/jekyll-theme-switch/_base.scss +234 -0
- data/_sass/jekyll-theme-switch/_dark.scss +30 -0
- data/_sass/jekyll-theme-switch/_image-effects.scss +17 -0
- data/_sass/jekyll-theme-switch/_jekyll-youtube.scss +19 -0
- data/_sass/jekyll-theme-switch/_layout.scss +389 -0
- data/_sass/jekyll-theme-switch/_syntax-highlighting.scss +67 -0
- data/assets/css/jekyll-theme-switch.scss +95 -0
- metadata +216 -0
@@ -0,0 +1,95 @@
|
|
1
|
+
---
|
2
|
+
# Only the main Sass file needs front matter (the dashes are enough)
|
3
|
+
---
|
4
|
+
@charset "utf-8";
|
5
|
+
|
6
|
+
|
7
|
+
|
8
|
+
// Our variables
|
9
|
+
$base-font-family: Helvetica, Arial, sans-serif;
|
10
|
+
$base-font-size: 1em;
|
11
|
+
$small-font-size: $base-font-size * 0.875;
|
12
|
+
$base-line-height: 1.5;
|
13
|
+
|
14
|
+
$spacing-unit: 1.5em;
|
15
|
+
|
16
|
+
$text-color: #111;
|
17
|
+
$background-color: #fdfdfd;
|
18
|
+
$brand-color: #4f49ff;
|
19
|
+
|
20
|
+
$text-color-dark: #eee;
|
21
|
+
$background-color-dark: #232323;
|
22
|
+
$brand-color-dark: #2d9698;
|
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: 55em;
|
30
|
+
|
31
|
+
$on-palm: 600px;
|
32
|
+
$on-laptop: 800px;
|
33
|
+
|
34
|
+
|
35
|
+
|
36
|
+
// Using media queries with like this:
|
37
|
+
// @include media-query($on-palm) {
|
38
|
+
// .wrapper {
|
39
|
+
// padding-right: $spacing-unit / 2;
|
40
|
+
// padding-left: $spacing-unit / 2;
|
41
|
+
// }
|
42
|
+
// }
|
43
|
+
@mixin media-query($device) {
|
44
|
+
@media screen and (max-width: $device) {
|
45
|
+
@content;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
// Material box-shadows
|
50
|
+
// https://gist.github.com/serglo/f9f0be9a66fd6755a0bda85f9c64e85f
|
51
|
+
@mixin BoxShadow ($dp) {
|
52
|
+
@if $dp==0 {
|
53
|
+
box-shadow: none
|
54
|
+
}
|
55
|
+
@else if $dp==1 {
|
56
|
+
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .14), 0 2px 1px -1px rgba(0, 0, 0, .12), 0 1px 3px 0 rgba(0, 0, 0, .20)
|
57
|
+
}
|
58
|
+
@else if $dp==2 {
|
59
|
+
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .12), 0 1px 5px 0 rgba(0, 0, 0, .20)
|
60
|
+
}
|
61
|
+
@else if $dp==3 {
|
62
|
+
box-shadow: 0 3px 4px 0 rgba(0, 0, 0, .14), 0 3px 3px -2px rgba(0, 0, 0, .12), 0 1px 8px 0 rgba(0, 0, 0, .20)
|
63
|
+
}
|
64
|
+
@else if $dp==4 {
|
65
|
+
box-shadow: 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12), 0 2px 4px -1px rgba(0, 0, 0, .20)
|
66
|
+
}
|
67
|
+
@else if $dp==6 {
|
68
|
+
box-shadow: 0 6px 10px 0 rgba(0, 0, 0, .14), 0 1px 18px 0 rgba(0, 0, 0, .12), 0 3px 5px -1px rgba(0, 0, 0, .20)
|
69
|
+
}
|
70
|
+
@else if $dp==8 {
|
71
|
+
box-shadow: 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12), 0 5px 5px -3px rgba(0, 0, 0, .20)
|
72
|
+
}
|
73
|
+
@else if $dp==9 {
|
74
|
+
box-shadow: 0 9px 12px 1px rgba(0, 0, 0, .14), 0 3px 16px 2px rgba(0, 0, 0, .12), 0 5px 6px -3px rgba(0, 0, 0, .20)
|
75
|
+
}
|
76
|
+
@else if $dp==12 {
|
77
|
+
box-shadow: 0 12px 17px 2px rgba(0, 0, 0, .14), 0 5px 22px 4px rgba(0, 0, 0, .12), 0 7px 8px -4px rgba(0, 0, 0, .20)
|
78
|
+
}
|
79
|
+
@else if $dp==16 {
|
80
|
+
box-shadow: 0 16px 24px 2px rgba(0, 0, 0, .14), 0 6px 30px 5px rgba(0, 0, 0, .12), 0 8px 10px -5px rgba(0, 0, 0, .20)
|
81
|
+
}
|
82
|
+
@else if $dp==24 {
|
83
|
+
box-shadow: 0 24px 38px 3px rgba(0, 0, 0, .14), 0 9px 46px 8px rgba(0, 0, 0, .12), 0 11px 15px -7px rgba(0, 0, 0, .20)
|
84
|
+
}
|
85
|
+
}
|
86
|
+
|
87
|
+
|
88
|
+
// Import partials from `sass_dir` (defaults to `_sass`)
|
89
|
+
@import "jekyll-theme-switch/base",
|
90
|
+
"jekyll-theme-switch/layout",
|
91
|
+
"jekyll-theme-switch/jekyll-youtube",
|
92
|
+
"jekyll-theme-switch/dark",
|
93
|
+
"jekyll-theme-switch/image-effects",
|
94
|
+
"jekyll-theme-switch/syntax-highlighting"
|
95
|
+
;
|
metadata
ADDED
@@ -0,0 +1,216 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jekyll-theme-switch
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Christian Luijten
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-03-05 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: '4.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '4.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 2.1.4
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 2.1.4
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '12.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '12.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: faraday
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.0.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.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: jekyll-paginate
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 1.1.0
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 1.1.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: jekyll-gist
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 1.5.0
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 1.5.0
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: jekyll-archives
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 2.2.1
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 2.2.1
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: jekyll-textile-converter
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 0.1.0
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 0.1.0
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: jekyll-youtube
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 1.0.0
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 1.0.0
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: jekyll-sitemap
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 1.4.0
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 1.4.0
|
153
|
+
description:
|
154
|
+
email:
|
155
|
+
- christian@luijten.org
|
156
|
+
executables: []
|
157
|
+
extensions: []
|
158
|
+
extra_rdoc_files: []
|
159
|
+
files:
|
160
|
+
- LICENSE.txt
|
161
|
+
- README.md
|
162
|
+
- _includes/date.html
|
163
|
+
- _includes/disqus.html
|
164
|
+
- _includes/footer.html
|
165
|
+
- _includes/head.html
|
166
|
+
- _includes/header.html
|
167
|
+
- _includes/holidays_contents.html
|
168
|
+
- _includes/holidays_ul.html
|
169
|
+
- _includes/month.html
|
170
|
+
- _includes/post_meta.html
|
171
|
+
- _includes/section_nav.html
|
172
|
+
- _includes/vimeo.html
|
173
|
+
- _includes/youtube.html
|
174
|
+
- _layouts/archive.html
|
175
|
+
- _layouts/category_page.html
|
176
|
+
- _layouts/default.html
|
177
|
+
- _layouts/holidays.html
|
178
|
+
- _layouts/home.html
|
179
|
+
- _layouts/monthly_archive.html
|
180
|
+
- _layouts/page.html
|
181
|
+
- _layouts/post.html
|
182
|
+
- _layouts/series_index.html
|
183
|
+
- _layouts/series_post.html
|
184
|
+
- _layouts/tag_page.html
|
185
|
+
- _layouts/yearly_archive.html
|
186
|
+
- _sass/jekyll-theme-switch/_base.scss
|
187
|
+
- _sass/jekyll-theme-switch/_dark.scss
|
188
|
+
- _sass/jekyll-theme-switch/_image-effects.scss
|
189
|
+
- _sass/jekyll-theme-switch/_jekyll-youtube.scss
|
190
|
+
- _sass/jekyll-theme-switch/_layout.scss
|
191
|
+
- _sass/jekyll-theme-switch/_syntax-highlighting.scss
|
192
|
+
- assets/css/jekyll-theme-switch.scss
|
193
|
+
homepage: https://luijten.org/
|
194
|
+
licenses:
|
195
|
+
- MIT
|
196
|
+
metadata: {}
|
197
|
+
post_install_message:
|
198
|
+
rdoc_options: []
|
199
|
+
require_paths:
|
200
|
+
- lib
|
201
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
202
|
+
requirements:
|
203
|
+
- - ">="
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: '0'
|
206
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
207
|
+
requirements:
|
208
|
+
- - ">="
|
209
|
+
- !ruby/object:Gem::Version
|
210
|
+
version: '0'
|
211
|
+
requirements: []
|
212
|
+
rubygems_version: 3.1.2
|
213
|
+
signing_key:
|
214
|
+
specification_version: 4
|
215
|
+
summary: The theme for Logging the Switch.
|
216
|
+
test_files: []
|