pagoda-jekyll 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,547 @@
1
+ /* TODO: pull out coloring into variables */
2
+ div:before, div:after {
3
+ content: '';
4
+ display: table;
5
+ }
6
+
7
+ aside {
8
+ position: relative;
9
+ display: block;
10
+ }
11
+
12
+ ul {
13
+ list-style-type: none;
14
+ }
15
+
16
+ .hide {
17
+ visibility: hidden;
18
+ height: 1px;
19
+ clip: rect(0 0 0 0);
20
+ position: absolute;
21
+ }
22
+
23
+ input, textarea {
24
+ outline: none;
25
+ background: none;
26
+ }
27
+
28
+ body {
29
+ background: #fff;
30
+ color: #222;
31
+ }
32
+
33
+ body, textarea, pre, input {
34
+ font-family: 'Lato', Helvetica, sans-serif;
35
+ line-height: 1.8em;
36
+ font-size: 16px;
37
+ font-weight: 400;
38
+ }
39
+
40
+ h1, h2, h3, h4, h5, #text-title pre {
41
+ font-weight: 900;
42
+ word-wrap: break-word;
43
+ line-height: 1.3em;
44
+ }
45
+
46
+ h1,
47
+ #text-title pre,
48
+ #text-title textarea {
49
+ font-weight: 900;
50
+ font-size: 35px;
51
+ }
52
+
53
+ p {
54
+ color: #555;
55
+ }
56
+
57
+ a,
58
+ a:visited
59
+ a:active {
60
+ color: #000;
61
+ text-decoration: none;
62
+ border-bottom: 1px solid #ddd;
63
+ }
64
+
65
+ a:hover,
66
+ #admin #published h3 a:hover {
67
+ color: red;
68
+ }
69
+
70
+ header {
71
+ width: 162px;
72
+ border-right: 1px solid #DDD;
73
+ position: fixed;
74
+ top: 0;
75
+ bottom: 0;
76
+ padding: 20px 40px;
77
+ }
78
+ header span {
79
+ color: #888;
80
+ font-weight: 500;
81
+ }
82
+ header span.powered-by {
83
+ position: absolute;
84
+ bottom: 30px;
85
+ font-size: 11px;
86
+ }
87
+ header ul {
88
+ padding: 0;
89
+ margin: 50px 0;
90
+ }
91
+ header li {
92
+ margin: 0 0 3px 0;
93
+ }
94
+ header li a {
95
+ padding: 2px 0;
96
+ color: #888;
97
+ border-bottom: 2px solid #eee;
98
+ }
99
+ header li a:hover {
100
+ border-color: #777;
101
+ color: #444;
102
+ }
103
+
104
+ #container {
105
+ margin-left: 243px;
106
+ position: relative;
107
+ }
108
+ #container time {
109
+ display: block;
110
+ padding: 20px 0 20px 50px;
111
+ text-transform: uppercase;
112
+ font-weight: 900;
113
+ font-size: 12px;
114
+ border-bottom: 1px solid #ddd;
115
+ }
116
+
117
+ #content section {
118
+ padding: 26px 0 40px 50px;
119
+ border-bottom: 1px solid #ddd;
120
+ position: relative;
121
+ }
122
+ #content h1.external {
123
+ margin-top: 25px;
124
+ font-size: 18px;
125
+ }
126
+ #content h1.external .permalink {
127
+ margin-left: 8px;
128
+ font-size: 19px;
129
+ color: #999;
130
+ border: none;
131
+ }
132
+
133
+ .show #content section {
134
+ border-bottom: none;
135
+ }
136
+
137
+ code {
138
+ font-size: 13px;
139
+ background: #F2F2F2;
140
+ padding: 20px;
141
+ margin: 20px;
142
+ display: block;
143
+ }
144
+
145
+ .contain {
146
+ width: 600px;
147
+ position: relative;
148
+ }
149
+
150
+ .contain img {
151
+ max-width: 100%;
152
+ height: auto;
153
+ }
154
+
155
+ #publish-bar {
156
+ position: fixed;
157
+ bottom: 0;
158
+ left: 0;
159
+ background: #222;
160
+ color: #fff;
161
+ width: 100%;
162
+ text-align: center;
163
+ padding: 15px 0 15px;
164
+ }
165
+ #publish-bar .contain {
166
+ margin: 0 auto;
167
+ width: 600px;
168
+ }
169
+ #publish-bar input[type=text] {
170
+ border: none;
171
+ border-bottom: 1px solid #333;
172
+ padding: 2px;
173
+ width: 220px;
174
+ font-size: 12px;
175
+ color: #999;
176
+ }
177
+ #publish-bar .menu.active {
178
+ background: #fff;
179
+ color: #000;
180
+ }
181
+ #publish-bar .sub-menu {
182
+ margin: 0;
183
+ background: #222;
184
+ padding: 20px;
185
+ position: absolute;
186
+ bottom: 0;
187
+ left: 60px;
188
+ visibility: hidden;
189
+ border-radius: 5px;
190
+ -moz-border-radius: 5px;
191
+ -webkit-border-radius: 5px;
192
+ }
193
+ #publish-bar .sub-menu.visible {
194
+ visibility: visible;
195
+ }
196
+ #publish-bar .sub-menu li {
197
+ margin: 0 0 15px 0;
198
+ }
199
+
200
+ #publish-bar input[type=submit],
201
+ #publish-bar a,
202
+ .button {
203
+ display: inline-block;
204
+ background: #000;
205
+ padding: 8px 12px;
206
+ font-weight: bold;
207
+ border: none;
208
+ color: #fff;
209
+ border-radius: 5px;
210
+ -moz-border-radius: 5px;
211
+ -webkit-border-radius: 5px;
212
+ }
213
+
214
+ .button.secondary {
215
+ padding: 0 5px;
216
+ background: #aaa;
217
+ font-size: 12px;
218
+ }
219
+
220
+ #publish-bar input[type=submit]:hover,
221
+ #publish-bar a:hover,
222
+ .col h1 a:hover,
223
+ .col h2 a:hover,
224
+ .button:hover,
225
+ .button.secondary:hover {
226
+ background: red;
227
+ color: #fff;
228
+ }
229
+
230
+ .button.space-top {
231
+ margin-top: 100px;
232
+ }
233
+
234
+ .left {
235
+ float: left;
236
+ }
237
+
238
+ .right {
239
+ float: right;
240
+ }
241
+
242
+ .actions {
243
+ position: absolute;
244
+ top: 0;
245
+ right: -60px;
246
+ font-size: 12px;
247
+ margin: 0;
248
+ padding: 0;
249
+ }
250
+
251
+ .actions li {
252
+ display: inline-block;
253
+ margin: 0 10px 0 0;
254
+ }
255
+
256
+ label {
257
+ font-size: 16px;
258
+ color: #fff;
259
+ font-weight: bold;
260
+ margin: 0 8px 0 0;
261
+ }
262
+
263
+ #post_draft {
264
+ position: relative;
265
+ margin: 0 20px 0 0;
266
+ }
267
+
268
+ .admin-links {
269
+ position: absolute;
270
+ text-align: right;
271
+ top: 18px;
272
+ right: 20px;
273
+ margin: 0;
274
+ }
275
+ .admin-links li {
276
+ float: left;
277
+ margin-left: 6px;
278
+ }
279
+ .admin-links a {
280
+ float: left;
281
+ }
282
+
283
+ .notice {
284
+ position: absolute;
285
+ top: 0;
286
+ background: lightYellow;
287
+ width: 100%;
288
+ display: block;
289
+ text-align: center;
290
+ padding: 3px 0;
291
+ font-size: 12px;
292
+ }
293
+
294
+ body.posts.edit #admin,
295
+ body.posts.new #admin {
296
+ width: 100%;
297
+ }
298
+
299
+ #admin {
300
+ width: 808px;
301
+ margin: 0 auto;
302
+ position: relative;
303
+ }
304
+ #admin #save-button.saved {
305
+ color: #999;
306
+ }
307
+ #admin #save-button.saved:hover {
308
+ cursor: normal;
309
+ }
310
+ #admin #drafts {
311
+ float: left;
312
+ border: 4px solid #000;
313
+ border-top: none;
314
+ background: #fff;
315
+ margin: 0 0 20px 0;
316
+ padding-top: 10px;
317
+ }
318
+ #admin #drafts form {
319
+ margin: 20px 0 20px -20px;
320
+ padding: 0 0 0 20px;
321
+ border-left: 4px solid lightblue;
322
+ }
323
+ #admin #drafts #post_title {
324
+ width: 350px;
325
+ font-size: 16px;
326
+ font-weight: 400;
327
+ margin: 0;
328
+ border-bottom: 1px solid #ddd;
329
+ }
330
+ #admin #published {
331
+ float: right;
332
+ }
333
+ #admin #published h2 {
334
+ color: #999;
335
+ }
336
+ #admin #published h2 a {
337
+ margin-top: -2px;
338
+ }
339
+ #admin #published h3 a {
340
+ color: #999;
341
+ }
342
+ #admin .col h1,
343
+ #admin .col h2 {
344
+ position: relative;
345
+ text-transform: uppercase;
346
+ }
347
+ #admin .col h1 a,
348
+ #admin .col h2 a {
349
+ position: absolute;
350
+ top: 0;
351
+ right: 0;
352
+ font-size: 12px;
353
+ padding: 2px 10px;
354
+ line-height: 2.7em;
355
+ margin: 5px 0 0;
356
+ }
357
+ #admin .col {
358
+ width: 360px;
359
+ padding: 20px;
360
+ }
361
+ #admin .col h2 a {
362
+ background: #999;
363
+ }
364
+ #admin .col h2 a:hover {
365
+ background: red;
366
+ }
367
+ #admin .col ul {
368
+ padding: 0;
369
+ }
370
+ #admin .col ul li {
371
+ border-bottom: 1px solid #ddd;
372
+ padding: 15px 0;
373
+ position: relative;
374
+ }
375
+ #admin .col ul li:hover .links {
376
+ visibility: visible;
377
+ }
378
+ #admin .col ul li .links {
379
+ position: absolute;
380
+ right: 0;
381
+ top: 14px;
382
+ background: #fff;
383
+ padding: 1px 8px;
384
+ visibility: hidden;
385
+ }
386
+ #admin .col ul li .links a {
387
+ color: #999;
388
+ border-radius: 5px;
389
+ -moz-border-radius: 5px;
390
+ -webkit-border-radius: 5px;
391
+ }
392
+ #admin .col ul li .links a:hover {
393
+ color: red;
394
+ }
395
+ #admin .col ul li h3 {
396
+ margin: 0;
397
+ font-size: 16px;
398
+ max-width: 100%;
399
+ text-overflow: ellipsis;
400
+ overflow: hidden;
401
+ }
402
+ #admin .col ul li h3 a {
403
+ border: none;
404
+ }
405
+ #admin textarea, #admin pre {
406
+ margin: 0;
407
+ padding: 0;
408
+ outline: 0;
409
+ border: 0;
410
+ }
411
+ #admin .expandingArea > textarea,
412
+ #admin .expandingArea > pre {
413
+ background: transparent;
414
+ white-space: pre-wrap;
415
+ word-wrap: break-word;
416
+ }
417
+ #admin .expandingArea > textarea {
418
+ /* The border-box box model is used to allow
419
+ * padding whilst still keeping the overall width
420
+ * at exactly that of the containing element.
421
+ */
422
+ -webkit-box-sizing: border-box;
423
+ -moz-box-sizing: border-box;
424
+ -ms-box-sizing: border-box;
425
+ box-sizing: border-box;
426
+ width: 100%;
427
+ }
428
+ #admin .expandingArea.active > textarea {
429
+ resize: none;
430
+ }
431
+ #admin .expandingArea > pre {
432
+ display: none;
433
+ }
434
+ #admin .expandingArea.active > pre {
435
+ display: block;
436
+ /* Hide the text; just using it for sizing */
437
+ visibility: hidden;
438
+ }
439
+
440
+ fieldset.markdown {
441
+ position: relative;
442
+ border: none;
443
+ margin: 0;
444
+ padding: 0;
445
+ }
446
+
447
+ #split {
448
+ width: 716px;
449
+ margin: 0 auto;
450
+ }
451
+ #split #post-editor {
452
+ width: 700px;
453
+ float: left;
454
+ }
455
+ #split #fullscreen {
456
+ float: left;
457
+ position: relative;
458
+ top: 35px;
459
+ border: 0 none;
460
+ }
461
+
462
+ .fullScreen #fullscreen {
463
+ visibility: hidden;
464
+ }
465
+
466
+ .markdown:before {
467
+ display: block;
468
+ content: "";
469
+ width: 39px;
470
+ height: 24px;
471
+ position: absolute;
472
+ top: 4px;
473
+ left: -60px;
474
+ background: url(/assets/markdown.png) no-repeat top left;
475
+ }
476
+
477
+ #text-title {
478
+ margin: 23px 0 0 0;
479
+ }
480
+
481
+ #post_title {
482
+ width: 100%;
483
+ border: none;
484
+ background: none;
485
+ line-height: 45px;
486
+ }
487
+
488
+ #post_content {
489
+ border: none;
490
+ width: 100%;
491
+ position: relative;
492
+ margin: 0;
493
+ resize: none;
494
+ }
495
+
496
+ #post_title {
497
+ resize: none;
498
+ }
499
+
500
+ form .permalink {
501
+ position: absolute;
502
+ left: -34px;
503
+ top: 12px;
504
+ border: none;
505
+ color: #ddd;
506
+ }
507
+
508
+ .admin-view {
509
+ font-size: 11px;
510
+ margin: 0 10px 2px 0;
511
+ font-weight: 900;
512
+ text-transform: uppercase;
513
+ }
514
+
515
+ nav.pagination {
516
+ text-align: right;
517
+ font-size: 16px;
518
+ font-weight: 900;
519
+ text-transform: uppercase;
520
+ margin: 0;
521
+ padding: 0;
522
+ }
523
+
524
+ nav.pagination a {
525
+ margin-left: 10px;
526
+ }
527
+
528
+ body {
529
+ margin: 0;
530
+ }
531
+
532
+ .settings .settings-bd {
533
+ border: 4px solid #000;
534
+ border-top: none;
535
+ background: #fff;
536
+ margin: 0 auto;
537
+ padding: 10px 20px;
538
+ width: 760px;
539
+ }
540
+ .settings .admin-btn {
541
+ float: right;
542
+ margin-top: 30px;
543
+ }
544
+ .settings .left-col {
545
+ display: inline-block;
546
+ width: 350px;
547
+ }