hanna-nouveau 1.3.0 → 1.4.0

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: 618aada01805b659609dcabd6e8c099dd467bdfa0d246061ea805f95b56f709b
4
- data.tar.gz: bc0abba0135a0abb07f3066ec7516b0766443956769bb5737ab9f4a48a639e58
3
+ metadata.gz: 52755db97cb250d4385d7f839ed8950910cfb1337f63ce41d2a951d91b8746d1
4
+ data.tar.gz: 8f26757a43140bf3842d132c06f0d4305fdbd509136ef4b0eb091b43cc8c1514
5
5
  SHA512:
6
- metadata.gz: 0c5a7ce4269b1f81e05f6f2586a99967c75aaecb8f0904c37a873216542674aab5f6f30d1aef0be46a5e75921cd27757074eea42b5dab86eb737ab0657281fbd
7
- data.tar.gz: bedd7d8efa55a9f60c5a0ab2935a14071ba93cb03457245a782eef618d87c6d485f30a9f5af06390188e66034f65ca8a0b866c09847b95cdc386caa93960396d
6
+ metadata.gz: 5585d843b226869da0135ab78b42a3223ff6ec6c1e406aa801591acf411caff98a6053a43da95f4d6fdc5419b57a3194b741cdc309bf26ce3b6388b7bfa1a92f
7
+ data.tar.gz: b5ef4af2677a2ad9bede9317e6e78b2e13764160ccd1d7d75aeec3966a8e94f59c92c226266170c435b077ffb57d2abe5040c1278feb9957776b5f452ef17e4d
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ # 1.4.0 (2023-01-10)
2
+
3
+ * Improve style for mobile devices (janko) (#18, #19)
4
+
1
5
  # 1.3.0 (2022-06-27)
2
6
 
3
7
  * Use details/summary for class index (jeremyevans)
@@ -2,6 +2,7 @@
2
2
  <html lang='en'>
3
3
  <head>
4
4
  <title><%= h(values[:title]) if values[:title] %></title>
5
+ <meta name='viewport' content='width=device-width, initial-scale=1'>
5
6
  <meta content='text/html; charset=<%=h @options.charset %>' http-equiv='Content-Type'>
6
7
  <link href='<%=h values[:stylesheet] %>' media='screen' rel='stylesheet' type='text/css'>
7
8
  <% if index %><base target='docwin'>
@@ -164,12 +164,13 @@ table {
164
164
 
165
165
  div.header {
166
166
  font-size: 80%;
167
- padding: 0.5em 2%;
167
+ padding: 0.5em 1rem;
168
168
  font-family: Arial, Helvetica, sans-serif;
169
169
  border-bottom: 1px solid silver; }
170
170
  div.header .name {
171
171
  font-size: 1.6em;
172
- font-family: Georgia, serif; }
172
+ font-family: Georgia, serif;
173
+ overflow-wrap: break-word; }
173
174
  div.header .name .type {
174
175
  color: #666666;
175
176
  font-size: 80%;
@@ -187,12 +188,10 @@ div.header {
187
188
  color: #484848; }
188
189
 
189
190
  #content {
190
- padding: 12px 2%; }
191
- div.class #content {
192
- position: relative;
193
- width: 72%; }
191
+ padding: 12px 1rem; }
194
192
  #content pre, #content .method .synopsis {
195
- font: 14px Monaco, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace; }
193
+ font: 14px Monaco, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace;
194
+ overflow-wrap: break-word; }
196
195
  #content pre {
197
196
  color: black;
198
197
  background: #eeeeee;
@@ -245,7 +244,10 @@ div.header {
245
244
  white-space: normal; }
246
245
  #content table.rdoc-list {
247
246
  border-collapse: collapse;
248
- border-spacing: 0; }
247
+ border-spacing: 0;
248
+ width: 100%;
249
+ overflow: auto;
250
+ display: block; }
249
251
  #content table.rdoc-list tr {
250
252
  background-color: white; }
251
253
  #content table.rdoc-list tr:nth-child(2n) {
@@ -257,14 +259,12 @@ div.header {
257
259
  padding: 6px 13px; }
258
260
 
259
261
  #method-list {
260
- position: absolute;
261
- top: 0px;
262
- right: -33%;
263
- width: 28%;
262
+ max-height: 30rem;
264
263
  background: #eeeeee;
265
264
  border: 1px solid silver;
266
265
  padding: 0.4em 1%;
267
- overflow: hidden; }
266
+ overflow-y: auto;
267
+ overflow-x: hidden; }
268
268
  #method-list h2 {
269
269
  font-size: 1.3em; }
270
270
  #method-list h3 {
@@ -286,6 +286,9 @@ div.header {
286
286
  color: #444444;
287
287
  margin: 1em 0 0.2em 0; }
288
288
 
289
+ .name-list, #class-list ol, #context ol {
290
+ overflow: auto; }
291
+
289
292
  #methods .method {
290
293
  border: 1px solid silver;
291
294
  margin-top: 0.5em;
@@ -316,7 +319,6 @@ div.header {
316
319
  #content .method .source pre, #content pre.ruby, #methods .method .description pre.ruby {
317
320
  background: #262626;
318
321
  color: #ffdead;
319
- margin: 1em;
320
322
  padding: 0.5em;
321
323
  border: 1px dashed #999999;
322
324
  overflow: auto; }
@@ -351,3 +353,16 @@ div.header {
351
353
  #content .method .source pre .ruby-value, #content pre.ruby .ruby-value, #methods .method .description pre.ruby .ruby-value {
352
354
  color: #7fffd4;
353
355
  background: transparent; }
356
+
357
+ @media (min-width: 640px) {
358
+ div.class #content {
359
+ position: relative;
360
+ width: 72%; }
361
+
362
+ #method-list {
363
+ position: absolute;
364
+ top: 0px;
365
+ right: -33%;
366
+ width: 28%;
367
+ }
368
+ }
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hanna-nouveau
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Evans
8
8
  - Erik Hollensbe
9
9
  - James Tucker
10
10
  - Mislav Marohnic
11
- autorequire:
11
+ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2022-06-27 00:00:00.000000000 Z
14
+ date: 2023-01-10 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rdoc
@@ -87,7 +87,7 @@ metadata:
87
87
  bug_tracker_uri: https://github.com/jeremyevans/hanna-nouveau/issues
88
88
  mailing_list_uri: https://github.com/jeremyevans/hanna-nouveau/discussions
89
89
  source_code_uri: https://github.com/jeremyevans/hanna-nouveau
90
- post_install_message:
90
+ post_install_message:
91
91
  rdoc_options: []
92
92
  require_paths:
93
93
  - lib
@@ -102,8 +102,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  requirements: []
105
- rubygems_version: 3.3.7
106
- signing_key:
105
+ rubygems_version: 3.4.1
106
+ signing_key:
107
107
  specification_version: 4
108
108
  summary: RDoc generator designed with simplicity, beauty and ease of browsing in mind
109
109
  test_files: []