Selaa lähdekoodia

Timeshare buy page - changed style to class

master
Kobus 5 vuotta sitten
vanhempi
commit
95d74f3065
1 muutettua tiedostoa jossa 19 lisäystä ja 13 poistoa
  1. 19
    13
      src/components/timeshare/buy/buyPage.vue

+ 19
- 13
src/components/timeshare/buy/buyPage.vue Näytä tiedosto

@@ -5,14 +5,9 @@
5 5
       <div class="row">
6 6
         <div class="col-sm-12">
7 7
           <div class="tobuy-img-box">
8
-            <img
9
-              src="img/buy2.jpg"
10
-              alt="Timeshare To Buy"
11
-              class="img-fluid"
12
-              style="width:800px;height:400px; border-radius:10px"
13
-            />
8
+            <img src="img/buy2.jpg" alt="Timeshare To Buy" class="img-fluid title-img" />
14 9
           </div>
15
-          <div class="sinse-box" style="opacity:0.7; border: white solid 3px; border-radius: 15px">
10
+          <div class="sinse-box title-title">
16 11
             <h3 class="sinse-title">Timeshare To Buy</h3>
17 12
           </div>
18 13
         </div>
@@ -95,13 +90,8 @@
95 90
                     allowfullscreen
96 91
                   ></iframe>
97 92
                   <br />
98
-
99 93
                   <small>
100
-                    <a
101
-                      :href="mapUrl"
102
-                      style="color:#60CBEB;text-align:left"
103
-                      target="_blank"
104
-                    >See map bigger</a>
94
+                    <a :href="mapUrl" class="map-url" target="_blank">See map bigger</a>
105 95
                   </small>
106 96
                 </div>
107 97
               </div>
@@ -158,3 +148,19 @@ export default {
158 148
   },
159 149
 };
160 150
 </script>
151
+<style scoped>
152
+.title-img {
153
+  width: 800px;
154
+  height: 400px;
155
+  border-radius: 10px;
156
+}
157
+.title-title {
158
+  opacity: 0.7;
159
+  border: white solid 3px;
160
+  border-radius: 15px;
161
+}
162
+.map-url {
163
+  color: #60cbeb;
164
+  text-align: left;
165
+}
166
+</style>

Loading…
Peruuta
Tallenna