jekyll-theme-material-docs 1.0.1 → 1.0.6

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: 460eac85a61b37d6b742b42bdf531315ee6e0b323997679f96d1a67a5f8b8ff9
4
- data.tar.gz: a08825619b66c556c7c3c5948d64ba2da1b2e01769d20f9848401110f01d2078
3
+ metadata.gz: 19ed3903d4e6c7af7aa97590ea634d3f3a2da09eb107e10e2a1c1417b6aafb51
4
+ data.tar.gz: c69eebb0449be2cd37665e5210de802b6db04b236dfad65f4567dd604f680274
5
5
  SHA512:
6
- metadata.gz: f917d8d506c21fa5075788603234f1a62317ddac58e0e9546f5908ea501f7f4b9ebb8675052e48c7d6b0812b8fb99244eec5680446a8e25bcd52d304379e06f0
7
- data.tar.gz: 0d1b46d22ea2bb77de4aec0b3666e2d723f5dded4591f318a784c93d09467b1cef0e894ec77a2fd5aed4c18f605710008155ef830874a34f3a307a08118a8315
6
+ metadata.gz: 362b2f527c80b462a6c293d34ca7b96eeecd77a6a88e15e5bda9816362a3a40d5a9adb8e9148458ee782b9cc719b6b0fc989e8e8ea751a38f992092750e32d4f
7
+ data.tar.gz: 5dd6994916c9c2292cd0045dcf099345f18efdb66288b425d3c5eacd49420a3eb857405a378a94af17bd317286b6b3fdfe8d8737eb5b27fd4550878965931551
data/README.md CHANGED
@@ -1,6 +1,11 @@
1
1
  # Material Docs
2
2
 
3
- Jekyll theme built with material web components
3
+ [![Build Status][badge-ci]][url-ci]
4
+
5
+ [badge-ci]: https://github.com/fernandopasik/jekyll-theme-material-docs/workflows/main/badge.svg
6
+ [url-ci]: https://github.com/fernandopasik/jekyll-theme-material-docs/actions 'Build Status'
7
+
8
+ Jekyll theme for documentation 📝 built with material web components
4
9
 
5
10
  ## Installation
6
11
 
File without changes
@@ -17,12 +17,8 @@
17
17
  {% include github-icon.html %}
18
18
  </a>
19
19
  </p>
20
- <p>
21
- {% include made-with-love.html %}
22
- </p>
20
+ <p>{% include made-with-love.html %}</p>
23
21
  {%- if site.github.license -%}
24
- <p>
25
- {% include license.html %}
26
- </p>
22
+ <p>{% include license.html %}</p>
27
23
  {%- endif -%}
28
24
  </div>
@@ -2,13 +2,15 @@
2
2
  <meta charset="utf-8" />
3
3
  <meta name="viewport" content="width=device-width, initial-scale=1" />
4
4
 
5
- <link rel="stylesheet" href="https://unpkg.com/normalize.css" />
5
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
6
+
6
7
  <link
7
8
  rel="stylesheet"
8
9
  href="https://unpkg.com/material-components-web@latest/dist/material-components-web.min.css"
9
10
  />
10
- <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto+Mono" />
11
- <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />
12
11
 
13
12
  {%- seo -%} {% include styles.html %} {% include google-analytics.html %}
13
+
14
+ <!-- custom head for scripts or styles -->
15
+ {% include custom-head.html %}
14
16
  </head>
@@ -1,16 +1,28 @@
1
1
  <div class="hero mdc-theme--on-primary mdc-theme--primary-bg">
2
2
  <div class="mdc-layout-grid grid-container">
3
- <h1 class="mdc-typography--headline3">{{ site.title }}</h1>
4
- <p class="mdc-typography--headline5">{{ site.description }}</p>
3
+ <div class="mdc-layout-grid__inner">
4
+ <div
5
+ class="mdc-layout-grid__cell mdc-layout-grid__cell--span-8-tablet mdc-layout-grid__cell--span-6"
6
+ >
7
+ <h1 class="mdc-typography--headline3">{{ site.title }}</h1>
8
+ <p class="mdc-typography--headline5">{{ site.description }}</p>
9
+
10
+ <p class="hero-actions">
11
+ <a
12
+ href="{{ 'getting-started' | relative_url }}"
13
+ class="mdc-button mdc-button--outlined mdc-theme--on-primary"
14
+ >
15
+ <span class="mdc-button__ripple"></span>
16
+ <span class="mdc-button__label">Get Started</span>
17
+ </a>
18
+ </p>
19
+ </div>
5
20
 
6
- <p class="hero-actions">
7
- <a
8
- href="{{ 'getting-started' | relative_url }}"
9
- class="mdc-button mdc-button--outlined mdc-theme--on-primary"
21
+ <div
22
+ class="mdc-layout-grid__cell mdc-layout-grid__cell--span-8-tablet mdc-layout-grid__cell--span-6 mdc-layout-grid__cell--align-middle"
10
23
  >
11
- <span class="mdc-button__ripple"></span>
12
- <span class="mdc-button__label">Get Started</span>
13
- </a>
14
- </p>
24
+ {{ page.hero_example | markdownify }}
25
+ </div>
26
+ </div>
15
27
  </div>
16
28
  </div>
@@ -8,7 +8,7 @@
8
8
  <section class="mdc-top-app-bar__section mdc-top-app-bar__section--align-end" role="toolbar">
9
9
  {% for item in site.main_nav %}
10
10
  <a
11
- href="{{ site.github.url }}{{ item.url | escape | relative_url }}"
11
+ href="{{ item.url | escape | relative_url }}"
12
12
  class="mdc-top-app-bar__action-item mdc-button"
13
13
  >
14
14
  {{ item.title | escape }}
@@ -7,6 +7,4 @@ layout: default
7
7
  <div class="mdc-top-app-bar--fixed-adjust">{%- include hero.html -%}</div>
8
8
  </header>
9
9
 
10
- <main class="mdc-layout-grid grid-container">
11
- {%- include content.html -%}
12
- </main>
10
+ <main class="mdc-layout-grid grid-container">{%- include content.html -%}</main>
@@ -2,9 +2,7 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- <header>
6
- {%- include top-bar.html -%}
7
- </header>
5
+ <header>{%- include top-bar.html -%}</header>
8
6
 
9
7
  <main class="main-content mdc-top-app-bar--fixed-adjust mdc-layout-grid grid-container">
10
8
  <div class="mdc-layout-grid__inner">
@@ -3,7 +3,7 @@ code {
3
3
  }
4
4
 
5
5
  pre {
6
- overflow: scroll;
6
+ overflow: auto;
7
7
  tab-size: 2;
8
8
  hyphens: none;
9
9
  white-space: pre;
@@ -0,0 +1,73 @@
1
+ /* latin */
2
+ @font-face {
3
+ font-family: 'Roboto';
4
+ font-style: normal;
5
+ font-weight: 300;
6
+ font-display: swap;
7
+ src: url(https://fonts.gstatic.com/s/roboto/v20/KFOlCnqEu92Fr1MmSU5fBBc4AMP6lQ.woff2)
8
+ format('woff2');
9
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F,
10
+ U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
11
+ }
12
+
13
+ /* latin */
14
+ @font-face {
15
+ font-family: 'Roboto';
16
+ font-style: normal;
17
+ font-weight: 400;
18
+ font-display: swap;
19
+ src: url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu4mxKKTU1Kg.woff2) format('woff2');
20
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F,
21
+ U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
22
+ }
23
+
24
+ /* latin */
25
+ @font-face {
26
+ font-family: 'Roboto';
27
+ font-style: normal;
28
+ font-weight: 500;
29
+ font-display: swap;
30
+ src: url(https://fonts.gstatic.com/s/roboto/v20/KFOlCnqEu92Fr1MmEU9fBBc4AMP6lQ.woff2)
31
+ format('woff2');
32
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F,
33
+ U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
34
+ }
35
+
36
+ /* latin */
37
+ @font-face {
38
+ font-family: 'Roboto Mono';
39
+ font-style: normal;
40
+ font-weight: 400;
41
+ font-display: swap;
42
+ src: url(https://fonts.gstatic.com/s/robotomono/v12/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_ROW-AJi8SJQt.woff)
43
+ format('woff');
44
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F,
45
+ U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
46
+ }
47
+
48
+ /* fallback */
49
+ @font-face {
50
+ font-family: 'Material Icons';
51
+ font-style: normal;
52
+ font-weight: 400;
53
+ font-display: swap;
54
+ src: url(https://fonts.gstatic.com/s/materialicons/v67/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.woff2)
55
+ format('woff2');
56
+ }
57
+
58
+ .material-icons {
59
+ font-family: 'Material Icons', sans-serif;
60
+ font-feature-settings: 'liga';
61
+ font-weight: normal;
62
+ font-style: normal;
63
+ font-size: 24px;
64
+ line-height: 1;
65
+ letter-spacing: normal;
66
+ text-transform: none;
67
+ display: inline-block;
68
+ white-space: nowrap;
69
+ word-wrap: normal;
70
+ direction: ltr;
71
+ -webkit-font-feature-settings: 'liga';
72
+ -webkit-font-smoothing: antialiased;
73
+ }
@@ -0,0 +1,351 @@
1
+ /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
2
+
3
+ /* Document
4
+ ========================================================================== */
5
+
6
+ /**
7
+ * 1. Correct the line height in all browsers.
8
+ * 2. Prevent adjustments of font size after orientation changes in iOS.
9
+ */
10
+
11
+ html {
12
+ line-height: 1.15; /* 1 */
13
+ -webkit-text-size-adjust: 100%; /* 2 */
14
+ }
15
+
16
+ /* Sections
17
+ ========================================================================== */
18
+
19
+ /**
20
+ * Remove the margin in all browsers.
21
+ */
22
+
23
+ body {
24
+ margin: 0;
25
+ }
26
+
27
+ /**
28
+ * Render the `main` element consistently in IE.
29
+ */
30
+
31
+ main {
32
+ display: block;
33
+ }
34
+
35
+ /**
36
+ * Correct the font size and margin on `h1` elements within `section` and
37
+ * `article` contexts in Chrome, Firefox, and Safari.
38
+ */
39
+
40
+ h1 {
41
+ font-size: 2em;
42
+ margin: 0.67em 0;
43
+ }
44
+
45
+ /* Grouping content
46
+ ========================================================================== */
47
+
48
+ /**
49
+ * 1. Add the correct box sizing in Firefox.
50
+ * 2. Show the overflow in Edge and IE.
51
+ */
52
+
53
+ hr {
54
+ box-sizing: content-box; /* 1 */
55
+ height: 0; /* 1 */
56
+ overflow: visible; /* 2 */
57
+ }
58
+
59
+ /**
60
+ * 1. Correct the inheritance and scaling of font size in all browsers.
61
+ * 2. Correct the odd `em` font sizing in all browsers.
62
+ */
63
+
64
+ pre {
65
+ font-family: monospace, monospace; /* 1 */
66
+ font-size: 1em; /* 2 */
67
+ }
68
+
69
+ /* Text-level semantics
70
+ ========================================================================== */
71
+
72
+ /**
73
+ * Remove the gray background on active links in IE 10.
74
+ */
75
+
76
+ a {
77
+ background-color: transparent;
78
+ }
79
+
80
+ /**
81
+ * 1. Remove the bottom border in Chrome 57-
82
+ * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
83
+ */
84
+
85
+ abbr[title] {
86
+ border-bottom: none; /* 1 */
87
+ text-decoration: underline; /* 2 */
88
+ text-decoration: underline dotted; /* 2 */
89
+ }
90
+
91
+ /**
92
+ * Add the correct font weight in Chrome, Edge, and Safari.
93
+ */
94
+
95
+ b,
96
+ strong {
97
+ font-weight: bolder;
98
+ }
99
+
100
+ /**
101
+ * 1. Correct the inheritance and scaling of font size in all browsers.
102
+ * 2. Correct the odd `em` font sizing in all browsers.
103
+ */
104
+
105
+ code,
106
+ kbd,
107
+ samp {
108
+ font-family: monospace, monospace; /* 1 */
109
+ font-size: 1em; /* 2 */
110
+ }
111
+
112
+ /**
113
+ * Add the correct font size in all browsers.
114
+ */
115
+
116
+ small {
117
+ font-size: 80%;
118
+ }
119
+
120
+ /**
121
+ * Prevent `sub` and `sup` elements from affecting the line height in
122
+ * all browsers.
123
+ */
124
+
125
+ sub,
126
+ sup {
127
+ font-size: 75%;
128
+ line-height: 0;
129
+ position: relative;
130
+ vertical-align: baseline;
131
+ }
132
+
133
+ sub {
134
+ bottom: -0.25em;
135
+ }
136
+
137
+ sup {
138
+ top: -0.5em;
139
+ }
140
+
141
+ /* Embedded content
142
+ ========================================================================== */
143
+
144
+ /**
145
+ * Remove the border on images inside links in IE 10.
146
+ */
147
+
148
+ img {
149
+ border-style: none;
150
+ }
151
+
152
+ /* Forms
153
+ ========================================================================== */
154
+
155
+ /**
156
+ * 1. Change the font styles in all browsers.
157
+ * 2. Remove the margin in Firefox and Safari.
158
+ */
159
+
160
+ button,
161
+ input,
162
+ optgroup,
163
+ select,
164
+ textarea {
165
+ font-family: inherit; /* 1 */
166
+ font-size: 100%; /* 1 */
167
+ line-height: 1.15; /* 1 */
168
+ margin: 0; /* 2 */
169
+ }
170
+
171
+ /**
172
+ * Show the overflow in IE.
173
+ * 1. Show the overflow in Edge.
174
+ */
175
+
176
+ button,
177
+ input {
178
+ /* 1 */
179
+ overflow: visible;
180
+ }
181
+
182
+ /**
183
+ * Remove the inheritance of text transform in Edge, Firefox, and IE.
184
+ * 1. Remove the inheritance of text transform in Firefox.
185
+ */
186
+
187
+ button,
188
+ select {
189
+ /* 1 */
190
+ text-transform: none;
191
+ }
192
+
193
+ /**
194
+ * Correct the inability to style clickable types in iOS and Safari.
195
+ */
196
+
197
+ button,
198
+ [type='button'],
199
+ [type='reset'],
200
+ [type='submit'] {
201
+ -webkit-appearance: button;
202
+ }
203
+
204
+ /**
205
+ * Remove the inner border and padding in Firefox.
206
+ */
207
+
208
+ button::-moz-focus-inner,
209
+ [type='button']::-moz-focus-inner,
210
+ [type='reset']::-moz-focus-inner,
211
+ [type='submit']::-moz-focus-inner {
212
+ border-style: none;
213
+ padding: 0;
214
+ }
215
+
216
+ /**
217
+ * Restore the focus styles unset by the previous rule.
218
+ */
219
+
220
+ button:-moz-focusring,
221
+ [type='button']:-moz-focusring,
222
+ [type='reset']:-moz-focusring,
223
+ [type='submit']:-moz-focusring {
224
+ outline: 1px dotted ButtonText;
225
+ }
226
+
227
+ /**
228
+ * Correct the padding in Firefox.
229
+ */
230
+
231
+ fieldset {
232
+ padding: 0.35em 0.75em 0.625em;
233
+ }
234
+
235
+ /**
236
+ * 1. Correct the text wrapping in Edge and IE.
237
+ * 2. Correct the color inheritance from `fieldset` elements in IE.
238
+ * 3. Remove the padding so developers are not caught out when they zero out
239
+ * `fieldset` elements in all browsers.
240
+ */
241
+
242
+ legend {
243
+ box-sizing: border-box; /* 1 */
244
+ color: inherit; /* 2 */
245
+ display: table; /* 1 */
246
+ max-width: 100%; /* 1 */
247
+ padding: 0; /* 3 */
248
+ white-space: normal; /* 1 */
249
+ }
250
+
251
+ /**
252
+ * Add the correct vertical alignment in Chrome, Firefox, and Opera.
253
+ */
254
+
255
+ progress {
256
+ vertical-align: baseline;
257
+ }
258
+
259
+ /**
260
+ * Remove the default vertical scrollbar in IE 10+.
261
+ */
262
+
263
+ textarea {
264
+ overflow: auto;
265
+ }
266
+
267
+ /**
268
+ * 1. Add the correct box sizing in IE 10.
269
+ * 2. Remove the padding in IE 10.
270
+ */
271
+
272
+ [type='checkbox'],
273
+ [type='radio'] {
274
+ box-sizing: border-box; /* 1 */
275
+ padding: 0; /* 2 */
276
+ }
277
+
278
+ /**
279
+ * Correct the cursor style of increment and decrement buttons in Chrome.
280
+ */
281
+
282
+ [type='number']::-webkit-inner-spin-button,
283
+ [type='number']::-webkit-outer-spin-button {
284
+ height: auto;
285
+ }
286
+
287
+ /**
288
+ * 1. Correct the odd appearance in Chrome and Safari.
289
+ * 2. Correct the outline style in Safari.
290
+ */
291
+
292
+ [type='search'] {
293
+ -webkit-appearance: textfield; /* 1 */
294
+ outline-offset: -2px; /* 2 */
295
+ }
296
+
297
+ /**
298
+ * Remove the inner padding in Chrome and Safari on macOS.
299
+ */
300
+
301
+ [type='search']::-webkit-search-decoration {
302
+ -webkit-appearance: none;
303
+ }
304
+
305
+ /**
306
+ * 1. Correct the inability to style clickable types in iOS and Safari.
307
+ * 2. Change font properties to `inherit` in Safari.
308
+ */
309
+
310
+ ::-webkit-file-upload-button {
311
+ -webkit-appearance: button; /* 1 */
312
+ font: inherit; /* 2 */
313
+ }
314
+
315
+ /* Interactive
316
+ ========================================================================== */
317
+
318
+ /*
319
+ * Add the correct display in Edge, IE 10+, and Firefox.
320
+ */
321
+
322
+ details {
323
+ display: block;
324
+ }
325
+
326
+ /*
327
+ * Add the correct display in all browsers.
328
+ */
329
+
330
+ summary {
331
+ display: list-item;
332
+ }
333
+
334
+ /* Misc
335
+ ========================================================================== */
336
+
337
+ /**
338
+ * Add the correct display in IE 10+.
339
+ */
340
+
341
+ template {
342
+ display: none;
343
+ }
344
+
345
+ /**
346
+ * Add the correct display in IE 10.
347
+ */
348
+
349
+ [hidden] {
350
+ display: none;
351
+ }
@@ -1 +1 @@
1
- @import 'theme', 'text', 'layout', 'hero', 'code';
1
+ @import 'fonts', 'normalize', 'theme', 'text', 'layout', 'hero', 'code';
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-material-docs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fernando Pasik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-03 00:00:00.000000000 Z
11
+ date: 2020-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -62,6 +62,7 @@ files:
62
62
  - README.md
63
63
  - _includes/content-table.html
64
64
  - _includes/content.html
65
+ - _includes/custom-head.html
65
66
  - _includes/footer.html
66
67
  - _includes/github-icon.html
67
68
  - _includes/google-analytics.html
@@ -77,8 +78,10 @@ files:
77
78
  - _layouts/home.html
78
79
  - _layouts/page.html
79
80
  - _sass/_code.scss
81
+ - _sass/_fonts.scss
80
82
  - _sass/_hero.scss
81
83
  - _sass/_layout.scss
84
+ - _sass/_normalize.scss
82
85
  - _sass/_text.scss
83
86
  - _sass/_theme.scss
84
87
  - _sass/main.scss
@@ -102,8 +105,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
105
  - !ruby/object:Gem::Version
103
106
  version: '0'
104
107
  requirements: []
105
- rubygems_version: 3.1.2
108
+ rubygems_version: 3.1.4
106
109
  signing_key:
107
110
  specification_version: 4
108
- summary: Jekyll theme built with material web components
111
+ summary: "Jekyll theme for documentation \U0001F4DD built with material web components"
109
112
  test_files: []