about summary refs log tree commit diff
path: root/components/Facebook/FacebookFindUsButton.vue
blob: b955b0b94fdc027a620553209ff40b629c9bd165 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<template>
  <a
    class="button"
    href="https://facebook.com/19pdhpuszcza"
    target="_blank"
    rel="noopener"
  >
    <div class="button-container">
      <img
        class="image"
        src="/assets/social/find_us_fb.png"
        alt="Find us on Facebook"
      />
    </div>
  </a>
</template>

<style scoped>
.button {
  margin: 10px;
}

.button:hover .button-container {
  background-color: #efefef;
}

.button-container {
  border: 2px solid #c4c4c4;
  border-radius: 4px;
  padding: 15px 40px;
}

.image {
  width: 200px;
  display: block;
  margin: auto;
}

@media (max-width: 500px) {
  a {
    width: 100%;
  }

  .image {
    width: 150px;
  }
}
</style>