-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstylesheet.css
108 lines (88 loc) · 1.56 KB
/
stylesheet.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
106
107
108
.btn {
background-color: rgb(85, 85, 85);
border: none;
color: white;
font-size: 16px;
cursor: pointer;
}
* {
font-family: arial;
margin-left: 10px;
margin-right: 10px;
padding: 0;
box-sizing: border-box;
}
/* Content style */
p {
margin-bottom: 5px;
}
h2 {
font-size: 20px;
}
@media (max-width: 600px) { /* Adjust this value based on when you want to target smaller screens */
#vizContainer, #vizContainer2 {
width: 100%; /* Set the SVG width to 100% of its container */
height: auto; /* Maintain the aspect ratio */
}
.graph-text {
font-size: larger;
}
}
span {
margin: 0px;
text-decoration: underline;
}
#source {
text-align: center;
}
p a {
display: inline-block;
margin: 0; /* Removes any default margin */
padding: 0; /* Removes any default padding */
}
#vizContainer p {
font-size: 12px;
}
#vizContainer2 p {
font-size: 12px;
}
#my_dataviz1, #my_dataviz2 {
margin-bottom: -10px;
}
/* Container for the visualization */
#vizContainer {
float: left;
width: 40%;
min-width: 45em;
margin-right: 10px;
margin-left: -5px;
margin-top:0px;
}
#vizContainer2 {
float: right;
width: 40%;
min-width: 45em;
margin-right: 10px;
margin-top:0px;
}
#vizContainer2 h3 {
margin-bottom: 10px;
margin-top: 10px;
margin-left: 10px;
float:right;
}
/* Button container */
#buttonContainer {
text-align: center;
display: flex;
justify-content: center;
margin-top:10px;
margin-bottom:10px;
}
button {
height: 40%;
width: 25%;
}
.btn:hover {
background-color: RoyalBlue;
}