jekyll-theme-dracula 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +21 -0
  3. data/README.md +104 -0
  4. data/_layouts/default.html +77 -0
  5. data/_layouts/listings.html +99 -0
  6. data/_sass/colorspaces.scss +85 -0
  7. data/_sass/fonts.scss +55 -0
  8. data/_sass/jekyll-theme-dracula.scss +383 -0
  9. data/_sass/mixins.scss +14 -0
  10. data/_sass/normalize.scss +492 -0
  11. data/_sass/rouge-dracula.scss +81 -0
  12. data/_sass/variables.scss +20 -0
  13. data/assets/css/ie.scss +3 -0
  14. data/assets/css/style.scss +4 -0
  15. data/assets/fonts/noto-serif-v6-latin-700.eot +0 -0
  16. data/assets/fonts/noto-serif-v6-latin-700.svg +1 -0
  17. data/assets/fonts/noto-serif-v6-latin-700.ttf +0 -0
  18. data/assets/fonts/noto-serif-v6-latin-700.woff +0 -0
  19. data/assets/fonts/noto-serif-v6-latin-700.woff2 +0 -0
  20. data/assets/fonts/source-sans-pro-v11-latin-300.eot +0 -0
  21. data/assets/fonts/source-sans-pro-v11-latin-300.svg +1 -0
  22. data/assets/fonts/source-sans-pro-v11-latin-300.ttf +0 -0
  23. data/assets/fonts/source-sans-pro-v11-latin-300.woff +0 -0
  24. data/assets/fonts/source-sans-pro-v11-latin-300.woff2 +0 -0
  25. data/assets/fonts/source-sans-pro-v11-latin-600.eot +0 -0
  26. data/assets/fonts/source-sans-pro-v11-latin-600.svg +1 -0
  27. data/assets/fonts/source-sans-pro-v11-latin-600.ttf +0 -0
  28. data/assets/fonts/source-sans-pro-v11-latin-600.woff +0 -0
  29. data/assets/fonts/source-sans-pro-v11-latin-600.woff2 +0 -0
  30. data/assets/fonts/source-sans-pro-v11-latin-regular.eot +0 -0
  31. data/assets/fonts/source-sans-pro-v11-latin-regular.svg +1 -0
  32. data/assets/fonts/source-sans-pro-v11-latin-regular.ttf +0 -0
  33. data/assets/fonts/source-sans-pro-v11-latin-regular.woff +0 -0
  34. data/assets/fonts/source-sans-pro-v11-latin-regular.woff2 +0 -0
  35. data/assets/images/bullet.png +0 -0
  36. data/assets/images/candies.png +0 -0
  37. data/assets/images/hr.gif +0 -0
  38. data/assets/js/respond.js +779 -0
  39. metadata +156 -0
@@ -0,0 +1,383 @@
1
+ @import "normalize";
2
+ @import "fonts";
3
+ @import "variables";
4
+ @import "mixins";
5
+ @import "rouge-dracula.scss";
6
+ @import "colorspaces.scss";
7
+
8
+ body {
9
+ padding:0px 0 20px 0px;
10
+ margin: 0px;
11
+ font:16px/1.5 $body-fonts;
12
+ color:$foreground;
13
+ font-weight: normal;
14
+ background: $background;
15
+ background-attachment: fixed !important;
16
+ background: linear_gradient($background, lighten($background, 20%));
17
+ }
18
+
19
+ h1, h2, h3, h4, h5, h6 {
20
+ font-family: $heading-fonts;
21
+ color: $cyan;
22
+ margin:0 0 10px;
23
+ font-weight: normal;
24
+ }
25
+
26
+ p, ul, ol, table, pre, dl {
27
+ margin:0 0 20px;
28
+ }
29
+
30
+ h1, h2, h3 {
31
+ line-height:1.1;
32
+ }
33
+
34
+ h1 {
35
+ color:$green;
36
+ font-size:48px;
37
+ line-height: 52px;
38
+ }
39
+
40
+ h2 {
41
+ font-size: 32px;
42
+ line-height: 36px;
43
+ }
44
+
45
+ h3 {
46
+ font-size: 24px;
47
+ line-height: 28px;
48
+ }
49
+
50
+ h4, h5, h6 {
51
+ font-family: $body-fonts;
52
+ color:$yellow;
53
+ font-weight: 600;
54
+ }
55
+
56
+ h4 {
57
+ font-size: 18px;
58
+ line-height: 21px;
59
+ }
60
+
61
+ h5, h6 {
62
+ font-size: 16px;
63
+ line-height: 18px;
64
+ }
65
+
66
+ h6 {
67
+ font-weight: 400;
68
+ }
69
+
70
+ a {
71
+ color:$green;
72
+ font-weight:400;
73
+ text-decoration:none;
74
+
75
+ &:hover {
76
+ color: darken($green, 20%);
77
+ }
78
+ }
79
+
80
+ a small {
81
+ font-size:11px;
82
+ color:$comment;
83
+ margin-top:-0.6em;
84
+ display:block;
85
+ }
86
+
87
+
88
+ ul{
89
+ list-style-image:url('../images/bullet.png');
90
+ }
91
+
92
+ strong {
93
+ font-weight: 600;
94
+ }
95
+
96
+ .wrapper {
97
+ max-width:650px;
98
+ margin:0 auto;
99
+ position:relative;
100
+ padding: 0 20px;
101
+ }
102
+
103
+ section img {
104
+ max-width: 100%;
105
+ }
106
+
107
+ blockquote {
108
+ border-left:3px solid $green;
109
+ margin:0;
110
+ padding:0 0 0 20px;
111
+ font-style:italic;
112
+ }
113
+
114
+ code {
115
+ font-family: $mono-fonts;
116
+ color:$foreground;
117
+ background: $current;
118
+ font-size:13px;
119
+ margin: 0 4px;
120
+ padding: 4px 6px;
121
+ }
122
+
123
+ pre {
124
+ padding:8px 15px;
125
+ background: $background;
126
+ border:3px solid $pink;
127
+ overflow: auto;
128
+ overflow-y: hidden;
129
+
130
+ code {
131
+ color: $foreground;
132
+ background: $background;
133
+ margin: 0;
134
+ padding: 0;
135
+ }
136
+ }
137
+
138
+ table {
139
+ width:100%;
140
+ border-collapse:collapse;
141
+ }
142
+
143
+ th {
144
+ text-align:left;
145
+ padding:10px;
146
+ background: $comment;
147
+ color: $foreground;
148
+ font-weight: 600;
149
+ }
150
+
151
+ td {
152
+ text-align:left;
153
+ padding:5px 10px;
154
+ border-bottom:2px solid $purple;
155
+ }
156
+
157
+ hr {
158
+ border: 0;
159
+ outline: none;
160
+ height: 3px;
161
+ margin: 0 0 20px;
162
+ background: $green;
163
+ }
164
+
165
+ dt {
166
+ color:$yellow;
167
+ font-weight: 600;
168
+ }
169
+
170
+ button, a.button {
171
+ color: $background;
172
+ border: 2px solid $cyan;
173
+ background: $cyan;
174
+ padding: 10px 12px;
175
+ margin-top: 6px;
176
+ line-height:14px;
177
+ font-size:14px;
178
+ font-weight: bold;
179
+ display:inline-block;
180
+ text-align:center;
181
+ &:hover {
182
+ background: $comment;
183
+ color: $foreground;
184
+ border-color: $comment;
185
+ }
186
+ }
187
+
188
+
189
+ #header {
190
+ z-index: 100;
191
+ left:0;
192
+ top: 0px;
193
+ height: 60px;
194
+ width: 100%;
195
+ position: fixed;
196
+ background: $current;
197
+ border-bottom: 4px solid $cyan;
198
+
199
+ nav {
200
+ max-width: 650px;
201
+ margin: 0 auto;
202
+ padding: 0 10px;
203
+ margin: 6px auto;
204
+
205
+ li {
206
+ font-weight: 400;
207
+ list-style: none;
208
+ display: inline;
209
+ color: $foreground;
210
+ line-height: 50px;
211
+ font-size: 14px;
212
+
213
+ a {
214
+ color: $foreground;
215
+ border: 1px solid $cyan;
216
+ background: none;
217
+ padding: 10px 12px;
218
+ margin-top: 6px;
219
+ line-height:14px;
220
+ font-size:14px;
221
+ display:inline-block;
222
+ text-align:center;
223
+
224
+ &:hover {
225
+ background-color: $comment;
226
+ border: 1px solid $comment;
227
+ }
228
+ }
229
+
230
+ &.fork {
231
+ float: left;
232
+ margin-left: 0px;
233
+ }
234
+
235
+ &.downloads {
236
+ float: right;
237
+ margin-left: 6px;
238
+ }
239
+
240
+ &.title {
241
+ color: $foreground;
242
+ float: right;
243
+ margin-right: 10px;
244
+ font-size: 11px;
245
+ }
246
+ }
247
+ }
248
+ }
249
+
250
+ section {
251
+ max-width:650px;
252
+ padding: 30px 0px 50px 0px;
253
+ margin: 20px 0;
254
+ margin-top: 70px;
255
+ &.no-header { margin-top: 0; }
256
+ #title {
257
+ border: 0;
258
+ outline: none;
259
+ margin: 0 0 25px 0;
260
+ padding: 0 0 5px 0;
261
+ text-align: center;
262
+ img {
263
+ max-width: 200px;
264
+ padding-bottom: 32px;
265
+ }
266
+ h1 {
267
+ line-height: 36px;
268
+ }
269
+
270
+ p {
271
+ color: $foreground;
272
+ font-weight: 400;
273
+ font-size: 24px;
274
+ }
275
+ }
276
+ #footer {
277
+ hr { margin-top:30px; }
278
+ .credits {
279
+ font-size: 11px;
280
+ font-weight: normal;
281
+ color: $comment;
282
+ margin-top: -10px;
283
+
284
+ &.left {
285
+ float: left;
286
+ }
287
+
288
+ &.right {
289
+ float: right;
290
+ }
291
+ }
292
+ }
293
+ }
294
+
295
+ .listings-category {
296
+ text-align: center;
297
+ .title {
298
+ margin-bottom: 16px;
299
+ transform: rotate(-5deg);
300
+ }
301
+ &:nth-child(2n) {
302
+ .title { transform: rotate(5deg); }
303
+ }
304
+ &:nth-child(6n+1) {
305
+ .title { color: $cyan; }
306
+ }
307
+ &:nth-child(6n+2) {
308
+ .title { color: $orange; }
309
+ }
310
+ &:nth-child(6n+3) {
311
+ .title { color: $purple; }
312
+ }
313
+ &:nth-child(6n+4) {
314
+ .title { color: $red; }
315
+ }
316
+ &:nth-child(6n+5) {
317
+ .title { color: $pink; }
318
+ }
319
+ .listing {
320
+ width: 32.32%;
321
+ display: inline-block;
322
+ box-sizing: border-box;
323
+ padding: 0 16px;
324
+ margin-bottom: 32px;
325
+ vertical-align: text-top;
326
+ &:nth-child(3n+2) { @include clear(); }
327
+ a {
328
+ display: block;
329
+ h3 {
330
+ color: $faded;
331
+ margin-top: 8px;
332
+ }
333
+ }
334
+ }
335
+ @include clearfix();
336
+ }
337
+
338
+ @media print, screen and (max-width: 720px) {
339
+ #title {
340
+ .credits {
341
+ display: block;
342
+ width: 100%;
343
+ line-height: 30px;
344
+ text-align: center;
345
+
346
+ .left {
347
+ float: none;
348
+ display: block;
349
+ }
350
+
351
+ .right {
352
+ float: none;
353
+ display: block;
354
+ }
355
+ }
356
+ }
357
+
358
+ .listings-category {
359
+ .listing {
360
+ width: 49%;
361
+ }
362
+ }
363
+ }
364
+
365
+ @media print, screen and (max-width: 480px) {
366
+ #header {
367
+ margin-top: -20px;
368
+ }
369
+
370
+ section {
371
+ margin-top: 40px;
372
+ }
373
+
374
+ nav {
375
+ display: none;
376
+ }
377
+
378
+ .listings-category {
379
+ .listing {
380
+ width: 100%;
381
+ }
382
+ }
383
+ }
data/_sass/mixins.scss ADDED
@@ -0,0 +1,14 @@
1
+ @mixin clearfix() {
2
+ &:before,
3
+ &:after {
4
+ content: "";
5
+ display: table;
6
+ }
7
+ &:after {
8
+ clear: both;
9
+ }
10
+ zoom: 1;
11
+ }
12
+ @mixin clear() {
13
+ clear: both;
14
+ }