forked from matkl/average-color
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
89 lines (75 loc) · 1.09 KB
/
style.css
File metadata and controls
89 lines (75 loc) · 1.09 KB
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
body {
background: white;
color: black;
font-family: 'Open Sans', sans-serif;
margin: 40px auto;
max-width: 720px;
padding: 0 40px;
}
p.intro {
color: gray;
}
h1 {
font-size: 2.5em;
font-weight: 300;
text-align: center;
}
h2 {
font-weight: 300;
text-align: center;
}
#colors {
text-align: center;
}
.color {
height: 40px;
width: 40px;
display: inline-block;
margin-left: 10px;
}
.highlighted {
height: 80px;
}
#target {
border: 2px dashed #ccc;
color: #ccc;
font-size: 1.5em;
line-height: 4;
text-align: center;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.row {
margin: 20px 0;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
}
.cell {
box-sizing: border-box;
width: 50%;
}
.image img {
display: block;
max-width: 100%;
}
.color {
padding: 0 0 0 20px;
}
.color ul {
margin: 0;
padding: 10px;
list-style-type: none;
text-align: center;
}
.box {
height: 80px;
}
#footer {
margin: 40px 0;
text-align: center;
}