Skip to content

Commit 159d110

Browse files
authored
Update style.css
1 parent 2789c87 commit 159d110

File tree

1 file changed

+67
-32
lines changed

1 file changed

+67
-32
lines changed

style.css

Lines changed: 67 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -18,69 +18,104 @@ body {
1818

1919
.overlay-top-left, .overlay-top-right, .overlay-bottom-left, .overlay-bottom-right, .overlay-center {
2020
position: absolute;
21-
background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black */
22-
padding: 15px;
23-
border-radius: 8px;
24-
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
25-
transition: opacity 0.3s ease-in-out;
26-
opacity: 0.9;
21+
background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(50, 50, 50, 0.8));
22+
padding: 20px;
23+
border-radius: 12px;
24+
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6), inset 0 0 10px rgba(255, 0, 0, 0.3);
25+
transition: all 0.3s ease;
26+
opacity: 0.95;
27+
}
28+
29+
.overlay-top-left:hover, .overlay-top-right:hover, .overlay-bottom-left:hover, .overlay-bottom-right:hover, .overlay-center:hover {
30+
opacity: 1;
31+
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.7), inset 0 0 15px rgba(255, 0, 0, 0.4);
2732
}
2833

2934
.overlay-top-left {
30-
top: 20px;
31-
left: 20px;
32-
width: 250px;
35+
top: 30px;
36+
left: 30px;
37+
width: 280px;
3338
}
3439

3540
.overlay-top-right {
36-
top: 20px;
37-
right: 20px;
38-
width: 250px;
41+
top: 30px;
42+
right: 30px;
43+
width: 280px;
3944
}
4045

4146
.overlay-bottom-left {
42-
bottom: 20px;
43-
left: 20px;
44-
width: 250px;
47+
bottom: 30px;
48+
left: 30px;
49+
width: 280px;
4550
}
4651

4752
.overlay-bottom-right {
48-
bottom: 20px;
49-
right: 20px;
50-
width: 250px;
53+
bottom: 30px;
54+
right: 30px;
55+
width: 280px;
5156
}
5257

5358
.overlay-center {
5459
top: 50%;
5560
left: 50%;
5661
transform: translate(-50%, -50%);
5762
text-align: center;
58-
width: 400px;
59-
background-color: rgba(128, 128, 128, 0.8); /* Gray */
63+
width: 450px;
64+
background: linear-gradient(135deg, rgba(128, 128, 128, 0.85), rgba(0, 0, 0, 0.85));
6065
}
6166

6267
h1 {
63-
font-size: 24px;
64-
margin-bottom: 20px;
65-
color: #FFFFFF;
66-
text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
68+
font-size: 28px;
69+
margin-bottom: 25px;
70+
color: #FF4500; /* Orange-red accent */
71+
text-shadow: 0 0 8px rgba(255, 69, 0, 0.7);
6772
}
6873

6974
h2 {
70-
font-size: 18px;
71-
margin-bottom: 10px;
72-
color: #D3D3D3; /* Light gray */
75+
font-size: 20px;
76+
margin-bottom: 15px;
77+
color: #D3D3D3;
78+
text-shadow: 0 0 5px rgba(211, 211, 211, 0.5);
7379
}
7480

7581
p {
76-
font-size: 14px;
77-
margin: 5px 0;
82+
font-size: 15px;
83+
margin: 8px 0;
7884
color: #FFFFFF;
85+
text-shadow: 0 0 3px rgba(255, 255, 255, 0.3);
7986
}
8087

8188
canvas {
82-
margin: 10px 0;
83-
background-color: rgba(0, 0, 0, 0.3);
84-
border-radius: 5px;
89+
margin: 15px auto;
90+
display: block;
91+
background-color: rgba(0, 0, 0, 0.4);
92+
border-radius: 8px;
93+
box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
94+
}
95+
96+
.performance-modes {
97+
display: flex;
98+
justify-content: center;
99+
gap: 15px;
100+
margin-bottom: 20px;
101+
}
102+
103+
.mode-btn {
104+
background: linear-gradient(135deg, #333, #555);
105+
border: none;
106+
color: #FFF;
107+
padding: 10px 20px;
108+
border-radius: 6px;
109+
cursor: pointer;
110+
transition: all 0.3s;
111+
box-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
85112
}
86113

114+
.mode-btn.active {
115+
background: linear-gradient(135deg, #FF4500, #FF0000);
116+
box-shadow: 0 0 10px rgba(255, 69, 0, 0.7);
117+
}
118+
119+
.mode-btn:hover {
120+
transform: scale(1.05);
121+
}

0 commit comments

Comments
 (0)