File tree 3 files changed +27
-1
lines changed
3 files changed +27
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
import Navigation from " ./Navigation.astro" ;
3
+ import { Icon } from " astro-icon/components" ;
3
4
---
4
5
5
6
<footer >
6
7
<section >
7
8
@<a href =" http://codenomnom.com" target =" _blank" >codenomnom</a >
8
9
{ [" 🔫" , " ❤️" , " 👋" ][(3 * Math .random ()) | 0 ]}
9
10
<a href =" /legal" >cc by-sa 4.0</a >
11
+
12
+ <a href =" https://github.com/codenomnom/quirks-mode/" target =" _blank" >
13
+ <Icon name =" github" class =" github" title =" github" />
14
+ </a >
10
15
</section >
11
16
<Navigation location =" footer" />
12
17
</footer >
@@ -20,6 +25,21 @@ import Navigation from "./Navigation.astro";
20
25
padding-top: 12px;
21
26
padding-bottom: 12px;
22
27
28
+ section {
29
+ display: flex;
30
+ align-items: center;
31
+
32
+ a {
33
+ margin-right: 4px;
34
+ display: flex;
35
+ align-items: center;
36
+
37
+ &:not(:first-of-type) {
38
+ margin-left: 4px;
39
+ }
40
+ }
41
+ }
42
+
23
43
@media (max-width: 486px) {
24
44
flex-direction: column;
25
45
flex-flow: column-reverse;
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ const { location } = Astro.props;
28
28
</ul >
29
29
30
30
<div class =" icons" >
31
+ <!-- <Icon name="github" class="github" title="github" /> -->
31
32
<Icon name =" sun" class =" sun" title =" turn lights on" />
32
33
<Icon name =" moon" class =" moon" title =" turn lights off" />
33
34
</div >
@@ -65,7 +66,11 @@ const { location } = Astro.props;
65
66
66
67
transition: color .2s ease;
67
68
68
- &:hover {
69
+ .github {
70
+ margin-right: 4px;
71
+ }
72
+
73
+ svg:hover {
69
74
color: var(--color-href-hover);
70
75
}
71
76
}
You can’t perform that action at this time.
0 commit comments