File tree 3 files changed +91
-0
lines changed
3 files changed +91
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ import logoImg from ' ../assets/ui/mcss-logo.svg?raw' ;
3
+
4
+ import { VERSION } from ' ../scripts/globals' ;
5
+ ---
6
+
7
+ <footer >
8
+ <section class =" footer_meta" >
9
+ <p >Made with <span >❤</span > in California by <a href =" http://minimaldesign.net" >minimal design</a ></p >
10
+ <p >Released under the MIT <a href =" https://github.com/minimaldesign/mCSS/blob/main/LICENSE" >License</a ></p >
11
+ <p ><Fragment set:html ={ logoImg } /> mCSS v.{ VERSION } </p >
12
+ </section >
13
+ <nav class =" footer_nav" >
14
+ <ul >
15
+ <li >
16
+ <h5 >Documentation</h5 >
17
+ <ul >
18
+ <li ><a href =" /docs/start" >mCSS methodology</a ></li >
19
+ <li ><a href =" /docs/tokens" >Tokens</a ></li >
20
+ <li ><a href =" /docs/media-queries" >Responsive design</a ></li >
21
+ <li ><a href =" /docs/global#grid" >Grid system</a ></li >
22
+ <li ><a href =" /docs/helpers" >Utility classes</a ></li >
23
+ <li ><a href =" /components/start" >Component library</a ></li >
24
+ </ul >
25
+ </li >
26
+ <li >
27
+ <h5 >Learn</h5 >
28
+ <ul >
29
+ <li ><a href =" https://github.com/minimaldesign/mCSS/tree/main/src/styles" >mCSS code</a ></li >
30
+ <li ><a href =" https://github.com/minimaldesign/mCSS/issues" >Issue tracker</a ></li >
31
+ <li ><a href =" /tags/learn" >Tutorials, tips, trick…</a ></li >
32
+ </ul >
33
+ </li >
34
+ <li >
35
+ <h5 >Connect</h5 >
36
+ <ul >
37
+ <li ><a href =" https://github.com/minimaldesign/mCSS/discussions" >Discussions</a ></li >
38
+ <li ><a href =" https://x.com/_yannb_" >Twitter</a ></li >
39
+ <li ><a href =" " >YouTube</a ></li >
40
+ <li ><a href =" " >Email</a ></li >
41
+ </ul >
42
+ </li >
43
+ </ul >
44
+ </nav >
45
+ </footer >
Original file line number Diff line number Diff line change 33
33
/* Component specific styles */
34
34
/* Should be added here or within the Astro component itself */
35
35
@import url(./ component.button.css);
36
+ @import url(./ component.footer.css);
36
37
@import url(./ component.header.css);
37
38
@import url(./ component.navDocs.css);
38
39
@import url(./ component.notice.css);
Original file line number Diff line number Diff line change
1
+ footer {
2
+ display : grid;
3
+ gap : var (--md3 );
4
+ grid-template-columns : 25% 1fr ;
5
+ padding : var (--lg3 ) var (--md3 );
6
+ background-color : var (--primary-600 );
7
+ color : var (--base-0 );
8
+ line-height : var (--leading-xl );
9
+
10
+ a {
11
+ color : var (--base-0 );
12
+ text-decoration : none;
13
+ font-weight : var (--book );
14
+ transition : color var (--transition );
15
+ & : hover {
16
+ color : var (--primary-200 );
17
+ }
18
+ }
19
+ }
20
+
21
+ .footer_meta {
22
+ --logo-size : 25px ;
23
+
24
+ /* & is just to make syntax highlighter happy */
25
+ & p : last-child {
26
+ margin-top : 1em ;
27
+ }
28
+
29
+ span {
30
+ font-size : var (--text-lg );
31
+ line-height : 1 ;
32
+ }
33
+
34
+ svg {
35
+ display : inline-block;
36
+ margin-right : 0.25em ;
37
+ width : var (--logo-size );
38
+ height : var (--logo-size );
39
+ }
40
+ }
41
+
42
+ .footer_nav > ul {
43
+ display : grid;
44
+ grid-template-columns : 1fr 1fr 1fr ;
45
+ }
You can’t perform that action at this time.
0 commit comments