Bläddra i källkod

Adjust footer links, responsive wrap behaviour.

tags/1.0.3
Alej 3 år sedan
förälder
incheckning
566b423c07
1 ändrade filer med 65 tillägg och 57 borttagningar
  1. 65
    57
      vue-theme/src/components/footer.vue

+ 65
- 57
vue-theme/src/components/footer.vue Visa fil

@@ -54,65 +54,75 @@
54 54
             li
55 55
                 h5 
56 56
                     router-link(to="/episode") PBS Series
57
-                ul.f-col.start 
58
-                    li 
59
-                        router-link(to="/episode")   Episodes
60
-                    li 
61
-                        router-link(to="/short")   Shorts
62
-                    li 
63
-                        router-link(to="/technique")   Techniques
57
+                    ul.f-col.start 
58
+                        li 
59
+                            router-link(to="/episode")   Episodes
60
+                        li 
61
+                            router-link(to="/short")   Shorts
62
+                        li 
63
+                            router-link(to="/technique")   Techniques
64 64
             li 
65 65
                 h5
66 66
                     router-link(to="/artist") Artists
67
-                ul.f-col
68
-                    li
69
-                        router-link(to="/artist/sorted/by-alpha")   A-Z
70
-                    li
71
-                        router-link(to="/artist/sorted/by-material")   by Material
72
-
67
+                    ul.f-col
68
+                        li
69
+                            router-link(to="/artist/sorted/by-alpha")   A-Z
70
+                        li
71
+                            router-link(to="/artist/sorted/by-material")   by Material
73 72
             li
74 73
                 h5 
75 74
                     router-link(to="/exhibition") Exhibitions
76
-                ul.f-col
77
-                    li
78
-                        router-link(to="/exhibition/sorted/by-current-and-upcoming")   Current/Upcoming
79
-                    li
80
-                        router-link(to="/object")   Objects
81
-
75
+                    ul.f-col
76
+                        li
77
+                            router-link(to="/exhibition/sorted/by-current-and-upcoming")   Current/Upcoming
78
+                        li
79
+                            router-link(to="/object")   Explore Craft Objects
82 80
             li
83 81
                 h5
84 82
                     router-link(to="/page/center") Center 
85
-                ul.f-col
86
-                    li
87
-                        router-link(to="/page/center")   Info
88
-                    li
89
-                        router-link(to="/exhibition")   Exhibitions
90
-                    li 
91
-                        router-link(to="/event/sorted/by-current-and-upcoming")   Events 
92
-                    li
93
-                        router-link(to="/event?type=talks")   Talks & Interviews
83
+                    ul.f-col
84
+                        li
85
+                            router-link(to="/page/center")   Info
86
+                        li
87
+                            router-link(to="/exhibition")   Exhibitions
88
+                        li 
89
+                            router-link(to="/event/sorted/by-current-and-upcoming")   Events 
90
+                        li
91
+                            router-link(to="/event?type=talks")   Talks & Interviews
94 92
             li
95 93
                 h5
96 94
                     router-link(to="") Education 
97
-                ul.f-col
98
-                    li
99
-                        router-link(to="/guide")   Guides 
100
-                    li 
101
-                        router-link(to="/publication")   Publications 
102
-                    li 
103
-                        router-link(to="/page/library")   Library 
104
-
105
-
95
+                    ul.f-col
96
+                        li
97
+                            router-link(to="/guide")   Guides 
98
+                        li 
99
+                            router-link(to="/publication")   Publications 
100
+                        li 
101
+                            router-link(to="/page/library")   Library 
106 102
             li
107 103
                 h5
108
-                    router-link(to="") News
109
-                ul.f-col
110
-                    li
111
-                        router-link(to="/blog")   Blog Posts  
112
-                    li 
113
-                        router-link(to="/posts?type=releases")   Press Releases 
114
-                    li 
115
-                        router-link(to="/posts?type=articles")   In the News 
104
+                    router-link(to="") News 
105
+                    ul.f-col
106
+                        li
107
+                            router-link(to="/blog")   Blog Posts 
108
+                        li 
109
+                            router-link(to="/posts?type=articles")   In the News 
110
+                        li 
111
+                            router-link(to="/posts?type=releases")   Press Releases 
112
+                        li 
113
+                            router-link(to="/page/community-craft-calendar")   Community Craft Calendar  
114
+            li
115
+                h5
116
+                    router-link(to="/page/about") About 
117
+                    ul.f-col
118
+                        li
119
+                            router-link(to="/page/about")   Craft in America 
120
+                        li 
121
+                            router-link(to="/page/board")   Board of Directors 
122
+                        li 
123
+                            router-link(to="/page/staff")   Staff 
124
+                        li 
125
+                            router-link(to="/page/contact")   Contact   
116 126
 
117 127
     .sub-footer.f-col.start
118 128
         h6 Craft in America © 2010–{{ today }} 
@@ -141,11 +151,9 @@ export default {
141 151
     background-color: $cia_red
142 152
     footer.main
143 153
         display: flex
144
-        flex-wrap: wrap
145 154
         align-items: flex-start 
146 155
 
147 156
         min-width: $min-width
148
-        /* background-color: $cia_red */
149 157
         // ALL <ul> tags
150 158
         ul
151 159
             list-style: none
@@ -163,6 +171,7 @@ export default {
163 171
                 h4
164 172
                     margin: $ms-0 0 $ms--3
165 173
                 h5 
174
+                    font-size: 0.85em 
166 175
                     /* margin: $ms-0 0 $ms--1 */
167 176
                     margin: $ms-0 0 0
168 177
                 a, a:link, a:visited
@@ -170,7 +179,6 @@ export default {
170 179
                     text-decoration: none
171 180
                 a:hover
172 181
                     color: $light
173
-                    /* background: $light */
174 182
                     /* Hovered links */
175 183
                 a:active
176 184
                     color: $cia_red2
@@ -194,43 +202,43 @@ export default {
194 202
     /* 768px */
195 203
     @media (min-width: $medium)
196 204
         footer.main > ul
205
+            flex-wrap: wrap
197 206
             /* background-color: darkgreen */
198 207
             background-color: $cia_red
199 208
             &:nth-child(n+2)
200 209
                 align-items: flex-start
201 210
                 flex-direction: row
202
-                flex-wrap: wrap
203 211
                 > li
204 212
                     width: 32%
213
+                    h5 
214
+                        font-size: 0.95em 
205 215
     /* 960px */
206 216
     @media (min-width: $large)
207 217
         footer.main > ul
218
+            flex-wrap: wrap
208 219
             /* background-color: purple */
209 220
             background-color: $cia_red
210 221
             &:nth-child(n+2)
211 222
                 > li
212
-                    width: 33%
223
+                    /* width: 33% */
213 224
     /* 1080px */
214 225
     @media (min-width: $extra-large)
215 226
         footer.main > ul
227
+            flex-wrap: wrap
216 228
             /* background-color: rebeccapurple */
217 229
             background-color: $cia_red
218 230
             &:nth-child(n+2)
219 231
                 /* margin: 0 0 $ms-2 0 */
220 232
                 > li
221
-                    width: 43%
233
+                    /* width: 43% */
222 234
     /* 1200px */
223 235
     @media (min-width: $huge)
224 236
         footer.main 
225 237
             max-width: $max-width
226 238
             margin: 0 auto
227 239
             > ul
240
+                flex-wrap: wrap
228 241
                 /* background-color: orange */
229 242
                 background-color: $cia_red
230
-    /* 1440px */
231
-    @media (min-width: $ultra)
232
-        footer.main 
233
-            > ul
234
-                /* background-color: teal */
235
-                background-color: $cia_red
243
+
236 244
 </style>

Laddar…
Avbryt
Spara