Selaa lähdekoodia

gallery styling adjustments to size and extra dummy description copy

tags/0.9.0
Alej 5 vuotta sitten
vanhempi
commit
0d5ee0bdbb
1 muutettua tiedostoa jossa 8 lisäystä ja 8 poistoa
  1. 8
    8
      vue-theme/src/components/gallery.vue

+ 8
- 8
vue-theme/src/components/gallery.vue Näytä tiedosto

@@ -5,9 +5,9 @@
5 5
         p {{images}}
6 6
         img(:src="Object.values(images)[selected]")
7 7
         p active: {{ selected }}
8
-        .titledesc.t-left
9
-            h2 Title goes here: create responsive designs that fit different screen sizes
10
-            p Description goes here: London. Michaelmas term lately over, and the Lord Chancellor sitting in Lincoln's Inn Hall. Implacable November weather. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
8
+        .titledesc.t-left {{titledesc}}
9
+            h2 Title goes here: Responsive block to fit different screen sizes. Hide/Show from bottom of the screen.
10
+            p Description goes here: London. Michaelmas term lately over, and the Lord Chancellor sitting in Lincoln's Inn Hall. Implacable November weather. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Blue McRight is an inter-disciplinary artist influenced by nature, personal experience, and politics. At its core, her multi-media work focuses on water – and its lack – as an environmental issue; however her practice has expanded to address related ideas such as the body, circulatory systems, and marine science. McRight’s work is both elusive and interactive, inviting viewer engagement and contemplation. 
11 11
 
12 12
     .controls.f-row
13 13
         button(v-if="selected > 0" @click="prev") &#x25C0prev
@@ -79,7 +79,7 @@ export default {
79 79
         left: 0
80 80
         width: 100%
81 81
         height: 100%
82
-        background-color: rgba(255, 0, 0, 0.8)
82
+        background-color: rgba(255, 0, 0, 0.6)
83 83
         z-index: 1001
84 84
 
85 85
         > * /* select for all direct children  */
@@ -95,15 +95,15 @@ export default {
95 95
             z-index: 1100
96 96
         figure
97 97
             img
98
-                background-size: contain
98
+                background-size: auto
99 99
                 max-width: 90vw
100 100
                 max-height: 80vh
101 101
             .titledesc
102 102
                 position: fixed
103
-                max-width: 80vw
103
+                max-width: 90vw
104 104
                 bottom: 1vh
105 105
                 background-color: rgba(255, 255, 255, 0.6)
106
-                padding: 4px
106
+                padding: 1.0em
107 107
                 text-align: left
108 108
                 h2, p
109 109
                     color: $cia_black
@@ -113,5 +113,5 @@ export default {
113 113
             button
114 114
                 background-color: rgba(255, 255, 255, 0.1)
115 115
                 height: 100vh
116
-                padding: 4px
116
+                padding: 1.0em
117 117
 </style>

Loading…
Peruuta
Tallenna