Permalink
Browse files

added rows for the home page, fixed entry markup in homepage

  • Loading branch information...
1 parent 46fa067 commit d1dd500f34da5f0203d7712e096842081250934e @mustardamus mustardamus committed Dec 18, 2012
@@ -156,12 +156,12 @@ class jqapi.Entry
if sandboxEl.length
iframe = sandbox
- html: example.html || ''
- js: example.code || ''
- css: example.css || ''
- external:
+ html: example.html || ''
+ js: example.code || ''
+ css: example.css || ''
+ external:
js: ['http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js']
- #el: sandboxEl #not in dom yet...
+ #el: sandboxEl #not in dom yet...
#console.log iframe #appends currently to body
#sandboxEl.html iframe
@@ -36,18 +36,29 @@
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2)
margin-bottom: 16px
+ p
+ margin-bottom: 18px
+ line-height: 21px
+ font-size: 1.4em
+
+ .row
+ .left, .right, .third
+ float: left
+ width: 50%
+
+ p
+ margin: 20px 15px
+
+ .third
+ width: 33%
+
.longdesc
padding: 30px
h4
font-size: 2em
margin: 12px 0 18px 0
- p
- margin-bottom: 18px
- line-height: 21px
- font-size: 1.4em
-
p:last-child
margin-bottom: 0
View
@@ -25,40 +25,77 @@
#header
%ul#signatures-nav
%li
- %a{:href => '#u8'}
- %span What is this?
+ %a{:href => '#why'}
+ %span Why another documentation browser?
%li
- %a{:href => '#u8'}
- %span Why another docs browser?
+ %a{:href => '#donors'}
+ %span Donors
%li
- %a{:href => '#u8'}
+ %a{:href => '#usage'}
%span Usage
%li
- %a{:href => '#u8'}
+ %a{:href => '#download'}
%span Download
%li
- %a{:href => '#u8'}
- %span Donors
+ %a{:href => '#license'}
+ %span License
%ul#navigation
%li
- %a{:href => '#u8'}
+ %a{:href => '/'}
%span Home
#entry
- #entry-header
- %h1 jQAPI - Alternative jQuery Documentation Browser
- %p The faster way to browse the jQuery documentation.
+ #entry-wrapper
+ #entry-header
+ %h1 jQAPI - Alternative jQuery Documentation Browser
+ %p The faster way to browse the jQuery documentation.
+
+ %ul#entries
+ %li.entry
+ %ul.signatures
+ %li.signature
+ %h2 Why another documentation browser?
+
+ .row.clearfix
+ .left
+ %p This is a browser for the official documentation
+ .right
+ %p Because it needs to get out of the way.
+
+ %li.signature
+ %h2 Donors
+
+ %li.entry
+ %ul.signatures
+ %li.signature
+ %h2
+ Usage
+
+ .row.clearfix
+ .third
+ %p Keyboard
+ .third
+ %p Navigation
+ .third
+ %p etc.
- %ul#entries
- %li.entry
- %ul.signatures
- %li.signature
- %h2
- What is this?
- %span.return → jQAPI
+ %li.entry
+ %ul.signatures
+ %li.signature
+ %h2
+ Download
+
+ .longdesc
+ %p
+ git clone, zip
- %li.signature
- %h2
- Usage
- %span.return → jQAPI
+ %li.entry
+ %ul.signatures
+ %li.signature
+ %h2
+ License
+
+ .longdesc
+ %p
+ Same as jQuery
@@ -1,3 +1,5 @@
+# https://github.com/versal/sandbox-js
+
window.sandbox = (options = {}) ->
options = $.extend true, {}, {
html: '', css: '', js: ''

0 comments on commit d1dd500

Please sign in to comment.