glyph 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,43 @@
1
+ @import "definitions.scss";
2
+ .CodeRay {
3
+ @include codeblock;
4
+ pre {
5
+ line-height: 1.2em;
6
+ margin: 0px;
7
+ padding: 0px; }
8
+ .no {
9
+ font-weight: bold;
10
+ color: #595959;
11
+ }
12
+ .an {
13
+ color: #E7BE69; }
14
+ .c {
15
+ color: #BC9358;
16
+ font-style: italic; }
17
+ .ch {
18
+ color: #509E4F; }
19
+ .cl, .co {
20
+ color: #FFF; }
21
+ .fl {
22
+ color: #A4C260; }
23
+ .fu {
24
+ color: #FFC56D; }
25
+ .gv {
26
+ color: #D0CFFE; }
27
+ .i {
28
+ color: #A4C260; }
29
+ .il {}
30
+ .iv {
31
+ color: #D0CFFE; }
32
+ .pp {
33
+ color: #E7BE69; }
34
+ .r {
35
+ color: #CB7832; }
36
+ .rx, .s {
37
+ color: #A4C260; }
38
+ .sy {
39
+ color: #6C9CBD; }
40
+ .ta {
41
+ color: #E7BE69; }
42
+ .pc {
43
+ color: #6C9CBD; } }
data/styles/default.css CHANGED
@@ -1,272 +1,258 @@
1
1
  * {
2
- border: none;
3
- font-family: inherit;
4
- font-size: 100%;
5
- font-style: inherit;
6
- margin: 0;
7
- padding: 0;
8
- }
2
+ border: none;
3
+ font-family: inherit;
4
+ font-size: 100%;
5
+ font-style: inherit;
6
+ margin: 0;
7
+ padding: 0; }
8
+
9
9
  html {
10
- background: #fff;
11
- }
10
+ background: #fff; }
11
+
12
12
  ol, ul {
13
- margin: 0.3em 0;
14
- }
13
+ margin: 0.3em 0; }
14
+
15
15
  p {
16
- margin: 1em 0;
17
- }
16
+ margin: 1em 0; }
18
17
 
19
18
  table {
20
- border-collapse: collapse;
21
- border-spacing: 0;
22
- margin: auto;
23
- margin-top: 1em;
24
- }
19
+ border-collapse: collapse;
20
+ border-spacing: 0;
21
+ margin: auto;
22
+ margin-top: 1em; }
23
+
25
24
  body {
26
- line-height: 1.2em;
27
- margin: 0;
28
- padding: 0;
29
- padding: 0 1em;
30
- text-align: justify;
31
- }
25
+ line-height: 1.2em;
26
+ margin: 0;
27
+ padding: 0;
28
+ padding: 0 1em;
29
+ text-align: justify; }
32
30
 
33
31
  /* Structure */
34
- .halftitlepage, .titlepage {
35
- margin: auto;
36
- text-align: center;
37
- }
38
- .titlepage h1, .halftitlepage h1 {
39
- font-size: 2.5em;
40
- font-weight: bold;
41
- line-height: 1.5em;
42
- margin-bottom: 0.2em;
43
- }
44
- .halftitlepage h2, .titlepage h2 {
45
- font-size: 1.1em;
46
- font-style: italic;
47
- font-weight: bold;
48
- line-height: 1.2em;
49
- margin-bottom: 0.5em;
50
- prince-bookmark-level: none;
51
- }
32
+ .halftitlepage {
33
+ margin: auto;
34
+ text-align: center; }
35
+
36
+ .titlepage {
37
+ margin: auto;
38
+ text-align: center; }
39
+ .titlepage h1 {
40
+ font-size: 2.5em;
41
+ font-weight: bold;
42
+ line-height: 1.5em;
43
+ margin-bottom: 0.2em; }
44
+
45
+ .halftitlepage h1 {
46
+ font-size: 2.5em;
47
+ font-weight: bold;
48
+ line-height: 1.5em;
49
+ margin-bottom: 0.2em; }
50
+ .halftitlepage h2 {
51
+ font-size: 1.1em;
52
+ font-style: italic;
53
+ font-weight: bold;
54
+ line-height: 1.2em;
55
+ margin-bottom: 0.5em;
56
+ prince-bookmark-level: none; }
57
+
58
+ .titlepage h2 {
59
+ font-size: 1.1em;
60
+ font-style: italic;
61
+ font-weight: bold;
62
+ line-height: 1.2em;
63
+ margin-bottom: 0.5em;
64
+ prince-bookmark-level: none; }
65
+
52
66
  .author {
53
- font-size: 1em;
54
- }
67
+ font-size: 1em; }
68
+
55
69
  .pubdate {
56
- font-size: 0.8em;
57
- }
70
+ font-size: 0.8em; }
71
+
58
72
  li {
59
- list-style-type: square;
60
- margin: 0.4em 0;
61
- margin-left: 1.5em;
62
- }
63
- ol li{
64
- list-style-type: decimal;
65
- }
73
+ list-style-type: square;
74
+ margin: 0.4em 0;
75
+ margin-left: 1.5em; }
76
+
77
+ ol li {
78
+ list-style-type: decimal; }
79
+
66
80
  .contents li {
67
- list-style-type: none;
68
- }
81
+ list-style-type: none; }
82
+
69
83
  img {
70
- margin: 0 5px;
71
- padding: 2px;
72
- }
84
+ margin: 0 5px;
85
+ padding: 2px; }
86
+
73
87
  dt {
74
- font-weight: bold;
75
- margin-top: 1em;
76
- }
88
+ font-weight: bold;
89
+ margin-top: 1em; }
90
+
77
91
  dd {
78
- font-style: italic;
79
- }
92
+ font-style: italic; }
80
93
 
81
94
  blockquote {
82
- margin: 1em 1em;
83
- font-style: italic;
84
- color: #121212;
85
- }
95
+ margin: 1em 1em;
96
+ font-style: italic;
97
+ color: #121212; }
86
98
 
87
99
  table {
88
- border: 1px solid #E6E6E6;
89
- }
100
+ border: 1px solid #e6e6e6; }
101
+
90
102
  th {
91
- background: #EEE;
92
- }
103
+ background: #EEE; }
104
+
93
105
  tr, td, th {
94
- padding: 5px;
95
- }
106
+ padding: 5px; }
107
+
96
108
  td, tr {
97
- border: 1px solid #E6E6E6;
98
- }
109
+ border: 1px solid #e6e6e6; }
110
+
99
111
  sup {
100
- font-size: 0.7em;
101
- font-weight: bold;
102
- margin-left: -0.4em;
103
- }
112
+ font-size: 0.7em;
113
+ font-weight: bold;
114
+ margin-left: -0.4em; }
115
+
104
116
  /* BLOCKS */
105
117
  .center {
106
- margin: auto;
107
- text-align: center;
108
- }
118
+ margin: auto;
119
+ text-align: center; }
120
+
109
121
  .left {
110
- margin: auto;
111
- text-align: left;
112
- }
122
+ margin: auto;
123
+ text-align: left; }
124
+
113
125
  .right {
114
- margin: auto;
115
- text-align: center;
116
- }
117
-
118
- .note,
119
- .important,
120
- .tip,
121
- .caution,
122
- .box {
123
- border: 1px solid #E6E6E6;
124
- display: block;
125
- margin: 0.5em auto;
126
- padding: 0 0.5em;
127
- width: 600px;
128
- background: #EEE;
129
- color: #1F1F1F;
130
- }
131
- .note>p,
132
- .important>p,
133
- .tip>p,
134
- .caution>p {
135
- margin: 0;
136
- padding: 0;
137
- }
126
+ margin: auto;
127
+ text-align: center; }
128
+
129
+ .note, .important, .tip, .caution, .box {
130
+ border: 1px solid #e6e6e6;
131
+ display: block;
132
+ margin: 0.5em auto;
133
+ padding: 0 0.5em;
134
+ width: 600px;
135
+ background: #EEE;
136
+ color: #1F1F1F; }
137
+
138
+ .note > p, .important > p, .tip > p, .caution > p {
139
+ margin: 0;
140
+ padding: 0; }
141
+
138
142
  .note-title {
139
- font-weight: bold;
140
- margin-right: 1em;
141
- }
143
+ font-weight: bold;
144
+ margin-right: 1em; }
145
+
142
146
  .box-title {
143
- display: block;
144
- text-align: center;
145
- font-weight: bold;
146
- }
147
- .code {
148
- margin: 1em auto;
149
- padding: 0.5em;
150
- width: 600px;
151
- }
147
+ display: block;
148
+ text-align: center;
149
+ font-weight: bold; }
150
+
152
151
  .comment {
153
- display: block;
154
- border: 1px solid #004D00;
155
- background: #7AFF7A;
156
- padding: 3px;
157
- margin: 1px;
158
- }
159
- .comment .comment-pre {
160
- color: #004D00;
161
- }
152
+ display: block;
153
+ border: 1px solid #004D00;
154
+ background: #7AFF7A;
155
+ padding: 3px;
156
+ margin: 1px; }
157
+ .comment .comment-pre {
158
+ color: #004D00; }
159
+
162
160
  .todo {
163
- display: block;
164
- border: 1px solid #990000;
165
- background: #FF9999;
166
- padding: 3px;
167
- margin: 1px;
168
- }
169
- .todo .todo-pre {
170
- color: #990000;
171
- }
161
+ display: block;
162
+ border: 1px solid #990000;
163
+ background: #FF9999;
164
+ padding: 3px;
165
+ margin: 1px; }
166
+ .todo .todo-pre {
167
+ color: #990000; }
168
+
172
169
  /* TEXT */
173
170
  body {
174
- color: #000;
175
- font-size: 1em;
176
- }
171
+ color: #000;
172
+ font-size: 1em; }
173
+
177
174
  h2, section section h1, h1.toc-header {
178
- display: block;
179
- font-size: 2em;
180
- font-weight: bold;
181
- margin: 3em 0 1em 0;
182
- }
175
+ display: block;
176
+ font-size: 2em;
177
+ font-weight: bold;
178
+ margin: 3em 0 1em 0; }
179
+
183
180
  h3, section section section h1 {
184
- font-size: 1.6em;
185
- font-weight: bold;
186
- margin: 3em 0 1em 0;
187
- }
181
+ font-size: 1.6em;
182
+ font-weight: bold;
183
+ margin: 3em 0 1em 0; }
184
+
188
185
  h4, section section section section h1 {
189
- font-size: 1.3em;
190
- font-weight: bold;
191
- margin: 3em 0 1em 0;
192
- }
186
+ font-size: 1.3em;
187
+ font-weight: bold;
188
+ margin: 3em 0 1em 0; }
189
+
193
190
  h5, section section section section section h1 {
194
- font-size: 1.2em;
195
- font-weight: bold;
196
- margin: 3em 0 1em 0;
197
- }
191
+ font-size: 1.2em;
192
+ font-weight: bold;
193
+ margin: 3em 0 1em 0; }
194
+
198
195
  em {
199
- font-style: italic;
200
- }
196
+ font-style: italic; }
197
+
201
198
  a {
202
- color: #8A1513;
203
- text-decoration: none;
204
- }
205
- a:hover {
206
- color: #CF282D;
207
- }
208
- code, pre {
209
- font-size: 0.75em;
210
- }
211
- pre{
212
- border: 1px solid #cecece;
213
- padding: 0.5em;
214
- background: #ededed;
215
- }
216
- span.line-numbers{
217
- margin: 0;
218
- padding: 3px;
219
- }
199
+ color: #007bc4;
200
+ text-decoration: none; }
201
+ a:hover {
202
+ color: #005b91; }
203
+
204
+ pre > code {
205
+ -webkit-border-radius: 5px;
206
+ -moz-border-radius: 5px;
207
+ border-radius: 5px;
208
+ background-color: #222;
209
+ font-family: 'Courier New', 'Terminal', monospace;
210
+ color: #E6E0DB;
211
+ padding: 20px;
212
+ overflow: auto;
213
+ font-size: 0.8em;
214
+ margin: 20px 0 20px 0; }
215
+
216
+ code {
217
+ font-size: 0.8em; }
218
+
219
+ span.line-numbers {
220
+ margin: 0;
221
+ padding: 3px; }
220
222
 
221
223
  nav, .navigation {
222
- display: block;
223
- margin: 1em auto;
224
- text-align: center;
225
- border: 1px solid #E6E6E6;
226
- }
224
+ display: block;
225
+ margin: 1em auto;
226
+ text-align: center;
227
+ border: 1px solid #e6e6e6; }
227
228
 
228
229
  nav.contents {
229
- margin: auto;
230
- text-align: left;
231
- border: none;
232
- }
230
+ margin: auto;
231
+ text-align: left;
232
+ border: none; }
233
+ nav a {
234
+ margin: 1em; }
233
235
 
234
- nav a, .navigation a {
235
- margin: 1em;
236
- }
236
+ .navigation a {
237
+ margin: 1em; }
237
238
 
238
239
  nav.contents a {
239
- margin: 0;
240
- }
240
+ margin: 0; }
241
241
 
242
242
  mark {
243
- font-weight:bolder;
244
- font-style: italic;
245
- background: none;
246
- }
247
-
248
- pre>code {
249
- font-size: 1em;
250
- }
243
+ font-weight: bolder;
244
+ font-style: italic;
245
+ background: none; }
246
+
251
247
  td p, td ul, td ol {
252
- margin: 0;
253
- }
254
- td>div.code, td>code {
255
- width: auto;
256
- margin: 0.2em;
257
- padding: 0.2em;
258
- }
259
-
260
- .topic{
261
- margin: 2em auto;
262
- }
248
+ margin: 0; }
263
249
 
264
- /* FONTS */
250
+ .topic {
251
+ margin: 2em auto; }
265
252
 
253
+ /* FONTS */
266
254
  body {
267
- font-family: "Gentium Book Basic", "Book Antiqua", "Times New Roman", "Serif";
268
- }
255
+ font-family: "Gentium Book Basic", "Book Antiqua", "Times New Roman", "Serif"; }
269
256
 
270
257
  code, pre {
271
- font-family: "Droid Sans Mono", "Consolas", "Monaco", "Courier", "Monospace";
272
- }
258
+ font-family: "Droid Sans Mono", "Consolas", "Monaco", "Courier", "Monospace"; }