generated from COSI116A-Brandeis-InfoVis-Fall23/Final-Project-Template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
156 lines (138 loc) · 2.98 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
/* General formatting */
body {
padding: 0 10px;
font: 18px/1.5 -apple-system, BlinkMacSystemFont, "avenir next",avenir, "Segoe UI", "lucida grande", "helvetica neue", helvetica, "Fira Sans",roboto, noto, "Droid Sans", cantarell, oxygen, ubuntu, "franklin gothic medium", "century gothic", "Liberation Sans",
sans-serif;
}
h1, h2, h3 {
line-height: 1.2
}
/* Your text should be in a nice narrow column */
.content-column {
max-width: 650px;
margin: 40px auto;
}
/* But your visualization should be full-width and full-height */
.vis-holder {
width: 100%;
height: 100%;
display: grid;
place-items: center;
}
/* Fork on GitHub ribbon via https://codepo8.github.io/css-fork-on-github-ribbon/# */
#forkongithub a{
background:#00F;
color:#fff;
text-decoration:none;
font-family:arial,sans-serif;
text-align:center;
font-weight:bold;
padding:5px 40px;
font-size:1rem;
line-height:1.4rem;
position:relative;
transition:0.5s;
}
#forkongithub a:hover{
background:#118;
color:#fff;
}
#forkongithub a::before,#forkongithub a::after{
content:"";
width:100%;
display:block;
position:absolute;
top:1px;
left:0;
height:1px;
background:#fff;
}
#forkongithub a::after{
bottom:1px;
top:auto;
}
@media screen and (min-width:1000px){
#forkongithub{
position:fixed;
display:block;
top:0;
right:0;
width:200px;
overflow:hidden;
height:200px;
z-index:9999;
}
#forkongithub a{
width:200px;
position:absolute;
top:60px;
right:-60px;
transform:rotate(45deg);
-webkit-transform:rotate(45deg);
-ms-transform:rotate(45deg);
-moz-transform:rotate(45deg);
-o-transform:rotate(45deg);
box-shadow:4px 4px 10px rgba(0,0,0,0.8);
}
}
.link {
stroke: #999;
stroke-opacity: 0.6;
}
.node {
fill: #27ae60;
stroke: #fff;
stroke-width: 1.5px;
}
.axis path,
.axis line {
fill: none;
stroke: #000;
shape-rendering: crispEdges;
}
.axis text {
font-family: sans-serif;
font-size: 11px;
}
.table {
font-family: Arial, sans-serif;
font-size: 12px;
fill: #333; /* Text color */
}
.cell text {
font-weight: bold;
text-anchor: middle;
}
.cell rect {
fill: #f0f0f0; /* Cell background color */
stroke: #ccc; /* Cell border color */
}
#table-container table {
border-collapse: collapse;
border: 1px solid #000; /* Add a solid black border */
}
#table-container table td {
border: 1px solid #000; /* Add a solid black border to table cells */
padding: 8px; /* Optional: Add padding to the cells for better spacing */
background-color: lightblue;
}
/* CSS class for selected dots */
.selected-dot {
fill: red !important;
}
/* CSS class for non-selected dots */
.non-selected-dot {
fill: white !important;
}
/* CSS class for highlighted table entries */
.table-highlighted{
background-color: yellow !important;
}
/* CSS class for non-highlighted table entries */
.table-non-highlighted{
background-color: lightblue !important;
}
.final_sketch {
width: 650px; /* Set the width of the image */
height: auto;
}