Просмотр исходного кода

footer layout changed

added comments and adjusted padding
tags/0.9.0
Alej 5 лет назад
Родитель
Сommit
3ca4573036
1 измененных файлов: 12 добавлений и 5 удалений
  1. 12
    5
      vue-theme/src/components/footer.vue

+ 12
- 5
vue-theme/src/components/footer.vue Просмотреть файл

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

Загрузка…
Отмена
Сохранить