forked from daattali/beautiful-jekyll
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathteam.html
More file actions
55 lines (48 loc) · 1.11 KB
/
Copy pathteam.html
File metadata and controls
55 lines (48 loc) · 1.11 KB
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
---
layout: page
title:
subtitle:
full-width: true
#cover-img: "/assets/img/musculoskeletal.png"
---
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
/* Remove default margins so the image can touch the edges */
body { margin: 0; }
/* A class that BREAKS OUT of any centered/narrow parent */
.hero {
position: relative;
left: 50%;
right: 50%;
margin-left: -50vw;
margin-right: -50vw;
margin-top: -20px;
margin-bottom: -50px;
width: 100vw; /* full viewport width */
max-width: 100vw; /* prevent re-shrinking */
overflow: hidden; /* hide any tiny overflow */
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, sans-serif;
}
.hero img {
display: block;
width: 100%;
height: auto;
}
.text-block {
position: absolute;
bottom: 40px;
right: 20px;
color: white;
padding: 20px;
}
</style>
</head>
<body>
<!-- rename from .container to avoid Bootstrap conflicts -->
<div class="hero">
<img src="/assets/img/Team.png" alt="team_image">
<div class="text-block">
</div>
</div>
</body>