Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
92 lines (82 loc) · 1.81 KB
/
Copy pathstyle.css
File metadata and controls
92 lines (82 loc) · 1.81 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
/* General Styles */
body {
font-family: Arial, sans-serif;
background: linear-gradient(to right, #a2c2e2, #f2f2f2); /* Gradient background */
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
}
h1 {
margin-top: 20px;
color: #333;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
/* Info Box Styles */
#info {
margin: 20px 0;
font-size: 18px;
color: #333;
}
/* Progress Bar Styles */
#progress-container {
width: 90%;
max-width: 800px;
margin: 20px;
}
progress {
width: 100%;
height: 20px;
-webkit-appearance: none;
appearance: none;
}
progress::-webkit-progress-bar {
background-color: #eee;
border-radius: 10px;
}
progress::-webkit-progress-value {
background-color: #4caf50;
border-radius: 10px;
}
/* Tracker Styles */
#tracker {
display: flex;
flex-wrap: wrap;
justify-content: center;
max-width: 90%;
margin: 20px;
padding: 10px;
background-color: #ffffff;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Day Box Styles */
.day {
display: inline-block;
width: 90px;
height: 50px;
text-align: center;
margin: 5px;
cursor: pointer;
border: 1px solid #ccc;
border-radius: 5px;
padding: 10px;
box-sizing: border-box;
transition: background-color 0.3s, color 0.3s;
}
.checked { background-color: #4caf50; color: white; }
.unchecked { background-color: #f44336; color: white; }
.date { font-size: 12px; margin-top: 5px; }
/* Responsive Styles */
@media (max-width: 600px) {
.day {
width: 60px;
height: 40px;
font-size: 10px;
}
.info {
font-size: 16px;
}
}