-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
119 lines (100 loc) · 1.9 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
/* Reset some basic elements to provide a consistent baseline */
body, h1, h2, ul, li, form, input {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Apply basic styling to the body */
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
color: #333;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
}
/* Hide elements with the 'hidden' class */
.hidden {
display: none;
}
/* Style the clock */
#clock {
font-size: 48px;
margin: 20px 0;
}
/* Style the greeting */
#greeting {
font-size: 36px;
margin: 10px 0;
}
/* Style the to-do form */
#todo-form {
margin: 20px 0;
}
#todo-form input {
padding: 10px;
font-size: 16px;
width: 300px;
border: 1px solid #ccc;
border-radius: 4px;
}
/* Style the to-do list */
#todo-list {
list-style: none;
margin-top: 20px;
padding: 0;
width: 300px;
}
/* 가운데 정렬을 위한 추가 스타일 */
#todo-list li {
text-align: center;
margin: 10px 0;
}
#todo-list li {
background-color: #fff;
padding: 10px;
margin: 5px 0;
border: 1px solid #ccc;
border-radius: 4px;
display: flex;
justify-content: space-between;
align-items: center;
}
/* Style the quote section */
#quote {
margin: 20px 0;
text-align: center;
}
#quote span:first-child {
display: block;
font-size: 18px;
font-style: italic;
}
#quote span:last-child {
display: block;
font-size: 16px;
margin-top: 5px;
}
/* Style the weather section */
#weather {
margin: 20px 0;
text-align: center;
}
#weather span {
display: block;
font-size: 16px;
}
/* Additional styling for overall layout and responsiveness */
@media (max-width: 600px) {
body {
padding: 20px;
}
#todo-form input {
width: 100%;
}
#todo-list {
width: 100%;
}
}