jekyll-rebellion 0.1.0 → 0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/blog-list.html +47 -9
- data/_includes/footer.html +1 -1
- data/_includes/header.html +0 -1
- data/_layouts/default.html +2 -1
- data/_layouts/page.html +0 -1
- data/_layouts/post.html +5 -1
- data/_sass/rebellion.scss +2 -3
- data/_sass/rebellion/base.scss +12 -72
- data/_sass/rebellion/content.scss +210 -0
- data/_sass/rebellion/desktop-header.scss +6 -1
- data/_sass/rebellion/header.scss +18 -4
- data/_sass/rebellion/mobile-header.scss +17 -3
- metadata +5 -39
- data/_includes/component.html +0 -1
- data/_includes/components/big-picture.html +0 -25
- data/_includes/components/contents.html +0 -25
- data/_includes/components/event-item.html +0 -33
- data/_includes/components/event-list.html +0 -22
- data/_includes/components/floating-boxes.html +0 -37
- data/_includes/components/halves.html +0 -33
- data/_includes/components/pull-quote.html +0 -26
- data/_includes/components/rich-text.html +0 -11
- data/_includes/components/section-full-width.html +0 -8
- data/_includes/components/section.html +0 -10
- data/_includes/components/text-section.html +0 -10
- data/_includes/components/youtube-video.html +0 -16
- data/_layouts/base-post.html +0 -59
- data/_sass/rebellion/components.scss +0 -326
- data/assets/facebook.svg +0 -4
- data/assets/instagram.svg +0 -9
- data/assets/logo-black.svg +0 -5
- data/assets/logo-square.svg +0 -1
- data/assets/logo-white.svg +0 -1
- data/assets/twitter.svg +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 204c8cdf810d6aa67b2e6b43a9fa9c80c8f868e5f5d923571c096e576bdbcee7
|
4
|
+
data.tar.gz: 0a9408cb7ca2d211e33621a84453be52b0c74c5b47cf8d8bcdfad7386f64f7fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59c87be691aa45f34ee42bebf32771b42a9cc13d9c6f61373d1b5ea81771c24e359a5d4e3750c9515d3b0d79edd02902377aca9f55eeaceafbb19f120892cbcd
|
7
|
+
data.tar.gz: 975fb1248f31cb29762d3a4f2a0257ceb988032afecf3345c7b065539956e544eb4e3b2f6421acd7e806f6c64a25d2cad06ae15b17fa443e78556a2434d88c55
|
data/_includes/blog-list.html
CHANGED
@@ -8,26 +8,64 @@
|
|
8
8
|
{% capture next_month %}{{ post.previous.date | date: "%B" }}{% endcapture %}
|
9
9
|
|
10
10
|
{% if forloop.first %}
|
11
|
-
|
12
|
-
|
13
|
-
|
11
|
+
{% comment %}
|
12
|
+
<!-- Not including month and year at the top -->
|
13
|
+
<h2 id="{{ this_year }}-ref">{{this_year}}</h2>
|
14
|
+
<h3 id="{{ this_year }}-{{ this_month }}-ref">{{ this_month }}</h3>
|
15
|
+
{% endcomment %}
|
16
|
+
<div class="Rebellion-Blog-List">
|
14
17
|
{% endif %}
|
15
18
|
|
16
|
-
<
|
19
|
+
<div class="Rebellion-Blog-Item">
|
20
|
+
<div class="top">
|
21
|
+
<div class="date">
|
22
|
+
<span class="day-number">{{ post.date | date: "%e" }}</span>
|
23
|
+
<span class="month">{{ post.date | date: "%b" }}</span>
|
24
|
+
</div>
|
25
|
+
<div class="description">
|
26
|
+
<h4><a href="{{ post.url }}">{{ post.title }}</a></h4>
|
27
|
+
{% if post.authors %}
|
28
|
+
<span>
|
29
|
+
{% for a in post.authors %}
|
30
|
+
{% if a.url %}<a href='/{{ a.url }}'>{{ a.name }}</a>{% else %}{{a.name}}{% endif %}{% if forloop.last == false %},{% endif %}
|
31
|
+
{% endfor %}
|
32
|
+
</span>
|
33
|
+
{%endif%}
|
34
|
+
<p>{% if post.summary %}
|
35
|
+
{{ post.summary }}
|
36
|
+
{% else if post.excerpt %}
|
37
|
+
{{ post.excerpt }}
|
38
|
+
{% endif %}</p>
|
39
|
+
</div>
|
40
|
+
</div>
|
41
|
+
{% if post.image %}
|
42
|
+
<a href="{{ post.url }}"><img src="{{ post.image }}" /></a>
|
43
|
+
{% endif %}
|
44
|
+
<div style="width: 100%">
|
45
|
+
{% if post.categories.size > 0 %}
|
46
|
+
<span style="float: right;">Categories:
|
47
|
+
{% for c in post.categories %}
|
48
|
+
<a href="/categories/{{ c }}">{{ c }}</a>{% if forloop.last == false %},{% endif %}
|
49
|
+
{% endfor %}
|
50
|
+
</span>
|
51
|
+
{% endif %}
|
52
|
+
</div>
|
53
|
+
</div>
|
54
|
+
|
17
55
|
|
18
56
|
{% if forloop.last %}
|
19
|
-
|
57
|
+
</div>
|
20
58
|
{% else %}
|
21
59
|
{% if this_year != next_year %}
|
22
|
-
</
|
60
|
+
</div>
|
23
61
|
<h2 id="{{ next_year }}-ref">{{next_year}}</h2>
|
24
62
|
<h3 id="{{ next_year }}-{{ next_month }}-ref">{{ next_month }}</h3>
|
25
|
-
<
|
63
|
+
<div class="Rebellion-Blog-List">
|
26
64
|
{% else %}
|
27
65
|
{% if this_month != next_month %}
|
28
|
-
</
|
66
|
+
</div>
|
29
67
|
<h3 id="{{ this_year }}-{{ next_month }}-ref">{{ next_month }}</h3>
|
30
|
-
<
|
68
|
+
<div class="Rebellion-Blog-List">
|
31
69
|
{% endif %}
|
32
70
|
{% endif %}
|
33
71
|
{% endif %}
|
data/_includes/footer.html
CHANGED
@@ -42,7 +42,7 @@
|
|
42
42
|
</div>
|
43
43
|
</nav>
|
44
44
|
</div>
|
45
|
-
<p>This site uses the <a href="https://github.com/davidgundry/rebellion/">Rebellion</a> theme for Jekyll.
|
45
|
+
<p>This site uses the <a href="https://github.com/davidgundry/jekyll-rebellion/">Rebellion</a> theme for Jekyll.
|
46
46
|
{% if site.copyright_notice %}
|
47
47
|
{{ site.copyright_notice }}
|
48
48
|
{% endif %}
|
data/_includes/header.html
CHANGED
data/_layouts/default.html
CHANGED
data/_layouts/page.html
CHANGED
data/_layouts/post.html
CHANGED
@@ -1,9 +1,13 @@
|
|
1
1
|
---
|
2
|
-
layout:
|
2
|
+
layout: default
|
3
3
|
---
|
4
|
+
|
4
5
|
<div class="Rebellion-Section">
|
5
6
|
<div class="Rebellion-Wrapper-Wide">
|
6
7
|
<h1>{{ page.title }}</h1>
|
8
|
+
{% if page.image %}
|
9
|
+
<img src="{{ page.image }}" />
|
10
|
+
{% endif %}
|
7
11
|
{{ content }}
|
8
12
|
</div>
|
9
13
|
</div>
|
data/_sass/rebellion.scss
CHANGED
@@ -8,7 +8,6 @@
|
|
8
8
|
font-display:swap
|
9
9
|
}
|
10
10
|
|
11
|
-
|
12
11
|
// Fonts
|
13
12
|
$base-font-stack: "Crimson Text", serif !default;
|
14
13
|
$base-font-size: 16pt !default;
|
@@ -18,7 +17,6 @@ $header-font-stack: "FucXed","Helvetica Neue",Helvetica,Arial,sans-serif;
|
|
18
17
|
$small-font-size: $base-font-size * 0.875 !default;
|
19
18
|
$smaller-font-size: $base-font-size * 0.7 !default;
|
20
19
|
|
21
|
-
|
22
20
|
$table-text-align: left !default;
|
23
21
|
|
24
22
|
// Width of the content area
|
@@ -32,6 +30,7 @@ $on-large: 1300px !default;
|
|
32
30
|
|
33
31
|
$spacing-unit: 10px !default;
|
34
32
|
$action-bar-height: 72px !default;
|
33
|
+
$action-bar-height-mobile: 56px !default;
|
35
34
|
$rounding: 5px;
|
36
35
|
|
37
36
|
// Import partials.
|
@@ -39,6 +38,6 @@ $rounding: 5px;
|
|
39
38
|
"rebellion/base",
|
40
39
|
"rebellion/header",
|
41
40
|
"rebellion/footer",
|
42
|
-
"rebellion/
|
41
|
+
"rebellion/content"
|
43
42
|
;
|
44
43
|
|
data/_sass/rebellion/base.scss
CHANGED
@@ -24,8 +24,6 @@ pre, code, blockquote, figure, table {
|
|
24
24
|
margin: $spacing-unit*2 0;
|
25
25
|
padding: 0;
|
26
26
|
}
|
27
|
-
h1 { text-align: center; }
|
28
|
-
|
29
27
|
|
30
28
|
/**
|
31
29
|
* Basic styling
|
@@ -39,7 +37,17 @@ body {
|
|
39
37
|
flex-direction: column;
|
40
38
|
}
|
41
39
|
|
42
|
-
|
40
|
+
h1 {
|
41
|
+
text-align: center;
|
42
|
+
line-height: 1.1;
|
43
|
+
font-family: $header-font-stack;
|
44
|
+
margin: 1em 0 0.4em 0;
|
45
|
+
}
|
46
|
+
|
47
|
+
p {
|
48
|
+
margin: 1em 0;
|
49
|
+
}
|
50
|
+
|
43
51
|
img {
|
44
52
|
max-width: 100%;
|
45
53
|
vertical-align: middle;
|
@@ -137,9 +145,7 @@ ul {
|
|
137
145
|
padding-right: 0.5em;
|
138
146
|
}
|
139
147
|
}
|
140
|
-
|
141
|
-
|
142
|
-
|
148
|
+
|
143
149
|
|
144
150
|
/**
|
145
151
|
* Links
|
@@ -202,10 +208,8 @@ pre {
|
|
202
208
|
padding-left: 0;
|
203
209
|
}
|
204
210
|
}
|
205
|
-
|
206
211
|
|
207
212
|
|
208
|
-
|
209
213
|
/**
|
210
214
|
* Tables
|
211
215
|
*/
|
@@ -239,8 +243,6 @@ table {
|
|
239
243
|
}
|
240
244
|
}
|
241
245
|
|
242
|
-
|
243
|
-
|
244
246
|
/**
|
245
247
|
* Clearfix
|
246
248
|
*/
|
@@ -250,68 +252,6 @@ table {
|
|
250
252
|
clear: both;
|
251
253
|
}
|
252
254
|
|
253
|
-
.Rebellion-Wrapper-Wide{
|
254
|
-
max-width: -webkit-calc(#{$content-width-wide} - (#{$spacing-unit}));
|
255
|
-
max-width: calc(#{$content-width-wide} - (#{$spacing-unit}));
|
256
|
-
margin-right: auto;
|
257
|
-
margin-left: auto;
|
258
|
-
padding-right: $spacing-unit;
|
259
|
-
padding-left: $spacing-unit;
|
260
|
-
@extend %clearfix;
|
261
|
-
|
262
|
-
}
|
263
|
-
|
264
|
-
.Rebellion-Wrapper-Narrow{
|
265
|
-
max-width: -webkit-calc(#{$content-width-narrow} - (#{$spacing-unit}));
|
266
|
-
max-width: calc(#{$content-width-narrow} - (#{$spacing-unit}));
|
267
|
-
margin-right: auto;
|
268
|
-
margin-left: auto;
|
269
|
-
padding-right: $spacing-unit;
|
270
|
-
padding-left: $spacing-unit;
|
271
|
-
@extend %clearfix;
|
272
|
-
}
|
273
|
-
|
274
|
-
.Rebellion-Main {
|
275
|
-
display: flex;
|
276
|
-
flex: 1 0 auto;
|
277
|
-
flex-direction: column;
|
278
|
-
display: block; //Defaults to 'inline' in IE 11
|
279
|
-
}
|
280
|
-
|
281
|
-
|
282
|
-
.Rebellion-Button {
|
283
|
-
display: inline-block;
|
284
|
-
background-color: $accent-color;
|
285
|
-
color: $accent-text-color;
|
286
|
-
padding: 0.5em 1em;
|
287
|
-
border-radius: $rounding;
|
288
|
-
font-family: $header-font-stack;
|
289
|
-
transition: background-color 0.3s ease-in-out;
|
290
|
-
font-weight: normal;
|
291
|
-
&:hover {
|
292
|
-
text-decoration: none;
|
293
|
-
background-color: $accent-color-dark;
|
294
|
-
}
|
295
|
-
&:visited {
|
296
|
-
color: $accent-text-color;
|
297
|
-
}
|
298
|
-
}
|
299
|
-
|
300
|
-
|
301
|
-
.Rebellion-Post-Info {
|
302
|
-
display: flex;
|
303
|
-
flex-wrap: wrap;
|
304
|
-
justify-content: space-evenly;
|
305
|
-
align-content: stretch;
|
306
|
-
padding-top: $spacing-unit*4;
|
307
|
-
font-size: $small-font-size;
|
308
|
-
|
309
|
-
> .box {
|
310
|
-
background-color: $grey-color-light;
|
311
|
-
padding: 0 $spacing-unit*2;
|
312
|
-
flex-basis: 250px;
|
313
|
-
}
|
314
|
-
}
|
315
255
|
|
316
256
|
.invert-text {
|
317
257
|
color: $background-color;
|
@@ -0,0 +1,210 @@
|
|
1
|
+
.Rebellion-Section {
|
2
|
+
padding: 10vh 0;
|
3
|
+
width: 100%;
|
4
|
+
position: relative;
|
5
|
+
box-sizing: border-box;
|
6
|
+
&:first-of-type {
|
7
|
+
padding-top: $action-bar-height-mobile + 50;
|
8
|
+
|
9
|
+
@media screen and (min-width: $on-small) {
|
10
|
+
padding-top: $action-bar-height + 50;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
.Rebellion-Wrapper-Wide{
|
16
|
+
max-width: -webkit-calc(#{$content-width-wide} - (#{$spacing-unit}));
|
17
|
+
max-width: calc(#{$content-width-wide} - (#{$spacing-unit}));
|
18
|
+
margin-right: auto;
|
19
|
+
margin-left: auto;
|
20
|
+
padding-right: $spacing-unit;
|
21
|
+
padding-left: $spacing-unit;
|
22
|
+
@extend %clearfix;
|
23
|
+
}
|
24
|
+
|
25
|
+
.Rebellion-Wrapper-Narrow{
|
26
|
+
max-width: -webkit-calc(#{$content-width-narrow} - (#{$spacing-unit}));
|
27
|
+
max-width: calc(#{$content-width-narrow} - (#{$spacing-unit}));
|
28
|
+
margin-right: auto;
|
29
|
+
margin-left: auto;
|
30
|
+
padding-right: $spacing-unit;
|
31
|
+
padding-left: $spacing-unit;
|
32
|
+
@extend %clearfix;
|
33
|
+
}
|
34
|
+
|
35
|
+
.Rebellion-Main {
|
36
|
+
display: flex;
|
37
|
+
flex: 1 0 auto;
|
38
|
+
flex-direction: column;
|
39
|
+
display: block; //Defaults to 'inline' in IE 11
|
40
|
+
}
|
41
|
+
|
42
|
+
.Rebellion-Big-Picture {
|
43
|
+
background-position: center;
|
44
|
+
background-size: cover;
|
45
|
+
height: 100vh;
|
46
|
+
padding: 0;
|
47
|
+
}
|
48
|
+
|
49
|
+
.Rebellion-Half-Picture {
|
50
|
+
background-position: center;
|
51
|
+
background-size: cover;
|
52
|
+
padding: 0;
|
53
|
+
height: 45vh;
|
54
|
+
}
|
55
|
+
|
56
|
+
.Rebellion-Near-Bottom {
|
57
|
+
position: absolute;
|
58
|
+
bottom: 10%;
|
59
|
+
left: 0;
|
60
|
+
right: 0;
|
61
|
+
}
|
62
|
+
|
63
|
+
.Rebellion-Flex-Line {
|
64
|
+
display: flex;
|
65
|
+
flex-direction: row;
|
66
|
+
flex-wrap: wrap;
|
67
|
+
justify-content: space-evenly;
|
68
|
+
}
|
69
|
+
|
70
|
+
.Rebellion-Button {
|
71
|
+
display: inline-block;
|
72
|
+
background-color: $accent-color;
|
73
|
+
color: $accent-text-color;
|
74
|
+
padding: 0.5em 1em;
|
75
|
+
border-radius: $rounding;
|
76
|
+
font-family: $header-font-stack;
|
77
|
+
transition: background-color 0.3s ease-in-out;
|
78
|
+
font-weight: normal;
|
79
|
+
&:hover {
|
80
|
+
text-decoration: none;
|
81
|
+
background-color: $accent-color-dark;
|
82
|
+
}
|
83
|
+
&:visited {
|
84
|
+
color: $accent-text-color;
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
88
|
+
.Rebellion-PullQuote {
|
89
|
+
background-color: $brand-color;
|
90
|
+
color: $brand-text-color;
|
91
|
+
font-family: $header-font-stack;
|
92
|
+
text-align: center;
|
93
|
+
padding: 130px 0 100px 0;
|
94
|
+
|
95
|
+
h1 {
|
96
|
+
text-align: left;
|
97
|
+
margin: 1em 0;
|
98
|
+
font-size: $base-font-size * 1.25 ;
|
99
|
+
}
|
100
|
+
|
101
|
+
@media screen and (min-width: 400px) {
|
102
|
+
h1 { font-size: $base-font-size * 1.5;}
|
103
|
+
}
|
104
|
+
|
105
|
+
@media screen and (min-width: 800px) {
|
106
|
+
h1 { font-size: $base-font-size * 2; }
|
107
|
+
}
|
108
|
+
}
|
109
|
+
|
110
|
+
.Rebellion-Post-Info {
|
111
|
+
display: flex;
|
112
|
+
flex-wrap: wrap;
|
113
|
+
justify-content: space-evenly;
|
114
|
+
align-content: stretch;
|
115
|
+
padding-top: $spacing-unit*4;
|
116
|
+
font-size: $small-font-size;
|
117
|
+
|
118
|
+
> .box {
|
119
|
+
padding: 0 $spacing-unit*2;
|
120
|
+
flex: 0 1 300px;
|
121
|
+
}
|
122
|
+
}
|
123
|
+
|
124
|
+
.Rebellion-Blog-List{
|
125
|
+
li {
|
126
|
+
list-style-type: none;
|
127
|
+
counter-increment: list;
|
128
|
+
position: relative;
|
129
|
+
margin-left: 2.5em;
|
130
|
+
}
|
131
|
+
|
132
|
+
li:before {
|
133
|
+
font-weight: bold;
|
134
|
+
position: absolute;
|
135
|
+
left: -2.6em;
|
136
|
+
width: 2em;
|
137
|
+
text-align: right;
|
138
|
+
color: $text-color;
|
139
|
+
font-family: $header-font-stack;
|
140
|
+
font-size: 2em;
|
141
|
+
}
|
142
|
+
}
|
143
|
+
|
144
|
+
.Rebellion-Blog-Item {
|
145
|
+
display: flex;
|
146
|
+
flex-direction: column;
|
147
|
+
align-items: center;
|
148
|
+
background-color: $background-color;
|
149
|
+
box-shadow: 0 5px 10px $shadow-color;
|
150
|
+
padding: $spacing-unit;
|
151
|
+
padding-bottom: $spacing-unit /2;
|
152
|
+
margin: $spacing-unit;
|
153
|
+
max-width: $content-width-wide;
|
154
|
+
width: 90%;
|
155
|
+
|
156
|
+
& > img {
|
157
|
+
margin: $spacing-unit 0 $spacing-unit/2 0;
|
158
|
+
}
|
159
|
+
|
160
|
+
.top {
|
161
|
+
display: flex;
|
162
|
+
flex-direction: row;
|
163
|
+
align-items: center;
|
164
|
+
width: 100%;
|
165
|
+
|
166
|
+
.date {
|
167
|
+
flex-basis: 60px;
|
168
|
+
flex-grow: 0;
|
169
|
+
flex-shrink: 0;
|
170
|
+
|
171
|
+
display: flex;
|
172
|
+
flex-direction: column;
|
173
|
+
align-items: center;
|
174
|
+
justify-content: center;
|
175
|
+
text-align: center;
|
176
|
+
font-family: $header-font-stack;
|
177
|
+
padding-right: $spacing-unit;
|
178
|
+
|
179
|
+
.day-number {
|
180
|
+
font-size: $base-font-size * 2;
|
181
|
+
border-bottom: 4px solid $xr-green;
|
182
|
+
line-height: 1;
|
183
|
+
}
|
184
|
+
|
185
|
+
.month {
|
186
|
+
font-size: $small-font-size; //$base-font-size * 0.8;
|
187
|
+
color: $text-color-light;
|
188
|
+
}
|
189
|
+
}
|
190
|
+
|
191
|
+
.description {
|
192
|
+
line-height: 1;
|
193
|
+
width: 100%;
|
194
|
+
font-size: $small-font-size;
|
195
|
+
|
196
|
+
h3, h4 {
|
197
|
+
margin-top: 5px;
|
198
|
+
}
|
199
|
+
|
200
|
+
.bottom-line {
|
201
|
+
display: flex;
|
202
|
+
flex-direction: row;
|
203
|
+
align-items: center;
|
204
|
+
justify-content: space-between;
|
205
|
+
width: 100%;
|
206
|
+
}
|
207
|
+
}
|
208
|
+
}
|
209
|
+
}
|
210
|
+
|