forked from mislav/poignant-guide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
77 lines (77 loc) · 2.05 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Why's (Poignant) Guide to Ruby</title>
<style type="text/css">
body {
color: white;
background: url(images/2007-cover-pale.jpg);
text-align: center;
font-family: verdana, arial, sans-serif;
margin: 0; padding: 0;
}
a img {
border: none;
}
#cover {
margin: 0 auto;
padding: 20px 150px 20px 0px;
background: url(images/2007-cover-spacer.jpg);
z-index: 1;
overflow: hidden;
}
#cover img {
margin-bottom: -90px;
}
#menu { font-size: 12px; color: #900; padding: 8px; }
#menu a {
color: #009;
}
#bookcontents {
font-size: 9px;
text-align: left;
width: 240px;
float: left;
}
#bookcontents a {
color: #eef;
}
#news {
margin: 0 auto;
text-align: center;
font-size: 14px;
width: 240px;
padding-left: 500px;
padding-right: -150px;
padding-bottom: 20px;
}
#news a {
color: #FF3;
}
</style>
<script language="Javascript">
function openBook() {
document.getElementById("cover-image").src = "images/2007-cover-open.jpg";
}
function shutBook() {
document.getElementById("cover-image").src = "images/2007-cover-shut.jpg";
}
</script>
</head>
<body>
<div id="cover">
<a href="book/chapter-1.html" onmouseover="openBook()" onmouseout="shutBook()"><img id="cover-image" src="images/2007-cover-shut.jpg" /></a>
<div id="news">
Ohh! Fresh chapter snuck up! <strong><a href="book/chapter-7.html">When You Wish Upon a Beard</a></strong>, drawings everywhichway.
</div>
</div>
<div id="menu">
<strong><a href="book/chapter-1.html">open the book</a></strong>
¤
<a href="book/">the book??</a>
¤
<a href="soundtrack/">but the soundtrack??!</a>
</div>
</body>
</html>