-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
62 lines (52 loc) · 916 Bytes
/
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
html, body {
margin: 0;
padding: 0;
font-family: Arial;
}
canvas {
display: block;
margin: auto;
}
/* Style the tab */
.tab {
overflow: hidden;
border: 1px solid #ccc;
background-color: #f1f1f1;
}
/* Style the buttons inside the tab */
.tab button,
.tab a {
background-color: inherit;
float: left;
border: none;
outline: none;
cursor: pointer;
padding: 14px 16px;
transition: 0.3s;
font-size: 17px;
}
/* Change background color of buttons on hover */
.tab button:hover, a:hover {
background-color: #ddd;
}
/* Create an active/current tablink class */
.tab button.active,
.tab a.active {
background-color: #ccc;
}
.tab .tablink a:active {
background-color: #ccc;
}
/* Style the tab content */
.tabcontent {
display: none;
width: 15rem;
position: absolute;
}
.tabcontent .tab button,
.tabcontent .tab a {
width: 100%;
}
a {
text-decoration: none;
}