Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added some content

  • Loading branch information...
commit 5ad0e1dcbcd20fdf82a4edaeed1742f595043209 1 parent 8d74a84
Allan Delacruz AllanD authored
Showing with 83 additions and 18 deletions.
  1. +51 −6 content/css/main.css
  2. +32 −12 content/index.txt
57 content/css/main.css
View
@@ -49,8 +49,25 @@ hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin:
input, select { vertical-align: middle; }
-
+/* Functions */
+.clearfix:after {
+ content: ".";
+ display: block;
+ height: 0;
+ clear: both;
+ visibility: hidden;
+ }
+.clearfix {display: inline-block;} /* for IE/Mac */
+.clearfix {
+ zoom: 1; /* triggers hasLayout */
+ display: block; /* resets display for IE/Win */
+ } /* Only IE can see inside the conditional comment
+ and read this CSS rule. Don't ever use a normal HTML
+ comment inside the CC or it will close prematurely. */
+
+/* General */
body {
+ font-family: verdana, sans-serif;
background: #e4e4e4 url(../images/new/bg.jpg) top repeat-x;
}
ul {
@@ -70,24 +87,52 @@ header h1.logo a {
width: 275px;
background: url(../images/new/logo.png) no-repeat;
position: absolute;
- top: 40px;
+ top: 45px;
}
/* Primary Nav */
.primaryNav {
+ position: relative;
+ top: 60px;
+ float: right;
+ line-height: 40px;
+ height: 40px;
+ max-width: 600px;
+}
+.primaryNav ul {
+ display: block;
float: right;
- max-width: 560px;
- width: 560px;
- overflow: hidden;
}
.primaryNav li {
+ padding: 0 5px;
+ display: block;
float: left;
}
+.primaryNav li a {
+ text-decoration: none;
+ color: #e4e4e5;
+ -moz-border-radius: 5px;
+ border-radius: 5px;
+ display: block;
+ border: 1px solid transparent;
+ padding: 0 10px;
+}
+.primaryNav li a:hover {
+ border-top: 1px solid #252525;
+ border-left: 1px solid #252525;
+ border-right: 1px solid #434343;
+ border-bottom: 1px solid #434343;
+ background: #292929;
+}
/* Promo */
.promo {
height: 370px;
}
/* MainContent */
-
+.grid aside {
+ min-height: 200px;
+ width: 480px;
+ float: left;
+}
/* Footer */
44 content/index.txt
View
@@ -10,6 +10,38 @@ filter:
</aside>
+
+<div class="grid clearfix">
+ <div class="top clearfix">
+ <aside>
+
+ <h2>Why MacRuby?</h2>
+ <p>MacRuby began as an attempt to work around many problems inherent in RubyCocoa. In the course of solving these problems, MacRuby has also solved numerous problems in the original implementation of Ruby. Consequently, there are a number of reasons (e.g. convenience, efficiency, flexibility, performance) why one might wish to use MacRuby for new (and ongoing) Ruby applications... <a href="/documentation/why-macruby.html"><br/><i>Read more...</i></a></p>
+
+ </aside>
+ <aside>
+
+ Whats Going on
+
+ </aside>
+ </div>
+ <div class="bottom clearfix">
+ <aside>
+
+ <h2>The Definitive Guide</h2>
+ <p>Matt Aimonetti is currently working on a MacRuby book for O'Reilly. It is under development and the book is being published as it is being written. The work is released under a <a href="http://creativecommons.org/licenses/by-nc-nd/3.0/us/">Creative Commons</a> license, with the idea of getting early feedback from the community.
+ <br/><a href="http://macruby.labs.oreilly.com/">Check it out!</a></p>
+
+ </aside>
+ <aside>
+
+ MacRuby Blogs
+
+ </aside>
+ </div>
+</div>
+
+
<a href="/downloads.html" id="zip"><img src="/images/zip.png" width="100" height="100" /></a>
<a href="/source.html">checkout the source</a>
@@ -49,17 +81,5 @@ After 5 months of development, we are happy to announce the immediate availabili
<a href="/blog/index2.html"><img src="/images/h3_see-older-articles.png" alt="See Older Articles" /></a>
-<h2>The Definitive Guide</h2>
-<p>Matt Aimonetti is currently working on a MacRuby book for O'Reilly. It is under development and the book is being published as it is being written. The work is released under a <a href="http://creativecommons.org/licenses/by-nc-nd/3.0/us/">Creative Commons</a> license, with the idea of getting early feedback from the community.
-<br/><a href="http://macruby.labs.oreilly.com/">Check it out!</a></p>
-
-
-
-<hr />
-
-
-<h2>Why MacRuby?</h2>
-<p>MacRuby began as an attempt to work around many problems inherent in RubyCocoa. In the course of solving these problems, MacRuby has also solved numerous problems in the original implementation of Ruby. Consequently, there are a number of reasons (e.g. convenience, efficiency, flexibility, performance) why one might wish to use MacRuby for new (and ongoing) Ruby applications... <a href="/documentation/why-macruby.html"><br/><i>Read more...</i></a></p>
-<hr />
Please sign in to comment.
Something went wrong with that request. Please try again.