jekyll-theme-lcsb-default 0.3.9 → 0.3.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 57ac4a9e444b1d6206d53e40388b2fcf7848ec98d79202898dc3c49e0818ead0
4
- data.tar.gz: a9859857c2a1890f917a7653d18088f1f584037e3c8cb70f96465978f67ae8fb
3
+ metadata.gz: e39289aecbd6e13c9f6f79001b40a3f2baa21e0b2ef72d3dcc02f810704774df
4
+ data.tar.gz: '08925ff139a4da63cbd8751814850271ab8fb8094e2e36862c1d3107560ab63b'
5
5
  SHA512:
6
- metadata.gz: 3c2780734dc016f1592c1c2f2991c1ca8cb36bb529fcf867a588ab56b0c1d2f4a05d585df7f40d5b8728541765fee9de93fab483472ffec9cff74dcc231c248a
7
- data.tar.gz: 957fc1ab3a128d8a46ffa6201a4813dacd357d870701cbd552d3f22d1f6f384e6a9a90a7edc239174b84a107f2ee81ee67078166dffd7caa6d0ea15a66aaae3e
6
+ metadata.gz: f6da8812d5b9571218ff1576bf13a7a5331c252f9b71906dd043b018b58de3d0005cd6935f7d8c9ebeffab53ec7a39703cdf2991ba5e0de784dfb9bfec429a1c
7
+ data.tar.gz: 00c50b2b26b96d670cbdfe996bf88da74f1705e55ab709609cc9d7922df7ced0d9fdd645a28c2f0fcfafb4bbb2d98f7b90c23a95520e36d81934e563ff758f47
data/_sass/minima.scss CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  // Define defaults for each variable.
4
4
 
5
- $base-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
5
+ $base-font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
6
6
  $base-font-size: 16px !default;
7
7
  $base-font-weight: 400 !default;
8
8
  $small-font-size: $base-font-size * 0.875 !default;
@@ -12,6 +12,23 @@ html, body{
12
12
  height: 100%;
13
13
  }
14
14
 
15
+ @page {
16
+ margin: 2cm;
17
+ size: A4;
18
+ }
19
+
20
+ @page:right{
21
+ @bottom-right {
22
+ content: counter(page);
23
+ }
24
+ }
25
+
26
+ @page:left{
27
+ @bottom-left {
28
+ content: counter(page);
29
+ }
30
+ }
31
+
15
32
  /**
16
33
  * Basic styling
17
34
  */
@@ -105,6 +122,14 @@ a {
105
122
  color: $brand-color;
106
123
  text-decoration: none;
107
124
 
125
+ @media print {
126
+ &:after {
127
+ content: " ["attr(href)"] ";
128
+ font-weight: 600;
129
+ text-decoration: underline;
130
+ }
131
+ }
132
+
108
133
  &:visited {
109
134
  color: darken($brand-color, 15%);
110
135
  }
@@ -192,6 +217,17 @@ pre {
192
217
  height: auto;
193
218
  }
194
219
 
220
+ @media print {
221
+ .main {
222
+ max-width: unset;
223
+ min-width: unset;
224
+ margin-right: 0px;
225
+ margin-left: 0px;
226
+ background-color: #fdfdfd;
227
+ box-shadow: unset;
228
+ }
229
+ }
230
+
195
231
  .wrapper {
196
232
  padding-right: $spacing-unit;
197
233
  padding-left: $spacing-unit;
@@ -12,6 +12,11 @@ html {
12
12
  // Positioning context for the mobile navigation icon
13
13
  position: relative;
14
14
  margin-top: 30px;
15
+
16
+ @media print {
17
+ margin-top: 0px;
18
+ display: none;
19
+ }
15
20
  }
16
21
 
17
22
 
@@ -242,7 +247,11 @@ html {
242
247
  margin-top: -$footer-height + $spacing-unit;
243
248
  flex-shrink: 0;
244
249
  height: $footer-height;
245
- line-height: 15px
250
+ line-height: 15px;
251
+
252
+ @media print {
253
+ display: none;
254
+ }
246
255
  }
247
256
 
248
257
  .footer-wrapper {
@@ -314,6 +323,11 @@ html {
314
323
  }
315
324
  padding: $spacing-unit 0;
316
325
  padding-bottom: $footer-height;
326
+
327
+ @media print {
328
+ margin-top: 2px;
329
+ margin-left: unset;
330
+ }
317
331
  }
318
332
 
319
333
  .page-heading {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-lcsb-default
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.9
4
+ version: 0.3.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Trefex