Skip to content

Commit 59fd240

Browse files
committed
Fixed broken home page
1 parent b4bde61 commit 59fd240

3 files changed

Lines changed: 20 additions & 2 deletions

File tree

images/chartExample.png

90.6 KB
Loading

index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@
1616
<li><a href="/mapping.html">Open Data</a></li>
1717
<li class="right"><a href="/about.html">About</a></li>
1818
</ul>
19-
2019
<div class="textBox">
21-
<h1>Put Image of graph here!</h1>
20+
<h1>An Example Chart!</h1>
21+
</div>
22+
<div class="imgBox">
2223
</div>
2324
<div class="textBox">
2425
<h1>Welcome to: Data-Driven</h1>

styles.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,23 @@ body {
44
color:white;
55
}
66

7+
.imgBox{
8+
background-image: url("/images/chartExample.png");
9+
background-repeat: no-repeat;
10+
background-size: contain;
11+
background-position: center;
12+
border-style: ridge;
13+
margin-top: 5%;
14+
margin: auto;
15+
width: 100vw;
16+
height: 100vw;
17+
max-height: 893px;
18+
max-width: 1542px;
19+
display: flex;
20+
justify-content: center;
21+
align-items: center;;
22+
}
23+
724
a {
825
color:white;
926
font-weight: bold;

0 commit comments

Comments
 (0)