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

theme styling edits - cia theme adjustments

tags/0.9.0
Alej 4 лет назад
Родитель
Сommit
3411c148b7
2 измененных файлов: 16 добавлений и 9 удалений
  1. 8
    5
      vue-theme/src/app.vue
  2. 8
    4
      vue-theme/src/pages/index.vue

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

@@ -38,11 +38,13 @@ html
38 38
             /* margin: 0 0 3vh 0 */
39 39
             padding: 0 0 3vh 0
40 40
             
41
-            :--headings, a
41
+            /* :--headings, a */
42
+            a
42 43
                 color: $cia_red
43 44
             
44 45
             a:hover
45
-                color: $dark
46
+                /* leave obvious for testing */
47
+                color: green
46 48
 
47 49
             img
48 50
                 transition: $transition ease-in
@@ -61,6 +63,7 @@ html
61 63
                 .shadow
62 64
                     box-shadow: rgba(0 0 0 / 15%) 0.3px 0.5px 1.5px 0.5px
63 65
                     border-radius: $ms--2
66
+                    /* background-color: white */
64 67
         
65 68
                 /* Content Pieces excluding index*/
66 69
                 .post
@@ -81,10 +84,10 @@ html
81 84
                     > ul
82 85
                         list-style: none
83 86
                 
84
-                /* Single & List Pages */
85
-                > article
87
+                /* Single & List Pages*/
88
+                /* > article */
89
+                article
86 90
                     /* background-color: lightpink */
87
-                    background-color: white
88 91
                 
89 92
         nav, footer
90 93
             &.main

+ 8
- 4
vue-theme/src/pages/index.vue Просмотреть файл

@@ -87,7 +87,8 @@ export default {
87 87
 @import '../sss/theme.sss'
88 88
 .page--index 
89 89
     > header
90
-        padding: $ms-0 $ms-2 $ms-1 $ms-2 
90
+        /* padding: $ms-0 $ms-2 $ms-1 $ms-2 */
91
+        padding: $ms-0 $ms-2
91 92
     > article
92 93
         display: flex
93 94
         justify-content: space-around
@@ -110,28 +111,31 @@ export default {
110 111
         &.stickies
111 112
             margin: 0 0 2% 0
112 113
         &.max 
113
-            margin: 3.5% 0 3% 0
114
+            margin: 1.5% 0 2% 0
114 115
         ul
115 116
             display: grid
116 117
             grid-template-columns: 
117 118
                 49.5% 24.25% 24.25%
118 119
             grid-template-rows: 
119 120
                 48% 48%
120
-            gap: 4% 1%
121
+            gap: 3% 1%
121 122
             li
122 123
                 margin: 0
123 124
                 min-height: 10em
124 125
                 /* background-color: purple */
125 126
                 background-color: white
127
+                /* n1 episode */
126 128
                 &:nth-of-type(1)
127 129
                     grid-column-start: 1
128 130
                     grid-row-start: 1
129 131
                     grid-row-end: 3
132
+                /* n2 exhibition, n3 events */
130 133
                 &:nth-of-type(2), &:nth-of-type(3)
131 134
                     grid-column-start: 2
132 135
                     grid-row-start: 1
133 136
                 &:nth-of-type(3)
134 137
                     grid-column-start: 3
138
+                /* n4 artists, n5 posts */
135 139
                 &:nth-of-type(4), &:nth-of-type(5)
136 140
                     grid-column-start: 2
137 141
                     grid-row-start: 2
@@ -169,7 +173,7 @@ export default {
169 173
                         24.25% 24.25% 49.5%
170 174
                     grid-template-rows: 
171 175
                         48% 48%
172
-                    gap: 4% 1%
176
+                    gap: 3% 1%
173 177
                     > li
174 178
                         &:nth-of-type(1)
175 179
                             grid-row-end: 2

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