-
Notifications
You must be signed in to change notification settings - Fork 0
/
style6.css
83 lines (72 loc) · 1.49 KB
/
style6.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
body {
font-family: Arial, sans-serif;
}
body::before {
content: ''; /* Necessary for the pseudo-element to display */
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-image: url('Crop BG Image 1.svg'); /* Set the URL for your background image */
background-size: cover;
background-position: center;
background-repeat: no-repeat;
filter: blur(8px); /* Apply the blur effect */
z-index: -1; /* Ensures the background stays behind the content */
}
.title {
font-size: 18px;
font-weight: bold;
fill: #333;
}
#my_dataviz {
position: relative;
width: 70%;
height: 500px;
margin: auto;
}
input#yearSlider {
width: 50%;
margin: 20px auto;
display: block;
}
#slider-container {
margin: 20px;
text-align: center;
}
#sliderValue {
margin-left: 20px;
font-weight: bold;
text-align: center;
}
.axis path,
.axis line {
fill: none;
stroke: #000;
}
.axis text {
font-size: 12px;
}
.bubbles {
stroke-width: 1;
stroke: #fff;
}
.tooltip {
border: 1px solid #ddd;
border-radius: 5px;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
padding: 10px;
color: #333;
position: absolute;
text-align: center;
width: auto;
height: auto;
padding: 2px;
font: 12px sans-serif;
background: lightskyblue;
pointer-events: none;
}
.legend {
font-size: 12px;
}