1
0
Fork 0

Free JS essay now uses new header style instead of its own

While the other was more bold, this is more clean.
website
Mike Gerwitz 2014-03-15 01:58:03 -04:00
parent cb55b2372e
commit 010a435d9a
No known key found for this signature in database
GPG Key ID: F22BB8158EE30EAB
2 changed files with 19 additions and 34 deletions

View File

@ -299,6 +299,8 @@ span.shell-start {
/** index **/ /** index **/
.headline { .headline {
position: relative;
background-image: url( 'images/dvsup.png' ); background-image: url( 'images/dvsup.png' );
padding: 1em 2em; padding: 1em 2em;
margin: -0.5em -2em 0em -2em; margin: -0.5em -2em 0em -2em;
@ -461,32 +463,11 @@ pre.js, div.float {
#menu ul #whyfreejs a { #menu ul #whyfreejs a {
color: #f57900; color: #f57900;
} }
#menu ul #whyfreejs a:hover {
/* undo default style */
background-color: transparent;
}
body.whyfreejs #menu { body.whyfreejs #menu ul #whyfreejs {
background-color: #f57900;
border-bottom-color: #ce5c00;
}
body.whyfreejs #menu ul {
visibility: hidden; visibility: hidden;
} }
h3.menuhead {
position: absolute;
font-size: 1.25em;
font-weight: normal;
letter-spacing: 0.15em;
top: -2.25em;
padding: 0px;
margin: 0px;
}
body.whyfreejs #content { body.whyfreejs #content {
text-align: justify; text-align: justify;
} }
@ -573,6 +554,14 @@ blockquote.quote {
font-style: italic; font-style: italic;
} }
.headline blockquote.quote {
position: absolute;
width: 300px;
top: 2.5em;
right: 1em;
}
/* from manual (overrides some of the styles above) */ /* from manual (overrides some of the styles above) */
div.float { div.float {

View File

@ -1,12 +1,12 @@
<h3 class="menuhead"> <div class="headline">
The Importance of JavaScript that Respects Your Freedoms <h3>The Importance of JavaScript that Respects Your Freedoms</h3>
</h3>
<blockquote class="quote"> <blockquote class="quote">
It occurred to me that when we announce ease.js it would be a good occasion to It occurred to me that when we announce ease.js it would be a good occasion to
post something about the importance of making JavaScript code free. post something about the importance of making JavaScript code free.
&mdash;<a href="http://stallman.org" class="subtle">Richard Stallman</a> &mdash;<a href="http://stallman.org" class="subtle">Richard Stallman</a>
</blockquote> </blockquote>
</div>
<p> <p>
GNU ease.js provides a set of unmatched and desirable features under a <a GNU ease.js provides a set of unmatched and desirable features under a <a
@ -103,7 +103,3 @@
</a> </a>
</p> </p>
</div> </div>
<p>
<a href="./">&laquo; Return to GNU ease.js home</a>
</p>