pdatalab 0.1.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,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 41253c6e1d530927daa2e01f2272145394f1afafc8b04e1e9acb03b57cb6b918
4
+ data.tar.gz: d8d7975af03d6372d97e50de5a010ca8a9e3f7c497255d545f75ab49fd86ce8e
5
+ SHA512:
6
+ metadata.gz: 6f250bf99b544a033d736245b0892966bbfe843f5fb42d218a88a01dfc3ac672801870c963814d7400dace596238bd64b2de368c5dbd53993e0a367c6b5cebfe
7
+ data.tar.gz: '088e54f947bf927de475dca27d1e85ff8053c5829bf51cd7e88b2cf0bacd47238ec6c52b21c8d91169c7168be1ff24c6daa15fbbb3cf049b31bd885bec819550'
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020 bndndr
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,47 @@
1
+ # pdatalab
2
+
3
+ TODO: Delete this and the text above, and describe your gem
4
+
5
+
6
+ ## Installation
7
+
8
+ Add this line to your Jekyll site's `Gemfile`:
9
+
10
+ ```ruby
11
+ gem "pdatalab"
12
+ ```
13
+
14
+ And add this line to your Jekyll site's `_config.yml`:
15
+
16
+ ```yaml
17
+ theme: pdatalab
18
+ ```
19
+
20
+ And then execute:
21
+
22
+ $ bundle
23
+
24
+ Or install it yourself as:
25
+
26
+ $ gem install pdatalab
27
+
28
+ ## Usage
29
+
30
+ TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
31
+
32
+ ## Contributing
33
+
34
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
35
+
36
+ ## Development
37
+
38
+ To set up your environment to develop this theme, run `bundle install`.
39
+
40
+ Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
41
+
42
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
43
+ To add a custom directory to your theme-gem, please edit the regexp in `pdatalab.gemspec` accordingly.
44
+
45
+ ## License
46
+
47
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -0,0 +1,62 @@
1
+ title: "An exhaustive title to your research"
2
+ author:
3
+ - name: Public Data Lab
4
+ logo: https://www.publicdatalab.org/imgs/publicdatalab-logo.svg
5
+ - name: Public Data Lab
6
+ logo: https://www.publicdatalab.org/imgs/publicdatalab-logo.svg
7
+ description: >
8
+ Write an awesome description for your new site here. You can edit this
9
+ line in _config.yml. It will appear in your document head meta (for
10
+ Google search results) and in your feed.xml site description.
11
+ show_excerpts: false
12
+ # Select the theme color of your blog between forest, midnight, petrol, river, spice, terracotta
13
+ # color: midnight
14
+
15
+ # Minima date format
16
+ minima:
17
+ date_format: "%b %-d, %Y"
18
+
19
+ # generate social links in footer
20
+ social_links:
21
+ twitter: jekyllrb
22
+ github: jekyll
23
+ # devto: jekyll
24
+ # dribbble: jekyll
25
+ # facebook: jekyll
26
+ # flickr: jekyll
27
+ # instagram: jekyll
28
+ # linkedin: jekyll
29
+ # pinterest: jekyll
30
+ # youtube: jekyll
31
+ # youtube_channel: UC8CXR0-3I70i1tfPg1PAE1g
32
+ # youtube_channel_name: CloudCannon
33
+ # telegram: jekyll
34
+ # googleplus: +jekyll
35
+ # microdotblog: jekyll
36
+ # keybase: jekyll
37
+
38
+ # Mastodon instances
39
+ # mastodon:
40
+ # - username: jekyll
41
+ # instance: example.com
42
+ # - username: jekyll2
43
+ # instance: example.com
44
+
45
+ # GitLab instances
46
+ # gitlab:
47
+ # - username: jekyll
48
+ # instance: example.com
49
+ # - username: jekyll2
50
+ # instance: example.com
51
+
52
+ # If you want to link only specific pages in your header, uncomment
53
+ # this and add the path to the pages in order as they should show up
54
+ #header_pages:
55
+ # - about.md
56
+
57
+ # Build settings
58
+ theme: minima
59
+
60
+ plugins:
61
+ - jekyll-feed
62
+ - jekyll-seo-tag
@@ -0,0 +1,27 @@
1
+ <footer class="site-footer h-card">
2
+ <data class="u-url" href="{{ "/" | relative_url }}"></data>
3
+
4
+ <div class="wrapper">
5
+
6
+ <div class="footer-col-wrapper">
7
+ <div class="footer-col">
8
+
9
+ {%- for author in site.author -%}
10
+ <img src="{{ author.logo }}" width="120" style="margin-right: 1rem">
11
+ {%- endfor -%}
12
+ {%- if site.author %}
13
+ <ul class="contact-list">
14
+ {% if site.author.name -%}
15
+ <li class="p-name">{{ site.author.name | escape }}</li>
16
+ {% endif -%}
17
+ {% if site.author.email -%}
18
+ <li><a class="u-email" href="mailto:{{ site.author.email }}">{{ site.author.email }}</a></li>
19
+ {%- endif %}
20
+ </ul>
21
+ {%- endif %}
22
+ </div>
23
+ </div>
24
+
25
+ </div>
26
+
27
+ </footer>
@@ -0,0 +1,16 @@
1
+ <head>
2
+ <meta charset="utf-8">
3
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
+ <meta name="viewport" content="width=device-width, initial-scale=1">
5
+ <link href="https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,400;0,700;1,400&family=DM+Mono&family=Inter:wght@300;700&display=swap" rel="stylesheet">
6
+ <script src="https://kit.fontawesome.com/88c3e70171.js" crossorigin="anonymous"></script>
7
+ <script src="https://d3js.org/d3.v5.min.js"></script>
8
+ <script
9
+ src="https://code.jquery.com/jquery-3.5.1.min.js"
10
+ integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="
11
+ crossorigin="anonymous"></script>
12
+ <link rel="stylesheet" href="{{ '/assets/main.css' | relative_url }}">
13
+ {%- if jekyll.environment == 'production' and site.google_analytics -%}
14
+ {%- include google-analytics.html -%}
15
+ {%- endif -%}
16
+ </head>
@@ -0,0 +1,8 @@
1
+ <header>
2
+ <div class="wrapper">
3
+ <div class="header--container">
4
+ <a href="https://www.publicdatalab.org/" target="_blank"><img src="{{ '/assets/img/PDL-logobold.png' | relative_url }}"/></a>
5
+ <h5><a href="{{ '/' | relative_url}}">{{ site.title | escape }}</a></h5>
6
+ </div>
7
+ </div>
8
+ </header>
@@ -0,0 +1,21 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ page.lang | default: site.lang | default: "en" }}">
3
+ <title>{{ page.title }}</title>
4
+
5
+ {%- include head.html -%}
6
+
7
+ <body>
8
+
9
+ {%- include header.html -%}
10
+
11
+ <main class="page-content" aria-label="Content">
12
+ <div class="wrapper">
13
+ {{ content }}
14
+ </div>
15
+ </main>
16
+
17
+ {%- include footer.html -%}
18
+
19
+ </body>
20
+
21
+ </html>
@@ -0,0 +1,73 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div id="cover">
6
+ <div>
7
+ <h1 class="post-title">{{ site.title | escape }}</h1>
8
+ <p>A research by Public Data Lab</p>
9
+ </div>
10
+ </div>
11
+
12
+ <div class="home">
13
+ {%- if page.title -%}
14
+ <h1 class="page-heading">{{ page.title }}</h1>
15
+ {%- endif -%}
16
+
17
+ {{ content }}
18
+
19
+
20
+ {% if site.paginate %}
21
+ {% assign posts = paginator.posts %}
22
+ {% else %}
23
+ {% assign posts = site.posts %}
24
+ {% endif %}
25
+
26
+ <section>
27
+ <h2>Read the research:</h2>
28
+ {%- if posts.size > 0 -%}
29
+ {%- if page.list_title -%}
30
+ <h2 class="post-list-heading">{{ page.list_title }}</h2>
31
+ {%- endif -%}
32
+ <ul class="post-list">
33
+ {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
34
+ {%- for post in posts -%}
35
+ <li>
36
+ <span class="post-meta">{{ post.date | date: date_format }}</span>
37
+ <h3>
38
+ <a class="post-link" href="{{ post.url | relative_url }}">
39
+ {{ post.title | escape }}
40
+ </a>
41
+ </h3>
42
+ <p>
43
+ {{ post.author }}
44
+ </p>
45
+ {%- if site.show_excerpts -%}
46
+ {{ post.excerpt }}
47
+ {%- endif -%}
48
+ </li>
49
+ {%- endfor -%}
50
+ </ul>
51
+
52
+ {% if site.paginate %}
53
+ <div class="pager">
54
+ <ul class="pagination">
55
+ {%- if paginator.previous_page %}
56
+ <li><a href="{{ paginator.previous_page_path | relative_url }}" class="previous-page">{{ paginator.previous_page }}</a></li>
57
+ {%- else %}
58
+ <li><div class="pager-edge">•</div></li>
59
+ {%- endif %}
60
+ <li><div class="current-page">{{ paginator.page }}</div></li>
61
+ {%- if paginator.next_page %}
62
+ <li><a href="{{ paginator.next_page_path | relative_url }}" class="next-page">{{ paginator.next_page }}</a></li>
63
+ {%- else %}
64
+ <li><div class="pager-edge">•</div></li>
65
+ {%- endif %}
66
+ </ul>
67
+ </div>
68
+ {%- endif %}
69
+
70
+ {%- endif -%}
71
+ </section>
72
+
73
+ </div>
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
@@ -0,0 +1,13 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div id="post--cover">
6
+ <div>
7
+ <h1 class="post-title">{{ page.title | escape }}</h1>
8
+ {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
9
+ <p>{{ page.date | date: date_format }} — {{ page.author | escape }}</p>
10
+ </div>
11
+ </div>
12
+
13
+ {{ content }}
@@ -0,0 +1 @@
1
+ $brand-color: #4d622e
@@ -0,0 +1,5 @@
1
+ $brand-color: #122a54;
2
+
3
+ header {
4
+ color: #FFFFFF !important;
5
+ }
@@ -0,0 +1 @@
1
+ $brand-color: #3c756b
@@ -0,0 +1 @@
1
+ $brand-color: #87A0B2;
@@ -0,0 +1 @@
1
+ $brand-color: #d3060a;
@@ -0,0 +1 @@
1
+ $brand-color: #b94428
@@ -0,0 +1,350 @@
1
+ /**
2
+ * Reset some basic elements
3
+ */
4
+
5
+ body, h1, h2, h3, h4, h5, h6,
6
+ p, blockquote, pre, hr,
7
+ dl, dd, ol, ul, figure {
8
+ margin: 0;
9
+ padding: 0;
10
+ }
11
+
12
+ h1 {
13
+ @include relative-font-size(1.5);
14
+ }
15
+
16
+ sup {
17
+ @include relative-font-size(0.8);
18
+ font-family: $title-font-family;
19
+ weight: 700;
20
+ }
21
+
22
+ button {
23
+ background: $background-color;
24
+ padding: $spacing-unit / 3 $spacing-unit;
25
+ border-radius: $spacing-unit;
26
+ border: 1px solid $brand-color;
27
+ color: $brand-color;
28
+ font-family: $base-font-family;
29
+ font-size: $small-font-size;
30
+ font-weight: bold;
31
+ text-transform: uppercase;
32
+ transition: all .3s ease;
33
+ margin-bottom: $spacing-unit / 2;
34
+ }
35
+
36
+ button:hover {
37
+ cursor: pointer;
38
+ background: $brand-color;
39
+ color: $background-color;
40
+ }
41
+
42
+ /**
43
+ * Basic styling
44
+ */
45
+ body {
46
+ font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
47
+ color: $text-color;
48
+ background-color: $background-color;
49
+ -webkit-text-size-adjust: 100%;
50
+ -webkit-font-feature-settings: "kern" 1;
51
+ -moz-font-feature-settings: "kern" 1;
52
+ -o-font-feature-settings: "kern" 1;
53
+ font-feature-settings: "kern" 1;
54
+ font-kerning: normal;
55
+ display: flex;
56
+ min-height: 100vh;
57
+ flex-direction: column;
58
+ }
59
+
60
+
61
+
62
+ /**
63
+ * Set `margin-bottom` to maintain vertical rhythm
64
+ */
65
+ h1, h2, h3, h4, h5, h6,
66
+ p, blockquote, pre,
67
+ ul, ol, dl, figure,
68
+ %vertical-rhythm {
69
+ margin-bottom: $spacing-unit;
70
+ }
71
+
72
+
73
+
74
+ /**
75
+ * `main` element
76
+ */
77
+ main {
78
+ display: block;
79
+ }
80
+
81
+ /**
82
+ * Figures
83
+ */
84
+ figure > img {
85
+ display: block;
86
+ }
87
+
88
+ figcaption {
89
+ font-size: $small-font-size;
90
+ }
91
+
92
+
93
+
94
+ /**
95
+ * Lists
96
+ */
97
+ ul, ol {
98
+ margin-left: $spacing-unit;
99
+ }
100
+
101
+ li {
102
+ > ul,
103
+ > ol {
104
+ margin-bottom: 0;
105
+ }
106
+ }
107
+
108
+
109
+
110
+ /**
111
+ * Headings
112
+ */
113
+ h1, h2, h3, h4, h5, h6 {
114
+ color: $brand-color;
115
+ font-family: $title-font-family;
116
+ font-weight: $title-font-weight;
117
+ }
118
+
119
+
120
+
121
+ /**
122
+ * Links
123
+ */
124
+ a {
125
+ color: $link-color;
126
+ text-decoration: none;
127
+
128
+ &:visited {
129
+ color: $link-color;
130
+ }
131
+
132
+ &:hover {
133
+ color: $text-color;
134
+ text-decoration: underline;
135
+ }
136
+
137
+ .social-media-list &:hover {
138
+ text-decoration: none;
139
+
140
+ .username {
141
+ text-decoration: underline;
142
+ }
143
+ }
144
+ }
145
+
146
+
147
+ /**
148
+ * Blockquotes
149
+ */
150
+ blockquote {
151
+ @include relative-font-size(1.5);
152
+ font-style: italic;
153
+ color: $brand-color;
154
+
155
+
156
+ > :last-child {
157
+ margin-bottom: 0;
158
+ }
159
+ }
160
+
161
+
162
+
163
+ /**
164
+ * Code formatting
165
+ */
166
+ pre,
167
+ code {
168
+ @include relative-font-size(0.8);
169
+ border: 1px solid $grey-color-dark;
170
+ border-radius: 3px;
171
+ background-color: $grey-color-light;
172
+ font-family: "DM Mono", monospace;
173
+ }
174
+
175
+ code {
176
+ padding: 1px 5px;
177
+ }
178
+
179
+ pre {
180
+ padding: 8px 12px;
181
+ overflow-x: auto;
182
+
183
+ > code {
184
+ border: 0;
185
+ padding-right: 0;
186
+ padding-left: 0;
187
+ }
188
+ }
189
+
190
+
191
+
192
+ /**
193
+ * Wrapper
194
+ */
195
+ .wrapper {
196
+ max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
197
+ max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
198
+ margin-right: auto;
199
+ margin-left: auto;
200
+ padding-right: $spacing-unit;
201
+ padding-left: $spacing-unit;
202
+ @extend %clearfix;
203
+
204
+ @include media-query($on-laptop) {
205
+ max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
206
+ max-width: calc(#{$content-width} - (#{$spacing-unit}));
207
+ padding-right: $spacing-unit / 1.5;
208
+ padding-left: $spacing-unit / 1.5;
209
+ }
210
+ }
211
+
212
+
213
+
214
+ /**
215
+ * Clearfix
216
+ */
217
+ %clearfix:after {
218
+ content: "";
219
+ display: table;
220
+ clear: both;
221
+ }
222
+
223
+
224
+
225
+ /**
226
+ * Icons
227
+ */
228
+
229
+ .svg-icon {
230
+ width: 16px;
231
+ height: 16px;
232
+ display: inline-block;
233
+ fill: #{$grey-color};
234
+ padding-right: 5px;
235
+ vertical-align: text-top;
236
+ }
237
+
238
+ .social-media-list {
239
+ li + li {
240
+ padding-top: 5px;
241
+ }
242
+ }
243
+
244
+
245
+
246
+ /**
247
+ * Tables
248
+ */
249
+ table {
250
+ margin-bottom: $spacing-unit;
251
+ width: 100%;
252
+ text-align: $table-text-align;
253
+ color: lighten($text-color, 18%);
254
+ border-collapse: collapse;
255
+ border: 1px solid $grey-color-light;
256
+ tr {
257
+ &:nth-child(even) {
258
+ background-color: lighten($grey-color-light, 6%);
259
+ }
260
+ }
261
+ th, td {
262
+ padding: ($spacing-unit / 3) ($spacing-unit / 2);
263
+ }
264
+ th {
265
+ background-color: lighten($grey-color-light, 3%);
266
+ border: 1px solid darken($grey-color-light, 4%);
267
+ border-bottom-color: darken($grey-color-light, 12%);
268
+ }
269
+ td {
270
+ border: 1px solid $grey-color-light;
271
+ }
272
+ }
273
+
274
+
275
+ // footer
276
+ .site-footer {
277
+ border-top: 1px solid $grey-color-dark;
278
+ background: $grey-color-light;
279
+ padding: $spacing-unit 0;
280
+ margin-top: $spacing-unit * 2;
281
+ }
282
+
283
+ .footer-heading {
284
+ @include relative-font-size(1.125);
285
+ margin-bottom: $spacing-unit / 2;
286
+ }
287
+
288
+ .feed-subscribe .svg-icon {
289
+ padding: 5px 5px 2px 0
290
+ }
291
+
292
+ .contact-list,
293
+ .social-media-list {
294
+ list-style: none;
295
+ margin-left: 0;
296
+ }
297
+
298
+ .footer-col-wrapper,
299
+ .social-links {
300
+ @include relative-font-size(0.9375);
301
+ color: $text-color;
302
+ }
303
+
304
+ .footer-col {
305
+ margin-bottom: $spacing-unit / 2;
306
+ }
307
+
308
+ .footer-col-1,
309
+ .footer-col-2 {
310
+ width: calc(50% - (#{$spacing-unit} / 2));
311
+ }
312
+
313
+ .footer-col-3 {
314
+ width: calc(100% - (#{$spacing-unit} / 2));
315
+ }
316
+
317
+ @media screen and (min-width: $on-palm) {
318
+ .footer-col-1 {
319
+ width: calc(35% - (#{$spacing-unit} / 2));
320
+ }
321
+
322
+ .footer-col-2 {
323
+ width: calc(20% - (#{$spacing-unit} / 2));
324
+ }
325
+
326
+ .footer-col-3 {
327
+ width: calc(45% - (#{$spacing-unit} / 2));
328
+ }
329
+ }
330
+
331
+ @media screen and (min-width: $on-laptop) {
332
+ .footer-col-wrapper {
333
+ display: flex
334
+ }
335
+
336
+ .footer-col {
337
+ width: calc(100% - (#{$spacing-unit} / 2));
338
+ padding: 0 ($spacing-unit / 2);
339
+
340
+ &:first-child {
341
+ padding-right: $spacing-unit / 2;
342
+ padding-left: 0;
343
+ }
344
+
345
+ &:last-child {
346
+ padding-right: 0;
347
+ padding-left: $spacing-unit / 2;
348
+ }
349
+ }
350
+ }
@@ -0,0 +1,168 @@
1
+ #cover {
2
+ background-color: $brand-color;
3
+ background-image: url("../assets/images/sat-maputo.jpg");
4
+ background-size: cover;
5
+ background-repeat: no-repeat;
6
+ background-position: center;
7
+ width: 100vw;
8
+ height: 80vh;
9
+ position: relative;
10
+ left: calc(-50vw + 50%);
11
+ top: -$spacing-unit * 2.5;
12
+ display: flex;
13
+ align-items: center;
14
+ justify-content: center;
15
+ vertical-align: middle;
16
+ flex-wrap: wrap;
17
+ color: #FFFFFF;
18
+
19
+ * {
20
+ text-align: center;
21
+ margin: $spacing-unit / 2;
22
+ }
23
+
24
+ .post-title {
25
+ text-align: center;
26
+ @include relative-font-size(3.5);
27
+ line-height: 110%;
28
+ color: $grey-color-light;
29
+ font-weight: 700;
30
+ width: 90%;
31
+ margin: auto;
32
+
33
+ @media screen and (max-width: $on-palm) {
34
+ @include relative-font-size(2.5);
35
+ }
36
+ }
37
+
38
+ h2 {
39
+ @include relative-font-size(2);
40
+ width: 95%;
41
+ text-align: center;
42
+ margin: auto;
43
+ color: $grey-color-light;
44
+ line-height: 1.1;
45
+ }
46
+ }
47
+
48
+ #home {
49
+ img {
50
+ width: 100vw !important;
51
+ position: relative;
52
+ left: calc(-50vw + 50%);
53
+ border-radius: 0;
54
+ }
55
+ }
56
+
57
+ #safari--cover .safari--description {
58
+ width: 1140px;
59
+ margin: auto;
60
+ padding: 0 60px;
61
+ font-size: $big-font-size;
62
+ color: $brand-color;
63
+ }
64
+
65
+ #safari--cover .safari--description blockquote {
66
+ font-size: $big-font-size;
67
+ }
68
+
69
+ #safari--partners {
70
+ margin-bottom: $spacing-unit * 2;
71
+ }
72
+
73
+ .home blockquote {
74
+ font-style: normal;
75
+
76
+ p {
77
+ margin-bottom: $spacing-unit / 2;
78
+ }
79
+
80
+ em {
81
+ color: $brand-color;
82
+ }
83
+ }
84
+
85
+ .home--objectives {
86
+ display: flex;
87
+ flex-wrap: wrap;
88
+ margin-bottom: $spacing-unit * 2;
89
+ font-size: $big-font-size * 0.9;
90
+ font-family: $title-font-family;
91
+ text-align: center;
92
+ color: $text-color;
93
+
94
+ button {
95
+ padding: $spacing-unit / 2 $spacing-unit;
96
+ margin-right: $spacing-unit / 2;
97
+ margin-bottom: $spacing-unit / 2;
98
+ text-transform: none;
99
+ line-height: inherit;
100
+ @include relative-font-size(1.3);
101
+ }
102
+
103
+ .fas {
104
+ margin-right: 0.5rem;
105
+ color: $brand-color;
106
+ }
107
+
108
+ div {
109
+ margin-right: $spacing-unit;
110
+ margin-bottom: $spacing-unit / 2;
111
+ padding: $spacing-unit / 2 0;
112
+ border-radius: $spacing-unit;
113
+ font-weight: $title-font-weight;
114
+
115
+ @include relative-font-size(1.3)
116
+ }
117
+ }
118
+
119
+ .post-list {
120
+ width: 100%;
121
+ flex-wrap: wrap;
122
+ margin: auto;
123
+ }
124
+
125
+ .post-list > li:first-child {
126
+ border-top: 1px solid $grey-color-dark;
127
+ }
128
+
129
+ .post-list > li {
130
+ display: flex;
131
+ padding: $spacing-unit / 1.5 0;
132
+ background-position: center;
133
+ background-size: 50%;
134
+ background-repeat: no-repeat;
135
+ margin-bottom: 0;
136
+ border-bottom: 1px solid $grey-color-dark;
137
+ @include media-query($on-palm) {
138
+ padding: $spacing-unit / 2 0;
139
+ display: block;
140
+ }
141
+ @include relative-font-size(1.1);
142
+ }
143
+
144
+ .post-list > li > * {
145
+ width: 50%;
146
+ margin-bottom: 0;
147
+ margin-right: $spacing-unit;
148
+ @include media-query($on-palm) {
149
+ width: 100%;
150
+ }
151
+ }
152
+
153
+ .home-content {
154
+ * {
155
+
156
+ }
157
+ blockquote p {
158
+ column-count: 1;
159
+ margin-bottom: $spacing-unit * 2;
160
+ }
161
+ p {
162
+ margin-bottom: $spacing-unit * 2;
163
+
164
+ @include media-query($on-palm) {
165
+ column-count: 1;
166
+ }
167
+ }
168
+ }
@@ -0,0 +1,89 @@
1
+ header {
2
+ position: sticky;
3
+ top: 0;
4
+ z-index: 1;
5
+ padding: $spacing-unit / 3 0;
6
+
7
+ a {
8
+ color: $text-color !important;
9
+ transition: 0.2s all ease;
10
+ text-decoration: none;
11
+ }
12
+
13
+ a:hover {
14
+ color: $brand-color !important;
15
+ text-decoration: none;
16
+ }
17
+
18
+ .header--container {
19
+ display: flex;
20
+ align-content: center;
21
+
22
+ * {
23
+ margin-right: $spacing-unit;
24
+ }
25
+
26
+ .logo {
27
+ font-weight: 400;
28
+
29
+ @media screen and (max-width: $on-palm) {
30
+ display: none;
31
+ }
32
+ }
33
+
34
+ }
35
+
36
+ h5 {
37
+ margin: 0;
38
+ color: $text-color;
39
+ mix-blend-mode: exclusion;
40
+ }
41
+ }
42
+
43
+ header img {
44
+ height: 25px;
45
+ width: auto;
46
+ }
47
+
48
+ #post--cover {
49
+ background-color: $brand-color;
50
+ background-size: cover;
51
+ background-repeat: no-repeat;
52
+ background-position: center;
53
+ width: 100vw;
54
+ height: 60vh;
55
+ position: relative;
56
+ left: calc(-50vw + 50%);
57
+ top: -$spacing-unit * 2.5;
58
+ display: flex;
59
+ align-items: center;
60
+ justify-content: center;
61
+ vertical-align: middle;
62
+ flex-wrap: wrap;
63
+ color: #FFFFFF;
64
+
65
+ * {
66
+ text-align: center;
67
+ margin: 0 $spacing-unit / 2;
68
+ }
69
+
70
+ .post-title {
71
+ text-align: center;
72
+ @include relative-font-size(3);
73
+ line-height: 110%;
74
+ color: $grey-color-light;
75
+ font-weight: 700;
76
+ margin: auto;
77
+ margin-top: 1rem;
78
+ margin-bottom: 1rem;
79
+ }
80
+
81
+ h2 {
82
+ @include relative-font-size(2);
83
+ width: 95%;
84
+ text-align: center;
85
+ margin: auto;
86
+ color: $grey-color-light;
87
+ line-height: 1.1;
88
+ }
89
+ }
@@ -0,0 +1,54 @@
1
+ $base-font-family: "Crimson Pro", "Georgia", serif;
2
+ $base-font-size: 20px !default;
3
+ $base-font-weight: normal !default;
4
+ $small-font-size: $base-font-size * 1 !default;
5
+ $big-font-size: $base-font-size * 1.2 !default;
6
+ $base-line-height: 1.5 !default;
7
+
8
+ $title-font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";;
9
+ $title-font-weight: 700 !default;
10
+
11
+ $spacing-unit: 30px !default;
12
+
13
+ $link-color: lighten($brand-color, 10%);
14
+
15
+ // $cover-color: #87A0B2;
16
+
17
+ $grey-color: #F4F6F6 !default;
18
+ $grey-color-light: lighten($grey-color, 5%) !default;
19
+ $grey-color-dark: darken($grey-color, 10%) !default;
20
+ $grey-color-darker: darken($grey-color, 60%) !default;
21
+
22
+ $text-color: darken($grey-color, 80%);
23
+ $background-color: rgb(235,235,235);
24
+
25
+ $table-text-align: left !default;
26
+
27
+ // Width of the content area
28
+ $content-width: 940px !default;
29
+
30
+ $on-palm: 768px !default;
31
+ $on-laptop: 768px !default;
32
+
33
+ // Use media queries like this:
34
+ // @include media-query($on-palm) {
35
+ // .wrapper {
36
+ // padding-right: $spacing-unit / 2;
37
+ // padding-left: $spacing-unit / 2;
38
+ // }
39
+ // }
40
+ @mixin media-query($device) {
41
+ @media screen and (max-width: $device) {
42
+ @content;
43
+ }
44
+ }
45
+
46
+ @mixin relative-font-size($ratio) {
47
+ font-size: $base-font-size * $ratio;
48
+ }
49
+
50
+ @import
51
+ "comps/base",
52
+ "comps/home",
53
+ "comps/layout"
54
+ ;
@@ -0,0 +1,8 @@
1
+ ---
2
+
3
+ ---
4
+
5
+ @import
6
+ "colors/{{ site.color | default: 'terracotta' }}",
7
+ "main"
8
+ ;
metadata ADDED
@@ -0,0 +1,79 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pdatalab
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - bndndr
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-09-24 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.1'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4.1'
27
+ description:
28
+ email:
29
+ - benedetti.a93@gmail.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - LICENSE.txt
35
+ - README.md
36
+ - _config.yml
37
+ - _includes/footer.html
38
+ - _includes/head.html
39
+ - _includes/header.html
40
+ - _layouts/default.html
41
+ - _layouts/home.html
42
+ - _layouts/page.html
43
+ - _layouts/post.html
44
+ - _sass/colors/_forest.scss
45
+ - _sass/colors/_midnight.scss
46
+ - _sass/colors/_petrol.scss
47
+ - _sass/colors/_river.scss
48
+ - _sass/colors/_spice.scss
49
+ - _sass/colors/_terracotta.scss
50
+ - _sass/comps/_base.scss
51
+ - _sass/comps/_home.scss
52
+ - _sass/comps/_layout.scss
53
+ - _sass/main.scss
54
+ - assets/img/PDL-logobold.png
55
+ - assets/main.scss
56
+ homepage: https://github.com/densitydesign/pdatalab-template
57
+ licenses:
58
+ - MIT
59
+ metadata: {}
60
+ post_install_message:
61
+ rdoc_options: []
62
+ require_paths:
63
+ - lib
64
+ required_ruby_version: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ required_rubygems_version: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ version: '0'
74
+ requirements: []
75
+ rubygems_version: 3.0.3
76
+ signing_key:
77
+ specification_version: 4
78
+ summary: PDL Template
79
+ test_files: []