-
Notifications
You must be signed in to change notification settings - Fork 1
/
todo.css
198 lines (187 loc) · 4.06 KB
/
todo.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
@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Merriweather+Sans:wght@500&family=Pixelify+Sans:wght@600&display=swap');
body {
margin: auto ;
min-width: 250px;
/* max-width: 65%; */
background-repeat: no-repeat;
height: 100vh;
background-image: linear-gradient(135deg, #7367F0 10%, #CE9FFC 100%);
display: flex;
font-family: 'Merriweather Sans', sans-serif;
}
* {
box-sizing: border-box;
margin: 0px;
padding: 0px;
}
h1{
font-family: 'Lobster', cursive;
font-size: 40px;
}
.date{
font-size: 20px;
}
.svg1{
width: 16.5vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
/* transform: rotate(90deg); */
}
.yes{
width: 66vw;
height: 100vh;
/* background-color: blue; */
background-image: linear-gradient(135deg, #CE9FFC 10%, #7f74f6 100%);
display: flex;
flex-direction: column;
align-items: center;
}
ul {
display: none;
margin: 0;
padding: 0;
height: calc(100vh - 220px);
overflow: auto;
width: 65vw;
}
.image, .img{
display: block;
width: 65vw;
height: calc(100vh - 220px);
}
.img{
display: flex;
justify-content: center;
align-items: center;
}
ul li {
cursor: pointer;
position: relative;
padding: 12px 8px 12px 40px;
list-style-type: none;
background: #67c5ad;
font-size: 18px;
color: white;
transition: 0.2s;
border-radius: 5px;
/* make the list items unselectable */
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
/* Set zebra-stripes: all odd list items to a different color */
ul li:nth-child(odd) {
background: #70d6bd;
}
ul li:hover {
background: #69f3d0;
}
ul li.checked {
background: teal;
color: white;
text-decoration: line-through;
}
ul li.checked::before {
content: '';
position: absolute;
border-color: #fff;
border-style: solid;
border-width: 0 2px 2px 0;
top: 10px;
left: 16px;
transform: rotate(45deg);
height: 15px;
width: 7px;
}
/* Style the close button */
.close {
position: absolute;
right: 0;
top: 0;
padding: 12px 16px 12px 16px;
}
.close:hover {
background-color: crimson;
color: white;
}
.header {
background-image: linear-gradient(135deg, #FFD3A5 10%, #FD6585 100%);
padding: 20px 40px;
width: 65vw;
color: white;
text-align: center;
border-radius: 16em / 2em 12em;
}
.header:after {
content: "";
display: table;
clear: both;
}
.inputsection{
height: 45px;
width: 65vw;
margin-top: 15px;
background-image: linear-gradient(135deg, #69FF97 10%, #00E4FF 100%);
display: flex;
justify-content: space-around;
align-items: center;
border-radius: 5px;
}
input {
margin: 0;
border: none;
/* border-radius: 5px; */
width: 75%;
padding: 10px;
float: left;
font-size: 16px;
outline: 0;
background-color: transparent;
}
.addBtn {
padding: 10px;
width: 15%;
background: navajowhite;
color: #555;
float: left;
text-align: center;
font-size: 16px;
cursor: pointer;
transition: 0.3s;
border-radius: 0;
}
.addBtn:hover {
background-color: #bbb;
}
#clear-list{
display: none;
width: 25%;
font-weight: bold;
font-style: italic;
font-size: xx-large;
border-style: none;
font-family: "Times New Roman";
margin: 10px 37.5%;
background-color: darkblue;
color: white;
}
#clear-list:hover{
background-color: blue;
color: white;
}
@media screen and (max-width: 995px){
.svg1{
display: none;
}
.header, .inputsection, .header, .image, .img, ul{
width: 98vw;
}
.yes{
min-width: 500px;
width: 100vw;
/* height: 98vh; */
}
}