-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
61 lines (54 loc) · 1009 Bytes
/
main.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
h1, h2, h5, th {
background-color: rgb(222, 223, 222);
border-radius: 10px;
padding: 10px;
margin: 0
}
input, select, option {
background-color: rgb(222, 223, 222);
border: 1px solid gray;
padding: 5px;
border-radius: 5px;
}
input:disabled {
width: 80px;
}
button {
border-radius: 5px;
height: 30px;
}
.tooltip {
position: relative;
display: inline-block;
border-bottom: 1px dotted black;
}
.tooltip .tooltiptext {
visibility: hidden;
width: 75vw;
background-color: #555;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 5px 0;
position: absolute;
z-index: 1;
bottom: 125%;
left: 50%;
margin-left: -60px;
opacity: 0;
transition: opacity 0.3s;
}
.tooltip .tooltiptext::after {
content: "";
position: absolute;
top: 100%;
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: #555 transparent transparent transparent;
}
.tooltip:hover .tooltiptext {
visibility: visible;
opacity: 1;
}