-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
83 lines (72 loc) · 1.46 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
body {
font-family: 'Roboto', sans-serif;
background: #BE93C5; /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #7BC6CC, #BE93C5); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #7BC6CC, #BE93C5); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
#container {
width: 360px;
margin: 100px auto;
background: #f0f0f0;
box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
}
h1 {
background: #2980b9;
color: #fff;
text-transform: uppercase;
margin: 0;
padding: 10px 20px;
font-size: 24;
font-weight: 400;
}
#new_note_input {
color: #2980b9;
background: #f0f0f0;
border: none;
font-size: 18px;
width: 100%;
padding: 13px 13px 13px 20px;
box-sizing: border-box;
}
#new_note_input:focus {
background: #fff;
border: 3px solid steelblue;
outline: none;
}
.hide {
display: none;
}
#notes_list {
list-style: none;
padding: 0;
margin: 0;
}
li {
background: #fff;
height: 40px;
line-height: 40px;
color: #666;
font-weight: 600;
}
li:nth-of-type(2n) {
background: #f0f0f0;
}
span {
opacity: 0;
background: #e70323;
height: 40px;
margin-right: 20px;
text-align: center;
display: inline-block;
width: 0px;
transition: 0.2s linear;
}
li:hover span {
width: 40px;
color: white;
opacity: 1;
}
.done {
color: gray;
text-decoration: line-through;
}