console-theme 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,141 @@
1
+ .site{
2
+
3
+ &-404{
4
+
5
+ display: flex;
6
+ flex-direction: column;
7
+ justify-content: center;
8
+ align-items: center;
9
+
10
+ &-icon{
11
+
12
+ }
13
+
14
+ &-title{
15
+ line-height: 1.5em !important;
16
+ font: 30px "Press Start 2P", 'Nanum Gothic', Helvetica, Arial, sans-serif;
17
+ padding: 10px;
18
+ }
19
+ }
20
+
21
+ &-header{
22
+ height: 10%;
23
+ margin-top: 50px;
24
+ display: flex;
25
+ justify-content: center;
26
+ align-items: center;
27
+ padding-top: 50px;
28
+ padding-bottom: 50px;
29
+ padding-left: 20px;
30
+ padding-right: 20px;
31
+ background-color: map-get($colors,_blue-header);
32
+ }
33
+
34
+ &-title{
35
+ font-size: 20px;
36
+ font-weight: 300;
37
+ line-height: 20px;
38
+ letter-spacing: -1px;
39
+ margin-bottom: 0;
40
+ float: left;
41
+
42
+ &-container{
43
+ height: 20%;
44
+ display: flex;
45
+ justify-content: center;
46
+ align-items: center;
47
+ padding: 10px;
48
+
49
+ &-header{
50
+ @include breakpoint(computers){
51
+ font: 400 55px "Pacifico", 'Nanum Gothic', Helvetica, Arial, sans-serif;
52
+ }
53
+
54
+ @include breakpoint(mobile){
55
+ font: 400 25px "Pacifico", 'Nanum Gothic', Helvetica, Arial, sans-serif;
56
+ color: map-get($colors, _green-lime) !important;
57
+ }
58
+ }
59
+ }
60
+
61
+ &-header{
62
+ line-height: 1.5em !important;
63
+ font: 25px "Press Start 2P", 'Nanum Gothic', Helvetica, Arial, sans-serif;
64
+ color: map-get($colors, _white);
65
+
66
+ @include breakpoint(smallest){
67
+ font: 10px "Press Start 2P", 'Nanum Gothic', Helvetica, Arial, sans-serif;
68
+ }
69
+ }
70
+ }
71
+
72
+ &-footer{
73
+ background-color: map-get($colors, _blue-header);
74
+ border-top: 1px solid #e8e8e8;
75
+ }
76
+
77
+ &-global{
78
+ min-height: 50px;
79
+ background-color: map-get($colors,_blue-global);
80
+ display: flex;
81
+ align-items: center;
82
+ position: fixed;
83
+ min-width: 100%;
84
+ z-index: 2;
85
+ top: 0;
86
+ }
87
+
88
+ &-navigation{
89
+
90
+ &-close{
91
+ @include breakpoint(computers){
92
+ width: 40px;
93
+ height: 8%;
94
+ display: flex;
95
+ justify-content: center;
96
+ align-items: center;
97
+ }
98
+
99
+ @include breakpoint(mobile){
100
+ display: none;
101
+ }
102
+ }
103
+
104
+ position: fixed;
105
+ background-color: map-get($colors,_blue-global);
106
+ z-index: 3;
107
+ display: flex;
108
+ flex-direction: column;
109
+
110
+ @include breakpoint(computers){
111
+ height: 100%;
112
+ min-width: 20%;
113
+ transform: translateX(-101%);
114
+ transition: opacity 0.75s ease, transform 0.75s ease;
115
+ top: 0;
116
+ padding: 5px;
117
+ }
118
+
119
+ @include breakpoint(mobile){
120
+ width: 100%;
121
+ min-height: 130px;
122
+ padding: 5px;
123
+ visibility: hidden; /* never use display: block and none when giving animation!*/
124
+ opacity: 0;
125
+ transition: visibility 0.2s, opacity 0.2s linear;
126
+ }
127
+
128
+ &.active{
129
+ @include breakpoint(computers){
130
+ transform: none;
131
+ }
132
+
133
+ @include breakpoint(mobile){
134
+ visibility: visible;
135
+ opacity: 1;
136
+ }
137
+ }
138
+
139
+ }
140
+ }
141
+
@@ -0,0 +1,390 @@
1
+ /*
2
+ * Many of the syles included in this file is a direct copy from main.css
3
+ * which used to be a default file when create a base Jekyll application.
4
+ */
5
+
6
+ /*
7
+ * Remove text-shadow in selection highlight:
8
+ * https://twitter.com/miketaylr/status/12228805301
9
+ *
10
+ * These selection rule sets have to be separate.
11
+ * Customize the background color to match your design.
12
+ */
13
+
14
+ ::-moz-selection {
15
+ background: #b3d4fc;
16
+ text-shadow: none;
17
+ }
18
+
19
+ ::selection {
20
+ background: #b3d4fc;
21
+ text-shadow: none;
22
+ }
23
+
24
+ /**
25
+ * Basic styling
26
+ */
27
+
28
+ html {
29
+ -webkit-box-sizing: border-box;
30
+ -moz-box-sizing: border-box;
31
+ box-sizing: border-box;
32
+ }
33
+
34
+ *, *:before, *:after {
35
+ -webkit-box-sizing: inherit;
36
+ -moz-box-sizing: inherit;
37
+ box-sizing: inherit;
38
+ }
39
+
40
+ html, body{
41
+ margin: 0 !important;
42
+ height: 100%;
43
+ }
44
+
45
+ body {
46
+ font: 400 16px/1.5 "PT Sans", 'Nanum Gothic', Helvetica, Arial, sans-serif;
47
+ color: #111;
48
+ background-color: map-get($colors, _grey-background);
49
+ -webkit-text-size-adjust: 100%;
50
+ -webkit-font-feature-settings: "kern" 1;
51
+ -moz-font-feature-settings: "kern" 1;
52
+ -o-font-feature-settings: "kern" 1;
53
+ font-feature-settings: "kern" 1;
54
+ font-kerning: normal; }
55
+
56
+
57
+ /**
58
+ * Set `margin-bottom` to maintain vertical rhythm
59
+ */
60
+ h1, h2, h3, h4, h5, h6,
61
+ p, blockquote, pre,
62
+ ul, ol, dl, figure,
63
+ .highlight {
64
+ margin-bottom: 15px; }
65
+
66
+
67
+ /**
68
+ * Images
69
+ */
70
+ img {
71
+ max-width: 100%;
72
+ vertical-align: middle; }
73
+
74
+ /**
75
+ * Figures
76
+ */
77
+ figure > img {
78
+ display: block; }
79
+
80
+ figcaption {
81
+ font-size: 14px; }
82
+
83
+ /**
84
+ * Lists
85
+ */
86
+ ul, ol {
87
+ margin-left: 30px; }
88
+
89
+ li > ul,
90
+ li > ol {
91
+ margin-bottom: 0; }
92
+
93
+ /**
94
+ * Headings
95
+ */
96
+ h1, h2, h3, h4, h5, h6 {
97
+ font-weight: 400; }
98
+
99
+ /**
100
+ * Links
101
+ */
102
+ a {
103
+ color: map-get($colors, _white);
104
+ text-decoration: none;
105
+ }
106
+ a:visited {
107
+ color: map-get($colors, _white);
108
+ }
109
+ a:hover {
110
+ color: map-get($colors, _white);
111
+ text-decoration: none;
112
+ }
113
+
114
+ /**
115
+ * Blockquotes
116
+ */
117
+ blockquote {
118
+ color: #828282;
119
+ border-left: 4px solid #e8e8e8;
120
+ padding-left: 15px;
121
+ font-size: 18px;
122
+ letter-spacing: -1px;
123
+ font-style: italic;
124
+ }
125
+
126
+ blockquote > :last-child {
127
+ margin-bottom: 0;
128
+ }
129
+
130
+ /**
131
+ * Code formatting
132
+ */
133
+ pre,
134
+ code {
135
+ font-size: 15px;
136
+ border: 1px solid #e8e8e8;
137
+ border-radius: 3px;
138
+ background-color: #eef; }
139
+
140
+ code {
141
+ padding: 1px 5px; }
142
+
143
+ pre {
144
+ padding: 8px 12px;
145
+ overflow-x: auto; }
146
+ pre > code {
147
+ border: 0;
148
+ padding-right: 0;
149
+ padding-left: 0; }
150
+
151
+ /**
152
+ * Wrapper
153
+ */
154
+ .wrapper {
155
+ height: 70%;
156
+ max-width: -webkit-calc(800px - (30px * 2));
157
+ max-width: calc(800px - (30px * 2));
158
+ margin-right: auto;
159
+ margin-left: auto;
160
+ padding: 25px;
161
+
162
+ a {
163
+ color: map-get($colors, _blue-cobalt);
164
+ text-decoration: none; }
165
+ a:visited {
166
+ color: map-get($colors,_blue-cello); }
167
+ a:hover {
168
+ color: map-get($colors, _blue-cello);
169
+ text-decoration: none; }
170
+
171
+ &-title{
172
+ flex-basis: 100%;
173
+ display: flex;
174
+ justify-content: center;
175
+ align-items: center;
176
+ }
177
+
178
+ &:after{
179
+ content: "";
180
+ display: table;
181
+ clear: both;
182
+ }
183
+
184
+ @include breakpoint(computers){
185
+ max-width: -webkit-calc(800px - (30px));
186
+ max-width: calc(800px - (30px));
187
+ padding-right: 15px;
188
+ padding-left: 15px;
189
+ }
190
+
191
+
192
+ }
193
+
194
+ /**
195
+ * Icons
196
+ */
197
+ .icon > svg {
198
+ display: inline-block;
199
+ vertical-align: middle; }
200
+ .icon > svg path {
201
+ fill: #828282; }
202
+
203
+ .footer{
204
+
205
+ &-col{
206
+
207
+ padding-left: 5px;
208
+
209
+ &-wrapper{
210
+ font-size: 15px;
211
+ color: map-get($colors, _white);
212
+ display: flex;
213
+
214
+ &:after{
215
+ content: "";
216
+ display: table;
217
+ clear: both;
218
+ }
219
+ }
220
+
221
+ }
222
+
223
+ }
224
+
225
+ /**
226
+ * Page content
227
+ */
228
+ .page-content {
229
+ padding: 30px 0; }
230
+
231
+ .page-heading {
232
+ font-size: 20px; }
233
+
234
+ .post-list > li {
235
+ margin-top: 30px; }
236
+
237
+ /**
238
+ * Blicking effect
239
+ */
240
+
241
+ blink { animation: blinker 0.7s infinite alternate; }
242
+ @keyframes blinker {
243
+ from { visibility: hidden; }
244
+ 50% { visibility: hidden; }
245
+ to { visibility: visible; }
246
+ }
247
+ @-webkit-keyframes blinker {
248
+ from { visibility: hidden; }
249
+ 50% { visibility: hidden; }
250
+ to { visibility: visible; }
251
+ }
252
+
253
+ /**
254
+ * Syntax highlighting styles
255
+ */
256
+ .highlighter-rouge .highlight {
257
+ background: #eef; }
258
+ .highlight .c {
259
+ color: #998;
260
+ font-style: italic; }
261
+ .highlight .err {
262
+ color: #a61717;
263
+ background-color: #e3d2d2; }
264
+ .highlight .k {
265
+ font-weight: bold; }
266
+ .highlight .o {
267
+ font-weight: bold; }
268
+ .highlight .cm {
269
+ color: #998;
270
+ font-style: italic; }
271
+ .highlight .cp {
272
+ color: #999;
273
+ font-weight: bold; }
274
+ .highlight .c1 {
275
+ color: #998;
276
+ font-style: italic; }
277
+ .highlight .cs {
278
+ color: #999;
279
+ font-weight: bold;
280
+ font-style: italic; }
281
+ .highlight .gd {
282
+ color: #000;
283
+ background-color: #fdd; }
284
+ .highlight .gd .x {
285
+ color: #000;
286
+ background-color: #faa; }
287
+ .highlight .ge {
288
+ font-style: italic; }
289
+ .highlight .gr {
290
+ color: #a00; }
291
+ .highlight .gh {
292
+ color: #999; }
293
+ .highlight .gi {
294
+ color: #000;
295
+ background-color: #dfd; }
296
+ .highlight .gi .x {
297
+ color: #000;
298
+ background-color: #afa; }
299
+ .highlight .go {
300
+ color: #888; }
301
+ .highlight .gp {
302
+ color: #555; }
303
+ .highlight .gs {
304
+ font-weight: bold; }
305
+ .highlight .gu {
306
+ color: #aaa; }
307
+ .highlight .gt {
308
+ color: #a00; }
309
+ .highlight .kc {
310
+ font-weight: bold; }
311
+ .highlight .kd {
312
+ font-weight: bold; }
313
+ .highlight .kp {
314
+ font-weight: bold; }
315
+ .highlight .kr {
316
+ font-weight: bold; }
317
+ .highlight .kt {
318
+ color: #458;
319
+ font-weight: bold; }
320
+ .highlight .m {
321
+ color: #099; }
322
+ .highlight .s {
323
+ color: #d14; }
324
+ .highlight .na {
325
+ color: #008080; }
326
+ .highlight .nb {
327
+ color: #0086B3; }
328
+ .highlight .nc {
329
+ color: #458;
330
+ font-weight: bold; }
331
+ .highlight .no {
332
+ color: #008080; }
333
+ .highlight .ni {
334
+ color: #800080; }
335
+ .highlight .ne {
336
+ color: #900;
337
+ font-weight: bold; }
338
+ .highlight .nf {
339
+ color: #900;
340
+ font-weight: bold; }
341
+ .highlight .nn {
342
+ color: #555; }
343
+ .highlight .nt {
344
+ color: #000080; }
345
+ .highlight .nv {
346
+ color: #008080; }
347
+ .highlight .ow {
348
+ font-weight: bold; }
349
+ .highlight .w {
350
+ color: #bbb; }
351
+ .highlight .mf {
352
+ color: #099; }
353
+ .highlight .mh {
354
+ color: #099; }
355
+ .highlight .mi {
356
+ color: #099; }
357
+ .highlight .mo {
358
+ color: #099; }
359
+ .highlight .sb {
360
+ color: #d14; }
361
+ .highlight .sc {
362
+ color: #d14; }
363
+ .highlight .sd {
364
+ color: #d14; }
365
+ .highlight .s2 {
366
+ color: #d14; }
367
+ .highlight .se {
368
+ color: #d14; }
369
+ .highlight .sh {
370
+ color: #d14; }
371
+ .highlight .si {
372
+ color: #d14; }
373
+ .highlight .sx {
374
+ color: #d14; }
375
+ .highlight .sr {
376
+ color: #009926; }
377
+ .highlight .s1 {
378
+ color: #d14; }
379
+ .highlight .ss {
380
+ color: #990073; }
381
+ .highlight .bp {
382
+ color: #999; }
383
+ .highlight .vc {
384
+ color: #008080; }
385
+ .highlight .vg {
386
+ color: #008080; }
387
+ .highlight .vi {
388
+ color: #008080; }
389
+ .highlight .il {
390
+ color: #099; }
@@ -0,0 +1,30 @@
1
+ $colors:(
2
+ _black:#000,
3
+ _blue-blizzard:#bfdff2,
4
+ _blue-cobalt:#0038C8,
5
+ _blue-cornflower:#5a72b6,
6
+ _blue-cello:#203f69,
7
+ _blue-jelly-bean:#2877a8,
8
+ _blue-seagull:#80bfe6,
9
+ _blue-global:#2B3239,
10
+ _blue-header:#363F48,
11
+ _blue-zodiac:#0f2543,
12
+ _blue-linkedin:#0075B4,
13
+ _blue-github:#9CDAF0,
14
+ _grey-abbey:#53565a,
15
+ _grey-quill:#d9d9d6,
16
+ _grey-background:#EDF1F4,
17
+ _grey-tuna:#393b3e,
18
+ _grey-desert-storm:#f4f4f3,
19
+ _green-lime: #93ffa0,
20
+ _green-light: #09D794,
21
+ _red-old-brick:#931a1a,
22
+ _red-youtube:#C1181D,
23
+ _purple-danube:#6a86d6,
24
+ _purple-jacksons:#1a3793,
25
+ _white:#fff,
26
+ _yellow-tulip-tree:#e8b136
27
+ );
28
+
29
+ $dark:map-get($colors,_grey-abbey);
30
+ $light:map-get($colors,_white);
@@ -0,0 +1,57 @@
1
+ // Simpler way to reference your breakpoints with a set of presets
2
+ // as well as simple syntax to create new specific breakpoints!
3
+ // The limit accepts min or max so you can set a min-width or max-width breakpoint,
4
+ // the width is self explanatory and if you want to use the built in defaults
5
+ // reference them (large, medium, or small constraints) in the last variable and
6
+ // set the other two to 0.
7
+ @mixin breakpoint($breakpoint-preset:0,$breakpoint-max-width:0,$breakpoint-min-width:0,
8
+ $breakpoint-name:'breakpoint-#{$breakpoint-max-width}-#{$breakpoint-min-width}'){
9
+
10
+ @if($breakpoint-preset=='none'){
11
+ @media(max-width:$breakpoint-max-width) and (min-width:$breakpoint-min-width){
12
+ @content;
13
+ }
14
+ }
15
+ @elseif($breakpoint-preset=='largest'){
16
+ $breakpoint-min-width:1000px;
17
+ $breakpoint-name:'largest';
18
+
19
+ @media(min-width:$breakpoint-min-width){
20
+ @content;
21
+ }
22
+ }
23
+ @elseif($breakpoint-preset=='computers'){
24
+ $breakpoint-min-width:701px;
25
+ $breakpoint-name:'computers';
26
+
27
+ @media(min-width:$breakpoint-min-width){
28
+ @content;
29
+ }
30
+ }
31
+ @elseif($breakpoint-preset=='mobile'){
32
+ $breakpoint-max-width:700px;
33
+ $breakpoint-min-width:0px;
34
+ $breakpoint-name:'mobile';
35
+
36
+ @media(max-width:$breakpoint-max-width) and (min-width:$breakpoint-min-width){
37
+ @content;
38
+ }
39
+ }
40
+ @elseif($breakpoint-preset=='tablet'){
41
+ $breakpoint-min-width:580px;
42
+ $breakpoint-name:'mobile';
43
+
44
+ @media(min-width:$breakpoint-min-width){
45
+ @content;
46
+ }
47
+ }
48
+ @elseif($breakpoint-preset=='smallest'){
49
+ $breakpoint-max-width:580px;
50
+ $breakpoint-min-width:0px;
51
+ $breakpoint-name:'mobile';
52
+
53
+ @media(max-width:$breakpoint-max-width) and (min-width:$breakpoint-min-width){
54
+ @content;
55
+ }
56
+ }
57
+ }
data/_sass/style.scss ADDED
@@ -0,0 +1,12 @@
1
+ @import '_mixins/_breakpoint.scss';
2
+
3
+ @import '_configurations/color.scss';
4
+ @import '_configurations/base.scss';
5
+
6
+ @import '_blocks/site.scss';
7
+ @import '_blocks/menu.scss';
8
+ @import '_blocks/container.scss';
9
+ @import '_blocks/post.scss';
10
+ @import '_blocks/card.scss';
11
+ @import '_blocks/icon.scss';
12
+ @import '_blocks/category.scss';