-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathq-place.css
102 lines (86 loc) · 1.46 KB
/
q-place.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
@font-face {
font-family: Lexend; src: url('Lexend-Regular.ttf');
}
body {
background-color: #070d19;
margin: 0;
}
table, tr, td {
margin: 0;
padding: 0;
border: none;
border-collapse: collapse;
}
td {
width: 1%;
height: 1%;
box-sizing: border-box;
}
img {
width: 24px;
height: 24px;
vertical-align: middle;
}
#pixel-art {
position: relative;
margin: 0 auto; /* Center the pixel-art */
/* Width and height will be set dynamically via JavaScript */
}
#pixel-art table {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-collapse: collapse;
}
#top-bar {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
padding: 10px;
background-color: #1c2331;
color: DodgerBlue;
font-family: Lexend;
/* Remove position: fixed */
}
#slider-bar {
display: flex;
justify-content: center;
align-items: center;
padding: 10px;
background-color: #1c2331;
/* Remove position: fixed */
}
/* Styles for the labels */
#top-bar span {
margin-right: 10px;
color: DodgerBlue;
}
#top-bar input[type="color"] {
margin-left: 10px;
}
#top-bar button {
margin-left: 10px;
}
#slider-bar input[type="range"] {
width: 95%;
margin: 0;
}
@media (max-width: 600px) {
#top-bar, #slider-bar {
padding: 5px;
}
#top-bar span {
font-size: 12px;
margin-right: 5px;
}
#top-bar button, #top-bar input[type="color"] {
margin-left: 5px;
font-size: 12px;
}
#slider-bar input[type="range"] {
width: 100%;
}
}