-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgoosman.css
82 lines (71 loc) · 1.73 KB
/
goosman.css
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
body {
background-color: #03110c;
color: white;
text-align: center;
font-family: Arial, sans-serif;
position: relative;
}
body, html {
overflow: hidden;
}
header {
position: absolute;
top: 1vh;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.logo {
height: 8vh;
margin-top: 2vh;
}
.container {
position: relative;
width: 100vw;
height: 100vh;
}
.button {
position: absolute;
transition: 0.3s;
z-index: 3;
width: 20vw;
transition: opacity 0.3s ease-in-out;
}
.button:hover {
filter: brightness(1);
opacity: 1;
transition: opacity 0.5s ease-in-out;
}
.center-image {
display: block;
position: absolute;
top: 53%;
left: 50%;
transform: translate(-50%, -50%);
width: 40vw;
height: auto;
z-index: 2;
}
.center-image img {
width: 100%;
height: auto;
transition: opacity 0.3s ease-in-out;
}
.center-image:hover img {
content: url('images/babychangoos_hover.png');
object-fit: cover;
}
#discography:hover { content: url('images/discography_hover.png'); }
#about:hover { content: url('images/about_hover.png'); }
/* #goals:hover { content: url('images/goals_hover.png'); } */
#other:hover { content: url('images/otherwork_hover.png'); }
#socials:hover { content: url('images/socials_hover.png'); }
/* #people:hover { content: url('images/people_hover.png'); } */
/* button ki positioning ke liye */
#discography { top: 27vh; left: 7vw; }
#about { top: 70vh; left: 7vw; }
#goals { top: 78vh; left: 7vw; }
#other { top: 22vh; right: 10vw; }
#socials { top: 72vh; right: 10vw; }
#people { top: 78vh; right: 10vw; }