-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
97 lines (83 loc) · 1.98 KB
/
style.css
File metadata and controls
97 lines (83 loc) · 1.98 KB
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
body {
background-color: rgb(130, 130, 130);
margin: 0px;
}
#menu {
align-items: center;
display: flex;
height: 100vh;
width: 100vw;
}
#menu-items {
margin-left: clamp(4rem, 10vw, 48rem);
position: relative;
z-index: 2;
}
#menu[data-active-index="0"] > #menu-background-pattern {
background-position: 0% -25%;
}
#menu[data-active-index="1"] > #menu-background-pattern {
background-position: 0% -50%;
}
#menu[data-active-index="2"] > #menu-background-pattern {
background-position: 0% -75%;
}
#menu[data-active-index="3"] > #menu-background-pattern {
background-position: 0% -100%;
}
#menu[data-active-index="0"] > #menu-background-image {
background-position: center 45%;
}
#menu[data-active-index="1"] > #menu-background-image {
background-position: center 50%;
}
#menu[data-active-index="2"] > #menu-background-image {
background-position: center 55%;
}
#menu[data-active-index="3"] > #menu-background-image {
background-position: center 60%;
}
#menu-background-pattern {
background-image: radial-gradient(
rgba(255, 255, 255, 0.1) 9%,
transparent 9%
);
background-position: 0% 0%;
background-size: 12vmin 12vmin;
height: 100vh;
left: 0px;
position: absolute;
top: 0px;
transition: opacity 800ms ease,
background-size 800ms ease,
background-position 800ms ease;
width: 100vw;
z-index: 1;
filter: blur(10px);
}
#menu-background-image {
background-image: url("./src/background_img.jpg");
background-position: center;
background-size: cover;
height: 100%;
left: 0px;
opacity: 0.75;
position: absolute;
top: 0px;
transition: opacity 800ms ease,
background-size 800ms ease,
background-position 800ms ease;
width: 100%;
z-index: 0;
filter: blur(3px);
}
.menu-item {
color: white;
cursor: pointer;
display: block;
font-family: 'Ibarra Real Nova', serif;
font-size: clamp(2rem, 8vw, 7rem);
padding: clamp(0.3rem, 0.5vw, 1rem) 0rem;
text-decoration: none;
transition: opacity 400ms ease;
}