-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
93 lines (84 loc) · 1.63 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
<!DOCTYPE html>
<html>
<head>
<title>bookhor.se</title>
<style>
html,
body,
.bookhorse {
margin: 0;
padding: 0;
min-width: 100vw;
min-height: 100vh;
overflow: hidden;
vertical-align: middle;
display: inline-block;
}
.bookhorse {
background-image: url('bookhorse.png');
background-size: cover;
}
.bookhorse::before {
content: '';
height: 100%;
width: 0;
display: inline-block;
vertical-align: middle;
}
.meta {
width: 100vw;
height: 10vh;
position: absolute;
bottom: 0;
z-index: 1;
background-color: rgba(0,0,0, 0.5);
text-align: center;
}
.meta a {
font-family: sans-serif;
color: #fff;
font-size: 2em;
vertical-align: middle;
display: inline-block;
text-decoration: none;
}
.meta::before {
content: '';
height: 100%;
display: inline-block;
vertical-align: middle;
}
img {
max-width: 40vw;
max-height: 10vh;
}
.pull-left {
float: left;
}
.pull-right {
float: right;
}
.callout {
color: white;
font-family: sans-serif;
font-size: 1.5em;
max-width: 10px;
white-space: pre;
}
</style>
</head>
<body>
<div class="bookhorse"></div>
<div class="meta">
<a class="pull-left" href="http://nadnerbd.deviantart.com/art/The-Quiet-Corner-504300510">
<img src="deviantart.png" alt="Original piece on DeviantART">
</a>
<div class="pull-right">
<span class="callout">With love from</span>
<a href="http://ponyvillelive.com">
<img src="pvl.png" alt="Ponyville Live!">
</a>
</div>
</div>
</body>
</html>