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