-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
105 lines (89 loc) · 2.04 KB
/
style.css
File metadata and controls
105 lines (89 loc) · 2.04 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
99
100
101
102
103
104
105
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, sans-serif;
}
/* =====================
THEME VARIABLES
===================== */
:root {
--bg-color: #f4f6fb;
--card-gradient: linear-gradient(135deg, #ffffff, #e8ecff);
--text-color: #111111;
--button-bg: #667eea;
--button-text: #ffffff;
--card-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
--card-border: rgba(0, 0, 0, 0.05);
}
body.dark {
--bg-color: #0f0f14;
--card-gradient: linear-gradient(135deg, #1e1e24, #262633);
--text-color: #ffffff;
--button-bg: #ff7e5f;
--button-text: #ffffff;
--card-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
--card-border: rgba(255, 255, 255, 0.05);
}
/* =====================
BODY
===================== */
body {
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: var(--bg-color);
color: var(--text-color);
transition: background 0.3s ease, color 0.3s ease;
}
.container {
text-align: center;
}
/* =====================
CARD
===================== */
.card {
background: var(--card-gradient);
padding: 50px 40px;
border-radius: 18px;
box-shadow: var(--card-shadow);
width: 320px;
margin-top: 20px;
border: 1px solid var(--card-border);
transition: all 0.3s ease;
}
.card:hover {
transform: translateY(-4px);
}
/* =====================
COUNTER
===================== */
.counter {
font-size: 3.5rem;
margin: 25px 0;
font-weight: bold;
}
/* =====================
BUTTONS
===================== */
.buttons {
display: flex;
justify-content: space-between;
}
button {
padding: 10px 18px;
border: none;
border-radius: 8px;
cursor: pointer;
background: var(--button-bg);
color: var(--button-text);
font-size: 1rem;
transition: all 0.2s ease;
}
button:hover {
transform: scale(1.05);
}
.theme-btn {
margin-bottom: 10px;
}