-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcounter.css
More file actions
89 lines (77 loc) · 1.43 KB
/
counter.css
File metadata and controls
89 lines (77 loc) · 1.43 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
body {
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #f0f0f0;
}
.card {
background-color: white;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
width: 100%;
max-width: 400px;
}
.card-header {
padding: 1.5rem;
border-bottom: 1px solid #e0e0e0;
}
.card-title {
margin: 0;
font-size: 1.5rem;
color: #333;
}
.card-description {
margin: 0.5rem 0 0;
color: #666;
}
.card-content {
padding: 1.5rem;
display: flex;
flex-direction: column;
align-items: center;
}
.led-container {
display: flex;
gap: 1rem;
margin-bottom: 1rem;
}
.led {
width: 4rem;
height: 4rem;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
font-weight: bold;
font-size: 1.25rem;
color: white;
background-color: #ef4444;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.led.on {
background-color: #22c55e;
}
.binary-display, .decimal-display {
font-size: 1.25rem;
margin-bottom: 1rem;
}
.binary-display {
font-family: monospace;
}
.button-container {
display: flex;
gap: 1rem;
}
button {
font-size: 1.25rem;
padding: 0.5rem 1rem;
border: none;
background-color: #000;
color: white;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s;
}