millidocs 0.2.3 → 0.2.4

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
  SHA1:
3
- metadata.gz: adf600faa6ebd021c3dbf2b49e9e12535d2e0cec
4
- data.tar.gz: 123c446df427cfb6a26c50f6291b7333317cd496
3
+ metadata.gz: 45b932a8d1c27d88fe1f9bae6b2cd1a22a52beb1
4
+ data.tar.gz: a48c047990ff5b3735590c5da5f2b192c123d1ff
5
5
  SHA512:
6
- metadata.gz: faa3fa45b3b0ff22840d453ff869746449f52dec0e6591fab1dea61ac6b47f6a873fac04fa3a33bdacfd68ff2011fe323ff9bea86ccecf022a24e05f90760e89
7
- data.tar.gz: f6125687ddd5f96c2df41f12186d3813c0065a240b588adb4a5ae66f091fc0972feb296fccb3b2707b703a85441892a15a0f727bc1b0e89d3d84c666e3a284d2
6
+ metadata.gz: c34525ee9ebaff1a79f637399a0fd306f94abc670360a1dec6d62ebd672f8ebd0fe6a8848ff1f5458ccf7bfcdfe9e7c9fd3432a8443937e8bdfd330194c6f4c5
7
+ data.tar.gz: 6397c222c849cfa6e2b25970ecd48e67099755b866354a28a3d267bf57436c9fa0ba891a2d70062bd7b2b98f9e5cc1c87c1eb26f38f37d94e05002d59de5b6fb
data/_includes/head.html CHANGED
@@ -1,7 +1,7 @@
1
1
  <head>
2
2
  <meta charset="utf-8">
3
3
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
- <meta name="viewport" content="width=device-width, initial-scale=1">
4
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
5
5
 
6
6
  <title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
7
7
  <meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}">
data/_sass/variables.scss CHANGED
@@ -5,8 +5,9 @@
5
5
  $base-height: 1em;
6
6
  $content-width: 800px;
7
7
  $sidebar-width: 300px;
8
- $mobile-width: 745px;
9
- $min-width: 360px;
8
+ $mobile-width: 320px;
9
+ $mobile-viewport: 800px;
10
+ $min-width: 320px;
10
11
  $header-height: 50px;
11
12
 
12
13
  $link-color: #008cff;
data/assets/css/docs.scss CHANGED
@@ -2,7 +2,7 @@
2
2
  ---
3
3
 
4
4
  @import 'variables';
5
-
5
+ @import 'normalize.css';
6
6
  @import 'milligram';
7
7
  @import 'prism';
8
8
 
@@ -12,14 +12,15 @@ html, body {
12
12
  max-height: 100%;
13
13
  overflow: hidden;
14
14
  min-width: $min-width;
15
+ box-sizing: border-box;
15
16
  }
16
17
 
17
- * {
18
- box-sizing: border-box;
18
+ *, *:before, *:after {
19
+ box-sizing: inherit;
19
20
  }
20
21
 
21
22
  pre {
22
- margin-bottom: ($base-height * 2) !important;
23
+ margin-bottom: ($base-height * 2) !important;
23
24
  }
24
25
 
25
26
  a {
@@ -32,6 +33,11 @@ a {
32
33
  }
33
34
  }
34
35
 
36
+ h1, h2, h3, h4, p {
37
+ margin-left: 0;
38
+ margin-right: 0;
39
+ }
40
+
35
41
  .wrapper {
36
42
  height: 100%;
37
43
  width: 100%;
@@ -121,7 +127,6 @@ a {
121
127
  overflow-y: auto;
122
128
  color: $content-color;
123
129
  line-height: 1.7;
124
- word-wrap: break-word;
125
130
  }
126
131
 
127
132
  .inner {
@@ -137,9 +142,9 @@ a {
137
142
  /**
138
143
  * Mobile
139
144
  */
140
- @media (max-width: $mobile-width) {
145
+ @media (max-width: $mobile-viewport) {
141
146
  .wrapper {
142
- flex-direction: column;
147
+ flex-direction: column;
143
148
  }
144
149
 
145
150
  .sidebar {
@@ -168,13 +173,14 @@ a {
168
173
  }
169
174
 
170
175
  .content {
171
- width: 100%;
172
176
  margin-top: 0;
173
177
  height: calc(100% - #{$header-height});
174
- min-height: calc(100% - #{$header-height});
175
- }
178
+ min-height: calc(100% - #{$header-height});
179
+ max-width: 100%;
180
+ }
176
181
 
177
182
  .inner {
178
- padding: $base-height;
183
+ max-width: 100%;
184
+ padding: $base-height $base-height * 2;
179
185
  }
180
186
  }
@@ -0,0 +1 @@
1
+ /*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}/*# sourceMappingURL=normalize.min.css.map */
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: millidocs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Heimbuch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-15 00:00:00.000000000 Z
11
+ date: 2017-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -74,6 +74,7 @@ files:
74
74
  - _sass/prism.scss
75
75
  - _sass/variables.scss
76
76
  - assets/css/docs.scss
77
+ - assets/css/normalize.css
77
78
  - assets/images/close.svg
78
79
  - assets/images/menu.svg
79
80
  - assets/js/lunar.min.js