picklecore 0.6.0 → 0.7.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8d691c6e89748a4ace2210263b49b02f40fe62ab0c9d73135a9e19d1324f43d3
4
- data.tar.gz: ed46ec11718047e8ce93260c30599a3aaac34a1bb99b01ae8a1d2668f3f6f8ae
3
+ metadata.gz: 71e108e984821a4b89ccaeac0b0917ea4a21596fc7d6e106800af8c12951b538
4
+ data.tar.gz: 0a92571415383ae013f7f9594604cbd87751b80901a52e0268439d443ddef71a
5
5
  SHA512:
6
- metadata.gz: 78820d486254ac116f18b9e56cf474995ae2f4a7bf3e6bd6f7107c26adea0e4f39e9fa51ed0a49144cba38868f5185d45ed2d60de4e780e241910989c6fba97c
7
- data.tar.gz: dc1718e47ac0d5ebe22e322decda38087f56333c2b754c3114779743fd7d9b5c43a15ce246bdf2ec9f5c888a0a07d247f58639b10b6895043eff13b14593e783
6
+ metadata.gz: de3e7f6eec982add4d11c3c9f9e7b10a03eea1de505cdaf02be91878e189b23f1f40569c5f7e60504d2b3a71d8e8b43b8c778fa265b1482b7840b3bc64031522
7
+ data.tar.gz: 6e201f7d3f1f39a9a1bbcb194ccaa4f1e50a154ef3f8319420d11de5858ab17289a77852f2307a904fdd6f1182c6c051bfadd2d7aaef778327fbc8b48df37c63
@@ -30,7 +30,7 @@
30
30
  </td>
31
31
  </tr>
32
32
  {% endif %}
33
- {% if site.twitter_username %}
33
+ {% if site.twitter.username %}
34
34
  <tr>
35
35
  <td>
36
36
  <i class="fab fa-twitter"></i>
@@ -0,0 +1,12 @@
1
+ @font-face {
2
+ font-family: 'Open Sans';
3
+ font-style: normal;
4
+ font-weight: 400;
5
+ src: url('/assets/fonts/open-sans-v17-latin-regular.eot');
6
+ src: local('Open Sans Regular'), local('OpenSans-Regular'),
7
+ url('/assets/fonts/open-sans-v17-latin-regular.eot?#iefix') format('embedded-opentype'),
8
+ url('/assets/fonts/open-sans-v17-latin-regular.woff2') format('woff2'),
9
+ url('/assets/fonts/open-sans-v17-latin-regular.woff') format('woff'),
10
+ url('/assets/fonts/open-sans-v17-latin-regular.ttf') format('truetype'),
11
+ url('/assets/fonts/open-sans-v17-latin-regular.svg#OpenSans') format('svg');
12
+ }
@@ -0,0 +1 @@
1
+ #303f9f
data/_layouts/error.html CHANGED
@@ -6,11 +6,11 @@
6
6
  </head>
7
7
  <body onload="document.body.style.backgroundColor = '#303f9f'">
8
8
  <div class="error">
9
- <h1 class="animated fadeInRightBig">{{ site.errormessage | default: "Uh oh... You fell off my site!" }}</h1>
9
+ <h1 class="animated fadeInRightBig">{{ site.errormessage | default: "Uh oh... You fell off our site!" }}</h1>
10
10
  <p class="animated delay fadeInLeftBig">
11
11
  Error {{ page.code }} ({{ page.desc }})
12
12
  {% if site.email %}
13
- - If you think this is a mistake on my part, please <a href="mailto:{{ site.email }}">send me an email.</a>
13
+ - If you think this is a mistake on our part, please <a href="mailto:{{ site.email }}">send us an email</a>.
14
14
  {% endif %}
15
15
  </p>
16
16
  </div>
@@ -1,15 +1,4 @@
1
- @font-face {
2
- font-family: 'Open Sans';
3
- font-style: normal;
4
- font-weight: 400;
5
- src: url('/assets/fonts/open-sans-v17-latin-regular.eot');
6
- src: local('Open Sans Regular'), local('OpenSans-Regular'),
7
- url('/assets/fonts/open-sans-v17-latin-regular.eot?#iefix') format('embedded-opentype'),
8
- url('/assets/fonts/open-sans-v17-latin-regular.woff2') format('woff2'),
9
- url('/assets/fonts/open-sans-v17-latin-regular.woff') format('woff'),
10
- url('/assets/fonts/open-sans-v17-latin-regular.ttf') format('truetype'),
11
- url('/assets/fonts/open-sans-v17-latin-regular.svg#OpenSans') format('svg');
12
- }
1
+ {% include styling/font.css %}
13
2
 
14
3
  body {
15
4
  overflow: hidden;
data/assets/css/main.css CHANGED
@@ -1,20 +1,9 @@
1
- @font-face {
2
- font-family: 'Open Sans';
3
- font-style: normal;
4
- font-weight: 400;
5
- src: url('/assets/fonts/open-sans-v17-latin-regular.eot');
6
- src: local('Open Sans Regular'), local('OpenSans-Regular'),
7
- url('/assets/fonts/open-sans-v17-latin-regular.eot?#iefix') format('embedded-opentype'),
8
- url('/assets/fonts/open-sans-v17-latin-regular.woff2') format('woff2'),
9
- url('/assets/fonts/open-sans-v17-latin-regular.woff') format('woff'),
10
- url('/assets/fonts/open-sans-v17-latin-regular.ttf') format('truetype'),
11
- url('/assets/fonts/open-sans-v17-latin-regular.svg#OpenSans') format('svg');
12
- }
1
+ {% include styling/font.css %}
13
2
 
14
3
  body {
15
4
  margin: 0;
16
5
  padding: 0;
17
- background-color: #303f9f
6
+ background-color: {%- include styling/theme-color.css -%}
18
7
  }
19
8
 
20
9
  .content {
@@ -47,7 +36,7 @@ tr {
47
36
 
48
37
  .card {
49
38
  background: #fff;
50
- color: #303f9f;
39
+ color: {%- include styling/theme-color.css -%};
51
40
  border-radius: 2px;
52
41
  height: 400px;
53
42
  margin: 1rem;
@@ -89,7 +78,7 @@ tr {
89
78
  .nav a {
90
79
  padding: 8px;
91
80
  text-decoration: none;
92
- color: #303f9f;
81
+ color: {%- include styling/theme-color.css -%};
93
82
  font-size: 25px;
94
83
  display: block;
95
84
  transition: 0.3s
@@ -102,7 +91,7 @@ table {
102
91
  tr {
103
92
  padding: 8px 8px 8px 32px;
104
93
  text-decoration: none;
105
- color: #303f9f;
94
+ color: {%- include styling/theme-color.css -%};
106
95
  font-size: 25px;
107
96
  transition: 0.3s
108
97
  }
@@ -205,7 +194,7 @@ td {
205
194
  }
206
195
 
207
196
  #nav-btn.open span {
208
- background-color: #303f9f
197
+ background-color: {%- include styling/theme-color.css -%}
209
198
  }
210
199
 
211
200
  #nav-btn.open span:nth-child(1) {
@@ -234,7 +223,7 @@ td {
234
223
  button {
235
224
  display: inline-block;
236
225
  vertical-align: middle;
237
- background: #303f9f;
226
+ background: {%- include styling/theme-color.css -%};
238
227
  color: #fff;
239
228
  border: none;
240
229
  position: relative;
@@ -248,18 +237,18 @@ button {
248
237
 
249
238
  button:hover {
250
239
  background: #fff;
251
- color: #303f9f
240
+ color: {%- include styling/theme-color.css -%}
252
241
  }
253
242
 
254
243
  button:before,
255
- button:after{
244
+ button:after {
256
245
  content: '';
257
246
  position: absolute;
258
247
  top: 0;
259
248
  right: 0;
260
249
  height: 2px;
261
250
  width: 0;
262
- background: #303f9f;
251
+ background: {%- include styling/theme-color.css -%};
263
252
  transition: 400ms ease all
264
253
  }
265
254
 
@@ -272,8 +261,8 @@ button:after {
272
261
 
273
262
  button:hover:before,
274
263
  button:hover:after {
275
- width:100%;
276
- transition:800ms ease all
264
+ width: 100%;
265
+ transition: 800ms ease all
277
266
  }
278
267
 
279
268
  a {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: picklecore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Reece Dunham
@@ -100,6 +100,8 @@ files:
100
100
  - _includes/components/card.html
101
101
  - _includes/components/sidebar.html
102
102
  - _includes/metadata/metadata.html
103
+ - _includes/styling/font.css
104
+ - _includes/styling/theme-color.css
103
105
  - _layouts/default-with-sidebar.html
104
106
  - _layouts/default.html
105
107
  - _layouts/error.html