Repository navigation
Expand file tree
/
Copy pathindex.css
More file actions
114 lines (99 loc) · 2.13 KB
/
Copy pathindex.css
File metadata and controls
114 lines (99 loc) · 2.13 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
@import url('https://fonts.googleapis.com/css2?family=Alata&family=Roboto&family=RobotoMono&display=swap');
:root {
--max-width: 600px;
--fg-color: #FFF5E6;
--bg-color: #001426;
--bg-light-color: #001B33;
--bg-dark-color: #000C17;
--primary-color: #FFBC52;
--border-radius: 0.8em;
}
body {
background-color: var(--bg-dark-color);
color: var(--fg-color);
font-family: 'Roboto', sans-serif;
margin: 0;
padding: 0;
line-height: 1.6em;
}
h1, h2, h3 {
color: var(--primary-color);
font-family: 'Alata', sans-serif;
margin-top: 2em;
}
a, a:visited {
color: inherit;
}
input[type="text"] {
background-color: var(--fg-color);
color: var(--bg-color);
border-style: none;
border: none;
padding: 0.5em;
font-family: inherit;
font-size: 1em;
}
input[type="color"] {
border: none;
}
button {
font-family: 'Alata', sans-serif;
background-color: var(--primary-color);
padding: 1em;
border-style: none;
font-size: 1em;
cursor: pointer;
}
#app {
box-shadow: 0 0 1em black;
margin: 2em auto;
max-width: var(--max-width);
border-radius: var(--border-radius);
}
@media screen and (max-width: 600px) {
:root {
--border-radius: 0;
}
#app {
margin: 0;
}
}
header {
padding: 1em;
text-align: center;
background-color: var(--bg-light-color);
border-top-left-radius: var(--border-radius);
border-top-right-radius: var(--border-radius);
margin-bottom: 1px;
}
main {
padding: 2em;
border-bottom-left-radius: var(--border-radius);
border-bottom-right-radius: var(--border-radius);
background-color: var(--bg-color);
}
footer {
padding: 1em;
margin: 3em auto;
text-align: center;
text-shadow: 0 0 0.6em black;
max-width: var(--max-width);
}
#image-preview {
position: relative;
height: 200px;
width: 200px;
margin: 1em 0;
}
#image-preview img,
#image-preview svg {
position: absolute;
top: 0;
left: 0;
}
#canvas-image {
/* for debugging purpose you can make it visible */
display: none;
height: 200px;
width: 200px;
}