markup-preview 0.2.0 → 0.3.0

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: c805db4bb5f26d7a36fb563b8d41c86a2919e944
4
- data.tar.gz: 67a5a1a44f65753209411f89d41802df0d26588c
3
+ metadata.gz: a13c4462a21eb318e301f2f4aa9c31e3771af174
4
+ data.tar.gz: 66d0fb123894bb859ba305df892ff8e8a32fac1b
5
5
  SHA512:
6
- metadata.gz: 394ce5fbaca5fdc65d9834fb149a81d2b388743b30953f0822dabd44cf6c45a748172a2e0e059b402a8c8a4bdcb6f40382d4f6d8fd7730276571bfab4f4b784f
7
- data.tar.gz: 05132752e229ebd3148f3e9ab18806e79a7c26e481f726a427f2e6eaf4ce8fd7b560d26bc295dca3a0c250cd93282a1872bc90a41533c9c216b0336a07008201
6
+ metadata.gz: f3f21aa1e5f49952b72777b014a9e5c6fedf9906201c6d9117181451111c84256bbbeed3ed2670ffda5e65a1d9594db38cfcf6a3583a7e91a0e63b815edd68b6
7
+ data.tar.gz: 97cf092f910e0c674569ba73cc58700cb0a01398ab7ac7c7a27bb3467c032383717da4a6aa5fc6a0c19ee9e7b06eb59aa7dfd16029f82afa05edef1269f572c4
@@ -22,8 +22,8 @@ app = lambda { |env|
22
22
 
23
23
  Rack::Server.start({
24
24
  :app => Rack::Cascade.new([
25
- Rack::File.new("public"),
25
+ Rack::File.new(__dir__+"/../public"),
26
26
  Rack::ShowExceptions.new(app)
27
27
  ]),
28
- :Port => 9293
28
+ :Port => 9292
29
29
  })
File without changes
@@ -0,0 +1,277 @@
1
+ body {
2
+ font-family: Helvetica, arial, sans-serif;
3
+ font-size: 14px;
4
+ line-height: 1.6;
5
+ padding-top: 10px;
6
+ padding-bottom: 10px;
7
+ background-color: white;
8
+ padding: 30px; }
9
+
10
+ body > *:first-child {
11
+ margin-top: 0 !important; }
12
+ body > *:last-child {
13
+ margin-bottom: 0 !important; }
14
+
15
+ a {
16
+ color: #4183C4; }
17
+ a.absent {
18
+ color: #cc0000; }
19
+ a.anchor {
20
+ display: block;
21
+ padding-left: 30px;
22
+ margin-left: -30px;
23
+ cursor: pointer;
24
+ position: absolute;
25
+ top: 0;
26
+ left: 0;
27
+ bottom: 0; }
28
+
29
+ h1, h2, h3, h4, h5, h6 {
30
+ margin: 20px 0 10px;
31
+ padding: 0;
32
+ font-weight: bold;
33
+ -webkit-font-smoothing: antialiased;
34
+ cursor: text;
35
+ position: relative; }
36
+
37
+ h1:hover a.anchor, h2:hover a.anchor, h3:hover a.anchor, h4:hover a.anchor, h5:hover a.anchor, h6:hover a.anchor {
38
+ background: url("../../images/modules/styleguide/para.png") no-repeat 10px center;
39
+ text-decoration: none; }
40
+
41
+ h1 tt, h1 code {
42
+ font-size: inherit; }
43
+
44
+ h2 tt, h2 code {
45
+ font-size: inherit; }
46
+
47
+ h3 tt, h3 code {
48
+ font-size: inherit; }
49
+
50
+ h4 tt, h4 code {
51
+ font-size: inherit; }
52
+
53
+ h5 tt, h5 code {
54
+ font-size: inherit; }
55
+
56
+ h6 tt, h6 code {
57
+ font-size: inherit; }
58
+
59
+ h1 {
60
+ font-size: 28px;
61
+ color: black; }
62
+
63
+ h2 {
64
+ font-size: 24px;
65
+ border-bottom: 1px solid #cccccc;
66
+ color: black; }
67
+
68
+ h3 {
69
+ font-size: 18px; }
70
+
71
+ h4 {
72
+ font-size: 16px; }
73
+
74
+ h5 {
75
+ font-size: 14px; }
76
+
77
+ h6 {
78
+ color: #777777;
79
+ font-size: 14px; }
80
+
81
+ p, blockquote, ul, ol, dl, li, table, pre {
82
+ margin: 15px 0; }
83
+
84
+ hr {
85
+ background: transparent url("../../images/modules/pulls/dirty-shade.png") repeat-x 0 0;
86
+ border: 0 none;
87
+ color: #cccccc;
88
+ height: 4px;
89
+ padding: 0; }
90
+
91
+ body > h2:first-child {
92
+ margin-top: 0;
93
+ padding-top: 0; }
94
+ body > h1:first-child {
95
+ margin-top: 0;
96
+ padding-top: 0; }
97
+ body > h1:first-child + h2 {
98
+ margin-top: 0;
99
+ padding-top: 0; }
100
+ body > h3:first-child, body > h4:first-child, body > h5:first-child, body > h6:first-child {
101
+ margin-top: 0;
102
+ padding-top: 0; }
103
+
104
+ a:first-child h1, a:first-child h2, a:first-child h3, a:first-child h4, a:first-child h5, a:first-child h6 {
105
+ margin-top: 0;
106
+ padding-top: 0; }
107
+
108
+ h1 p, h2 p, h3 p, h4 p, h5 p, h6 p {
109
+ margin-top: 0; }
110
+
111
+ li p.first {
112
+ display: inline-block; }
113
+
114
+ ul, ol {
115
+ padding-left: 30px; }
116
+
117
+ ul :first-child, ol :first-child {
118
+ margin-top: 0; }
119
+
120
+ ul :last-child, ol :last-child {
121
+ margin-bottom: 0; }
122
+
123
+ dl {
124
+ padding: 0; }
125
+ dl dt {
126
+ font-size: 14px;
127
+ font-weight: bold;
128
+ font-style: italic;
129
+ padding: 0;
130
+ margin: 15px 0 5px; }
131
+ dl dt:first-child {
132
+ padding: 0; }
133
+ dl dt > :first-child {
134
+ margin-top: 0; }
135
+ dl dt > :last-child {
136
+ margin-bottom: 0; }
137
+ dl dd {
138
+ margin: 0 0 15px;
139
+ padding: 0 15px; }
140
+ dl dd > :first-child {
141
+ margin-top: 0; }
142
+ dl dd > :last-child {
143
+ margin-bottom: 0; }
144
+
145
+ blockquote {
146
+ border-left: 4px solid #dddddd;
147
+ padding: 0 15px;
148
+ color: #777777; }
149
+ blockquote > :first-child {
150
+ margin-top: 0; }
151
+ blockquote > :last-child {
152
+ margin-bottom: 0; }
153
+
154
+ table {
155
+ padding: 0; }
156
+ table tr {
157
+ border-top: 1px solid #cccccc;
158
+ background-color: white;
159
+ margin: 0;
160
+ padding: 0; }
161
+ table tr:nth-child(2n) {
162
+ background-color: #f8f8f8; }
163
+ table tr th {
164
+ font-weight: bold;
165
+ border: 1px solid #cccccc;
166
+ text-align: left;
167
+ margin: 0;
168
+ padding: 6px 13px; }
169
+ table tr td {
170
+ border: 1px solid #cccccc;
171
+ text-align: left;
172
+ margin: 0;
173
+ padding: 6px 13px; }
174
+ table tr th :first-child, table tr td :first-child {
175
+ margin-top: 0; }
176
+ table tr th :last-child, table tr td :last-child {
177
+ margin-bottom: 0; }
178
+
179
+ img {
180
+ max-width: 100%; }
181
+
182
+ span.frame {
183
+ display: block;
184
+ overflow: hidden; }
185
+ span.frame > span {
186
+ border: 1px solid #dddddd;
187
+ display: block;
188
+ float: left;
189
+ overflow: hidden;
190
+ margin: 13px 0 0;
191
+ padding: 7px;
192
+ width: auto; }
193
+ span.frame span img {
194
+ display: block;
195
+ float: left; }
196
+ span.frame span span {
197
+ clear: both;
198
+ color: #333333;
199
+ display: block;
200
+ padding: 5px 0 0; }
201
+ span.align-center {
202
+ display: block;
203
+ overflow: hidden;
204
+ clear: both; }
205
+ span.align-center > span {
206
+ display: block;
207
+ overflow: hidden;
208
+ margin: 13px auto 0;
209
+ text-align: center; }
210
+ span.align-center span img {
211
+ margin: 0 auto;
212
+ text-align: center; }
213
+ span.align-right {
214
+ display: block;
215
+ overflow: hidden;
216
+ clear: both; }
217
+ span.align-right > span {
218
+ display: block;
219
+ overflow: hidden;
220
+ margin: 13px 0 0;
221
+ text-align: right; }
222
+ span.align-right span img {
223
+ margin: 0;
224
+ text-align: right; }
225
+ span.float-left {
226
+ display: block;
227
+ margin-right: 13px;
228
+ overflow: hidden;
229
+ float: left; }
230
+ span.float-left span {
231
+ margin: 13px 0 0; }
232
+ span.float-right {
233
+ display: block;
234
+ margin-left: 13px;
235
+ overflow: hidden;
236
+ float: right; }
237
+ span.float-right > span {
238
+ display: block;
239
+ overflow: hidden;
240
+ margin: 13px auto 0;
241
+ text-align: right; }
242
+
243
+ code, tt {
244
+ margin: 0 2px;
245
+ padding: 0 5px;
246
+ white-space: nowrap;
247
+ border: 1px solid #eaeaea;
248
+ background-color: #f8f8f8;
249
+ border-radius: 3px; }
250
+
251
+ pre code {
252
+ margin: 0;
253
+ padding: 0;
254
+ white-space: pre;
255
+ border: none;
256
+ background: transparent; }
257
+
258
+ .highlight pre {
259
+ background-color: #f8f8f8;
260
+ border: 1px solid #cccccc;
261
+ font-size: 13px;
262
+ line-height: 19px;
263
+ overflow: auto;
264
+ padding: 6px 10px;
265
+ border-radius: 3px; }
266
+
267
+ pre {
268
+ background-color: #f8f8f8;
269
+ border: 1px solid #cccccc;
270
+ font-size: 13px;
271
+ line-height: 19px;
272
+ overflow: auto;
273
+ padding: 6px 10px;
274
+ border-radius: 3px; }
275
+ pre code, pre tt {
276
+ background-color: transparent;
277
+ border: none; }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markup-preview
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Fisher
@@ -18,6 +18,8 @@ extensions: []
18
18
  extra_rdoc_files: []
19
19
  files:
20
20
  - lib/index.erb
21
+ - public/github.css
22
+ - public/favicon.ico
21
23
  - bin/markup-preview
22
24
  homepage: https://github.com/mbfisher/markup-preview
23
25
  licenses: []