-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
124 lines (108 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
html,
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
}
.App {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 1rem;
margin-top: 2rem;
}
.painting,
.row,
.col {
display: flex;
gap: calc(min(0.025 * 80vw, 0.025 * (50vh - 2rem)));
align-items: stretch;
align-content: space-between;
}
@media (min-aspect-ratio: 1/1) {
.painting {
width: calc(min(80vh, 60vw - 2rem)) !important;
height: calc(min(80vh, 60vw - 2rem)) !important;
}
}
.painting {
background-color: black;
width: calc(min(80vw, 60vh - 2rem));
height: calc(min(80vw, 60vh - 2rem));
max-width: 500px !important;
max-height: 500px !important;
}
.row {
flex-direction: row;
}
.col {
flex-direction: column;
}
.d-flex {
display: flex;
}
.justify-content-center {
justify-content: center;
}
.align-items-center {
align-items: center;
}
.colors {
display: flex;
gap: 2vw;
max-width: 35rem;
justify-content: center;
}
.color {
margin: 0.1rem;
padding: 0;
outline: 0.1rem solid black;
border-radius: 50%;
cursor: pointer;
align-self: center;
min-width: 1rem;
min-height: 1rem;
max-width: 3rem;
max-height: 3rem;
svg {
padding: 1vw;
width: 100%;
height: 100%;
}
}
.user-count {
align-self: flex-end;
padding: 0.5rem;
background-color: gray;
color: white;
border-radius: 0.5rem 0 0 0.5rem;
display: flex;
gap: 0.5rem;
align-items: center;
justify-content: center;
}
.qr-container {
display: flex;
width: 100%;
justify-content: start;
}
select {
font-size: 14pt;
padding: 0.2rem 1em;
text-align: start;
background-color: transparent;
border: 0.075rem solid black;
border-radius: 0.4rem;
cursor: pointer;
/* border: none; */
/* border-bottom: 2px solid #dddddd; */
}
@media screen and (min-width: 50rem) {
.colors {
gap: 1rem;
}
.color svg {
padding: 0.5rem !important;
}
}