jekyll-rebellion 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +46 -0
  4. data/_includes/blog-list.html +35 -0
  5. data/_includes/component.html +1 -0
  6. data/_includes/components/big-picture.html +25 -0
  7. data/_includes/components/contents.html +25 -0
  8. data/_includes/components/event-item.html +33 -0
  9. data/_includes/components/event-list.html +22 -0
  10. data/_includes/components/floating-boxes.html +37 -0
  11. data/_includes/components/halves.html +33 -0
  12. data/_includes/components/pull-quote.html +26 -0
  13. data/_includes/components/rich-text.html +11 -0
  14. data/_includes/components/section-full-width.html +8 -0
  15. data/_includes/components/section.html +10 -0
  16. data/_includes/components/text-section.html +10 -0
  17. data/_includes/components/youtube-video.html +16 -0
  18. data/_includes/desktop-header.html +35 -0
  19. data/_includes/footer.html +50 -0
  20. data/_includes/google-analytics.html +8 -0
  21. data/_includes/head.html +12 -0
  22. data/_includes/header.html +18 -0
  23. data/_includes/mobile-header.html +54 -0
  24. data/_includes/site-title.html +10 -0
  25. data/_includes/social-links.html +31 -0
  26. data/_layouts/base-post.html +59 -0
  27. data/_layouts/default.html +65 -0
  28. data/_layouts/home.html +10 -0
  29. data/_layouts/page.html +10 -0
  30. data/_layouts/post.html +9 -0
  31. data/_sass/rebellion.scss +44 -0
  32. data/_sass/rebellion/base.scss +318 -0
  33. data/_sass/rebellion/components.scss +326 -0
  34. data/_sass/rebellion/desktop-header.scss +81 -0
  35. data/_sass/rebellion/footer.scss +83 -0
  36. data/_sass/rebellion/header.scss +106 -0
  37. data/_sass/rebellion/mobile-header.scss +213 -0
  38. data/assets/css/rebellion-style.scss +50 -0
  39. data/assets/css/style.scss +2 -0
  40. data/assets/facebook.svg +4 -0
  41. data/assets/fucxedcaps-v2-webfont.woff +0 -0
  42. data/assets/fucxedcaps-v2-webfont.woff2 +0 -0
  43. data/assets/instagram.svg +9 -0
  44. data/assets/js.js +42 -0
  45. data/assets/logo-black.svg +5 -0
  46. data/assets/logo-square.svg +1 -0
  47. data/assets/logo-white.svg +1 -0
  48. data/assets/twitter.svg +4 -0
  49. metadata +160 -0
@@ -0,0 +1,326 @@
1
+ h1 {
2
+ font-family: $header-font-stack;
3
+ margin-bottom: 1em;
4
+ }
5
+
6
+ .Rebellion-Section {
7
+ padding: 50px 0;
8
+ width: 100%;
9
+ position: relative;
10
+ box-sizing: border-box;
11
+ &:first-of-type {
12
+ padding-top: $action-bar-height + 50;
13
+ }
14
+ }
15
+
16
+ .Rebellion-Big-Picture {
17
+ background-position: center;
18
+ background-size: cover;
19
+ height: 100vh;
20
+ padding: 0;
21
+ }
22
+
23
+ .Rebellion-Half-Picture {
24
+ background-position: center;
25
+ background-size: cover;
26
+ height: 60vh;
27
+ padding: 0;
28
+ }
29
+
30
+ .Rebellion-Contents {
31
+ background-color: $accent-color;
32
+ color: $accent-text-color;
33
+ line-height: 200%;
34
+
35
+ a {
36
+ color: $accent-text-color;
37
+ font-size: $base-font-size * 1.1;
38
+ border-bottom: 1px dashed $accent-text-color;
39
+ }
40
+ a:hover {
41
+ text-decoration: none;
42
+ border-bottom: 1px solid $accent-text-color;
43
+ }
44
+
45
+ ol li {
46
+ list-style-type: decimal;
47
+ }
48
+
49
+ ol li:before {
50
+ content: none;
51
+ }
52
+ }
53
+
54
+
55
+ .Rebellion-Near-Bottom {
56
+ position: absolute;
57
+ bottom: 10%;
58
+ left: 0;
59
+ right: 0;
60
+ }
61
+
62
+ .Rebellion-Flex-Line {
63
+ display: flex;
64
+ flex-direction: row;
65
+ flex-wrap: wrap;
66
+ justify-content: space-evenly;
67
+ }
68
+
69
+ .Rebellion-PullQuote {
70
+ background-color: $brand-color;
71
+ color: $brand-text-color;
72
+ font-family: $header-font-stack;
73
+ text-align: center;
74
+ padding: 130px 0 100px 0;
75
+
76
+ h1 {
77
+ text-align: left;
78
+ }
79
+ }
80
+
81
+ .Rebellion-Floating-Boxes {
82
+ background-color: $background-color;
83
+ display: flex;
84
+ flex-direction: row;
85
+ align-items: stretch;
86
+ align-content: center;
87
+ justify-content: space-evenly;
88
+ flex-wrap: wrap;
89
+
90
+ .Rebellion-Floating-Box {
91
+ position: relative;
92
+ background-color: $background-color;
93
+ font-size: $small-font-size;
94
+ box-shadow: 0 5px 10px $shadow-color;
95
+ margin: $spacing-unit;
96
+ padding: 2*$spacing-unit 0;
97
+ width: 310px;
98
+
99
+ padding-bottom: 46px + 2*$spacing-unit;;
100
+
101
+ .at-bottom {
102
+ position: absolute;
103
+ bottom: 2*$spacing-unit;
104
+ width: 100%;
105
+ }
106
+
107
+ .Rebellion-Button {
108
+ position: relative;
109
+ left: 50%;
110
+ transform: translateX(-50%);
111
+ }
112
+
113
+ text-align: center;
114
+ font-family: $header-font-stack;
115
+
116
+ h2 {
117
+ border-bottom: 4px solid $accent-color;
118
+ padding: 0 2*$spacing-unit;
119
+ margin: 0 $spacing-unit;
120
+ }
121
+
122
+ p {
123
+ text-align: left;
124
+ font-family: $base-font-stack;
125
+ padding: 0 2*$spacing-unit;
126
+ }
127
+
128
+ &:nth-of-type(8n + 1) > h2 {
129
+ border-bottom-color: $xr-yellow;
130
+ }
131
+ &:nth-of-type(8n + 2) > h2 {
132
+ border-bottom-color: $xr-green;
133
+ }
134
+ &:nth-of-type(8n + 3) > h2 {
135
+ border-bottom-color: $xr-pink;
136
+ }
137
+ &:nth-of-type(8n + 4) > h2 {
138
+ border-bottom-color: $xr-dark-blue;
139
+ }
140
+ &:nth-of-type(8n + 5) > h2 {
141
+ border-bottom-color: $xr-purple;
142
+ }
143
+ &:nth-of-type(8n + 6) > h2 {
144
+ border-bottom-color: $xr-light-blue;
145
+ }
146
+ &:nth-of-type(8n + 7) > h2 {
147
+ border-bottom-color: $xr-light-green;
148
+ }
149
+ &:nth-of-type(8n + 8) > h2 {
150
+ border-bottom-color: $xr-pastel-yellow;
151
+ }
152
+ }
153
+ }
154
+
155
+ .Rebellion-Halves {
156
+ display: flex;
157
+ flex-direction: row;
158
+ align-items: stretch;
159
+ flex-wrap: wrap-reverse;
160
+ justify-content: space-between;
161
+ align-content: center;
162
+ width: 100%;
163
+
164
+ .half {
165
+ flex-basis: 500px;
166
+ flex-grow: 1;
167
+ padding: 56px $spacing-unit;
168
+ box-sizing: border-box;
169
+ background-position: center;
170
+ background-size: cover;
171
+
172
+ display: flex;
173
+ flex-direction: column;
174
+ justify-content: center;
175
+ }
176
+
177
+ .half-image {
178
+ min-height: 300px;
179
+
180
+ @media screen and (min-width: $on-small) {
181
+ & { min-height: 400px;}
182
+ }
183
+ }
184
+
185
+ .content-right {
186
+ max-width: $half-width;
187
+ float: right;
188
+ }
189
+ .content-left {
190
+ max-width: $half-width;
191
+ }
192
+ }
193
+
194
+ .image-right {
195
+ flex-wrap: wrap-reverse;
196
+ }
197
+
198
+ .image-left {
199
+ flex-wrap: wrap-reverse;
200
+ flex-direction: row-reverse;
201
+ }
202
+
203
+ .Rebellion-rich-text {
204
+ padding: $spacing-unit;
205
+ }
206
+
207
+ .Rebellion-Youtube-Video {
208
+ text-align: center;
209
+
210
+ iframe {
211
+ width: 100%;
212
+ max-width: 1400px;
213
+ height: 56vw;
214
+ max-height: 720px;
215
+ }
216
+ }
217
+
218
+ .Rebellion-Event-List {
219
+ display: flex;
220
+ flex-direction: column;
221
+ align-items: center;
222
+ justify-content: start;
223
+
224
+ & > .Rebellion-Event-Item:nth-of-type(8n + 1) > .date > .day-number {
225
+ border-bottom-color: $xr-yellow;
226
+ }
227
+ & > .Rebellion-Event-Item:nth-of-type(8n + 2) > .date > .day-number {
228
+ border-bottom-color: $xr-green;
229
+ }
230
+ & > .Rebellion-Event-Item:nth-of-type(8n + 3) > .date > .day-number {
231
+ border-bottom-color: $xr-pink;
232
+ }
233
+ & > .Rebellion-Event-Item:nth-of-type(8n + 4) > .date > .day-number {
234
+ border-bottom-color: $xr-dark-blue;
235
+ }
236
+ & > .Rebellion-Event-Item:nth-of-type(8n + 5) > .date > .day-number {
237
+ border-bottom-color: $xr-purple;
238
+ }
239
+ & > .Rebellion-Event-Item:nth-of-type(8n + 6) > .date > .day-number {
240
+ border-bottom-color: $xr-light-blue;
241
+ }
242
+ & > .Rebellion-Event-Item:nth-of-type(8n + 7) > .date > .day-number {
243
+ border-bottom-color: $xr-light-green;
244
+ }
245
+ & > .Rebellion-Event-Item:nth-of-type(8n + 8) > .date > .day-number {
246
+ border-bottom-color: $xr-pastel-yellow;
247
+ }
248
+ }
249
+
250
+ .Rebellion-Event-List-Short {
251
+ img { display: none;}
252
+ }
253
+
254
+ .Rebellion-Event-Item {
255
+ display: flex;
256
+ flex-direction: column;
257
+ align-items: center;
258
+ background-color: $background-color;
259
+ box-shadow: 0 5px 10px $shadow-color;
260
+ padding: $spacing-unit;
261
+ padding-bottom: $spacing-unit /2;
262
+ margin: $spacing-unit;
263
+ max-width: $content-width-wide;
264
+ width: 90%;
265
+
266
+ & > img {
267
+ margin: $spacing-unit 0 $spacing-unit/2 0;
268
+ }
269
+
270
+ .top {
271
+ display: flex;
272
+ flex-direction: row;
273
+ align-items: center;
274
+ width: 100%;
275
+
276
+ .date {
277
+ flex-basis: 60px;
278
+ flex-grow: 0;
279
+ flex-shrink: 0;
280
+
281
+ display: flex;
282
+ flex-direction: column;
283
+ align-items: center;
284
+ justify-content: center;
285
+ text-align: center;
286
+ font-family: $header-font-stack;
287
+ padding-right: $spacing-unit;
288
+
289
+ .day-number {
290
+ font-size: $base-font-size * 2;
291
+ border-bottom: 4px solid $xr-green;
292
+ line-height: 1;
293
+ }
294
+
295
+ .month {
296
+ font-size: $small-font-size; //$base-font-size * 0.8;
297
+ color: $text-color-light;
298
+ }
299
+ }
300
+
301
+ .description {
302
+ line-height: 1;
303
+ width: 100%;
304
+ font-size: $small-font-size;
305
+
306
+ h3 {
307
+ margin-top: 0;
308
+ }
309
+
310
+ .bottom-line {
311
+ display: flex;
312
+ flex-direction: row;
313
+ align-items: center;
314
+ justify-content: space-between;
315
+ width: 100%;
316
+
317
+ .Rebellion-Button {
318
+ margin-left: $spacing-unit;
319
+ position: relative;
320
+ bottom: $spacing-unit /2;
321
+ }
322
+
323
+ }
324
+ }
325
+ }
326
+ }
@@ -0,0 +1,81 @@
1
+ .desktop {
2
+ background-color: $brand-color;
3
+ position: relative;
4
+ display: flex;
5
+ flex-direction: row;
6
+ flex-wrap: nowrap;
7
+ justify-items: space-between;
8
+ align-items: center;
9
+ min-height: $action-bar-height;
10
+ height: 100%;
11
+
12
+ .Rebellion-Button {
13
+ display: flex;
14
+ flex-direction: column;
15
+ justify-content: center;
16
+ align-self: center;
17
+ font-size: 15px;
18
+ height: 42px;
19
+ padding: 13px 16px;
20
+ box-sizing: border-box;
21
+ }
22
+
23
+ .withinPadding {
24
+ flex-basis: 40px;
25
+ flex-shrink: 10000;
26
+ min-width: 15px;
27
+ }
28
+
29
+ .page-link {
30
+ color: $brand-text-color;
31
+ line-height: $base-line-height;
32
+ font-family: $header-font-stack;
33
+ transition: 0.1s;
34
+ line-height: 1;
35
+ flex-shrink: 0.01;
36
+ &:hover {
37
+ text-decoration: none;
38
+ border-bottom: 4px solid $accent-color;
39
+ color: $brand-text-color-invert;
40
+ }
41
+
42
+ height: 100%;
43
+ display: flex;
44
+ flex-direction: column;
45
+ justify-content: center;
46
+ text-align: center;
47
+ }
48
+
49
+ .social-links-padding {
50
+ flex-basis: 0;
51
+ flex-shrink: 10000;
52
+ min-width: 0;
53
+ @media screen and (min-width: $on-large) {
54
+ & {
55
+ flex-basis: 40px;
56
+ flex-shrink: 10000;
57
+ min-width: 15px;
58
+ }
59
+ }
60
+
61
+ }
62
+
63
+ .social-links {
64
+ align-items: center;
65
+ justify-items: center;
66
+ svg {
67
+ width: 32px;
68
+ height: 32px;
69
+ margin-right: 5px;
70
+ }
71
+ display: none;
72
+ @media screen and (min-width: $on-large) {
73
+ & { display: flex;}
74
+ }
75
+ }
76
+
77
+ display: none;
78
+ @media screen and (min-width: $on-medium) {
79
+ & { display: flex; }
80
+ }
81
+ }
@@ -0,0 +1,83 @@
1
+ .Rebellion-Footer {
2
+ background-color: $text-color;
3
+ color: $background-color;
4
+ padding: 60px 0 20px 0;
5
+ font-size: $small-font-size;
6
+
7
+ a {
8
+ color: white;
9
+ text-decoration: underline;
10
+ font-weight: normal;
11
+
12
+ &:hover {
13
+ color: lighten($brand-color, 20%);
14
+ text-decoration: none;
15
+ }
16
+ }
17
+
18
+ .logo-line {
19
+ position: relative;
20
+ display: flex;
21
+ flex-direction: row;
22
+ flex-wrap: wrap;
23
+ justify-content: center;
24
+ align-items: center;
25
+
26
+ .site-title {
27
+ flex: 1 0 auto;
28
+
29
+ }
30
+
31
+ .main-logo{
32
+ height: 46px;
33
+ max-width: 161px;
34
+ padding: $spacing-unit 0;
35
+ }
36
+
37
+ .social-links {
38
+ a {
39
+ text-decoration: none;
40
+
41
+ svg {
42
+ transition: 0.2s;
43
+ fill: $background-color;
44
+ height: 38px;
45
+
46
+ &:hover{ fill: $brand-color; }
47
+
48
+ path, .st0 { fill: $text-color; }
49
+ }
50
+ }
51
+ }
52
+
53
+ @media screen and (max-width: 200px) {
54
+ .main-logo { display: none; }
55
+ .logo-square { display: block; }
56
+ span { display: none; }
57
+ }
58
+ }
59
+
60
+ nav {
61
+ padding: $spacing-unit*2 0 $spacing-unit*3 0;
62
+
63
+ display: flex;
64
+ flex-direction: row;
65
+ flex-wrap: wrap;
66
+ justify-content: space-between;
67
+ align-items: flex-start;
68
+
69
+ a { text-decoration: none;}
70
+ a:hover { text-decoration: underline;}
71
+
72
+ .col {
73
+ display: flex;
74
+ flex-direction: column;
75
+ padding: 10px 0;
76
+ }
77
+ }
78
+
79
+ p {
80
+ text-align: center;
81
+ font-size: $smaller-font-size;
82
+ }
83
+ }