/
style.css
67 lines (58 loc) · 1.4 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
body { margin: 0; }
#hopsList {
position: fixed;
top: 6em;
left: 0;
padding: 10px;
background-color: rgba(0, 0, 0, 0.2); /* light black */
color: white; /* text color */
border: 1px solid #dee2e6;
max-height: 50vh; /* half of the screen height */
overflow-y: auto;
border-radius: 15px; /* rounded corners */
direction: rtl; /* right-to-left text direction */
unicode-bidi: bidi-override; /* counteract the text direction change */
scrollbar-width: thin; /* for Firefox */
scrollbar-color: rgba(255, 255, 255, 0.1) rgba(0, 0, 0, 0.2); /* for Firefox */
}
/* For Chrome, Safari, and Opera */
#hopsList::-webkit-scrollbar {
width: 12px;
}
#hopsList::-webkit-scrollbar-track {
background: rgba(100, 100, 100, 0.2);
border-radius: 10px;
}
#hopsList::-webkit-scrollbar-thumb {
background-color: rgba(255, 255, 255, 0.1);
border-radius: 10px;
border: 3px solid rgba(0, 0, 0, 0.2);
}
#hopsList a {
color: #00bfff;
text-decoration: none;
}
#hopsList a:hover {
color: #fff;
}
#title {
position: fixed;
left: 0;
right: 0;
text-align: center;
color: #fff;
background: transparent;
z-index: 9999;
font-family: Arial, sans-serif;
font-size: 1.2em;
font-weight: bold;
}
a:link { text-decoration: none; }
a:visited { text-decoration: none; }
a:hover { text-decoration: none; }
a:active { text-decoration: none; }
h5 {
font-size: 0.8em;
margin-top: -1em;
color: #808080;
}