Skip to content

Commit 93fbf3c

Browse files
style: update link colors and improve contact section layout
1 parent b0eada0 commit 93fbf3c

File tree

2 files changed

+22
-32
lines changed

2 files changed

+22
-32
lines changed

assets/css/main.css

Lines changed: 18 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -36,34 +36,28 @@
3636

3737
/* --svg-color: invert(16%) sepia(5%) saturate(17%) hue-rotate(316deg) brightness(96%) contrast(91%); */
3838
--svg-color: brightness(1) invert(0);
39-
--link-youtube: transparent;
40-
--link-misskey: transparent;
41-
--link-github: transparent;
42-
--link-contact: transparent;
43-
--link-youtube-border: #e64553;
44-
--link-misskey-border: #40a02b;
45-
--link-github-border: #5c5f77;
46-
--link-contact-border: #7287fd;
39+
--link-youtube: #e64553;
40+
--link-misskey: #40a02b;
41+
--link-github: #5c5f77;
42+
--link-contact: #7287fd;
4743
}
4844
@media (prefers-color-scheme: dark) {
49-
--fonts-color: #ffffff;
50-
--background-color: #060618;
51-
--links-color: aquamarine;
45+
/* Color Ref: https://dribbble.com/shots/15475209-Coffee-Shop-Mobile-Apps-Dark-Mode */
46+
--fonts-color: #fcfcfc;
47+
--background-color: #0b0f14;
48+
/* --links-color: #ce7740; */
49+
--links-color: #89dbdd;
5250
--selection-color: rgba(255, 255, 255, .2);
5351

54-
--info-card-color: #ffffff20;
52+
--info-card-color: #131820;
5553
--info-card-border: transparent;
5654

5755
/* --svg-color: invert(100%) sepia(1%) saturate(7500%) hue-rotate(268deg) brightness(102%) contrast(101%); */
5856
--svg-color: brightness(0) invert(1);
59-
--link-youtube: #e64553;
60-
--link-misskey: #40a02b;
61-
--link-github: #5c5f77;
62-
--link-contact: #7287fd;
63-
--link-youtube-border: transparent;
64-
--link-misskey-border: transparent;
65-
--link-github-border: transparent;
66-
--link-contact-border: transparent;
57+
--link-youtube: #f38ba8;
58+
--link-misskey: #a6e3a1;
59+
--link-github: #bac2de;
60+
--link-contact: #89b4fa;
6761
}
6862
}
6963

@@ -203,20 +197,16 @@ footer p {
203197
opacity: .8;
204198
}
205199
a[href="https://www.youtube.com/@lemon73"] {
206-
background-color: var(--link-youtube);
207-
border: 1px solid var(--link-youtube-border);
200+
border: 1px solid var(--link-youtube);
208201
}
209202
a[href="https://misskey.io/@lemon73"] {
210-
background-color: var(--link-misskey);
211-
border: 1px solid var(--link-misskey-border);
203+
border: 1px solid var(--link-misskey);
212204
}
213205
a[href="https://github.com/Lemon73-Computing"] {
214-
background-color: var(--link-github);
215-
border: 1px solid var(--link-github-border);
206+
border: 1px solid var(--link-github);
216207
}
217208
a[href=""] {
218-
background-color: var(--link-contact);
219-
border: 1px solid var(--link-contact-border);
209+
border: 1px solid var(--link-contact);
220210
}
221211
}
222212

layouts/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,25 +58,25 @@ <h2 class="toppage-h">About</h2>
5858

5959
<p><a href="{{ relLangURL "/about/lra/" }}">See more...</a></p>
6060

61-
<hr />
61+
<h2 class="toppage-h">Contacts</h2>
6262

6363
<ul class="social-links">
6464
<li>
6565
<a href="https://www.youtube.com/@lemon73" target="_blank">
6666
<img src="/images/social-media/youtube.svg" alt="youtube">
67-
Official YouTube
67+
YouTube
6868
</a>
6969
</li>
7070
<li>
7171
<a href="https://misskey.io/@lemon73" target="_blank">
7272
<img src="/images/social-media/misskey.svg" alt="youtube">
73-
Official Misskey.io
73+
Misskey.io
7474
</a>
7575
</li>
7676
<li>
7777
<a href="https://github.com/Lemon73-Computing" target="_blank">
7878
<img src="/images/social-media/github.svg" alt="youtube">
79-
Official GitHub
79+
GitHub
8080
</a>
8181
</li>
8282
<li>

0 commit comments

Comments
 (0)