Bläddra i källkod

footer style adjust - min-width breaks

tags/0.9.0
Alej 4 år sedan
förälder
incheckning
844101868d
1 ändrade filer med 16 tillägg och 15 borttagningar
  1. 16
    15
      vue-theme/src/components/footer.vue

+ 16
- 15
vue-theme/src/components/footer.vue Visa fil

@@ -2,10 +2,10 @@
2 2
 .footer-wrapper.t-up.t-sans
3 3
     footer.main.w-max
4 4
         //- address contact
5
-        ul.f-col.start.b-dot.b-radius
5
+        ul.f-col.start
6 6
             li.b-dot.b-radius
7 7
                 h5 Craft in America
8
-                ul.b-dot.b-radius
8
+                ul
9 9
                     li 8415 W. Third St.
10 10
                     li Los Angeles, CA 90048
11 11
                     li Tues–Sat, 12PM–6PM
@@ -15,7 +15,7 @@
15 15
                         router-link(to="mailto:info@craftinamerica.org") info@craftinamerica.org
16 16
             li.b-dot.b-radius
17 17
                 h5 Connect with Us
18
-                ul.f-row.b-dot.b-radius
18
+                ul.f-row
19 19
                     li
20 20
                         h2.t-cntr
21 21
                             a(href="https://www.facebook.com/CraftinAmerica") FB<br>
@@ -41,7 +41,7 @@
41 41
                     a(href="") Join email list
42 42
                             
43 43
         //- menu links
44
-        ul.f-col.start.b-dot.b-radius
44
+        ul.f-col.start
45 45
             li.b-dot.b-radius
46 46
                 h5
47 47
                     router-link(to="/episodes") PBS Series
@@ -97,7 +97,7 @@
97 97
                     li Press Releases
98 98
                     li In the News
99 99
     .sub-footer.f-col.start
100
-        h5 Craft in America &copy; 2010&ndash;2021
100
+        h6 Craft in America &copy; 2010&ndash;2021
101 101
         //- actually the bottom of the page
102 102
 
103 103
 </template>
@@ -120,7 +120,7 @@
120 120
         // ALL <ul> tags
121 121
         ul
122 122
             list-style: none
123
-            width: 100%
123
+            /* width: 100% */
124 124
             > li
125 125
                 width: 100%
126 126
         // OUTER <ul> tags
@@ -157,10 +157,11 @@
157 157
     .sub-footer
158 158
         background-color: #820000
159 159
         padding: $ms--4
160
-        h5
160
+        h6
161 161
             font-size: $ms--2
162 162
             color: $cia_grey
163
-
163
+            margin: 0
164
+    /* 768px */
164 165
     @media (min-width: $medium)
165 166
         footer.main > ul
166 167
             /* background-color: darkgreen */
@@ -170,16 +171,16 @@
170 171
                 flex-direction: row
171 172
                 flex-wrap: wrap
172 173
                 > li
173
-                    width: 50%
174
-
174
+                    width: 32%
175
+    /* 960px */
175 176
     @media (min-width: $large)
176 177
         footer.main > ul
177 178
             /* background-color: purple */
178 179
             background-color: $cia_red
179 180
             &:nth-child(n+2)
180 181
                 > li
181
-                    width: 33%
182
-
182
+                    width: 23%
183
+    /* 1080px */
183 184
     @media (min-width: $extra-large)
184 185
         footer.main > ul
185 186
             /* background-color: rebeccapurple */
@@ -187,8 +188,8 @@
187 188
             &:nth-child(n+2)
188 189
                 margin: 0 0 $ms-2 0
189 190
                 > li
190
-                    width: 25%
191
-
191
+                    width: 23%
192
+    /* 1200px */
192 193
     @media (min-width: $huge)
193 194
         footer.main 
194 195
             max-width: $max-width
@@ -196,7 +197,7 @@
196 197
             > ul
197 198
                 /* background-color: orange */
198 199
                 background-color: $cia_red
199
-
200
+    /* 1440px */
200 201
     @media (min-width: $ultra)
201 202
         footer.main 
202 203
             > ul

Laddar…
Avbryt
Spara