Преглед изворни кода

footer layout

cleaned up styling and specificity
tags/0.9.0
Alej пре 5 година
родитељ
комит
12dc070d26
1 измењених фајлова са 25 додато и 31 уклоњено
  1. 25
    31
      vue-theme/src/components/footer.vue

+ 25
- 31
vue-theme/src/components/footer.vue Прегледај датотеку

@@ -15,7 +15,6 @@
15 15
                             router-link(to="mailto:info@craftinamerica.org") info@craftinamerica.org
16 16
         //- menu links
17 17
         ul.f-row
18
-
19 18
             li
20 19
                 h5
21 20
                     router-link(to="/episodes") PBS Series
@@ -85,7 +84,7 @@
85 84
                         li
86 85
                             a(href="https://twitter.com/CraftinAmerica") Twitter
87 86
                         li
88
-                            a(href="http://eepurl.com/hpwhn5") Join email list
87
+                            a(href="") Join email list
89 88
     .sub-footer
90 89
         p Craft in America © 2010–2021
91 90
 
@@ -97,34 +96,29 @@
97 96
 <style lang="postcss">
98 97
 @import '../sss/variables.sss'
99 98
 
100
-footer
101
-    width: $max-width
102
-    background-color: $cia_red
103
-    border-color: $cia_white
104
-    padding: 2em 2em 3em // top leftright bottom 
105
-    overflow: hidden
106
-    flex-direction: column
107
-    ul
108
-        list-style: none
109
-        align-content: flex-start
110
-        vertical-align: top
111
-        flex-direction: column
112
-        margin: 0 0 1em 
113
-        li
114
-            padding: 0 0.5em 0
115
-            margin: 0
116
-            h5
117
-                color: $cia_white
118
-            a
119
-                color: $cia_white
120
-
121
-.sub-footer
122
-    width: $max-width
123
-    background-color: $cia_black
124
-    padding: 0.5em
125
-    text-align: center
126
-    p
127
-        font-size: 0.8em
128
-        color: $cia_grey
99
+.footer-wrapper
100
+    > footer
101
+        width: $max-width
102
+        background-color: $cia_red
103
+        padding: 2em 2em 3em // top leftright bottom
104
+        ul
105
+            list-style: none
106
+            margin: 0 0 1em 
107
+            li
108
+                top: 0
109
+                padding: 0 0.5em 0
110
+                margin: 0
111
+                h5
112
+                    color: $cia_white
113
+                a
114
+                    color: $cia_white
129 115
 
116
+    .sub-footer
117
+        width: $max-width
118
+        background-color: $cia_black
119
+        padding: 0.5em
120
+        text-align: center
121
+        p
122
+            font-size: 0.8em
123
+            color: $cia_grey
130 124
 </style>

Loading…
Откажи
Сачувај