-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
120 lines (101 loc) · 3.12 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<!DOCTYPE html>
<html lang="en">
<head>
<title>A page</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
{
box-sizing: border-box;
}
body {
margin: 0;
font-family: Tahoma, Arial, Helvetica, sans-serif;
}
@font-face {
font-family: myFirstFont;
src: url(futura/futura_bold_font-webfont.woff.woff);
}
div {
font-family: myFirstFont;
}
h1 { font-family: myFirstFont, Trebuchet MS, Arial, sans-serif; font-size: 2em; font-style: normal; font-variant: normal; font-weight: 700; line-height: 1.25em; }
h2 { font-family: myFirstFont, Trebuchet MS, Arial, sans-serif; font-size: 1.8em; font-style: normal; font-variant: normal; font-weight: 700; line-height: 1.25em; }
h3 { font-family: myFirstFont, Trebuchet MS, Arial, sans-serif; font-size: 1.6em; font-style: normal; font-variant: normal; font-weight: 700; line-height: 1.25em; }
p { font-family: myFirstFont, Trebuchet MS, Arial, sans-serif; font-size: 1.6em; font-style: normal; font-variant: normal; font-weight: 400; line-height: 1em; }
blockquote { font-family: Futura, Trebuchet MS, Arial, sans-serif; font-size: 1em; font-style: normal; font-variant: normal; font-weight: 400; line-height: 1em; }
pre { font-family: Futura, Trebuchet MS, Arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; line-height: 1em; }
/*Style the top navigation*/
.topnav {
overflow: hidden;
background-color: #333;
}
.topnav {
width: 100%
float: left;
color: #ffffff;
text-align: left;
padding: 0px 1em;
text-decoration: none;
font-size: 1em;
}
.topnav a:hover {
background-color: #ddd;
color: black;
}
.topnav a.active {
background-color: #04AA6D;
color: white;
}
/* Style the side navigation */
.sidenav {
height: 100%;
width: 200px;
float: left;
/*position: fixed;*/
z-index: 2;
top: 0;
/*margin-top: 0.2em;*/
padding: 0em 0em;
left: 0;
background-color: white;
overflow-x: hidden;
font-size: 1.6em;
font-family: Trebuchet MS, Arial, sans-serif;
}
/* Side navigation links */
.sidenav a {
color: black;
padding: 1em;
text-decoration: none;
display: block;
}
/* Change color on hover */
.sidenav a:hover {
background-color: #aec6cf;
color: black;
}
/* Style the content */
.content {
top: 0;
float: left;
margin-left: 0px;
padding-left: 20px;
}
</style>
</head>
<body>
<div class="topnav">
<h1>More than an order of words...</h1>
</div>
<div class="sidenav">
<a href="#">Tutorials</a>
<a href="#">Essays</a>
<a href="#">About</a>
</div>
<div class="content">
<h2>A heading.</h2>
<p> A paragraph. </p>
</div>
</body>
</html>