-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
105 lines (104 loc) · 2.15 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
@import url('https://fonts.googleapis.com/css2?family=Stylish&display=swap');
body{
background-color: #e0e0e0;
}
h1{
text-align: center;
font-family: 'Stylish', sans-serif;
font-size: 45px;
}
/* img{
width: 800px;
height: 500px;
z-index: 10;
position: absolute;
transform: translate(-50%, -50%);
left: 50%;
top: 50%;
} */
#my-canvas{
background: url('./images/background.jpg') no-repeat;
background-size: 800px 500px;
border-radius: 20px;
margin: 0;
padding: 0;
height: 500px;
padding-left: 0;
padding-right: 0;
margin-left: auto;
margin-right: auto;
display: block;
width: 800px;
box-shadow: 5px 5px 10px #969696, -5px -5px 10px #ffffff;
}
.center{
padding-left: 0;
padding-right: 0;
margin-left: auto;
margin-right: auto;
display: block;
width: 800px;
}
.container{
width: 100%;
display: flex;
justify-content: center;
margin-top: 42px;
}
.btn{
justify-content: center;
width: 120px;
height: 40px;
border-radius: 10px;
border: 0;
box-shadow: 5px 5px 10px #969696, -5px -5px 10px #ffffff;
margin-left: 20px;
font-family: 'Stylish', sans-serif;
font-size: 18px;
}
.first{
margin-left: -20px;
}
.btn:hover{
background-color: #e2a1a1;
color: white;
}
.btn:active{
box-shadow: -5px -5px 10px #fffefe, 5px 5px 10px #f8f5f5;
box-shadow: inset -1px -1px 5px -1px rgba(0,0,0,0.75);
}
.tooltip {
position: relative;
display: inline-block;
border-bottom: 1px dotted black;
}
.tooltip .tooltiptext {
visibility: hidden;
width: 120px;
background-color: #555;
color: #fff;
text-align: center;
padding: 5px 0;
border-radius: 6px;
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;
}