-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
208 lines (174 loc) · 3.78 KB
/
style.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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
body{
margin: 0;
}
div {
border: 0px;
}
@media screen and (min-width:400px) and (min-height:650px){
a {
display: inline-block;
}
a.rm {
position: absolute;
right: 0;
}
hr {
opacity: 0.2;
}
object{
pointer-events: none;
background-color: white;
border-radius: 50px;
margin: 0;
transition: all linear 0.1s;
}
ul{
list-style: none;
padding-left: 0px;
margin: 2px 5px 18px 5px;
}
li._todolist{
padding-bottom: 18px;
position: relative;
}
/* 진짜 체크박스 */
input[type = "checkbox"] {
width: 0;
height: 0;
padding: 0;
margin: -1px;
border: 0;
}
input[type="checkbox"] + label {
display: inline-block;
position: relative;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
}
input[type="checkbox"]:checked + label {
color: #cacece;
}
/* 가짜 체크박스 */
input[type="checkbox"] + label:before {
content: ' ';
display: inline-block;
width: 21px;
/* 체크박스의 너비를 지정 */
height: 21px;
/* 체크박스의 높이를 지정 */
line-height: 25px;
/* 세로정렬을 위해 높이값과 일치 */
margin: -2px 8px 0 0;
text-align: center;
vertical-align: middle;
background: #ffffff;
border: 1px solid #cacece;
border-radius : 15px;
/* 출처: https: //webdir.tistory.com/433 [WEBDIR]*/
}
input[type="checkbox"]:checked + label:before {
content: '\2713';
/* 체크표시 유니코드 사용 */
color: #04B486;
border-color: #04B486;
font-size: 20px;
text-align: center;
}
/* 출처: https: //webdir.tistory.com/433 [WEBDIR]*/
input[type="text"] {
position: absolute;
left: 10%;
top: 35%;
width: 80%;
line-height: 2.5em;
}
.background{
width: 100%;
height: 100%;
left: 0;
top: 0;
margin: 0;
background-color: #ecedee;
display: flex;
align-items: center;
justify-content: center;
}
.error{
visibility: hidden;
display: none;
}
.main-box{
background-color: #ffffff;
border-radius: 10px;
position: absolute;
height: 600px;
width: 400px;
overflow-y: hidden;
visibility: visible;
}
.sub-box{
padding-left: 7%;
padding-right: 7%;
}
.external-box{
background-color: #cacece;
position: absolute;
top:80%;
width: 100%;
height: 20%;
}
.toggle-wrapper {
position: relative;
top:300px;
}
#body{
height: 70%;
overflow: auto;
margin: 20px 0px;
}
#tail{
}
#date{
border-radius: inherit;
padding-top: 20px;
}
h2#ymd{
margin-bottom: 0px;
color: #2E2E2E;
}
p#day {
margin-top: 5px;
color: gray;
}
#remainder {
color: #04B486;
}
#remainder > b > p {
padding-top: 15px;
}
}
@media not screen and (min-width:400px) and (min-height:650px){
.background{
width: 100%;
height: 100%;
left: 0;
top: 0;
margin: 0;
background-color: #FFFFFF;
display: flex;
align-items: center;
justify-content: center;
}
.error{
text-align: center;
position: absolute;
}
.main-box{
visibility: hidden;
}
.toggle-wrapper{
visibility: hidden;
}
}