Skip to content

Commit 4ac3010

Browse files
committed
start main page
1 parent c0c97c1 commit 4ac3010

3 files changed

Lines changed: 55 additions & 10 deletions

File tree

index.html

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,29 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8">
5-
<title>My Website</title>
6-
<style>
7-
body {
8-
font-family: Arial, sans-serif;
9-
text-align: center;
10-
margin-top: 100px;
11-
}
12-
</style>
5+
<title>fastplotlib for neuroscience</title>
6+
<link rel="stylesheet" href="style.css">
137
</head>
8+
149
<body>
15-
<h1>Hello, world!</h1>
16-
<p>This is my first website.</p>
10+
<div class="page">
11+
<main>
12+
<header class="title">
13+
<h1>fastplotlib for neuroscience</h1>
14+
</header>
15+
16+
17+
</main>
18+
19+
<footer class="footer">
20+
<p>&copy; <span id="year"></span> Caitlin Lewis and Kushal Kolar. All rights reserved. Cite design inspired by <a href="https://research.janelia.org/zebrafish/index.html">Janelia</a>.</p>
21+
</footer>
22+
</div>
23+
<script src="script.js"></script>
1724
</body>
25+
26+
27+
28+
1829
</html>
1930

script.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
document.getElementById("year").textContent = new Date().getFullYear();

style.css

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
2+
html, body {
3+
height: 100%;
4+
margin: 0;
5+
}
6+
7+
.page {
8+
min-height: 100vh;
9+
display: flex;
10+
flex-direction: column;
11+
}
12+
13+
main {
14+
flex: 1;
15+
}
16+
17+
.footer {
18+
background: #e9e9e9;
19+
color: #000000;
20+
text-align: left;
21+
padding: 1rem;
22+
}
23+
24+
25+
main .title {
26+
padding: 3rem 2rem;
27+
text-align: center;
28+
}
29+
30+
main .title h1 {
31+
font-size: 3rem;
32+
margin: 0;
33+
}

0 commit comments

Comments
 (0)