-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyles.css
More file actions
98 lines (85 loc) · 1.77 KB
/
Copy pathstyles.css
File metadata and controls
98 lines (85 loc) · 1.77 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
90
91
92
93
94
95
96
97
98
/* ===== styles.css ===== */
/* ===== Page Layout Overrides ===== */
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
margin: 0;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
/* ===== Counter Container ===== */
.container {
background: #ffffff;
padding: 2rem;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
text-align: center;
min-width: 300px;
}
/* ===== Headings ===== */
h1 {
color: #333333;
margin-bottom: 2rem;
font-size: 2rem;
}
/* ===== Counter Display ===== */
#counter-display {
font-size: 4rem;
font-weight: bold;
color: #667eea;
margin: 2rem 0;
padding: 1rem;
border: 3px solid #e0e0e0;
border-radius: 10px;
background: #f8f9fa;
transition: all 0.3s ease;
}
/* ===== Button Group ===== */
.button-container {
display: flex;
gap: 1rem;
justify-content: center;
margin-top: 2rem;
}
/* ===== Buttons ===== */
button {
padding: 1rem 1.5rem;
font-size: 1rem;
font-weight: bold;
border: none;
border-radius: 8px;
cursor: pointer;
transition: all 0.3s ease;
}
/* Color Variants */
#increment-btn {
background: #28a745;
color: #ffffff;
}
#increment-btn:hover {
background: #218838;
transform: translateY(-2px);
}
#decrement-btn {
background: #dc3545;
color: #ffffff;
}
#decrement-btn:hover {
background: #c82333;
transform: translateY(-2px);
}
#reset-btn {
background: #6c757d;
color: #ffffff;
}
#reset-btn:hover {
background: #545b62;
transform: translateY(-2px);
}
/* ===== Optional Dynamic Styling ===== */
.high-value {
color: #ff6b35 !important;
border-color: #ff6b35 !important;
background: #fff5f2 !important;
}