-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
126 lines (110 loc) · 1.91 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
position: relative;
background: #020024;
background: linear-gradient(90deg, #020024 0%, #090979 35%, #00d4ff 100%);
/* overflow: hidden; */
font-family: "Roboto", sans-serif;
display: flex;
justify-content: center;
align-items: center;
column-gap: 1rem;
}
.canvas-area {
border: 1px solid #f2f2f2;
width: 70vw;
height: calc(100vh - 20px);
margin: 10px 0;
position: relative;
}
.canvas-area.blocked::before {
content: attr(title);
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: #f2f2f2;
padding: 1rem 2rem;
font-size: 1rem;
color: #020024;
}
canvas {
display: block;
height: 100%;
width: 100%;
}
#canvas,
#imageCanvas {
position: absolute;
top: 0;
left: 0;
}
.actions {
display: flex;
align-self: flex-start;
flex-direction: column;
}
.github {
color: white;
font-size: 1.5rem;
padding: 0.4rem;
}
.github a {
text-decoration: none;
color: 090979;
}
button {
font-size: 1rem;
padding: 1.2rem;
background-color: #090979;
color: white;
cursor: pointer;
margin-bottom: 0.4rem;
display: block;
width: 250px;
text-transform: capitalize;
border: none;
outline: none;
}
button:hover {
filter: brightness(1.75);
}
button:active {
filter: brightness(1.95);
transform: scale(0.98);
}
select {
margin-bottom: 0.4rem;
padding: 1.2rem;
font-size: 1rem;
border: none;
background-color: #090979;
color: white;
width: 250px;
}
select::-ms-expand {
display: none;
}
select:hover {
border-color: #999;
}
select:focus,
button:focus {
outline: none;
box-shadow: 0 0 5px #f2f2f2;
}
select option {
background-color: #fff;
color: #333;
padding: 5px 10px;
}
select:disabled {
background-color: #f0f0f0;
color: #999;
cursor: not-allowed;
}