Browse code
feat: theme change
fiddlerwoaroof authored on 21/06/2020 18:31:38
Showing 2 changed files
Showing 2 changed files
... | ... |
@@ -68,7 +68,7 @@ |
68 | 68 |
<div :class="{'right':true, 'v-expand': collapsed}" > |
69 | 69 |
<h2 v-if="current_item.title !== null" class="article-title"> |
70 | 70 |
<a href="{{current_item.link}}">{{current_item.title}}</a> |
71 |
- <button @click="like(current_item, current_feed)"><3</button> |
|
71 |
+ <button class="like_button" @click="like(current_item, current_feed)"><3</button> |
|
72 | 72 |
</h2> |
73 | 73 |
<div v-if="current_item.title !== null" class="article-container"> |
74 | 74 |
<h3>{{current_item.author}}</h3> |
... | ... |
@@ -1,3 +1,54 @@ |
1 |
+:root { |
|
2 |
+ --zenburn-fg-plus-2: #FFFFEF; |
|
3 |
+ --zenburn-fg-plus-1: #F5F5D6; |
|
4 |
+ --zenburn-fg: #DCDCCC; |
|
5 |
+ --zenburn-fg-1: #A6A689; |
|
6 |
+ --zenburn-fg-2: #656555; |
|
7 |
+ --zenburn-black: #000000; |
|
8 |
+ --zenburn-bg-2: #000000; |
|
9 |
+ --zenburn-bg-1: #2B2B2B; |
|
10 |
+ --zenburn-bg-05: #383838; |
|
11 |
+ --zenburn-bg: #3F3F3F; |
|
12 |
+ --zenburn-bg-plus-05: #494949; |
|
13 |
+ --zenburn-bg-plus-1: #4F4F4F; |
|
14 |
+ --zenburn-bg-plus-2: #5F5F5F; |
|
15 |
+ --zenburn-bg-plus-3: #6F6F6F; |
|
16 |
+ --zenburn-red-plus-2: #ECB3B3; |
|
17 |
+ --zenburn-red-plus-1: #DCA3A3; |
|
18 |
+ --zenburn-red: #CC9393; |
|
19 |
+ --zenburn-red-1: #BC8383; |
|
20 |
+ --zenburn-red-2: #AC7373; |
|
21 |
+ --zenburn-red-3: #9C6363; |
|
22 |
+ --zenburn-red-4: #8C5353; |
|
23 |
+ --zenburn-red-5: #7C4343; |
|
24 |
+ --zenburn-red-6: #6C3333; |
|
25 |
+ --zenburn-orange: #DFAF8F; |
|
26 |
+ --zenburn-yellow: #F0DFAF; |
|
27 |
+ --zenburn-yellow-1: #E0CF9F; |
|
28 |
+ --zenburn-yellow-2: #D0BF8F; |
|
29 |
+ --zenburn-green-5: #2F4F2F; |
|
30 |
+ --zenburn-green-4: #3F5F3F; |
|
31 |
+ --zenburn-green-3: #4F6F4F; |
|
32 |
+ --zenburn-green-2: #5F7F5F; |
|
33 |
+ --zenburn-green-1: #6F8F6F; |
|
34 |
+ --zenburn-green: #7F9F7F; |
|
35 |
+ --zenburn-green-plus-1: #8FB28F; |
|
36 |
+ --zenburn-green-plus-2: #9FC59F; |
|
37 |
+ --zenburn-green-plus-3: #AFD8AF; |
|
38 |
+ --zenburn-green-plus-4: #BFEBBF; |
|
39 |
+ --zenburn-cyan: #93E0E3; |
|
40 |
+ --zenburn-blue-plus-3: #BDE0F3; |
|
41 |
+ --zenburn-blue-plus-2: #ACE0E3; |
|
42 |
+ --zenburn-blue-plus-1: #94BFF3; |
|
43 |
+ --zenburn-blue: #8CD0D3; |
|
44 |
+ --zenburn-blue-1: #7CB8BB; |
|
45 |
+ --zenburn-blue-2: #6CA0A3; |
|
46 |
+ --zenburn-blue-3: #5C888B; |
|
47 |
+ --zenburn-blue-4: #4C7073; |
|
48 |
+ --zenburn-blue-5: #366060; |
|
49 |
+ --zenburn-magenta: #DC8CC3; |
|
50 |
+} |
|
51 |
+ |
|
1 | 52 |
* { |
2 | 53 |
box-sizing: border-box; |
3 | 54 |
transition: font-size 0.2s ease; |
... | ... |
@@ -6,14 +57,14 @@ |
6 | 57 |
body { |
7 | 58 |
margin: 0px; |
8 | 59 |
font-family: 'Lato', 'Alegreya Sans', sans-serif; |
9 |
- background: #002b36; |
|
10 |
- color: #fdf6e3; |
|
60 |
+ background: var(--zenburn-bg); |
|
61 |
+ color: var(--zenburn-fg); |
|
11 | 62 |
font-weight: 300; |
12 | 63 |
} |
13 | 64 |
|
14 | 65 |
.current { |
15 |
- background-color: #073642; |
|
16 |
- color: #93a1a1; |
|
66 |
+ background-color: var(--zenburn-bg-plus-1); |
|
67 |
+ color: var(--zenburn-fg-plus-1); |
|
17 | 68 |
} |
18 | 69 |
|
19 | 70 |
|
... | ... |
@@ -27,8 +78,9 @@ body { |
27 | 78 |
} |
28 | 79 |
|
29 | 80 |
a { |
30 |
- color: #28b0b1; |
|
81 |
+ color: var(--zenburn-fg); |
|
31 | 82 |
border: thin solid transparent; |
83 |
+ cursor: pointer; |
|
32 | 84 |
} |
33 | 85 |
|
34 | 86 |
.current_feed a, .feeds a { |
... | ... |
@@ -41,8 +93,8 @@ a { |
41 | 93 |
} |
42 | 94 |
|
43 | 95 |
a:hover { |
44 |
- border-color: #28b0b1; |
|
45 |
- background-color: #073642; |
|
96 |
+ border-color: var(--zenburn-blue-1); |
|
97 |
+ background-color: var(--zenburn-fg-1); |
|
46 | 98 |
} |
47 | 99 |
|
48 | 100 |
a:focus { |
... | ... |
@@ -83,8 +135,8 @@ header * { |
83 | 135 |
|
84 | 136 |
#container > header { |
85 | 137 |
width: 100vw; |
86 |
- background: #073642; |
|
87 |
- border-bottom: 4px double #6c71c4; |
|
138 |
+ background: var(--zenburn-bg); |
|
139 |
+ border-bottom: 4px double var(--zenburn-green); |
|
88 | 140 |
box-sizing: border-box; |
89 | 141 |
position: absolute; |
90 | 142 |
display: block; |
... | ... |
@@ -108,7 +160,7 @@ header * { |
108 | 160 |
float: left; |
109 | 161 |
text-align: right; |
110 | 162 |
padding-right: 1em; |
111 |
- border-right: 3px #28b0b1 double; |
|
163 |
+ border-right: 3px var(--zenburn-green) double; |
|
112 | 164 |
transition: width 0.2s ease, padding 0.2s ease; |
113 | 165 |
overflow: hidden; |
114 | 166 |
} |
... | ... |
@@ -191,8 +243,12 @@ h1, h2, h3, h4, h5, h6 { |
191 | 243 |
bottom: 0.5em; |
192 | 244 |
} |
193 | 245 |
|
246 |
+.like_button { |
|
247 |
+ padding: 0.3em; |
|
248 |
+} |
|
249 |
+ |
|
194 | 250 |
#container > .left { |
195 |
- border-right: 4px #28b0b1 double; |
|
251 |
+ border-right: 4px var(--zenburn-blue) double; |
|
196 | 252 |
width: 50vw; |
197 | 253 |
overflow: hidden; |
198 | 254 |
box-sizing: border-box; |
... | ... |
@@ -264,16 +320,18 @@ div.description { |
264 | 320 |
.collapse-toggle { |
265 | 321 |
position: absolute; |
266 | 322 |
right: 1em; |
267 |
- top: 50%; |
|
323 |
+ top: 30%; |
|
268 | 324 |
transform: translateY(-50%); |
325 |
+ padding: 0.3em; |
|
326 |
+ border-radius: 0.3em; |
|
269 | 327 |
} |
270 | 328 |
|
271 | 329 |
|
272 | 330 |
.code, code, pre { |
273 | 331 |
white-space: pre; |
274 |
- background: hsla(0,0%,0%, 0.5); |
|
275 |
- border: 1px solid #fdf6e3; |
|
276 | 332 |
font-family: 'Source Code Pro', monospace; |
333 |
+ background: var(--zenburn-bg-2); |
|
334 |
+ border: 1px solid var(--zenburn-fg); |
|
277 | 335 |
font-size: 10px; |
278 | 336 |
} |
279 | 337 |
|