Skip to content

Commit fd34ced

Browse files
committed
tweak some stuff
1 parent 0a2a548 commit fd34ced

File tree

3 files changed

+28
-12
lines changed

3 files changed

+28
-12
lines changed

src/index.css

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
/* This is to modify anything outside of components */
2+
3+
:root {
4+
--bg: #121214;
5+
--surface0: #212124;
6+
--surface1: #343438;
7+
--text: #eef;
8+
--subtext0: #aab;
9+
--accent0: #88B0FF;
10+
--accent1: #B259E8;
11+
}
12+
213
* {
314
padding: 0;
415
margin: 0;
@@ -15,6 +26,15 @@ body {
1526
height: 100%;
1627
}
1728

29+
a {
30+
color: var(--accent0);
31+
}
32+
33+
a:visited {
34+
color: var(--accent1);
35+
}
36+
37+
1838
@font-face {
1939
font-family: "SFPro";
2040
src: local("SF Pro"), url("/fonts/SFNS.woff2") format("woff2"), local("SF Pro Display");
@@ -34,16 +54,6 @@ body {
3454
color: var(--text);
3555
}
3656

37-
:root {
38-
--bg: #121214;
39-
--surface0: #212124;
40-
--surface1: #343438;
41-
--text: #eef;
42-
--subtext0: #aab;
43-
--accent0: #88B0FF;
44-
--accent1: #B259E8;
45-
}
46-
4757
.hero-text h1 {
4858
background: linear-gradient(
4959
90deg,

src/routes/home.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ const Home: Component<
6363
font-weight: normal;
6464
}
6565
66-
.more-btn {
66+
.more-btn,
67+
.more-btn:visited {
6768
display: inline-block;
6869
background: var(--surface1);
6970
border-image: linear-gradient(45deg, var(--accent0), var(--accent1)) 1;
@@ -73,6 +74,7 @@ const Home: Component<
7374
font-weight: bold;
7475
text-decoration: none;
7576
transition: background-color 0.3s, color 0.3s;
77+
cursor: pointer;
7678
}
7779
7880
.more-btn:hover {

src/routes/not-found.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
const NotFound: Component<{},{}> = function() {
22
this.css = `
3-
margin: 3rem
3+
margin: 1rem;
4+
5+
* {
6+
margin-block: 0.25rem
7+
}
48
`
59
return (
610
<div>

0 commit comments

Comments
 (0)