mdpress 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/lib/css/prettify.css CHANGED
@@ -25,3 +25,18 @@ code.prettyprint{
25
25
  .atn,.typ{color:#404}
26
26
  .atv{color:#060}
27
27
  }
28
+
29
+ pre code.prettyprint {
30
+ padding: 12px 18px;
31
+ margin: 40px 0;
32
+ float: left;
33
+ font-family: "Courier New", "Courier", monospace;
34
+ font-size: 30px;
35
+ line-height: 30px;
36
+ }
37
+
38
+ code.inline {
39
+ float: none;
40
+ font-family: "Courier New", "Courier", monospace;
41
+ display: inline;
42
+ }
@@ -41,7 +41,7 @@ h1, h2 {
41
41
 
42
42
  h1 {
43
43
  font-size: 120px;
44
- margin: 40px 0;
44
+ margin: 20px 0;
45
45
  line-height: 130px;
46
46
  }
47
47
 
@@ -50,7 +50,7 @@ h2 {
50
50
  letter-spacing: .1em;
51
51
  text-transform: uppercase;
52
52
  line-height: 72px;
53
- margin: 20px 0 40px 0;
53
+ margin: 10px 0;
54
54
  }
55
55
 
56
56
  .light {
@@ -63,6 +63,10 @@ blockquote {
63
63
  font-weight: 300;
64
64
  font-style: italic;
65
65
  line-height: 1.4;
66
+ margin: 20px 0;
67
+ padding: 10px 0;
68
+ border-top: 1px solid #aaa;
69
+ border-bottom: 1px solid #aaa;
66
70
  }
67
71
 
68
72
  a, a:hover, a:visited {
@@ -79,10 +83,13 @@ p {
79
83
  line-height: 60px;
80
84
  }
81
85
 
82
- ul, ol {
83
- margin: 20px 0;
86
+ ol{
87
+ margin: 20px 0 20px 70px;
84
88
  }
85
89
 
90
+ ul {
91
+ margin: 20px 0 20px 50px;
92
+ }
86
93
 
87
94
 
88
95
  li {
@@ -90,18 +97,6 @@ li {
90
97
  line-height: 40px;
91
98
  }
92
99
 
93
- pre code.prettyprint {
94
- padding: 12px 18px;
95
- margin: 40px 0;
96
- float: left;
97
- font-family: "Courier New", "Courier", monospace;
98
- font-size: 30px;
99
- line-height: 30px;
100
- }
100
+ a {
101
101
 
102
- code.inline {
103
- float: none;
104
- display: inline;
105
- padding: 0;
106
- margin: 0;
107
102
  }
@@ -34,12 +34,23 @@ footer, header, hgroup, menu, nav, section {
34
34
  body {
35
35
  line-height: 1;
36
36
  }
37
- ol, ul {
38
- list-style: none;
37
+ ol{
38
+ margin: 20px 0 20px 70px;
39
39
  }
40
+
41
+ ul {
42
+ margin: 20px 0 20px 50px;
43
+ }
44
+
40
45
  blockquote, q {
41
- quotes: none;
46
+ border-left: 10px solid #BBB;
47
+ padding-left: 10px;
48
+ }
49
+
50
+ blockquote p {
51
+ line-height: 60px;
42
52
  }
53
+
43
54
  blockquote:before, blockquote:after,
44
55
  q:before, q:after {
45
56
  content: '';
@@ -73,10 +84,10 @@ i, em { font-style: italic}
73
84
  a {
74
85
  color: inherit;
75
86
  text-decoration: none;
76
- padding: 0 0.1em;
77
- background: rgba(255,255,255,0.5);
78
- text-shadow: -1px -1px 2px rgba(100,100,100,0.9);
79
- border-radius: 0.2em;
87
+ padding: 0 7px;
88
+ -moz-border-radius: 10px;
89
+ border-radius: 10px;
90
+ background: #C9E7EA;
80
91
 
81
92
  -webkit-transition: 0.5s;
82
93
  -moz-transition: 0.5s;
@@ -86,7 +97,7 @@ a {
86
97
  }
87
98
 
88
99
  a:hover {
89
- background: rgba(255,255,255,1);
100
+ background: #86D6EA;
90
101
  text-shadow: -1px -1px 2px rgba(100,100,100,0.5);
91
102
  }
92
103
 
@@ -109,7 +120,6 @@ body { pointer-events: none; }
109
120
  font-family: 'PT Serif', georgia, serif;
110
121
 
111
122
  font-size: 48px;
112
- line-height: 1.5;
113
123
  }
114
124
 
115
125
  /* fade out inactive slides */
@@ -131,7 +141,7 @@ body { pointer-events: none; }
131
141
  h1 {
132
142
  font-size: 120px;
133
143
  line-height: 120px;
134
- margin: 20px 0;
144
+ margin: 0 0 20px 0;
135
145
  width: 100%;
136
146
  }
137
147
 
@@ -161,18 +171,6 @@ h1 {
161
171
  letter-spacing: -1px;
162
172
  }
163
173
 
164
- .step q {
165
- display: block;
166
- font-size: 50px;
167
- line-height: 72px;
168
-
169
- margin-top: 100px;
170
- }
171
-
172
- .step q strong {
173
- white-space: nowrap;
174
- }
175
-
176
174
  p {
177
175
  font-size: 48px;
178
176
  line-height: 72px;
@@ -180,11 +178,21 @@ p {
180
178
 
181
179
  li {
182
180
  font-size: 48px;
183
- line-height: 48px;
181
+ line-height: 60px;
184
182
  }
185
183
 
186
184
  h2 {
187
- font-size: 60px;
188
- font-weight: bold;
189
- padding: 10px 0;
185
+ font-size: 72px;
186
+ padding: 20px 0;
187
+ line-height: 72px;
188
+ color: #0DADD6;
189
+ }
190
+
191
+ code.prettyprint{
192
+ background-color: #888;
193
+ }
194
+
195
+ code.inline {
196
+ padding: 5px 10px;
197
+ margin: -5px 0 0 0;
190
198
  }
@@ -34,10 +34,10 @@ class ImpressRenderer < Redcarpet::Render::HTML
34
34
  <html>
35
35
  <head>
36
36
  <link href="css/reset.css" rel="stylesheet" />
37
- <link href="css/style.css" rel="stylesheet" />
38
37
  <!-- Code Prettifier: -->
39
38
  <link href="css/prettify.css" type="text/css" rel="stylesheet" />
40
39
  <script type="text/javascript" src="js/prettify.js"></script>
40
+ <link href="css/style.css" rel="stylesheet" />
41
41
  #{@@head}
42
42
  </head>
43
43
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mdpress
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 6
10
- version: 0.0.6
9
+ - 7
10
+ version: 0.0.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Aditya Bhargava