-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtodo.css
125 lines (119 loc) · 2.27 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
body {
padding: 0%;
margin: 0%;
font-family: Arial, Helvetica, sans-serif;
}
.true {
text-decoration: line-through;
}
.delete {
transform: translateX(500px);
transition-duration: 1s;
}
.delete,
.newitem {
display: flex;
}
#listview {
margin-top: 20px;
}
#listView > :nth-child(2n + 1) {
background-color: rgb(241, 253, 253);
}
.newitem > button {
background-color: pink;
font-size: 0.9rem;
border-radius: 5px;
box-shadow: 1px 1px 5px 0.4px red;
}
.delete > :nth-child(n),
.newitem > :nth-child(n) {
border: 5px;
margin: 10px;
padding: 5px;
}
.delete > :nth-child(2),
.newitem > :nth-child(2) {
width: 450px;
overflow: scroll;
overflow-wrap: normal;
overflow: hidden;
}
#search {
position: sticky;
top: 0px;
width: 100%;
text-align: center;
/* height: 100px; */
background-color: blueviolet;
padding: 10px;
}
#foot {
position: fixed;
bottom: 0px;
background-color: blueviolet;
padding: 10px;
width: 100%;
text-align: center;
}
#foot a {
color: white;
text-decoration: none;
}
#foot>a:hover{
text-decoration: underline;
}
#search > h1 {
color: white;
font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
font-weight: 100;
font-style: italic;
font-family: Georgia, "Times New Roman", Times, serif;
letter-spacing: 1px;
}
#search > div {
display: flex;
align-items: center;
justify-content: center;
}
#search > div > input {
padding: 7px 20px;
font-size: 1.1rem;
border-radius: 10px;
border: none;
outline: none;
outline: darkcyan;
color: rgb(40, 0, 40);
}
#search > input:focus-within {
background-color: rgb(255, 255, 255);
}
#search > div > button {
padding: 7px 20px;
font-weight: bold;
font-size: 1.1rem;
margin-left: 10px;
background-color: pink;
border-radius: 13px;
color: rgb(49, 2, 2);
border: 1px solid rgb(230, 55, 189);
box-shadow: 0.1px 0.1px 4px 0.1px white;
font-family: cursive;
}
#search > div > button:hover {
color: white;
background-color: green;
box-shadow: 0.1px 0.1px 4px 0.1px white;
border: 1px solid transparent;
}
#container {
display: flex;
flex-direction: column;
align-items: center;
}
@media all and (min-width: 180px) and (max-width: 580px) {
.delete > :nth-child(2),
.newitem > :nth-child(2) {
width: 250px;
}
}