-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
94 lines (83 loc) · 2.23 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<title>LifeHack Microscope</title>
<meta name="description" content="An open-source, modular microscope for live & fixed cell single molecule imaging. From the Holden Lab @ Warwick University">
<meta name="keywords" content="microscope, open-source, microscopy, SMLM, CAD, single molecule, live cell, super-resolution, modular, designs, LifeHack, GitHub">
<meta name="author" content="Josh Edwards">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-B9XZF5GEV3"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-B9XZF5GEV3');
</script>
<style>
body, html {
height: 100%;
margin: 0;
font-family: Arial, Helvetica, sans-serif;
}
.hero-image {
background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("Images/Microscope-Full.PNG");
height: 100%;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
position: relative;
}
.hero-text {
text-align: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
}
.hero-text h1 {
font-size: 4vw
}
.hero-text p {
font-size: 1.3vw
}
.hero-text p2 {
font-size: 1vw
}
.button {
border: none;
outline: 0;
display: inline-block;
padding: 12px 27px;
color: black;
background-color: #ddd;
text-align: center;
cursor: pointer;
text-decoration: none;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border-radius: 4px;
}
.button:hover {
background-color: #333;
color: white;
}
@media only screen and (orientation: portrait) {
.hero-text h1 {font-size: 30pt;}
.hero-text p {font-size: 11pt;}
.hero-text p2 {font-size: 9pt;}
}
</style>
</head>
<body>
<div class="hero-image">
<div class="hero-text">
<h1>LifeHack</h1>
<p>An Open-Source, Modular Microscope for Live & Fixed Cell Single Molecule Imaging</p>
<hr>
<p2>From the Holden Lab @ Newcastle University</p>
<a class="button" href="home.html">Enter Website</a>
</div>
</div>
</body>
</html>