-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathq4js.css
109 lines (107 loc) · 1.79 KB
/
q4js.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
@charset "utf-8";
body {
background: black;
text-align: center;
margin: 0px;
padding: 0px;
font-family: sans-serif;
color: white;
}
.theme {
background: #66ab78;
}
#head {
k-background: linear-gradient(#666, #222);
color: white;
width: 100%;
padding: 1vh 0;
font-size: 5vw;
height: 4.4vh;
line-height: 4.4vh;
}
#main {
background: linear-gradient(#fff, #fff);
}
#ind {
height: 25.5vh;
line-height: 25.5vh;
font-size: 28vw;
font-weight: bold;
x-text-shadow: .2vh .2vh .2vh #999;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
padding: 2vh 0vh;
}
.indcorrect {
background: linear-gradient(#f22, #e60);
}
.indincorrect {
background: linear-gradient(#22f, rgb(23, 46, 122));
}
.indclear {
background: linear-gradient(#fd0, #e90);
}
#q {
height: 10vh;
font-size: 5vw;
padding: 0.5vh;
color: black;
}
#ans {
padding-bottom: 1vh;
}
#ans > div {
border-radius: .5vh .5vh;
x-border: .3vh solid black;
font-size: 5vw;
height: 7vh;
line-height: 7vh;
padding: .2vh;
margin: 3vh 2vh;
word-break: break-all;
background: #668ad8;
color: #FFF;
box-shadow: 0 0 0 1vh #668ad8;
border: dashed .3vh #FFF;
}
#ans > .disable {
background: gray;
color: white;
box-shadow: 0 0 0 1vh gray;
}
#ans > .correct {
background: #f22;
color: white;
box-shadow: 0 0 0 1vh #f22;
}
#credit {
x-background: linear-gradient(#444, #000);
color: #ddd;
text-align: center;
height: 3vh;
line-height: 3vh;
font-size: 2vw;
padding: 1vh;
}
#credit a {
color: #fff !important;
text-decoration: none;
}
/* for portrait mode */
@media (min-aspect-ratio: 3/4) {
#head {
font-size: 3vh;
}
#ind {
font-size: 20vh;
}
#q {
font-size: 4vh;
}
#ans > div {
font-size: 5vh;
}
#credit {
font-size: 2vh;
}
}