-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathindex.html
65 lines (60 loc) · 1.58 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
<!DOCTYPE html>
<head>
<title>Structure and Interpretation of Classical Mechanics</title>
<meta name="description" content="Structure and Interpretation of Classical Mechanics"/>
<meta name="keywords" content="Structure and Interpretation of Classical Mechanics"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta charset="utf-8"/>
<link href="css/style.css" rel="stylesheet"/>
<style type="text/css">
html {
height: 100%;
}
/* This is taken from:
http://coding.smashingmagazine.com/2013/08/09/absolute-horizontal-vertical-centering-css/
http://coding.smashingmagazine.com/2013/05/22/centering-elements-with-flexbox/
*/
body {
background-color: #f0f0f0;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-align: center;
-moz-box-align: center;
-ms-flex-align: center;
ebkit-align-items: center;
align-items: center;
-webkit-box-pack: center;
-moz-box-pack: center;
-ms-flex-pack: center;
-webkit-justify-content: center;
justify-content: center;
margin: 0;
height: 100%;
width: 100%
}
section {
max-width: 94%;
}
@media (max-width: 480px) {
section {
max-width: 97%;
}
}
</style>
</head>
<body>
<section>
<a class="cover" href="toc.html">
<figure>
<img src="images/cover.svg">
</figure>
</a>
</section>
<a href="https://github.com/tgvaughan/sicm">
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub">
</a>
</body>
</html>