blob: 69a0ec5d829978c57d9c8b1adee25aa723e662fd (
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
49
|
<template>
<section class="oboz-widget">
<nuxt-link to="/oboz/2020">
<img src="/assets/oboz.svg" />
</nuxt-link>
</section>
</template>
<script>
export default {
name: 'ObozWidget'
}
</script>
<style scoped>
.webp .oboz-widget {
background-image: url('/assets/oboz.webp');
}
.oboz-widget {
width: 100%;
padding: 160px 20%;
background-image: url('/assets/oboz.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
display: flex;
flex-direction: row;
justify-content: center;
}
img {
max-width: 60vmin;
transition: all 1s ease-in-out;
}
img:hover {
transform: scale(1.1);
}
@media (max-width: 500px) {
.oboz-widget {
padding: 80px 20px;
}
}
</style>
|