sencilla 0.4.0 → 0.4.1

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: 77316f01b9db0492aa8672d4b3946d2deff8d31775eb0eef2c258da701772c13
4
- data.tar.gz: 328fa5716f70f1b90991cb90c9932677e457641d78e3218bfa5fb4dfca9b85b1
3
+ metadata.gz: 63ec37e0281fed1a6ed43b78f63755ff32392d54207338d5371d9e2ec8a631fd
4
+ data.tar.gz: d13089aa5ef0da0ce7f574691e7a0863711218344fd210b4eec358c2ea2c0ed5
5
5
  SHA512:
6
- metadata.gz: 2ee643d3c7c8d2e761e0d5bc1a6977140a0b4f6f3020d7e4ad2fa593ea76af5bfdc08122328a64fe788b117a00483d64bf3944e90939ff7675bf6e6640d75104
7
- data.tar.gz: c7c050dbb35c9f67ab169e4909753797ce393aa6e422437c1574759b70eb323b7fa10c439b825bac9f11a1981db09e2e5877bfd4dcf3bf674d807a32486ff1ce
6
+ metadata.gz: 747cb41222d5cfe4a67ee4bc421d63d15bf2b035d7ff47206d5fc93f8b368e6aa8ea009d0e1b80386ba3d545c04053610146f653f11c655090da06c49e4b0684
7
+ data.tar.gz: 197218633c9c8d315684dd918a9d8f72b26e0fa5259a7ebc1b0b5ef90adf37df5717ae761716da0793417ec9fb7a4b7a5aa4784f66a0657cdda62e74a26fe1c9
@@ -34,6 +34,12 @@
34
34
  {%- endif -%}
35
35
  </div>
36
36
  {%- endfor -%}
37
+ <div class="nav-items">
38
+ <a>Links</a>
39
+ <div class="dropdown-content">
40
+ {% include social.html %}
41
+ </div>
42
+ </div>
37
43
  </div>
38
44
  </nav>
39
45
  </div>
@@ -0,0 +1,18 @@
1
+ <!doctype html>
2
+ <html>
3
+
4
+ {% include head.html %}
5
+
6
+ <body>
7
+ {% include header.html %}
8
+
9
+ <main class="page-content" aria-label=Content">
10
+ <div class="wrapper-medium">
11
+ {{ content }}
12
+ </div>
13
+ </main>
14
+
15
+ {% include footer.html %}
16
+
17
+ </body>
18
+ </html>
@@ -0,0 +1,18 @@
1
+ <!doctype html>
2
+ <html>
3
+
4
+ {% include head.html %}
5
+
6
+ <body>
7
+ {% include header.html %}
8
+
9
+ <main class="page-content" aria-label=Content">
10
+ <div class="wrapper-wide">
11
+ {{ content }}
12
+ </div>
13
+ </main>
14
+
15
+ {% include footer.html %}
16
+
17
+ </body>
18
+ </html>
@@ -0,0 +1,20 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+
4
+ {%- include latex-head.html -%}
5
+
6
+ <body>
7
+
8
+ {%- include header.html -%}
9
+
10
+ <main class="page-content" aria-label="Content">
11
+ <div class="wrapper-medium">
12
+ {{ content }}
13
+ </div>
14
+ </main>
15
+
16
+ {%- include footer.html -%}
17
+
18
+ </body>
19
+
20
+ </html>
@@ -0,0 +1,20 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+
4
+ {%- include latex-head.html -%}
5
+
6
+ <body>
7
+
8
+ {%- include header.html -%}
9
+
10
+ <main class="page-content" aria-label="Content">
11
+ <div class="wrapper-wide">
12
+ {{ content }}
13
+ </div>
14
+ </main>
15
+
16
+ {%- include footer.html -%}
17
+
18
+ </body>
19
+
20
+ </html>
@@ -0,0 +1,11 @@
1
+ ---
2
+ layout: latex-default-medium
3
+ ---
4
+ <article class="post">
5
+ <header class="post-header">
6
+ <h1 style="text-align: center;" class="post-title">{{ page.title | escape }}</h1>
7
+ </header>
8
+ <div class="post-content">
9
+ {{ content }}
10
+ </div>
11
+ </article>
@@ -0,0 +1,11 @@
1
+ ---
2
+ layout: latex-default-wide
3
+ ---
4
+ <article class="post">
5
+ <header class="post-header">
6
+ <h1 style="text-align: center;" class="post-title">{{ page.title | escape }}</h1>
7
+ </header>
8
+ <div class="post-content">
9
+ {{ content }}
10
+ </div>
11
+ </article>
@@ -0,0 +1,11 @@
1
+ ---
2
+ layout: default-medium
3
+ ---
4
+ <article class="post">
5
+ <header class="post-header">
6
+ <h1 style="text-align: center;" class="post-title">{{ page.title | escape }}</h1>
7
+ </header>
8
+ <div class="post-content">
9
+ {{ content }}
10
+ </div>
11
+ </article>
@@ -0,0 +1,11 @@
1
+ ---
2
+ layout: default-wide
3
+ ---
4
+ <article class="post">
5
+ <header class="post-header">
6
+ <h1 style="text-align: center;" class="post-title">{{ page.title | escape }}</h1>
7
+ </header>
8
+ <div class="post-content">
9
+ {{ content }}
10
+ </div>
11
+ </article>
@@ -5,6 +5,8 @@
5
5
 
6
6
  $nav-width: 1280px !default;
7
7
  $content-width: 750px !default;
8
+ $content-width-medium: $content-width + 250px !default;
9
+ $content-width-wide: $nav-width !default;
8
10
  $home-content-width: $nav-width !default;
9
11
 
10
12
  $on-palm: 600px !default;
@@ -213,7 +213,7 @@ pre {
213
213
  * Wrapper
214
214
  */
215
215
  .wrapper {
216
- max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
216
+ max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
217
217
  max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
218
218
  margin-right: auto;
219
219
  margin-left: auto;
@@ -229,6 +229,23 @@ pre {
229
229
  }
230
230
  }
231
231
 
232
+ .wrapper-medium {
233
+ max-width: -webkit-calc(#{$content-width-medium} - (#{$spacing-unit} * 2));
234
+ max-width: calc(#{$content-width-medium} - (#{$spacing-unit} * 2));
235
+ margin-right: auto;
236
+ margin-left: auto;
237
+ padding-right: $spacing-unit;
238
+ padding-left: $spacing-unit;
239
+ @extend %clearfix;
240
+
241
+ @include media-query($on-palm) {
242
+ max-width: -webkit-calc(#{$content-width-medium} - (#{$spacing-unit}));
243
+ max-width: calc(#{$content-width-medium} - (#{$spacing-unit}));
244
+ padding-right: $spacing-unit / 2;
245
+ padding-left: $spacing-unit / 2;
246
+ }
247
+ }
248
+
232
249
  .wrapper-wide {
233
250
  max-width: -webkit-calc(#{$nav-width} - (#{$spacing-unit} * 2));
234
251
  max-width: calc(#{$nav-width} - (#{$spacing-unit} * 2));
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sencilla
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mohit Saharan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-19 00:00:00.000000000 Z
11
+ date: 2020-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -96,11 +96,19 @@ files:
96
96
  - _includes/image.html
97
97
  - _includes/latex-head.html
98
98
  - _includes/social.html
99
+ - _layouts/default-medium.html
100
+ - _layouts/default-wide.html
99
101
  - _layouts/default.html
100
102
  - _layouts/home.html
103
+ - _layouts/latex-default-medium.html
104
+ - _layouts/latex-default-wide.html
101
105
  - _layouts/latex-default.html
106
+ - _layouts/latex-page-medium.html
107
+ - _layouts/latex-page-wide.html
102
108
  - _layouts/latex-page.html
103
109
  - _layouts/latex-post.html
110
+ - _layouts/page-medium.html
111
+ - _layouts/page-wide.html
104
112
  - _layouts/page.html
105
113
  - _layouts/post.html
106
114
  - _sass/sencilla.scss