-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtodos.css
95 lines (82 loc) · 1.52 KB
/
todos.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
body
{
font-family: Roboto;
background: #59C173; /* fallback for old browsers */
background: -webkit-linear-gradient(to left, #5D26C1, #a17fe0, #59C173); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to left, #5D26C1, #a17fe0, #59C173); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
h1
{
background: #2980b9;
color: white;
margin: 0;
padding: 10px 20px;
text-transform: uppercase;
font-size: 24px;
font-weight: 400;
}
span
{
background: #e74c3c;
height: 40px;
margin-right: 20px;
text-align: center;
color: white;
width: 0;
display: inline-block;
transition: 0.2s linear;
opacity: 0;
}
ul
{
list-style: none;
margin: 0;
padding: 0;
}
li
{
background: #fff;
height: 40px;
line-height: 40px;
color: #666;
}
.fa-plus
{
float: right;
}
li:nth-child(2n)
{
background: #f7f7f7;
}
li:hover span
{
width: 40px;
opacity: 1.0;
}
input
{
font-size: 18px;
color: #2980b9;
background-color: #f7f7f7;
width: 100%;
padding: 13px 13px 13px 20px;
box-sizing: border-box;
border: 3px solid rgba(0, 0, 0, 0);
}
input:focus
{
background: #fff;
border: 3px solid #2980b9;
outline: none;
}
#container
{
width: 360px;
margin: 100px auto;
background: #f7f7f7;
box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
}
.completed {
color: gray;
text-decoration: line-through;
}