Skip to content

Commit 35d66c2

Browse files
committed
Refactor footer
1 parent 175e930 commit 35d66c2

2 files changed

Lines changed: 11 additions & 14 deletions

File tree

src/layout/body/footer.astro

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<footer>
1+
<footer class="small-text">
22
<p>
33
<a href="https://github.com/mcecode/mce.codes" target="_blank"
44
>Made by mcecode</a
@@ -18,16 +18,3 @@
1818
Thoughts are my own and does not reflect that of my employer or anyone else.
1919
</p>
2020
</footer>
21-
22-
<style lang="scss">
23-
footer {
24-
font-size: v-size(3);
25-
color: var(--c-accent);
26-
}
27-
28-
@include m-medium {
29-
footer {
30-
font-size: v-size(4);
31-
}
32-
}
33-
</style>

src/styles/global.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,16 @@ path {
120120
border: none;
121121
background: inherit;
122122
}
123+
.small-text {
124+
font-size: v-size(3);
125+
color: var(--c-accent);
126+
}
127+
128+
@include m-medium {
129+
.small-text {
130+
font-size: v-size(4);
131+
}
132+
}
123133

124134
// Keyframes
125135

0 commit comments

Comments
 (0)