-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
144 lines (125 loc) · 2.92 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
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
body {
background-color: #1a1a1a; /* Dark background color */
color: #00ffcc; /* Neon cyan text color */
font-family: 'Roboto', sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.container {
text-align: center;
padding: 20px;
width: 300px; /* Fixed width for demonstration */
}
h1 {
font-size: 28px;
margin-bottom: 20px;
text-transform: uppercase;
letter-spacing: 2px;
}
.gauge-container {
position: relative;
margin-bottom: 20px;
}
.gauge {
width: 150px; /* Reduced gauge size */
height: 150px; /* Reduced gauge size */
margin: 0 auto;
position: relative;
background: linear-gradient(135deg, #ff8c1a, #00ffcc); /* Gradient color */
border-radius: 50%;
box-shadow: 0 0 10px rgba(0, 255, 204, 0.5); /* Neon cyan shadow */
overflow: hidden;
}
.indicator {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 255, 204, 0.2); /* Neon cyan fill */
transform-origin: bottom center;
transform: scaleY(0.7); /* Initial scale */
animation: pulse 2s ease-in-out infinite alternate; /* Pulse animation */
}
@keyframes pulse {
to {
transform: scaleY(1);
}
}
.info {
font-size: 14px;
margin-top: 20px;
line-height: 1.5;
}
.button-container {
display: flex;
justify-content: space-around;
margin-top: 20px;
}
button {
background-color: #ff8c1a; /* Orange button background */
color: #1a1a1a; /* Dark text color */
border: none;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s, transform 0.2s;
}
button:hover {
background-color: #00ffcc; /* Neon cyan button background on hover */
transform: scale(1.1); /* Scale up on hover */
}
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
width: 300px;
}
.container {
text-align: center;
}
.gauge-container {
margin: 20px 0;
}
.gauge {
position: relative;
width: 100px;
height: 100px;
border: 5px solid #ddd;
border-radius: 50%;
margin: 0 auto;
}
.indicator {
position: absolute;
top: 50%;
left: 50%;
width: 80px;
height: 80px;
background-color: green;
border-radius: 50%;
transform: translate(-50%, -50%);
}
#message {
margin: 10px 0;
font-size: 14px;
color: #555;
}
.button-container {
display: flex;
flex-direction: column;
gap: 10px;
}
button {
padding: 10px;
border: none;
background-color: #007bff;
color: white;
cursor: pointer;
border-radius: 5px;
}
button:hover {
background-color: #0056b3;
}