-
Notifications
You must be signed in to change notification settings - Fork 1
/
styles.css
66 lines (53 loc) · 1.27 KB
/
styles.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
body {
background: rgb(190, 52, 85);
background: linear-gradient(285deg, rgb(52, 82, 111) 0%, rgb(20, 20, 20) 80%);
margin: 0px;
}
#menu {
height: 100vh;
width: 100vw;
display: flex;
align-items: center;
}
em {
padding: 20px;
}
.menu-item {
color: white;
font-size: clamp(3rem, 4vw, 4rem);
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
display: block;
text-decoration: none;
padding: clamp(0.25rem, 1vw, 2rem) 0rem;
transition: opacity 400ms ease;
}
#menu-items {
margin-left: clamp(4rem, 20vw, 48rem);
position: absolute;
z-index: 2;
}
#menu-items:hover > .menu-item {
opacity: 0.3;
}
#menu-items:hover > .menu-item:hover {
opacity: 1;
}
#menu-background-pattern {
height: 100vh;
width: 100vw;
background-image: radial-gradient(
rgba(255, 255, 255, 0.1) 1%,
transparent 3%
);
background-position: 0% 0%;
background-size: 12vmin 12vmin;
}
#menu-background-image {
height: 100%;
width: 100%;
background-image: url("./greenhouse-bg.jpg");
position: absolute;
background-position: center 40%;
background-size: 110vmax;
opacity: 0.15;
}