-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
169 lines (143 loc) · 3.38 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
body{
font-family: Bad Script;
background: linear-gradient(to bottom, rgb(65, 63, 64), rgb(27, 26, 26), rgb(68, 65, 67)); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
h1{
text-transform: uppercase;
color:white;
margin: 0;
padding:10px 28px;
font-weight: normal;
margin-left: 20%;
}
/* Include the padding and border in an element's total width and height */
* {
box-sizing: border-box;
padding: 20px;
}
.formAddToDo{
display:flex;
flex-direction: row;
}
/* Remove margins and padding from the list */
/* Style the list items */
ul li {
cursor: pointer;
position: relative;
padding: 12px 8px 12px 40px;
list-style-type: none;
background: #eee;
font-size: 18px;
transition: 0.2s;
border-radius: 6px;
/* make the list items unselectable */
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
/* Set all odd list items to a different color (zebra-stripes) */
ul li:nth-child(odd) {
background: rgb(224, 224, 224);
}
/* Darker background-color on hover */
ul li:hover {
background: #ddd;
}
/* When clicked on, add a background color and strike out text */
span.checked {
color: rgb(73, 69, 69);
text-decoration: line-through;
}
/* Add a "checked" mark when clicked on */
span.checked::before {
content:'\2714';
position: absolute;
border-color: #fff;
border-width: 0 2px 2px 0;
top: 10px;
left: 16px;
transform: rotate(45deg);
}
h1{
position: relative;
bottom: 50px;
margin-bottom: 2%;
color: rgb(199, 148, 7);
}
h3{
position: absolute;
top: 40px;
left: 50px;
margin-left: 20%;
color:rgb(158, 56, 56);
}
.close {
position: absolute;
background-image: url('./asserts/delete.png');
background-size: 50px 50px;
right: 0;
top: 0;
padding: 12px 12px 12px 16px;
background-color: grey;
color:rgb(240, 179, 13);
margin: 0;
padding:28px 25px;
font-size: 15px;
font-weight: normal;
border-radius: 6px;
}
.close:hover {
background-color: #971f16;
color: white;
}
input[type="text"] {
width: 100%;
box-sizing: border-box;
border: 2px solid #ccc;
font-size: 16px;
background-color: rgb(224, 224, 224);
background-position: 10px 10px;
background-repeat: no-repeat;
padding: 15px 50px 12px 40px;
-webkit-transition: width 0.4s ease-in-out;
border-radius: 8px;
transition: width 0.4s ease-in-out;
font-family: Bad Script;
font-size: 30px;
}
input[type="submit"]{
background-color: grey;
position: relative;
font-size: 50px;
color:rgb(187, 77, 60);
margin: 0;
padding:10px 28px;
font-weight: normal;
border-radius: 8px;
}
.time{
position: absolute;
right: 10%;
bottom:-20%;
color:rgb(187, 77, 60);
padding:28px 40px;
font-size: 15px;
font-weight: normal;
border-radius: 6px;
}
.card {
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
transition: 0.3s;
background-color:rgb(199, 148, 7);
border-radius: 15px;
margin-left: 20%;
margin-right: 20%;
}
.card:hover {
box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}
::-webkit-input-placeholder {
color: grey;
font-size: 16px;
}