This repository has been archived by the owner on Apr 3, 2019. It is now read-only.
/
styles.css
186 lines (174 loc) · 5.43 KB
/
styles.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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
* {
margin: 0;
padding: 0;
}
footer, section, header, aside, figure {
display: block;
}
html {
background: -moz-linear-gradient(#fff,#ccc);
height:100% ;
}
h1 {
text-transform: uppercase;
color: #030;
}
body {
font-size: 15px;
font-family: calibri,helvetica, arial, sans-serif;
}
section form {
background: #333;
color: #fff;
border-radius: 5px;
padding: 5px 10px;
position: relative;
font-size:20px;
text-transform: uppercase;
}
section form{
background: #4c4c4c; /* Old browsers */
background: -moz-linear-gradient(top, #4c4c4c 0%, #595959 12%, #666666 25%, #474747 39%, #2c2c2c 50%, #000000 51%, #111111 60%, #2b2b2b 76%, #1c1c1c 91%, #131313 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4c4c4c), color-stop(12%,#595959), color-stop(25%,#666666), color-stop(39%,#474747), color-stop(50%,#2c2c2c), color-stop(51%,#000000), color-stop(60%,#111111), color-stop(76%,#2b2b2b), color-stop(91%,#1c1c1c), color-stop(100%,#131313)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#000000 51%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#131313 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#000000 51%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#131313 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#000000 51%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#131313 100%); /* IE10+ */
background: linear-gradient(top, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#000000 51%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#131313 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c4c4c', endColorstr='#131313',GradientType=0 ); /* IE6-9 */
}
#newitem {
width: 70%;
font-size: 20px;
}
#todolist {
margin: 10px 10px;
}
#todolist li {
font-size: 24px;
border-radius: 2px;
list-style: none;
background: #eee;
padding: 5px 10px;
margin-bottom: 5px;
position: relative;
}
#todolist li:nth-child(2n) {
background: #ccc;
}
#todolist li:hover:after,
#todolist li.done:after {
content: '✔';
color: #060;
position: absolute;
right: 5px;
}
#todolist li.done:hover:after {
content: 'x';
font-weight: bold;
color: #c00;
position: absolute;
right: 5px;
}
h1 span {
font-size: 14px;
color: #030;
}
header {
position: relative;
background: #000;
padding: 10px 5px;
margin-bottom: 30px;
box-shadow: 4px 4px 10px rgba(0,0,0,0.3);
}
header{
background: #a4b357; /* Old browsers */
background: -moz-linear-gradient(top, #a4b357 0%, #75890c 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a4b357), color-stop(100%,#75890c)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #a4b357 0%,#75890c 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #a4b357 0%,#75890c 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #a4b357 0%,#75890c 100%); /* IE10+ */
background: linear-gradient(top, #a4b357 0%,#75890c 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a4b357', endColorstr='#75890c',GradientType=0 ); /* IE6-9 */
}
header li.browserid {
display: none;
}
header form {
margin-left: 50px;
}
header button, input[type="submit"]{
font-size: 20px;
color: #fff;
text-transform: uppercase;
border: none;
border-radius: 5px;
background: transparent;
}
section form input[type="submit"]{
position: absolute;
color: #000;
right: 5px;
top: 7px;
background: #bfd255; /* Old browsers */
background: -moz-linear-gradient(top, #bfd255 0%, #8eb92a 50%, #72aa00 51%, #9ecb2d 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#bfd255), color-stop(50%,#8eb92a), color-stop(51%,#72aa00), color-stop(100%,#9ecb2d)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #bfd255 0%,#8eb92a 50%,#72aa00 51%,#9ecb2d 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #bfd255 0%,#8eb92a 50%,#72aa00 51%,#9ecb2d 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #bfd255 0%,#8eb92a 50%,#72aa00 51%,#9ecb2d 100%); /* IE10+ */
background: linear-gradient(top, #bfd255 0%,#8eb92a 50%,#72aa00 51%,#9ecb2d 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bfd255', endColorstr='#9ecb2d',GradientType=0 ); /* IE6-9 */
}
#container{
width: 100%;
margin: 0 auto;
}
#todo{
width: 700px;
margin: 0 auto;
}
header nav {
position: absolute;
right: 10px;
top :15px;
}
nav ul {
}
nav li {
float:left;
list-style:none;
text-align: center;
}
nav a {
color: #000;
text-transform: uppercase;
font-size: 20px;
text-decoration: none;
padding:0px 10px;
display:block;
}
#info {
width: 700px;
margin: 0 auto;
}
#info header {
background: none;
box-shadow: none;
margin: 0 0 10px 0;
}
#info h1 {
border-bottom: 5px solid #999;
color: #000;
margin-top: 20px;
}
#info p {
font-size: 18px;
padding: 0 10px 10px 10px;
}
footer {
text-align: center;
margin: 50px auto;
font-size: 12px;
width: 680px;
border-top: 2px solid #ccc;
padding-top: 10px;
}