-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
81 lines (81 loc) · 1.93 KB
/
index.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
75
76
77
78
79
80
81
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');
body {
width: 100vw;
height: 100vh;
margin: 0;
overflow: hidden;
font-family: 'Poppins', sans-serif;
}
button {
font-size: 30px;
padding-left: 1.5rem;
padding-right: 1.5rem;
color: yellow;
background-color: #e65454;
border: 0px solid white;
border-radius: 5px;
margin: 0.5rem;
}
.controls {
margin: 1rem;
position: fixed;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
}
[data-tooltip] {
position: relative;
cursor: default;
}
[data-tooltip]::after {
font-size: medium;
position: absolute;
width: 180px;
content: attr(data-tooltip);
color: white;
background-color: rgb(211, 65, 65);
border-radius: 5px;
padding: 0.4rem;
visibility: hidden;
opacity: 0;
-webkit-transform: translate(2rem, 1px);
-ms-transform: translate(2rem, 1px);
transform: translate(2rem, 1px);
font-family: 'Poppins', sans-serif;
}
[data-tooltip]:hover::after {
position: absolute;
width: 180px;
content: attr(data-tooltip);
visibility: visible;
opacity: 1;
}
footer {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
position: absolute;
bottom: 0px;
right: 0px;
height: 35px;
background: #e65454;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
font-size: larger;
color: #000;
text-align: right;
padding: 20px 40px;
border-top-left-radius: 5px;
}