Skip to content

Commit 7560dee

Browse files
committed
fix header image
1 parent aeebf5f commit 7560dee

1 file changed

Lines changed: 15 additions & 8 deletions

File tree

index.html

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,35 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
88
</head>
9+
<style>
10+
.header-spacing { padding-top:50px; padding-bottom:0px; }
11+
@media (max-width:800px) { .header-spacing { padding-top:50px; padding-bottom:0px;} }
12+
.header-logo { display:block; margin:18px auto; padding:10px; max-width:400px; height:auto; object-fit:contain; border-radius:8px; box-shadow:0 2px 6px rgba(0,0,0,0.08); }
13+
@media (max-width:600px) { .header-logo { max-width:92%; padding:8px; } }
14+
</style>
15+
</head>
16+
</head>
917
<body>
1018

1119
<!-- Navbar (sit on top) -->
12-
<div class="w3-top">
20+
<div class="w3-top w3-padding-8">
1321
<div class="w3-bar w3-white w3-wide w3-padding w3-card">
1422
<script src="menu.js"></script>
1523
</div>
1624
</div>
1725

26+
<!-- Page content -->
27+
<div class="w3-content w3-main w3-padding" style="max-width:1564px">
1828

1929
<!-- Header -->
20-
<header class="w3-display-container w3-content" style="max-width:1500px; height:500px;" id="home">
21-
<div class="w3-display-middle">
22-
<img class="w3-image" src=images\Sawgraph-Logo-transparent.png alt="Graph" width="600" height="600">
23-
</div>
30+
<header class="header-spacing" style="max-width:1500px;" id="home">
31+
<img class="header-logo" src="images/Sawgraph-Logo-transparent.png" alt="SAWGraph logo">
2432
</header>
2533

26-
<!-- Page content -->
27-
<div class="w3-content w3-main w3-padding" style="max-width:1564px">
34+
2835

2936
<!-- Project Section -->
30-
<div class="w3-container w3-padding-64" id="intro">
37+
<div class="w3-container w3-padding-8" id="intro">
3138
<h3 class="w3-border-bottom w3-border-light-grey w3-padding-16">Overview</h3>
3239
<p><strong>Safe Agricultural Products and Water Graph (SAWGraph)</strong>: An <b>Open Knowledge Network </b> to Monitor and Trace PFAS and Other Contaminants in the Nation's Food and Water Systems
3340
</p>

0 commit comments

Comments
 (0)