/
style.css
184 lines (162 loc) · 4.53 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
body {
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
margin-top: -50px;
}
div {
background-color: rgba(0, 0, 0, 0.05);
margin-bottom: 25px;
}
h1 {
font-size: xx-large;
background: linear-gradient(to right, red, orange, yellow, green, cyan, blue, violet);
color: transparent;
-moz-background-clip: text;
-webkit-background-clip: text;
-khtml-background-clip: text;
background-clip: text;
}
#canvas {
border: 1px solid;
}
select {
-moz-height: 37px;
-webkit-height: 37px;
-khtml-height: 37px;
height: 37px;
-moz-transform: translateY(-10px);
-webkit-transform: translateY(-10px);
-khtml-transform: translateY(-10px);
transform: translateY(-10px);
}
span {
display: inline-block;
margin-top: 15px;
margin-left: 15px;
-moz-height: 37px;
-webkit-height: 37px;
-khtml-height: 37px;
height: 37px;
}
button {
margin: 5px;
padding: 1em;
-moz-border-radius: 0.25em;
-webkit-border-radius: 0.25em;
-khtml-border-radius: 0.25em;
border-radius: 0.25em;
border: 1px solid;
-moz-transform: translateY(-10px);
-webkit-transform: translateY(-10px);
-khtml-transform: translateY(-10px);
transform: translateY(-10px);
}
footer {
position: fixed;
right: 15px;
bottom: 5px;
}
a {
text-decoration: none;
color: black;
}
/* phone sizes */
@media (max-width: 540px) {
body {
-moz-transform: scale(0.5);
-webkit-transform: scale(0.5);
-khtml-transform: scale(0.5);
transform: scale(0.5);
}
fieldset {
-moz-width: 385px;
-webkit-width: 385px;
-khtml-width: 385px;
width: 385px;
-moz-transform: scale(1.25) translateY(50px);
-webkit-transform: scale(1.25) translateY(50px);
-khtml-transform: scale(1.25) translateY(50px);
transform: scale(1.25) translateY(50px);
}
select {
-moz-height: 50px;
-webkit-height: 50px;
-khtml-height: 50px;
height: 50px;
-moz-transform: translateY(-21px);
-webkit-transform: translateY(-21px);
-khtml-transform: translateY(-21px);
transform: translateY(-21px);
}
span {
margin-left: 15px;
}
button {
margin: auto;
-moz-transform: translateX(125px);
-webkit-transform: translateX(125px);
-khtml-transform: translateX(125px);
transform: translateX(125px);
}
footer {
position: relative;
right: -232px;
bottom: -321px;
}
}
@media (orientation: landscape) and (max-width: 823px) {
h1 {
-moz-transform: translateY(200px) scale(0.75);
-webkit-transform: translateY(200px) scale(0.75);
-khtml-transform: translateY(200px) scale(0.75);
transform: translateY(200px) scale(0.75);
}
canvas {
-moz-transform: translateY(50px) scale(0.45);
-webkit-transform: translateY(50px) scale(0.45);
-khtml-transform: translateY(50px) scale(0.45);
transform: translateY(50px) scale(0.45);
}
fieldset {
-moz-transform: translateY(-100px) scale(0.75);
-webkit-transform: translateY(-100px) scale(0.75);
-khtml-transform: translateY(-100px) scale(0.75);
transform: translateY(-100px) scale(0.75);
}
footer {
display: none;
}
}
/* galaxy fold fix */
@media (orientation: landscape) and (width: 653px) and (height: 280px) {
canvas {
-moz-transform: translateY(40px) scale(0.45);
-webkit-transform: translateY(40px) scale(0.45);
-khtml-transform: translateY(40px) scale(0.45);
transform: translateY(40px) scale(0.45);
}
fieldset {
-moz-transform: translateY(-115px) scale(0.75);
-webkit-transform: translateY(-115px) scale(0.75);
-khtml-transform: translateY(-115px) scale(0.75);
transform: translateY(-115px) scale(0.75);
}
}
/* nest hub fix */
@media (orientation: landscape) and (min-width: 717px) and (max-width: 1366px) {
h1 {
-moz-transform: translateY(100px) scale(0.75);
-webkit-transform: translateY(100px) scale(0.75);
-khtml-transform: translateY(100px) scale(0.75);
transform: translateY(100px) scale(0.75);
}
canvas {
-moz-transform: translateY(32px) scale(0.75);
-webkit-transform: translateY(32px) scale(0.75);
-khtml-transform: translateY(32px) scale(0.75);
transform: translateY(32px) scale(0.75);
}
}