File tree Expand file tree Collapse file tree 3 files changed +28
-12
lines changed Expand file tree Collapse file tree 3 files changed +28
-12
lines changed Original file line number Diff line number Diff line change 1
1
/* 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
+
2
13
* {
3
14
padding : 0 ;
4
15
margin : 0 ;
@@ -15,6 +26,15 @@ body {
15
26
height : 100% ;
16
27
}
17
28
29
+ a {
30
+ color : var (--accent0 );
31
+ }
32
+
33
+ a : visited {
34
+ color : var (--accent1 );
35
+ }
36
+
37
+
18
38
@font-face {
19
39
font-family : "SFPro" ;
20
40
src : local ("SF Pro" ), url ("/fonts/SFNS.woff2" ) format ("woff2" ), local ("SF Pro Display" );
@@ -34,16 +54,6 @@ body {
34
54
color : var (--text );
35
55
}
36
56
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
-
47
57
.hero-text h1 {
48
58
background : linear-gradient (
49
59
90deg ,
Original file line number Diff line number Diff line change @@ -63,7 +63,8 @@ const Home: Component<
63
63
font-weight: normal;
64
64
}
65
65
66
- .more-btn {
66
+ .more-btn,
67
+ .more-btn:visited {
67
68
display: inline-block;
68
69
background: var(--surface1);
69
70
border-image: linear-gradient(45deg, var(--accent0), var(--accent1)) 1;
@@ -73,6 +74,7 @@ const Home: Component<
73
74
font-weight: bold;
74
75
text-decoration: none;
75
76
transition: background-color 0.3s, color 0.3s;
77
+ cursor: pointer;
76
78
}
77
79
78
80
.more-btn:hover {
Original file line number Diff line number Diff line change 1
1
const NotFound : Component < { } , { } > = function ( ) {
2
2
this . css = `
3
- margin: 3rem
3
+ margin: 1rem;
4
+
5
+ * {
6
+ margin-block: 0.25rem
7
+ }
4
8
`
5
9
return (
6
10
< div >
You can’t perform that action at this time.
0 commit comments