-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
155 lines (130 loc) · 2.39 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
145
146
147
148
149
150
151
152
153
154
155
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f3f3f3;
}
.container {
max-width: 800px;
margin: 20px auto;
background-color: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h1 {
text-align: center;
font-size: 20px;
}
.clock {
text-align: center;
font-size: 18px;
margin-bottom: 20px;
}
.date {
text-align: center;
font-size: 18px;
margin-bottom: 20px;
}
.task {
display: flex;
align-items: center;
margin-bottom: 10px;
}
.task input[type="checkbox"] {
margin-right: 10px;
}
.task label {
font-size: 15px;
}
.timeframe {
font-size: 15px;
margin-bottom: 20px;
}
.timeframe table {
width: 100%;
border-collapse: collapse;
}
.timeframe th, .timeframe td {
padding: 8px;
text-align: left;
border-bottom: 1px solid #ddd;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
}
.title {
display: flex;
align-items: center;
}
.title h1 {
margin-right: 20px;
}
.button-container {
display: flex;
justify-content: space-between;
margin-bottom: 20px; /* Optional margin to separate from other content */
}
#resetTasks {
background-color: #f44336;
color: white;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
}
#resetTasks:hover {
background-color: #d32f2f;
}
#printButton {
background-color: #4caf50;
color: white;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
}
#printButton:hover {
background-color: #388e3c;
}
/* Media Queries */
/* Small devices (phones, 576px and up) */
@media (min-width: 576px) {
.container {
padding: 20px;
}
}
/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
.container {
max-width: 600px;
}
}
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
.container {
max-width: 800px;
}
}
/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
.container {
max-width: 1000px;
}
}
/* Adjustments for smaller screens */
.header {
flex-direction: column;
align-items: flex-start;
}
.title h1 {
margin-bottom: 10px;
}
.task-white {
background-color: white;
}
.task-grey {
background-color: grey;
}