-
Notifications
You must be signed in to change notification settings - Fork 1
/
stylesheet.css
66 lines (55 loc) · 1014 Bytes
/
stylesheet.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
html {
scrollbar-width: none;
}
body {
margin: 0;
}
hr {
margin-top: 0;
margin-left: 0.5%;
margin-right: 0.5%;
}
div#mode-indicator {
display: inline-block;
font-weight: bold;
width: 1%;
}
table#result-list {
padding-left: 0.5%;
padding-right: 0.5%;
width: 100%;
}
table#result-list tr {
display: block;
border-radius: 0.15em;
width: 100%;
/*offset when scrolling at the top*/
scroll-margin-top:2.2em;
}
table#result-list td:nth-child(1) {
padding-top: 1%;
width: 100%;
}
table#result-list td:nth-child(1) ~ td {
display: none;
}
form#find-form {
/* keeps the input field at the top
higher z-index => drawn on top of the rest*/
position: sticky;
top:0;
z-index:2;
}
div#form {
padding-top: 0.5%;
padding-bottom: 0.5%;
padding-left: 0.5%;
padding-right: 0.5%;
}
input#find-input {
border: none;
width: 98%;
display: inline-block;
margin-left: auto;
margin-right: auto;
}