-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
84 lines (70 loc) · 1.08 KB
/
style.css
File metadata and controls
84 lines (70 loc) · 1.08 KB
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
* {
box-sizing: border-box;
}
body {
min-height: 100%;
height: 100%;
text-align: center;
font-family: sans-serif;
}
h1 {
font-size: 8vh;
}
#qunit {
height: 30%;
bottom: 0;
}
#main {
width: 80vw;
margin-left: auto;
margin-right: auto;
}
#search {
width: 100%;
height: 10vh;
font-size: 8vh;
}
#search:focus {
outline-width: 0;
}
.suggestion {
width: 100%;
font-size: 6vh;
margin: 0;
}
.suggestion > * {
margin: 0;
padding: 1.5vh;
}
.suggestion:nth-of-type(2n-1) {
background-color: lightblue;
}
.definition {
max-height: 0;
font-size: 4vh;
overflow: hidden;
padding: 0;
-webkit-transition: max-height 1s linear;
transition: max-height 1s linear;
-webkit-transition: padding 0.1s linear;
transition: padding 0.1s linear;
}
.definition.show {
max-height:300px;
overflow: auto;
-webkit-transition: all 3s;
transition: all 3s;
padding-bottom: 2vh;
}
.button {
position: absolute;
top: 2.5vh;
right: 10vw;
}
.hidden {
display: none;
}
.highlight {
color: #c0c;
font-weight: bold;
}