jekyll-rebellion 0.1.0 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,12 @@
6
6
  flex-wrap: nowrap;
7
7
  justify-items: space-between;
8
8
  align-items: center;
9
- min-height: $action-bar-height;
9
+ min-height: $action-bar-height-mobile;
10
+
11
+ @media screen and (min-width: $on-small) {
12
+ min-height: $action-bar-height;
13
+ }
14
+
10
15
  height: 100%;
11
16
 
12
17
  .Rebellion-Button {
@@ -1,6 +1,9 @@
1
1
 
2
2
  .nav-hide {
3
- top: -$action-bar-height;
3
+ top: -$action-bar-height-mobile;
4
+ @media screen and (min-width: $on-small) {
5
+ top: -$action-bar-height;
6
+ }
4
7
  }
5
8
 
6
9
  .nav-visible {
@@ -76,7 +79,13 @@
76
79
  }
77
80
 
78
81
  .site-title img {
79
- max-height: $action-bar-height;
82
+ max-height: $action-bar-height-mobile;
83
+
84
+
85
+ @media screen and (min-width: $on-small) {
86
+ max-height: $action-bar-height;
87
+ }
88
+
80
89
  box-sizing: border-box;
81
90
  padding: 10px 0;
82
91
  }
@@ -84,8 +93,13 @@
84
93
  .site-title .logo-square
85
94
  {
86
95
  display: none;
87
- max-width: $action-bar-height;
88
- max-height: $action-bar-height;
96
+ max-width: $action-bar-height-mobile;
97
+ max-height: $action-bar-height-mobile;
98
+
99
+ @media screen and (min-width: $on-small) {
100
+ max-width: $action-bar-height-mobile;
101
+ max-height: $action-bar-height;
102
+ }
89
103
  }
90
104
 
91
105
  @media screen and (max-width: 250px) {
@@ -5,9 +5,13 @@
5
5
  flex-wrap: nowrap;
6
6
  justify-items: space-between;
7
7
  align-items: center;
8
- min-height: $action-bar-height;
8
+ min-height: $action-bar-height-mobile;
9
9
  height: 100%;
10
10
 
11
+ @media screen and (min-width: $on-small) {
12
+ min-height: $action-bar-height;
13
+ }
14
+
11
15
  .nav-trigger { display: none; }
12
16
 
13
17
  .site-title {
@@ -32,6 +36,7 @@
32
36
  }
33
37
 
34
38
  .menu-icon {
39
+ line-height: 0;
35
40
  width: 18px;
36
41
  height: 15px;
37
42
  position: relative;
@@ -88,9 +93,13 @@
88
93
  display: none;
89
94
  z-index: 2;
90
95
  position: fixed;
91
- top: 14px;
96
+ top: 6px;
92
97
  right: 16px;
93
98
 
99
+ @media screen and (min-width: $on-small) {
100
+ top: 14px;
101
+ }
102
+
94
103
  .menu-icon {
95
104
  width: 18px;
96
105
  height: 18px;
@@ -131,7 +140,12 @@
131
140
 
132
141
  width: 100%;
133
142
  position: relative;
134
- padding-top: $action-bar-height;
143
+ padding-top: $action-bar-height-mobile;
144
+
145
+ @media screen and (min-width: $on-small) {
146
+ padding-top: $action-bar-height;
147
+ }
148
+
135
149
 
136
150
  display: flex;
137
151
  flex-direction: column;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-rebellion
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: '0.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Gundry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-30 00:00:00.000000000 Z
11
+ date: 2019-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '3.8'
19
+ version: '4.0'
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.8'
26
+ version: '4.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: jekyll-feed
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -66,20 +66,6 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: 2.0.2
69
- - !ruby/object:Gem::Dependency
70
- name: rake
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '12.0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '12.0'
83
69
  description:
84
70
  email:
85
71
  - david@davidgundry.co.uk
@@ -90,19 +76,6 @@ files:
90
76
  - LICENSE.txt
91
77
  - README.md
92
78
  - _includes/blog-list.html
93
- - _includes/component.html
94
- - _includes/components/big-picture.html
95
- - _includes/components/contents.html
96
- - _includes/components/event-item.html
97
- - _includes/components/event-list.html
98
- - _includes/components/floating-boxes.html
99
- - _includes/components/halves.html
100
- - _includes/components/pull-quote.html
101
- - _includes/components/rich-text.html
102
- - _includes/components/section-full-width.html
103
- - _includes/components/section.html
104
- - _includes/components/text-section.html
105
- - _includes/components/youtube-video.html
106
79
  - _includes/desktop-header.html
107
80
  - _includes/footer.html
108
81
  - _includes/google-analytics.html
@@ -111,29 +84,22 @@ files:
111
84
  - _includes/mobile-header.html
112
85
  - _includes/site-title.html
113
86
  - _includes/social-links.html
114
- - _layouts/base-post.html
115
87
  - _layouts/default.html
116
88
  - _layouts/home.html
117
89
  - _layouts/page.html
118
90
  - _layouts/post.html
119
91
  - _sass/rebellion.scss
120
92
  - _sass/rebellion/base.scss
121
- - _sass/rebellion/components.scss
93
+ - _sass/rebellion/content.scss
122
94
  - _sass/rebellion/desktop-header.scss
123
95
  - _sass/rebellion/footer.scss
124
96
  - _sass/rebellion/header.scss
125
97
  - _sass/rebellion/mobile-header.scss
126
98
  - assets/css/rebellion-style.scss
127
99
  - assets/css/style.scss
128
- - assets/facebook.svg
129
100
  - assets/fucxedcaps-v2-webfont.woff
130
101
  - assets/fucxedcaps-v2-webfont.woff2
131
- - assets/instagram.svg
132
102
  - assets/js.js
133
- - assets/logo-black.svg
134
- - assets/logo-square.svg
135
- - assets/logo-white.svg
136
- - assets/twitter.svg
137
103
  homepage: https://github.com/davidgundry/jekyll-rebellion
138
104
  licenses:
139
105
  - MIT
@@ -1 +0,0 @@
1
- {% include components/{{blok.component}}.html blok=blok %}
@@ -1,25 +0,0 @@
1
- {% comment %}
2
-
3
- blok {
4
- image: string,
5
- jump_target: string,
6
- jump_text: string,
7
- show_jump_button: boolean,
8
- half_size: boolean
9
- }
10
-
11
- {% endcomment %}
12
- {{blok._editable}}
13
- {% if blok.half_size %}
14
- <div class="Rebellion-Section Rebellion-Half-Picture" style="background-image: url('{{blok.image}}');">
15
- {% else %}
16
- <div class="Rebellion-Section Rebellion-Big-Picture" style="background-image: url('{{blok.image}}');">
17
- {% endif %}
18
- {% if blok.show_jump_button %}
19
- <div class="Rebellion-Near-Bottom">
20
- <div class="Rebellion-Flex-Line">
21
- <a href="#{{blok.jump_target}}"><span class="Rebellion-Button">{{blok.jump_text}}</span></a>
22
- </div>
23
- </div>
24
- {% endif %}
25
- </div>
@@ -1,25 +0,0 @@
1
- {% comment %}
2
-
3
- page.story.content.body: [
4
- {
5
- show_in_contents: boolean,
6
- anchor: string,
7
- contents_title: string,
8
- [...] other properties
9
- }]
10
- {% endcomment %}
11
- {{blok._editable}}
12
- <div class="Rebellion-Section Rebellion-Contents">
13
- <div class="Rebellion-Wrapper-Wide">
14
- <h2>{{ page.title }}</h2>
15
- {% if page.story.content.body %}
16
- <ol>
17
- {% for page_blok in page.story.content.body %}
18
- {% if page_blok.show_in_contents %}
19
- <li><a href="#{{ page_blok.anchor }}">{{ page_blok.contents_title }}</a></li>
20
- {% endif %}
21
- {% endfor %}
22
- </ol>
23
- {% endif %}
24
- </div>
25
- </div>
@@ -1,33 +0,0 @@
1
- {% comment %}
2
-
3
- blok {
4
- day: string,
5
- month: string,
6
- summary: string,
7
- time: string,
8
- location: string,
9
- image: string
10
- url: string
11
- }
12
-
13
- {% endcomment %}
14
- {{blok._editable}}
15
- <div class="Rebellion-Event-Item">
16
- <div class="top">
17
- <div class="date">
18
- <span class="day-number">{{ blok.day }}</span>
19
- <span class="month">{{ blok.month }}</span>
20
- </div>
21
- <div class="description">
22
- <h3>{{ blok.summary }}</h3>
23
- <time>{{ blok.time }}</time>
24
- <div class="bottom-line">
25
- <p>{{ blok.location }}</p>
26
- <a href="{{ blok.url }}" class="Rebellion-Button">Details</a>
27
- </div>
28
- </div>
29
- </div>
30
- {% if blok.image %}
31
- <img src="{{ blok.image }}" />
32
- {% endif %}
33
- </div>
@@ -1,22 +0,0 @@
1
- {% comment %}
2
-
3
- blok {
4
- events: [
5
- {
6
- day: string,
7
- month: string,
8
- summary: string,
9
- time: string,
10
- location: string,
11
- image: string,
12
- component: "event-item"
13
- }]
14
- }
15
-
16
- {% endcomment %}
17
- {{blok._editable}}
18
- <div class="Rebellion-Event-List">
19
- {% for blok in blok.body %}
20
- {% include component.html blok=blok %}
21
- {% endfor %}
22
- </div>
@@ -1,37 +0,0 @@
1
- {% comment %}
2
-
3
- blok {
4
- title: string,
5
- show_title: boolean,
6
- boxes: [
7
- {
8
- title: string,
9
- text: string,
10
- link: {
11
- url: string
12
- }
13
- button_text: string
14
- }]
15
- }
16
-
17
- {% endcomment %}
18
- {{blok._editable}}
19
- <div class="Rebellion-Section">
20
- {% if blok.anchor %}
21
- <a id="{{ blok.anchor }}"></a>
22
- {% endif %}
23
- {% if blok.show_title %}
24
- <h1>{{ blok.title }}</h1>
25
- {% endif %}
26
- <div class="Rebellion-Floating-Boxes">
27
- {% for box in blok.boxes %}
28
- <div class="Rebellion-Floating-Box">
29
- <h2>{{ box.title }}</h2>
30
- <p>{{ box.text }}</p>
31
- {% unless box.hide_link %}
32
- <div class="at-bottom"><div class="Rebellion-Flex-Line"><a href="{{ box.link.url }}"><span class="Rebellion-Button">{{ box.button_text }}</span></a></div></div>
33
- {% endunless %}
34
- </div>
35
- {% endfor %}
36
- </div>
37
- </div>
@@ -1,33 +0,0 @@
1
- {% comment %}
2
-
3
- blok {
4
- image: string,
5
- image_side: "right" || "left"
6
- body: [
7
- {
8
- component: string
9
- [...] other properties
10
- }]
11
- color: color string
12
- invert_text_color: boolean
13
- anchor: string
14
- }
15
-
16
- {% endcomment %}
17
- {{blok._editable}}
18
- <div class="Rebellion-Halves image-{{blok.image_side}}">
19
- {% if blok.anchor %}
20
- <a id="{{ blok.anchor }}"></a>
21
- {% endif %}
22
- {% if blok.change_background_color && blok.color %}
23
- <div class="half{% if blok.invert_text_color == true %} invert-text{% endif %}" style="background-color:{{ blok.color.color }};">
24
- {% else %}
25
- <div class="half">
26
- {% endif %}
27
-
28
- {% for blok in blok.body %}
29
- {% include component.html blok=blok %}
30
- {% endfor %}
31
- </div>
32
- <div class="half half-image" style="background-image: url('{{ blok.image }}')"></div>
33
- </div>
@@ -1,26 +0,0 @@
1
- {% comment %}
2
-
3
- blok {
4
- text: string,
5
- show_join: boolean,
6
- show_donate: boolean
7
- }
8
-
9
- {% endcomment %}
10
- {{blok._editable}}
11
- <div class="Rebellion-Section Rebellion-PullQuote">
12
- <div class="Rebellion-Wrapper-Wide">
13
- <h1>{{blok.text}}</h1>
14
- {% if blok.show_join or blok.show_donate %}
15
- <div class="Rebellion-Flex-Line">
16
- {% if blok.show_join %}
17
- <a href="{{ site.join }}"><span class="Rebellion-Button">Join Us</span></a>
18
- {% endif %}
19
- {% if blok.show_donate %}
20
- <a href="{{ site.donate }}"><span class="Rebellion-Button">Donate</span></a>
21
- {% endif %}
22
- </div>
23
- {% endif %}
24
- </div>
25
- </div>
26
-
@@ -1,11 +0,0 @@
1
- {% comment %}
2
-
3
- blok {
4
- text: string,
5
- }
6
-
7
- {% endcomment %}
8
- {{ blok._editable }}
9
- <div class="Rebellion-rich-text">
10
- {{ blok.text | markdownify }}
11
- </div>
@@ -1,8 +0,0 @@
1
- <div class="Rebellion-Section">
2
- {% if blok.anchor %}
3
- <a id="{{ blok.anchor }}"></a>
4
- {% endif %}
5
- {% for blok in blok.body %}
6
- {% include component.html blok=blok %}
7
- {% endfor %}
8
- </div>