File tree 1 file changed +26
-0
lines changed
src/astro/styles/components
1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 46
46
}
47
47
}
48
48
49
+ footer {
50
+ // Override generic `footer` styles here.
51
+ display : block ;
52
+ padding-block : var (--spacing-8 ) 0 ;
53
+ color : var (--color-text-lighter );
54
+
55
+ // Make the text smaller and align it to the right.
56
+ font-size : var (--font-sm );
57
+
58
+ > a {
59
+ // Remove underline from links.
60
+ --link_color-underline : transparent ;
61
+ // Ensure that the links are displayed as inline blocks.
62
+ display : inline-block ;
63
+
64
+ transition : color var (--animation-duration-short ) ease ;
65
+
66
+ @media (hover : hover) {
67
+ // Only apply hover styles on devices that support hover.
68
+ & :is (:hover , :focus ) {
69
+ color : var (--color-text );
70
+ }
71
+ }
72
+ }
73
+ }
74
+
49
75
// Adjust the layout based on user font size choice.
50
76
@media (max-width : 40rem ) {
51
77
// If the viewport isn't wide enough, switch to a column layout.
You can’t perform that action at this time.
0 commit comments