瀏覽代碼

footer layout changed

added comments and adjusted padding
tags/0.9.0
Alej 5 年之前
父節點
當前提交
3ca4573036
共有 1 個文件被更改,包括 12 次插入5 次删除
  1. 12
    5
      vue-theme/src/components/footer.vue

+ 12
- 5
vue-theme/src/components/footer.vue 查看文件

1
 <template lang="pug">
1
 <template lang="pug">
2
 .footer-wrapper.f-col.t-up.t-sans
2
 .footer-wrapper.f-col.t-up.t-sans
3
     footer.f-row
3
     footer.f-row
4
+        //- address contact
4
         ul
5
         ul
5
             li
6
             li
6
                 h5 Craft in America
7
                 h5 Craft in America
12
                         li (323) 951-0610 center
13
                         li (323) 951-0610 center
13
                         li
14
                         li
14
                             router-link(to="mailto:info@craftinamerica.org") info@craftinamerica.org
15
                             router-link(to="mailto:info@craftinamerica.org") info@craftinamerica.org
16
+        //- menu links
15
         ul.f-row
17
         ul.f-row
18
+
16
             li
19
             li
17
                 h5
20
                 h5
18
                     router-link(to="/episodes") PBS Series
21
                     router-link(to="/episodes") PBS Series
30
                             router-link(to="/artists/by-material") By Material
33
                             router-link(to="/artists/by-material") By Material
31
             li
34
             li
32
                 h5 
35
                 h5 
33
-                    router-link(to="/exhibitions/") Exhibitions
36
+                    router-link(to="/exhibitions") Exhibitions
34
                     ul
37
                     ul
35
                         li Current/Upcoming
38
                         li Current/Upcoming
36
                         li Past
39
                         li Past
68
                         li Blog Posts
71
                         li Blog Posts
69
                         li Press Releases
72
                         li Press Releases
70
                         li In the News
73
                         li In the News
74
+        //- mailing social links
71
         ul
75
         ul
72
             li
76
             li
73
                 h5 Connect with Us
77
                 h5 Connect with Us
97
 
101
 
98
 footer
102
 footer
99
     background-color: $cia_red
103
     background-color: $cia_red
100
-    color: $cia_white
101
-    padding: 2em 2em 3em
104
+    border-color: $cia_white
105
+    border-style: dotted
106
+    padding: 2em 2em 3em // top leftright bottom 
102
     overflow: hidden
107
     overflow: hidden
103
     flex-direction: column
108
     flex-direction: column
104
     ul
109
     ul
105
         list-style: none
110
         list-style: none
106
         align-content: flex-start
111
         align-content: flex-start
112
+        vertical-align: top
107
         flex-direction: column
113
         flex-direction: column
108
-        margin: 0 0 1em
114
+        margin: 0 0 1em 
109
         li
115
         li
110
-            padding: 0.2em 0 0
116
+            padding: 0 0.5em 0
111
             margin: 0
117
             margin: 0
112
             h5
118
             h5
113
                 color: $cia_white
119
                 color: $cia_white
122
     ul
128
     ul
123
         list-style: none
129
         list-style: none
124
         p
130
         p
131
+            text-align: center
125
             color: $cia_grey
132
             color: $cia_grey
126
 
133
 
127
 </style>
134
 </style>

Loading…
取消
儲存