jekyll-theme-space 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,437 @@
1
+ @import url('https://fonts.googleapis.com/css?family=Exo');
2
+
3
+ html, body {font-family: Exo;}
4
+ body {
5
+ background-image: url('bg.jpg');
6
+ background-size: cover;
7
+ background-position: center;
8
+ color: #fff;
9
+ background-attachment: fixed;
10
+ background-color: #111;
11
+ }
12
+
13
+ body.disable_scroll { overflow-y: hidden; }
14
+
15
+ /* header and menu */
16
+
17
+ #header {
18
+ padding: 10px;
19
+ line-height: 40px;
20
+ height: 60px;
21
+ box-sizing: border-box;
22
+ width: 100%;
23
+ margin: auto;
24
+ position: fixed;
25
+ top: 0;
26
+ z-index: 20
27
+ }
28
+ #header, footer, #search-input {background-color: rgba(0,0,0,0.5);}
29
+
30
+ #header::after {
31
+ content:"";
32
+ display:block;
33
+ clear:both;
34
+ }
35
+ #header nav {background: transparent;}
36
+ .navbar > div {display: inline-block;}
37
+ #logo {line-height: 40px;}
38
+ #logo > img {border-radius: 50%; width: 40px; margin-right: 5px; float: left}
39
+ #logo, #nav_social_links, #search-navbar-btn { font-size: 1.5rem}
40
+ #header a {color: #fff; display: inline-block}
41
+ #header nav {width: 100%; display: block; margin: auto;}
42
+ #header nav ul, #share {list-style: none; margin: 0;padding: 0; display: inline-block;}
43
+ #header nav li, #share li {display: inline-block;}
44
+ #menu > nav > ul > li > a {display: block}
45
+ .navbar-left {float: left;}
46
+ .navbar-right {float: right}
47
+
48
+ #menu {
49
+ display: inline-block;
50
+ }
51
+ #toggle-menu {
52
+ position: relative;
53
+ margin: 0;
54
+ padding: 0;
55
+ background: transparent;
56
+ border: 0;
57
+ color: #fff
58
+ }
59
+ #menu {
60
+ position: fixed;
61
+ top: 0;
62
+ left: -170px;
63
+ text-align: left;
64
+ background: #111;
65
+ padding: 5px;
66
+ width: auto;
67
+ z-index: 666;
68
+ line-height: 2;
69
+ height: 100%;
70
+ width: 160px;
71
+ transition: left 0.5s;
72
+ }
73
+
74
+ #menu.open {
75
+ left: 0;
76
+ }
77
+
78
+ #menu nav ul {
79
+ margin-top: 5px;
80
+ padding: 0;
81
+ /*! display: inline-block; */
82
+ }
83
+ #menu nav ul li {display: block;width: 100%;}
84
+
85
+ #close-menu {
86
+ display: block;
87
+ width: 100%;
88
+ text-align: right;
89
+ font-size: 1.2rem;
90
+ }
91
+
92
+ #menu .menu-title {color: #FF4136 }
93
+
94
+ footer {
95
+ padding: 5px;
96
+ }
97
+
98
+ /* Links */
99
+
100
+ a {
101
+ text-decoration: none;
102
+ color: #0074D9;
103
+ transition: color 0.5s;
104
+ }
105
+
106
+ a:hover {color: #7FDBFF !important;}
107
+
108
+ .tag_list {margin: 0; padding: 0;margin-top: 10px;}
109
+ .tag_list li {
110
+ list-style: none;
111
+ display: inline;
112
+ }
113
+
114
+ #container {
115
+ width: 90%;
116
+ max-width: 1000px;
117
+ margin: 70px auto 10px;
118
+ }
119
+
120
+ /* Entries */
121
+
122
+ #entries {
123
+ display: flex;
124
+ justify-content: space-between;
125
+ flex-flow: row wrap;
126
+ }
127
+
128
+ .entry, #entry, #archives {
129
+ margin: 5px;
130
+ background-color: rgba(0,0,0,0.5);
131
+ position: relative;
132
+ }
133
+ .entry, #entry {border-radius: 5px;}
134
+ .entry {
135
+ width: 48%;
136
+ height: 400px;
137
+ padding: 5px;
138
+ box-sizing: border-box;
139
+ max-width: 470px;
140
+ display: inline-block;
141
+ vertical-align: top;
142
+ }
143
+
144
+ #entry {padding: 5px}
145
+
146
+ .entry > .entry-body {
147
+ padding: 5px 0;
148
+ display: block;
149
+ position: relative;
150
+ }
151
+
152
+ .entry > .entry-body{
153
+ height: 150px;
154
+ }
155
+
156
+ .entry .entry-body p {
157
+ margin: 5px;
158
+ }
159
+
160
+ .entry-date {font-size: 90%; padding: 0; margin: 0}
161
+
162
+ #entry > .entry-body {
163
+ display: block;
164
+ width: 100%;
165
+ height: 100%;
166
+ text-align: left
167
+ }
168
+
169
+ .entry-header > h3 {margin: 0 0 5px 0}
170
+
171
+ .entry-body > .entry-footer {
172
+ margin-top: 10px;
173
+ }
174
+
175
+ .entry-footer > .entry-tags, .entry-footer > .read-more {display: inline-block;}
176
+
177
+ .read-more {
178
+ color: #fff;
179
+ font-weight: bold;
180
+ float: right;
181
+ }
182
+
183
+ .proyect img {margin: 0}
184
+ #share a {font-size: 1.2em}
185
+
186
+ /* pre code */
187
+
188
+ pre {
189
+ white-space: pre-wrap; /* css-3 */
190
+ white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
191
+ white-space: -pre-wrap; /* Opera 4-6 */
192
+ white-space: -o-pre-wrap; /* Opera 7 */
193
+ word-wrap: break-word; /* Internet Explorer 5.5+ */
194
+ padding: 5px;
195
+ }
196
+
197
+ /* Pagination */
198
+ #pagination {
199
+ width: 100%;
200
+ list-style: none;
201
+ text-align: center;
202
+ margin: 0;
203
+ padding: 0;
204
+ font-size: 1.2em;
205
+ }
206
+
207
+ #pagination a, #pagination span {
208
+ width: 32px;
209
+ height: 32px;
210
+ display: inline-block;
211
+ text-align: center;
212
+ line-height: 32px;
213
+ background-color: rgba(0,0,0,0.5);
214
+ border-radius: 5px;
215
+ }
216
+
217
+ /* Search */
218
+
219
+ #search {
220
+ position: fixed;
221
+ top: 60px;
222
+ left: 0;
223
+ right: 0;
224
+ bottom: 0;
225
+ width: 100%;
226
+ background-color: rgba(0,0,0,0.8);
227
+ height: calc(100vh - 60px);
228
+ z-index: 100;
229
+ overflow-y: auto;
230
+ display: none;
231
+ }
232
+ #search.open{
233
+ display: block;
234
+ }
235
+ #search form {
236
+ width: 90%;
237
+ border: 0;
238
+ color: #fff;
239
+ display: block;
240
+ max-width: 400px;
241
+ font-size: 1.5em;
242
+ margin: 5px auto;
243
+ position: relative;
244
+ }
245
+
246
+ #search-input, #reset-search {
247
+ border: 0;
248
+ background-color: transparent;
249
+ }
250
+
251
+ #search-input {
252
+ border-bottom: 1px solid #fff;
253
+ width: 100%;
254
+ padding-right: 1.5em;
255
+ box-sizing: border-box;
256
+ }
257
+
258
+ #reset-search {
259
+ position: absolute;
260
+ top: 0;
261
+ right: 0;
262
+ margin: 0;
263
+ padding: 0;
264
+ }
265
+
266
+ #results-container {
267
+ width: 90%;
268
+ list-style: none;
269
+ padding: 0;
270
+ margin: auto;
271
+ font-size: 1.2em;
272
+ }
273
+ #results-container > li {margin: 5px}
274
+ #results-container > a {display: block}
275
+
276
+ #search-menu {
277
+ width: 98%;
278
+ position: relative;
279
+ height: 30px;
280
+ }
281
+
282
+ #search-menu input[type=text] {
283
+ width: 100%;
284
+ border: 1px solid;
285
+ border-radius: 5px;
286
+ padding: 5px;
287
+ padding-right: 20px;
288
+ box-sizing: border-box;
289
+ }
290
+
291
+ #search-menu button {
292
+ position: absolute;
293
+ border: 0;
294
+ background-color: transparent;
295
+ top: 5px;
296
+ height: 30px;
297
+ right: 0;
298
+ height: 20px;
299
+ padding: 0;
300
+ width: 20px;
301
+ }
302
+
303
+ #search-navbar-btn {display: inline-block}
304
+
305
+ /* Categories and Tags lists */
306
+
307
+ .archive-group {margin-bottom: 10px}
308
+ .archive-group > label {font-size: 1.3em}
309
+ .category_list {
310
+ max-height: 0;
311
+ overflow: hidden;
312
+ transition: all 1s ease;
313
+ }
314
+
315
+ .acor {display: none}
316
+ .acor:checked ~ .category_list {
317
+ max-height: 500px;
318
+ transition: all 0s ease;
319
+ }
320
+
321
+ .acor ~ label > i:before {font-size: 0.8em}
322
+
323
+ .acor:checked ~ label > i:before {
324
+ content: '\E80E';
325
+ }
326
+
327
+ /* Responsive for various elements */
328
+
329
+ img {
330
+ width: 100%;
331
+ height: auto;
332
+ }
333
+
334
+ div.video {
335
+ position: relative;
336
+ width: 100%;
337
+ padding-bottom:56.25%;
338
+ }
339
+
340
+ div.video > iframe {
341
+ position: absolute;
342
+ width: 100%;
343
+ height: 100%;
344
+ top: 0;
345
+ left: 0;
346
+ }
347
+
348
+ video {
349
+ max-width: 100%;
350
+ display: block;
351
+ margin: 10px auto;
352
+ }
353
+
354
+ table {width: 100%}
355
+ table th {text-align: left}
356
+
357
+ /* 404 error page */
358
+ #error404 {
359
+ text-align: center;
360
+ font-size: 200%;
361
+ }
362
+
363
+ /* related posts */
364
+
365
+ #relatedPosts {
366
+ text-align: center;
367
+ }
368
+
369
+ #relatedPosts .related_post {
370
+ width: 20%;
371
+ display: inline-block;
372
+ vertical-align: top;
373
+ margin-bottom: 10px;
374
+ }
375
+
376
+ .related_post > figure {margin: 0}
377
+
378
+ /* Archives */
379
+ #archives {padding: 10px;}
380
+ #archives article {margin-left: 20px}
381
+
382
+ @media (min-width: 468px){
383
+ #menu_social_links {display: none}
384
+ }
385
+
386
+ @media (max-width: 767px){
387
+ #entries {
388
+ justify-content: space-around;
389
+ }
390
+ .entry{
391
+ width: 100%;
392
+ margin: auto;
393
+ margin-bottom: 10px;
394
+ height: auto;
395
+ float: none;
396
+ }
397
+ /* tables */
398
+ table:not(.no-rp) tbody, table:not(.no-rp) thead, table:not(.no-rp) tr,
399
+ table:not(.no-rp) th, table:not(.no-rp) td {display: block}
400
+ table thead {
401
+ position: absolute;
402
+ top: -9999px;
403
+ }
404
+
405
+ table:not(.no-rp) tr {
406
+ border-bottom: 1px solid;
407
+ padding: 10px 0
408
+ }
409
+
410
+ table:not(.no-rp) td {
411
+ position: relative;
412
+ padding-left: 45%;
413
+ }
414
+
415
+ table:not(.no-rp) tbody td:before {
416
+ content: attr(data-title);
417
+ position: absolute;
418
+ left: 0;
419
+ display: block;
420
+ font-weight: bold;
421
+ width: 40%;
422
+ white-space: nowrap;
423
+ }
424
+ #relatedPosts .related_post {width: 45%}
425
+ }
426
+
427
+ @media (max-width: 480px) {
428
+ #header .uk-logo { font-size: 1.2rem }
429
+ #header {/*! text-align: center */}
430
+ #nav_social_links {display: none !important;}
431
+ .title {font-size: 1.3rem}
432
+ #logo_menu {float: none; /*! width: 90% */}
433
+ #search-navbar-big {display: none}
434
+ #menu_social_links ul {display: block !important;}
435
+ #menu_social_links li a::after {content: attr(title)}
436
+ #relatedPosts .related_post {width: 100%}
437
+ }
@@ -0,0 +1,70 @@
1
+ .highlight .hll { background-color: #49483e }
2
+ .highlight { background: #272822; color: #f8f8f2 }
3
+ .highlight .c { color: #75715e } /* Comment */
4
+ .highlight .err { color: #960050; background-color: #1e0010 } /* Error */
5
+ .highlight .k { color: #66d9ef } /* Keyword */
6
+ .highlight .l { color: #ae81ff } /* Literal */
7
+ .highlight .n { color: #f8f8f2 } /* Name */
8
+ .highlight .o { color: #f92672 } /* Operator */
9
+ .highlight .p { color: #f8f8f2 } /* Punctuation */
10
+ .highlight .ch { color: #75715e } /* Comment.Hashbang */
11
+ .highlight .cm { color: #75715e } /* Comment.Multiline */
12
+ .highlight .cp { color: #75715e } /* Comment.Preproc */
13
+ .highlight .cpf { color: #75715e } /* Comment.PreprocFile */
14
+ .highlight .c1 { color: #75715e } /* Comment.Single */
15
+ .highlight .cs { color: #75715e } /* Comment.Special */
16
+ .highlight .gd { color: #f92672 } /* Generic.Deleted */
17
+ .highlight .ge { font-style: italic } /* Generic.Emph */
18
+ .highlight .gi { color: #a6e22e } /* Generic.Inserted */
19
+ .highlight .gs { font-weight: bold } /* Generic.Strong */
20
+ .highlight .gu { color: #75715e } /* Generic.Subheading */
21
+ .highlight .kc { color: #66d9ef } /* Keyword.Constant */
22
+ .highlight .kd { color: #66d9ef } /* Keyword.Declaration */
23
+ .highlight .kn { color: #f92672 } /* Keyword.Namespace */
24
+ .highlight .kp { color: #66d9ef } /* Keyword.Pseudo */
25
+ .highlight .kr { color: #66d9ef } /* Keyword.Reserved */
26
+ .highlight .kt { color: #66d9ef } /* Keyword.Type */
27
+ .highlight .ld { color: #e6db74 } /* Literal.Date */
28
+ .highlight .m { color: #ae81ff } /* Literal.Number */
29
+ .highlight .s { color: #e6db74 } /* Literal.String */
30
+ .highlight .na { color: #a6e22e } /* Name.Attribute */
31
+ .highlight .nb { color: #f8f8f2 } /* Name.Builtin */
32
+ .highlight .nc { color: #a6e22e } /* Name.Class */
33
+ .highlight .no { color: #66d9ef } /* Name.Constant */
34
+ .highlight .nd { color: #a6e22e } /* Name.Decorator */
35
+ .highlight .ni { color: #f8f8f2 } /* Name.Entity */
36
+ .highlight .ne { color: #a6e22e } /* Name.Exception */
37
+ .highlight .nf { color: #a6e22e } /* Name.Function */
38
+ .highlight .nl { color: #f8f8f2 } /* Name.Label */
39
+ .highlight .nn { color: #f8f8f2 } /* Name.Namespace */
40
+ .highlight .nx { color: #a6e22e } /* Name.Other */
41
+ .highlight .py { color: #f8f8f2 } /* Name.Property */
42
+ .highlight .nt { color: #f92672 } /* Name.Tag */
43
+ .highlight .nv { color: #f8f8f2 } /* Name.Variable */
44
+ .highlight .ow { color: #f92672 } /* Operator.Word */
45
+ .highlight .w { color: #f8f8f2 } /* Text.Whitespace */
46
+ .highlight .mb { color: #ae81ff } /* Literal.Number.Bin */
47
+ .highlight .mf { color: #ae81ff } /* Literal.Number.Float */
48
+ .highlight .mh { color: #ae81ff } /* Literal.Number.Hex */
49
+ .highlight .mi { color: #ae81ff } /* Literal.Number.Integer */
50
+ .highlight .mo { color: #ae81ff } /* Literal.Number.Oct */
51
+ .highlight .sa { color: #e6db74 } /* Literal.String.Affix */
52
+ .highlight .sb { color: #e6db74 } /* Literal.String.Backtick */
53
+ .highlight .sc { color: #e6db74 } /* Literal.String.Char */
54
+ .highlight .dl { color: #e6db74 } /* Literal.String.Delimiter */
55
+ .highlight .sd { color: #e6db74 } /* Literal.String.Doc */
56
+ .highlight .s2 { color: #e6db74 } /* Literal.String.Double */
57
+ .highlight .se { color: #ae81ff } /* Literal.String.Escape */
58
+ .highlight .sh { color: #e6db74 } /* Literal.String.Heredoc */
59
+ .highlight .si { color: #e6db74 } /* Literal.String.Interpol */
60
+ .highlight .sx { color: #e6db74 } /* Literal.String.Other */
61
+ .highlight .sr { color: #e6db74 } /* Literal.String.Regex */
62
+ .highlight .s1 { color: #e6db74 } /* Literal.String.Single */
63
+ .highlight .ss { color: #e6db74 } /* Literal.String.Symbol */
64
+ .highlight .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */
65
+ .highlight .fm { color: #a6e22e } /* Name.Function.Magic */
66
+ .highlight .vc { color: #f8f8f2 } /* Name.Variable.Class */
67
+ .highlight .vg { color: #f8f8f2 } /* Name.Variable.Global */
68
+ .highlight .vi { color: #f8f8f2 } /* Name.Variable.Instance */
69
+ .highlight .vm { color: #f8f8f2 } /* Name.Variable.Magic */
70
+ .highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */