Skip to content

Commit a9c41da

Browse files
committed
Update colors
1 parent 561ecfb commit a9c41da

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

style.css

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ body {
201201
<input type="checkbox" id="menu" hidden />
202202
<html-head-component src="meta.json" hidden></html-head-component>
203203
<div class="title">
204-
<img src="https://atanas.info/images/svg/logo-fill.svg" />
204+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 206 206"><g fill-rule="evenodd" transform="translate(3 3)"><circle fill="none" stroke-width="4" cx="100" cy="100" r="100"/><path stroke="none" d="m37.938 136.266 23.285-59.154 14.117 39.867 7.52 19.287h15.43L70.163 64H55.125L27 136.266m105.22 10.459v-9.327c-8.658-8.724-12.988-21.077-12.988-37.06 0-15.95 4.33-28.288 12.989-37.012V54c-8.073 4.492-14.462 10.905-19.165 19.238-4.704 8.334-7.056 17.367-7.056 27.1s2.393 18.831 7.178 27.295c4.785 8.463 11.133 14.827 19.043 19.092zm8.78 0c7.91-4.265 14.258-10.629 19.043-19.092 4.785-8.464 7.178-17.562 7.178-27.295s-2.352-18.766-7.056-27.1C155.461 64.905 149.073 58.492 141 54v9.326c8.659 8.724 12.988 21.061 12.988 37.012 0 15.983-4.33 28.336-12.988 37.06v9.327z"/></g></svg>
205205
<label for="menu" aria-label="Open menu">Projects</label>
206206
<h1>atanas atanasov (scriptex)</h1>
207207
<h2>senior <br />javascript / typescript<br />engineer</h2>
@@ -310,13 +310,6 @@ body {
310310
--secondary: #000;
311311
}
312312

313-
@media (prefers-color-scheme: light) {
314-
:root {
315-
--primary: #000;
316-
--secondary: #fff;
317-
}
318-
}
319-
320313
html {
321314
font-size: 1rem;
322315
}
@@ -343,10 +336,12 @@ h3 {
343336
justify-content: space-between;
344337
}
345338

346-
.title img {
339+
.title svg {
347340
width: 2rem;
348341
height: 2rem;
349342
display: block;
343+
fill: var(--primary);
344+
stroke: var(--primary);
350345
}
351346

352347
.title h1,
@@ -477,3 +472,14 @@ codersrank-work-experience {
477472
codersrank-timeline {
478473
--timeline-item-bg-color: #333;
479474
}
475+
476+
@media (prefers-color-scheme: light) {
477+
:root {
478+
--primary: #000;
479+
--secondary: #fff;
480+
}
481+
482+
codersrank-timeline {
483+
--timeline-item-bg-color: #ccc;
484+
}
485+
}

0 commit comments

Comments
 (0)