-
Notifications
You must be signed in to change notification settings - Fork 2
/
global.css
74 lines (64 loc) · 1.2 KB
/
global.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
/* ===== Scrollbar CSS ===== */
@import "@fontsource/dm-sans";
/* Firefox */
* {
scrollbar-width: auto;
scrollbar-color: #3b82f6 #e8e8e8;
}
/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
width: 14px;
}
*::-webkit-scrollbar-track {
background: #e8e8e8;
}
*::-webkit-scrollbar-thumb {
background-color: #3b82f6;
border-radius: 7px;
border: 1.5px solid #ffffff;
}
* {
font-family: "DM Sans", sans-serif;
}
.tooltip {
position: relative;
display: inline-block;
}
.tooltip .tooltiptext {
visibility: hidden;
width: 100px;
background-color: rgb(249, 249, 249);
color: #3b82f6;
text-align: center;
padding: 0.5rem 0;
position: absolute;
z-index: 1;
top: 105%;
margin-left: -65px;
opacity: 0;
transition: opacity 0.3s;
border-radius: 0.4rem;
}
.tooltip .tooltiptext::after {
content: "";
position: absolute;
top: 100%;
left: 50%;
margin-left: -5px;
}
.tooltip:hover .tooltiptext {
visibility: visible;
opacity: 1;
}
.googleButton {
padding: 0 1.5rem !important;
border-radius: 0.5rem !important;
cursor: pointer;
opacity: 1 !important;
color: black !important;
}
@media screen and (max-width: 300px) {
.googleButton {
padding: 0 !important;
}
}