-
Notifications
You must be signed in to change notification settings - Fork 1
/
media.css
105 lines (98 loc) · 1.81 KB
/
media.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
/* screens */
/* chrome */
@media (hover: none) and (orientation: landscape) {
#idCenter, #idSplash {
max-width: calc(90.3vh - 76px);
}
}
@media (hover: none) and (orientation: portrait) {
#idSplash {
max-width: calc(90.3vh - 90px);
}
}
@media (hover: none) and (orientation:landscape) {
.thx {
display: none;
}
}
/* FF */
@media (-moz-touch-enabled: 1) and (orientation: landscape) {
#idCenter, #idSplash {
max-width: calc(90.3vh);
}
}
@media (-moz-touch-enabled: 1) and (orientation: portrait) {
#idCenter, #idSplash {
max-width: 72.3vh ;
}
#wrapper {
max-height: 80%;
}
}
@media (-moz-touch-enabled: 1) and (orientation:landscape) {
.thx {
display: none;
}
}
/* panels */
/* chrome */
@media (hover: none) and (orientation: portrait) {
.panel {
transform: translateY(-57%) scale(0.8);
}
#right-panel {
margin-left: -30%;
}
#left-panel {
margin-left: -156px;
}
}
/* FF */
@media (-moz-touch-enabled: 1) and (orientation: portrait) {
.panel {
transform: translateY(-60%);
}
#right-panel {
margin-left: -260px;
}
#left-panel {
margin-left: -166px;
}
.folded {
margin-left: -2.5%;
}
}
/* onload FF fix */
@media (-moz-touch-enabled: 1) {
#idloader {
display: none;
}
}
/* common */
@media (hover:hover), (-moz-touch-enabled: 0) {
.dynamic #left-panel {
margin-left: calc((100vw - (90.3vh + 176px * 2)) / 2);
}
.folded #left-panel {
margin-left: -176px;
}
}
@media (hover:none),(-moz-touch-enabled: 1) {
.mobile {
display: block;
}
.desktop {
display: none;
}
}
@media (hover:none), (-moz-touch-enabled:1) {
.title {
height:10%;
margin-top: calc(3vh);
}
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
#idLeaderboards td:first-of-type {
font-weight: bold;
}
}