Static body width of 800px
parent
a2db0a5ad7
commit
e0a0567a0a
|
@ -6,6 +6,7 @@
|
|||
<link type="text/css" rel="stylesheet" href="style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="content">
|
||||
<h1>ease.js</h1>
|
||||
<h2>The JavaScript Paradigm Shifter</h2>
|
||||
|
||||
|
@ -30,6 +31,8 @@
|
|||
state. It is currently in use within a production system at the author's
|
||||
place of employment. Feel free to use ease.js in your own projects.
|
||||
</p>
|
||||
</div>
|
||||
</content>
|
||||
|
||||
<p class="copyright">
|
||||
Copyright © 2011 <a href="http://mikegerwitz.name">Mike Gerwitz</a>
|
||||
|
|
14
style.css
14
style.css
|
@ -15,21 +15,27 @@ body {
|
|||
border-style: solid;
|
||||
border-radius: 1em;
|
||||
|
||||
margin: 5em;
|
||||
margin: 5em auto;
|
||||
padding: 0.5em 1em 0.5em 1em;
|
||||
|
||||
width: 800px;
|
||||
|
||||
font-family: arial, serif;
|
||||
}
|
||||
|
||||
#content {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
h1 {
|
||||
position: absolute;
|
||||
top: 0.5em;
|
||||
top: -2.5em;
|
||||
}
|
||||
|
||||
h2 {
|
||||
position: absolute;
|
||||
top: 1em;
|
||||
right: 5em;
|
||||
top: -2.5em;
|
||||
right: 0px;
|
||||
}
|
||||
|
||||
ul {
|
||||
|
|
Loading…
Reference in New Issue