瀏覽代碼

styling adjustments - update to cia theme colours, mobile.menu logotype resize

tags/0.9.0
Alej 4 年之前
父節點
當前提交
b970ebe5ce
共有 1 個檔案被更改,包括 30 行新增12 行删除
  1. 30
    12
      vue-theme/src/components/navigation/navigation.vue

+ 30
- 12
vue-theme/src/components/navigation/navigation.vue 查看文件

71
 nav.main
71
 nav.main
72
     position: sticky
72
     position: sticky
73
     top: 0
73
     top: 0
74
-    background-color: lightblue
74
+    /* background-color: lightblue */
75
+    background-color: white
75
     word-wrap: break-word
76
     word-wrap: break-word
76
     z-index: 10000
77
     z-index: 10000
77
     
78
     
78
     .menu, .mobile-menu
79
     .menu, .mobile-menu
79
-        padding: $ms-0 0
80
+        /* padding: $ms-0 0 */
81
+        background: $cia_grey
82
+        /* border-bottom: 2px $cia_darker solid */
83
+
80
         a
84
         a
81
             text-decoration: none
85
             text-decoration: none
86
+            color: $cia_black
87
+
82
             h1
88
             h1
83
-                /* font-size: $ms-1 */
84
                 font-weight: 400
89
                 font-weight: 400
85
                 color: $cia_red
90
                 color: $cia_red
86
-            img
91
+                padding: 7px 0 0
92
+            /* img
87
                 width: $ms-3
93
                 width: $ms-3
88
                 height: $ms-3
94
                 height: $ms-3
89
-                padding: 0
95
+                padding: 0 */
90
     
96
     
91
     .menu   
97
     .menu   
92
         display: none
98
         display: none
93
         h1
99
         h1
94
-            font-size: $ms-1 
100
+            font-size: $ms-3
101
+        h5
102
+            /* font-size: $ms--1  */
103
+            font-weight: 200
95
         > ul
104
         > ul
96
             padding: 0 $ms-1
105
             padding: 0 $ms-1
106
+        img
107
+            width: $ms-3
108
+            height: $ms-3
109
+            /* padding: 0 */
110
+            margin-top: $ms--7
97
     
111
     
98
     .mobile-menu
112
     .mobile-menu
99
-        img 
100
-            margin: 0 $ms--5 0 $ms-0
113
+        padding: $ms--3
114
+        img
115
+            width: $ms-2
116
+            height: $ms-2
117
+            padding: 0
118
+            margin: $ms--7 0 0 $ms--7
101
         h1
119
         h1
102
             font-size: $ms-2
120
             font-size: $ms-2
103
         label
121
         label
104
             position: absolute
122
             position: absolute
105
             right: 0
123
             right: 0
106
             top: 0
124
             top: 0
107
-            padding: $ms-1
125
+            padding: $ms-0
108
             &:hover
126
             &:hover
109
-                color: $cia_grey
127
+                color: $cia_red
110
                 cursor: pointer
128
                 cursor: pointer
111
                 transition: $transition
129
                 transition: $transition
112
         input
130
         input
120
         ul
138
         ul
121
             background-color: $primary-dark
139
             background-color: $primary-dark
122
             display: none
140
             display: none
123
-            padding: $ms--1 0
141
+            /* padding: $ms--1 0 */
124
             margin: $ms-0 0 0 0
142
             margin: $ms-0 0 0 0
125
             li  
143
             li  
126
                 color: $primary-light
144
                 color: $primary-light
141
 
159
 
142
     @media (min-width:  $extra-large)
160
     @media (min-width:  $extra-large)
143
         .menu > ul
161
         .menu > ul
144
-            max-width: $max-width
162
+            /* max-width: $max-width */
145
 </style>
163
 </style>

Loading…
取消
儲存