forked from codepo8/canvasthumber
/
styles.css
110 lines (110 loc) · 1.63 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
* {
margin: 0;
padding: 0;
}
body {
font-size: 15px;
font-family: helvetica, arial, sans-serif;
padding: 2em;
}
footer, section, output, header, aside, figure {
display: block;
}
a {
color: #060;
}
h1 {
font-size: 24px;
padding-bottom: 10px;
}
.dragdrop #dropzone {
width: 250px;
height: 250px;
border-radius: 10px;
border: 2px dotted #393;
background: #cfc;
color: #393;
text-align: center;
line-height: 200px;
float: left;
margin-right: 10px;
}
.dragdrop output {
width: 520px;
display: block;
float: left
}
output img {
margin: 5px;
display: block;
float: left;
}
footer {
clear:both;
}
section, header, footer {
width: 800px;
}
input[type=number] { width: 3em; }
input[type=checkbox] { margin-right: 10px }
label {
padding-right: 10px;
font-weight: bold;
}
#bg {
width: 5em;
}
.jpeg {
opacity: 0.2;
-webkit-transition: 1s;
-moz-transition: 1s;
-ms-transition: 1s;
-o-transition: 1s;
transition: 1s;
}
.crop {
opacity: 1;
-webkit-transition: 1s;
-moz-transition: 1s;
-ms-transition: 1s;
-o-transition: 1s;
transition: 1s;
}
.cropon .crop {
opacity: 0.2;
}
.jpegon .jpeg {
opacity: 1;
}
.options {
background: #060;
color: #fff;
border-radius: 5px;
margin: 1em 0;
padding: 5px 10px;
box-shadow: 4px 4px 10px rgba(0,0,0,0.8);
}
h1 {
text-transform: uppercase;
color: #333;
letter-spacing: -1px;
}
output img {
display:block;
}
output img:hover {
box-shadow: 0 0 5px 5px #ccc;
border: 1px solid #999;
}
h2 {
font-size: 12px;
}
footer {
clear: both;
text-align: right;
padding: 50px 0 20px 0;
font-size: 12px;
}
footer a {
color: #000;
}