forked from karbassi/imageinfo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
112 lines (83 loc) · 1.31 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
* {
box-sizing: border-box;
}
html,
body {
height: 100%;
margin: 0;
padding: 0;
}
body {
color: #191919;
background-color: #F8F8F8;
font-family: "Anonymous Pro", monospace;
font-size: 16px;
text-rendering: optimizeLegibility;
}
body.hover {
background-color: #DDDDDD;
}
body.active #canvas {
margin: 0 auto;
}
.wrapper {
display: grid;
height: 100%;
text-align: center;
align-items: center;
justify-content: center;
}
.info h1 {
height: 1em;
margin: 0;
padding: 0;
font-size: 5vw;
font-weight: normal;
font-style: normal;
line-height: 1;
}
.info h2 {
font-size: 3vw;
}
.error {
color: #990000;
}
.result {
position: fixed;
top: 10px;
right: 10px;
width: 250px;
margin: 0 auto;
padding: 3px;
text-align: left;
border: 1px dashed #DDDDDD;
background: #FFFFFF;
}
.text {
float: left;
}
.color {
float: left;
width: 50px;
height: 50px;
margin: 1em;
border: 1px solid #111111;
background: #DDDDDD;
}
#canvas {
padding: 20px;
border: 3px dashed #191919;
}
/* Hide when active */
body.active .info,
.canvas,
.result {
display: none;
}
/* Show when active */
body.active .result {
display: block;
}
body.active .canvas {
display: grid;
}