-
-
Notifications
You must be signed in to change notification settings - Fork 61
Expand file tree
/
Copy pathHeroImage.svelte
More file actions
36 lines (33 loc) 路 730 Bytes
/
Copy pathHeroImage.svelte
File metadata and controls
36 lines (33 loc) 路 730 Bytes
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
<script>
import Picture from '$lib/components/Picture.svelte';
import manager_screenshot from '$images/manager.png?w=1233;822;411&format=avif;webp;png&as=picture';
</script>
<div class="hero-img">
<Picture data={manager_screenshot} alt="Screenshot of ReVanced Manager" />
</div>
<style>
.hero-img :global(img) {
height: 100%;
border-radius: 1.75rem;
}
.hero-img {
overflow: hidden;
height: 70vh;
max-height: 70rem;
z-index: -1;
width: auto;
float: right;
padding: 0.5rem 0.5rem;
border-radius: 1.75rem;
background-color: var(--surface-seven);
user-select: none;
}
@media (max-width: 1700px) {
.hero-img {
position: absolute;
height: 100vh;
top: 115px;
right: 6rem;
}
}
</style>