-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
151 lines (135 loc) · 5.68 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
<!DOCTYPE html>
<!-- Template by html.am -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Aftershock 9880</title>
<style type="text/css">
html, #page { padding:0; margin:0;}
body { margin:0; padding:0; width:100%; color:#959595; font:normal 12px/2.0em Sans-Serif;}
h1, h2, h3, h4, h5, h6 {color:darkorange;}
#page { background:#eee;}
#header, #footer, #top-nav, #content, #content #contentbar, #content #sidebar { margin:0; padding:0;}
/* Logo */
#logo { padding:10px; width:auto; float:left;}
#logo h1 a, h1 a:hover { color:darkorange; text-decoration:none;}
#logo h1 span { color:#f9ebdb;}
/* Header */
#header { background:#eee; }
#header-inner { margin:0 auto; padding:10px; width:970px;background:#fff;}
/* Feature */
.feature { background:#eee;padding:0;}
.feature-inner { margin:auto;padding:10px;width:970px;background:orange; }
.feature-inner h1 {color:#f9ebdb;font-size:32px;}
/* Menu */
#top-nav { margin:0 auto; padding:0px 0 0; height:37px; float:right;}
#top-nav ul { list-style:none; padding:0; height:37px; float:left;}
#top-nav ul li { margin:0; padding:0 0 0 8px; float:left;}
#top-nav ul li a { display:block; margin:0; padding:8px 20px; color:orange; text-decoration:none;}
#top-nav ul li.active a, #top-nav ul li a:hover { color:#f9ebdb;}
/* Content */
#content-inner { margin:0 auto; padding:10px; width:970px;background:#fff;}
#content #contentbar { margin:0; padding:0; float:right; width:760px;}
#content #contentbar .article { margin:0 0 24px; padding:0 20px 0 15px; }
#content #sidebar { padding:0; float:left; width:200px;}
#content #sidebar .widget { margin:0 0 12px; padding:8px 8px 8px 13px;line-height:1.4em;}
#content #sidebar .widget h3 a { text-decoration:none;}
#content #sidebar .widget ul { margin:0; padding:0; list-style:none; color:#959595;}
#content #sidebar .widget ul li { margin:0;}
#content #sidebar .widget ul li { padding:4px 0; width:185px;}
#content #sidebar .widget ul li a { color:orange; text-decoration:none; margin-left:-16px; padding:4px 8px 4px 16px;}
#content #sidebar .widget ul li a:hover { color:#f9ebdb; font-weight:bold; text-decoration:none;}
/* Footerblurb */
#footerblurb { background:#eee;color:orange;}
#footerblurb-inner { margin:0 auto; width:970px; padding:10px;background:#f9ebdb;border-bottom-right-radius:15px;border-bottom-left-radius:15px;}
#footerblurb .column { margin:0; text-align:justify; float:left;width:250px;padding:0 24px;}
/* Footer */
#footer { background:#eee;}
#footer-inner { margin:auto; text-align:center; padding:12px; width:970px;}
#footer a {color:orange;text-decoration:none;}
/* Clear both sides to assist with div alignment */
.clr { clear:both; padding:0; margin:0; width:100%; font-size:0px; line-height:0px;}
</style>
<script type="text/javascript">
/* =============================
This script generates sample text for the body content.
You can remove this script and any reference to it.
============================= */
var bodyText=["The smaller your reality, the more convinced you are that you know everything.", "If the facts don't fit the theory, change the facts.", "Rick astley is cool", "The past has no power over the present moment.", "This, too, will pass.", "</p><p>You will not be punished for your anger, you will be punished by your anger.", "Peace comes from within. Do not seek it without.", "<h2>Heading</h2><p>The most important moment of your life is now. The most important person in your life is the one you are with now, and the most important activity in your life is the one you are involved with now."]
function generateText(sentenceCount){
for (var i=0; i<sentenceCount; i++)
document.write(bodyText[Math.floor(Math.random()*7)]+" ")
}
</script>
</head>
<body>
<div id="page">
<header id="header">
<div id="header-inner">
<div id="logo">
<h1><a href="#"><img src="logo.png" width="132" height="132"></a></h1>
</div>
<div id="top-nav">
<ul>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">FAQ</a></li>
<li><a href="#">Help</a></li>
</ul>
</div>
<div class="clr"></div>
</div>
</header>
<div class="feature">
<div class="feature-inner">
<h1>Heading</h1>
</div>
</div>
<div id="content">
<div id="content-inner">
<main id="contentbar">
<div class="article">
<p><script>generateText(12)</script></p>
</div>
</main>
<nav id="sidebar">
<div class="widget">
<h3>Left heading</h3>
<ul>
<li><a href="#">Link 1</a></li>
<li><a href="#">Link 2</a></li>
<li><a href="#">Link 3</a></li>
<li><a href="#">Link 4</a></li>
<li><a href="#">Link 5</a></li>
</ul>
</div>
</nav>
<div class="clr"></div>
</div>
</div>
<div id="footerblurb">
<div id="footerblurb-inner">
<div class="column">
<h2><span>Heading</span></h2>
<p><script>generateText(2)</script></p>
</div>
<div class="column">
<h2><span>Heading</span></h2>
<p><script>generateText(2)</script></p>
</div>
<div class="column">
<h2><span>Heading</span></h2>
<p><script>generateText(2)</script></p>
</div>
<div class="clr"></div>
</div>
</div>
<footer id="footer">
<div id="footer-inner">
<p>© Copyright <a href="#">Your Site</a> | <a href="#">Terms of Use</a> | <a href="#">Privacy Policy</a></p>
<div class="clr"></div>
</div>
</footer>
</div>
</body>
</html>