madness 0.6.0 → 0.6.1

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: 07d2ef37fab295b6921ab9ebcc0b4acff83f62acb8d915be0bf83d7f15529858
4
- data.tar.gz: db1c5bb7216cd6afef30a0c2bc2cc5b2b29add53ea44ffc8e5fe57eee8faffa4
3
+ metadata.gz: 7b1cc2a8db22704b1f4ae073aecf9ddab5fcac0017a460c9cf4067b401c5ebb8
4
+ data.tar.gz: 108a05cbd93d9f00d66631c2a588ebc5fafb2f78fafbf1cc70fd24564204746e
5
5
  SHA512:
6
- metadata.gz: 296e842af36958bed1cd80a43e7326fb3a2e23e7aa4380f645d6b4a275caa3243b5411ed2e00f342e2524dab774899eb1df735b5cf68d711b54a50a6eb65e74a
7
- data.tar.gz: b6d8e5d2e1f3abc18f262cbab6daf38c636691df911df86063230aed0b57c071711a6912d15b9e7bb5f1501e9327e36a2cccee360a44d42bda1a4f86da1f81c1
6
+ metadata.gz: 805ff26ca56c882bbd33e702de81ed7044cad502ba8d6f585311b0450902b7c20de4380a5bc04bf8d6c6efa6f0f9f1ae0c4a44af7460e122c48bd6b7d610f97e
7
+ data.tar.gz: 25dc3ce86523b299ff3d9e9506bccc102dbda15544020ca2e3e7fcbfb1e4f87c3e1499d382566f6f43c2e40dfe144c2f84915f07113178547db686814a68a0ff
data/README.md CHANGED
@@ -13,10 +13,10 @@ Screenshots (click to zoom)
13
13
  --------------------------------------------------
14
14
 
15
15
  <table><tr>
16
- <td><a target='_screenshot' href='screenshots/main.png'><img src='screenshots/main.png'/></a></td>
17
- <td><a target='_screenshot' href='screenshots/nav.png'><img src='screenshots/nav.png'/></a></td>
18
- <td><a target='_screenshot' href='screenshots/code.png'><img src='screenshots/code.png'/></a></td>
19
- <td><a target='_screenshot' href='screenshots/search.png'><img src='screenshots/search.png'/></a></td>
16
+ <td><a target='_screenshot' href='assets/screen-main.png'><img src='assets/screen-main.png'/></a></td>
17
+ <td><a target='_screenshot' href='assets/screen-nav.png'><img src='assets/screen-nav.png'/></a></td>
18
+ <td><a target='_screenshot' href='assets/screen-code.png'><img src='assets/screen-code.png'/></a></td>
19
+ <td><a target='_screenshot' href='assets/screen-search.png'><img src='assets/screen-search.png'/></a></td>
20
20
  </tr></table>
21
21
 
22
22
 
@@ -2,7 +2,7 @@ body {
2
2
  -ms-text-size-adjust: 100%;
3
3
  -webkit-text-size-adjust: 100%;
4
4
  color: #333;
5
- font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
5
+ font-family: "Segoe UI", "Helvetica Neue", Helvetica,Arial, freesans, sans-serif;
6
6
  font-size: 16px;
7
7
  line-height: 1.6;
8
8
  word-wrap: break-word; }
@@ -43,12 +43,9 @@ h6 {
43
43
  font-size: 1em;
44
44
  color: #777; }
45
45
 
46
- code, kbd, pre {
47
- font-family: monospace, monospace;
48
- font-size: 1em; }
49
-
50
46
  code, pre, kbd {
51
- font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; }
47
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
48
+ font-size: 1em; }
52
49
 
53
50
  table {
54
51
  border-spacing: 0;
@@ -223,23 +220,21 @@ kbd {
223
220
  padding: 7px 0; }
224
221
 
225
222
  nav {
226
- background: #eee;
227
223
  height: 100vh;
228
224
  width: 250px;
229
225
  overflow-y: auto;
230
- position: fixed;
231
- border-right: 1px solid #eee; }
226
+ position: fixed; }
232
227
  @media print {
233
228
  nav {
234
229
  display: none; } }
230
+ @media only screen and (max-width: 767px) {
231
+ nav {
232
+ display: none; } }
235
233
  nav .icon-bar {
236
234
  border-bottom: 1px dotted #ddd; }
237
235
  nav a.document, nav span.document, nav .caption {
238
- border-bottom: 1px dotted #ddd;
239
236
  display: block;
240
237
  padding: 3px 20px 3px 30px; }
241
- nav a.document:hover, nav span.document:hover, nav .caption:hover {
242
- background: #e4e4e4; }
243
238
  nav a.icon {
244
239
  display: inline-block;
245
240
  font-size: 1.5em;
@@ -247,8 +242,6 @@ nav {
247
242
  padding: 3px 20px 3px 30px; }
248
243
  nav a.icon.wide {
249
244
  width: 100%; }
250
- nav a.icon:hover {
251
- background: #e4e4e4; }
252
245
  nav:after {
253
246
  content: "";
254
247
  height: 90px;
@@ -320,14 +313,9 @@ body {
320
313
  .main:before, .main:after {
321
314
  display: table;
322
315
  content: ""; }
323
- .main.with-sidebar {
324
- margin-left: 250px;
325
- border: 1px solid #ccc;
326
- border-width: 0 1px; }
327
- @media print {
328
- .main.with-sidebar {
329
- margin-left: 0;
330
- border-width: 0; } }
316
+ @media only screen and (min-width: 768px) {
317
+ .main.with-sidebar {
318
+ margin-left: 250px; } }
331
319
  .main.without-sidebar {
332
320
  max-width: 980px;
333
321
  margin: 0 auto; }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "mappings": "AAAA,IAAK;EACH,oBAAoB,EAAE,IAAI;EAC1B,wBAAwB,EAAE,IAAI;EAC9B,KAAK,EAAE,IAAI;EACX,WAAW,EAAE,8HAA8H;EAC3I,SAAS,EAAE,IAAI;EACf,WAAW,EAAE,GAAG;EAChB,SAAS,EAAE,UAAU;;AAGvB,eAAgB;EACd,WAAW,EAAE,MAAM;;AAGrB,sBAAuB;EACrB,UAAU,EAAE,GAAG;EACf,aAAa,EAAE,IAAI;EACnB,WAAW,EAAE,IAAI;EACjB,WAAW,EAAE,GAAG;;AAGlB,EAAG;EACD,MAAM,EAAE,QAAQ;EAChB,cAAc,EAAE,KAAK;EACrB,SAAS,EAAE,MAAM;EACjB,WAAW,EAAE,GAAG;EAChB,aAAa,EAAE,cAAc;;AAG/B,EAAG;EACD,cAAc,EAAE,KAAK;EACrB,SAAS,EAAE,MAAM;EACjB,WAAW,EAAE,KAAK;EAClB,aAAa,EAAE,cAAc;;AAG/B,EAAG;EACD,SAAS,EAAE,KAAK;EAChB,WAAW,EAAE,IAAI;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KAAK,EAAE,IAAI;EACX,WAAW,EAAE,cAAc;EAE3B,yBAAe;IACb,UAAU,EAAE,CAAC;EAGf,wBAAc;IACZ,aAAa,EAAE,CAAC;;AAIpB,qCAAsC;EACpC,UAAU,EAAE,CAAC;EACb,aAAa,EAAE,IAAI;;AAGrB,MAAO;EACL,KAAK,EAAE,IAAI;;AC5Bb,IAAK;EACH,SAAS,EAAE,MAAM;EACjB,MAAM,EAAE,MAAM;;AAGhB,KAAM;EACJ,OAAO,EAAE,iBAAiB;EAC1B,UAAU,EAAE,KAAK;EAEjB,yBAAkB;IAChB,OAAO,EAAE,KAAK;IACd,OAAO,EAAE,EAAE;EAOb,kBAAe;IACb,WAAW,EAAE,KAAK;IAClB,MAAM,EAAC,cAAc;IACrB,YAAY,EAAE,KAAK;IACnB,YAAa;MAJf,kBAAe;QAKX,WAAW,EAAE,CAAC;QACd,YAAY,EAAE,CAAC;EAKnB,qBAAkB;IAChB,SAAS,EAAE,KAAK;IAChB,MAAM,EAAE,MAAM",
4
- "sources": ["../../styles/_typography.scss","../../styles/_table.scss","../../styles/_anchor.scss","../../styles/_list.scss","../../styles/_code.scss","../../styles/_coderay.scss","../../styles/_image.scss","../../styles/_line.scss","../../styles/_keyboard.scss","../../styles/_search.scss","../../styles/_breadcrumbs.scss","../../styles/_nav.scss","../../styles/_icons.scss","../../styles/_general.scss","../../styles/main.scss"],
3
+ "mappings": "AAAA,IAAK;EACH,oBAAoB,EAAE,IAAI;EAC1B,wBAAwB,EAAE,IAAI;EAC9B,KAAK,EAAE,IAAI;EAEX,WAAW,EAAE,mEAAmE;EAChF,SAAS,EAAE,IAAI;EACf,WAAW,EAAE,GAAG;EAChB,SAAS,EAAE,UAAU;;AAGvB,eAAgB;EACd,WAAW,EAAE,MAAM;;AAGrB,sBAAuB;EACrB,UAAU,EAAE,GAAG;EACf,aAAa,EAAE,IAAI;EACnB,WAAW,EAAE,IAAI;EACjB,WAAW,EAAE,GAAG;;AAGlB,EAAG;EACD,MAA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EACA,UAAU,EAAE,UAAU;;AAGxB,CAAE;EACA,UAAU,EAAE,CAAC;EACb,aAAa,EAAE,IAAI;;AAGrB,UAAW;EACT,MAAM,EAAE,CAAC;EACT,OAAO,EAAE,MAAM;EACf,KAAK,EAAE,IAAI;EACX,WAAW,EAAE,cAAc;EAE3B,yBAAe;IACb,UAAU,EAAE,CAAC;EAGf,wBAAc;IACZ,aAAa,EAAE,CAAC;;AAIpB,qCAAsC;EACpC,UAAU,EAAE,CAAC;EACb,aAAa,EAAE,IAAI;;AAGrB,MAAO;EACL,KAAK,EAAE,IAAI;;AC5Bb,IAAK;EACH,SAAS,EAAE,MAAM;EACjB,MAAM,EAAE,MAAM;;AAGhB,KAAM;EACJ,OAAO,EAAE,iBAAiB;EAC1B,UAAU,EAAE,KAAK;EAEjB,yBAAkB;IAChB,OAAO,EAAE,KAAK;IACd,OAAO,EAAE,EAAE;EHHd,yCAAgD;IGW7C,kBAAe;MACb,WAAW,EAAE,KAAK;EAItB,qBAAkB;IAChB,SAAS,EAAE,KAAK;IAChB,MAAM,EAAE,MAAM",
4
+ "sources": ["../../styles/_typography.scss","../../styles/_table.scss","../../styles/_anchor.scss","../../styles/_list.scss","../../styles/_code.scss","../../styles/_coderay.scss","../../styles/_image.scss","../../styles/_line.scss","../../styles/_keyboard.scss","../../styles/_search.scss","../../styles/_breadcrumbs.scss","../../styles/_nav.scss","../../styles/_mixins.scss","../../styles/_icons.scss","../../styles/_general.scss","../../styles/main.scss"],
5
5
  "names": [],
6
6
  "file": "main.css"
7
7
  }
@@ -1,3 +1,5 @@
1
+ @import "mixins";
2
+
1
3
  @import "typography";
2
4
  @import "table";
3
5
  @import "anchor";
@@ -0,0 +1,14 @@
1
+ // Mixins
2
+ $breakpoint: 768px;
3
+
4
+ @mixin mobile {
5
+ @media only screen and (max-width: $breakpoint - 1) {
6
+ @content;
7
+ }
8
+ }
9
+
10
+ @mixin desktop {
11
+ @media only screen and (min-width: $breakpoint) {
12
+ @content;
13
+ }
14
+ }
data/app/styles/_nav.scss CHANGED
@@ -3,21 +3,28 @@ nav {
3
3
  display: none;
4
4
  }
5
5
 
6
- .icon-bar {
7
- border-bottom: 1px dotted #ddd;
6
+ @include mobile {
7
+ display: none;
8
8
  }
9
9
 
10
- background: #eee;
10
+ // background: #eee;
11
+ // border-right: 1px solid #ccc;
12
+
11
13
  height: 100vh;
12
14
  width: 250px;
13
15
  overflow-y: auto;
14
16
  position: fixed;
15
- border-right: 1px solid #eee;
16
- a.document, span.document, .caption {
17
+
18
+ .icon-bar {
17
19
  border-bottom: 1px dotted #ddd;
18
- &:hover {
19
- background: #e4e4e4;
20
- }
20
+ }
21
+
22
+ a.document, span.document, .caption {
23
+ // border-bottom: 1px dotted #ddd;
24
+ // &:hover {
25
+ // background: #e4e4e4;
26
+ // }
27
+
21
28
  display: block;
22
29
  padding: 3px 20px 3px 30px;
23
30
  }
@@ -30,9 +37,9 @@ nav {
30
37
  &.wide {
31
38
  width: 100%
32
39
  }
33
- &:hover {
34
- background: #e4e4e4;
35
- }
40
+ // &:hover {
41
+ // background: #e4e4e4;
42
+ // }
36
43
  }
37
44
 
38
45
 
@@ -2,7 +2,8 @@ body {
2
2
  -ms-text-size-adjust: 100%;
3
3
  -webkit-text-size-adjust: 100%;
4
4
  color: #333;
5
- font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
5
+ // font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
6
+ font-family: "Segoe UI", "Helvetica Neue", Helvetica,Arial, freesans, sans-serif;
6
7
  font-size: 16px;
7
8
  line-height: 1.6;
8
9
  word-wrap: break-word;
@@ -52,11 +53,7 @@ h6 {
52
53
  color: #777;
53
54
  }
54
55
 
55
- code, kbd, pre {
56
- font-family: monospace, monospace;
57
- font-size: 1em;
58
- }
59
-
60
56
  code, pre, kbd {
61
57
  font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
58
+ font-size: 1em;
62
59
  }
data/app/styles/main.scss CHANGED
@@ -18,17 +18,12 @@ body {
18
18
  // clear: both;
19
19
  }
20
20
 
21
- &.with-sidebar {
22
- margin-left: 250px;
23
- border:1px solid #ccc;
24
- border-width: 0 1px;
25
- @media print {
26
- margin-left: 0;
27
- border-width: 0;
21
+ @include desktop {
22
+ &.with-sidebar {
23
+ margin-left: 250px;
28
24
  }
29
-
30
25
  }
31
-
26
+
32
27
  &.without-sidebar {
33
28
  max-width: 980px;
34
29
  margin: 0 auto;
@@ -2,6 +2,8 @@ doctype html
2
2
 
3
3
  head
4
4
  title = locals[:title]
5
+ meta name="HandheldFriendly" content="true"
6
+ meta name="viewport" content="width=device-width, initial-scale=1"
5
7
  link href='/css/main.css' rel='stylesheet' type='text/css'
6
8
 
7
9
  body
@@ -111,8 +111,9 @@ module Madness
111
111
 
112
112
  # Build the search index
113
113
  def build_index
114
- say_status :index, "generating"
115
- Search.new.build_index
114
+ search = Search.new
115
+ say_status :index, "generating #{search.index_dir}"
116
+ search.build_index
116
117
  end
117
118
 
118
119
  def build_toc
@@ -1,3 +1,3 @@
1
1
  module Madness
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: madness
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danny Ben Shitrit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-01 00:00:00.000000000 Z
11
+ date: 2018-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass
@@ -373,6 +373,7 @@ files:
373
373
  - app/styles/_line.scss
374
374
  - app/styles/_list.scss
375
375
  - app/styles/_manifest.scss
376
+ - app/styles/_mixins.scss
376
377
  - app/styles/_nav.scss
377
378
  - app/styles/_search.scss
378
379
  - app/styles/_table.scss