generated from codersforcauses/todo-app-vanilla
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
113 lines (93 loc) · 1.92 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
body {
background-color: #49B749;
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}
.todo-wrapper {
margin-top: 50px;
background-color: #fff;
border-radius: 15px;
margin-left: auto;
margin-right: auto;
padding: 30px;
font-weight: 300;
}
.todo-wrapper h2 {
margin: 0;
}
.todo-wrapper p {
font-style: italic;
color: #666;
margin: 5px 0;
}
.todo-wrapper ol {
margin: 20px 0;
}
.todo-wrapper ol li {
margin: 5px 0;
padding: 3px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-transition: all 0.5s ease-out;
transition: all 0.5s ease-out;
}
.todo-wrapper ol li:nth-child(even) {
background: #ddd;
}
.todo-wrapper .completed {
text-decoration: line-through;
color: #666;
}
.todo-wrapper .pretty-button {
margin: 10px 2px;
padding: 5px 20px;
border-radius: 15px;
background-color: #0093D5;
border: none;
color: #fff;
text-align: center;
display: inline-block;
font-size: small;
}
.todo-wrapper .pretty-button:hover {
cursor: pointer;
opacity: 0.75;
}
.todo-wrapper input {
padding: 3px 6px;
}
.todo-wrapper form {
display: inline-block;
}
#control-wrapper {
text-align: center;
display: flex;
flex-wrap: wrap;
justify-content: space-around;
}
.todo-wrapper #clear-button {
background-color: #49B749;
}
.todo-wrapper #empty-button {
background-color: #9B1C20;
}
.todo-wrapper #save-button {
background-color: #49B749;
}
@media only screen and (min-width: 1400px) {
.todo-wrapper {
width: 50%;
}
.todo-wrapper input {
width: 600px;
}
}
@media only screen and (max-width: 1399px) and (min-width: 750px) {
.todo-wrapper {
width: 75%;
}
.todo-wrapper input {
width: 400px;
}
}