Commit 2cd1b29 1 parent 62da44a commit 2cd1b29 Copy full SHA for 2cd1b29
File tree 4 files changed +10
-18
lines changed
4 files changed +10
-18
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export default function Header() {
15
15
Welcome to my site. I'm SNORLAX.
16
16
</ p >
17
17
< FlexBox >
18
- < MoneyButton style = { { "margin" : "1rem" } } onClick = { clickHandler } > Sponsor me </ MoneyButton >
18
+ < MoneyButton className = "sponsor" onClick = { clickHandler } > Sponsor me </ MoneyButton >
19
19
< Octocat />
20
20
</ FlexBox >
21
21
< SponsorDialog open = { isDialogOpen } closeHandler = { ( ) => { setIsDialogOpen ( false ) } } />
Original file line number Diff line number Diff line change 1
1
.github-corner {
2
2
border-bottom : 0 ;
3
- position : fixed;
4
- right : 0 ;
5
3
text-decoration : none;
6
- top : 0 ;
7
4
z-index : 1 ;
8
5
}
9
6
46
43
width : var (--header-height );
47
44
}
48
45
46
+ .sponsor {
47
+ margin : 1rem
48
+ }
49
+
49
50
.marquee {
50
- width : 60 % ;
51
+ /* width: 55%; */
51
52
font-family : "华文彩云" ;
52
53
font-size : 3rem ;
53
54
margin : 0 ;
59
60
60
61
@keyframes marquee {
61
62
0% {
62
- transform : translate (50 % , 0 );
63
+ transform : translate (33 % , 0 );
63
64
}
64
65
65
66
50% {
66
67
transform : translate (0% , 0 );
67
68
}
68
69
69
70
100% {
70
- transform : translate (50 % , 0 );
71
+ transform : translate (33 % , 0 );
71
72
}
72
73
}
Original file line number Diff line number Diff line change 41
41
}
42
42
43
43
button {
44
- border-radius : 8px ;
45
44
border : 1px solid transparent;
46
- padding : 0.6em 1.2em ;
47
45
font-size : 1em ;
48
46
font-weight : 500 ;
49
47
font-family : inherit;
@@ -52,15 +50,6 @@ button {
52
50
transition : border-color 0.25s ;
53
51
}
54
52
55
- button : hover {
56
- border-color : # 646cff ;
57
- }
58
-
59
- button : focus ,
60
- button : focus-visible {
61
- outline : 4px auto -webkit-focus-ring-color;
62
- }
63
-
64
53
@media (prefers-color-scheme : light) {
65
54
: root {
66
55
color : # 213547 ;
Original file line number Diff line number Diff line change 4
4
height : var (--header-height );
5
5
right : 0 ;
6
6
top : 0 ;
7
+ display : flex;
8
+ justify-content : space-between;
7
9
}
8
10
9
11
.content {
You can’t perform that action at this time.
0 commit comments