-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
115 lines (95 loc) · 1.76 KB
/
style.css
File metadata and controls
115 lines (95 loc) · 1.76 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
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
body {
background: #112;
color: #CCB;
font-family: sans-serif;
}
#container {
display: flex;
width: auto;
margin: auto;
flex-direction: column;
align-items: center;
}
.bold {
font-weight: bold;
}
.box {
background: #224;
border-radius: 5px;
padding: 10px;
margin-top: 10px;
box-shadow: 0px 3px rgba(0,0,0,1);
}
#canvases {
display: flex;
}
#canvases .canvas-container {
background: rgba(0,0,0,0.25);
padding: 10px;
border-radius: 5px;
display: flex;
align-items: center;
flex-direction: column;
}
#canvases .canvas-container:not(:last-child) {
margin-right: 10px;
}
.canvas-container p{
margin: 5 0;
}
.container {
display: flex;
width: 100%;
}
.btn-container {
padding-top: 10px;
}
button {
background: #CCB;
border: none;
border-radius: 5px;
box-shadow: 0px 3px rgba(0,0,0,1);
margin-right: 2px;
transition: all 100ms;
}
button:hover {
background: #FFF;
}
button:active {
background: #FFF;
transform: translateY(2px);
box-shadow: 0px 2px rgba(0,0,0,1);
}
.spacer {
width: 30px;
flex-grow: 1;
}
.reset {
background: rgb(236, 123, 123);
}
.reset:hover {
background: rgb(243, 173, 173);
}
canvas {
image-rendering: pixelated;
cursor: crosshair;
}
#photo {
border-radius: 5px;
position: relative;
width: 400px;
height: 400px;
background-size: contain;
perspective: 1000px;
}
.preview {
position: absolute;
top: 50%;
left: 50%;
transform-origin: center;
image-rendering: pixelated;
/*mix-blend-mode: lighten;*/
}
#output {
font-family: monospace;
}