-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
74 lines (69 loc) · 2.21 KB
/
style.css
File metadata and controls
74 lines (69 loc) · 2.21 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
#canvas1{
border: 5px solid black;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
background: rgb(63, 109, 168);
width: 100%;
height: 100%;
font-family: "Anta", sans-serif;
}
#layer1, #layer2, #layer3, #layer4, #player,#angler1, #angler2, #lucky, #projectile, #gears, #hivewhale, #drone, #smokeExplosion, #fireExplosion {
display:none;
}
/* Main menu overlay */
#menu{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
color: #fff;
padding: 48px 72px;
text-align: center;
border-radius: 12px;
z-index: 10;
overflow: visible;
background-image:
radial-gradient(circle at 20% 10%, rgba(255,255,255,0.03), rgba(0,0,0,0) 12%),
repeating-linear-gradient(45deg, rgba(0,0,0,0.06) 0 2px, rgba(255,255,255,0.02) 2px 4px),
linear-gradient(135deg, #3b2b20 0%, #7a5b3a 45%, #c59b52 100%);
background-blend-mode: overlay, multiply, normal;
box-shadow: 0 10px 30px rgba(0,0,0,0.6), inset 0 2px 0 rgba(255,255,255,0.04);
border: 2px solid rgba(20,12,8,0.9);
border-left: 4px solid rgba(0,0,0,0.45);
transform-origin: center center;
}
#menu::before{
content: "";
position: absolute;
top: -14px;
left: -14px;
right: -14px;
bottom: -14px;
border-radius: 16px;
background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.18));
z-index: -1;
box-shadow: inset 0 2px 0 rgba(255,255,255,0.03), 0 8px 24px rgba(0,0,0,0.6);
border: 3px solid rgba(60,44,30,0.8);
}
#menu h1{font-size: 40px; margin-bottom: 8px; font-family: "Anta", sans-serif; letter-spacing:2px; text-transform:uppercase;}
#menu p{margin-bottom: 18px; color: #f0e6d6; opacity:0.95}
#playButton{
background: linear-gradient(180deg, #c89b4a, #8b5f2a);
color: #1b1208;
border: 1px solid rgba(0,0,0,0.5);
padding: 12px 28px;
font-size: 18px;
border-radius: 6px;
cursor: pointer;
box-shadow: inset 0 2px 0 rgba(255,255,255,0.15), 0 6px 18px rgba(0,0,0,0.45);
text-shadow: 0 1px 0 rgba(255,255,255,0.15);
}
#playButton:active{transform: translateY(1px)}
#playButton:hover{filter:brightness(1.05)}