diff --git a/doc/resources/ace/skeleton/csses/ace_api.css b/doc/resources/ace/skeleton/csses/ace_api.css index 52290168..170d6108 100644 --- a/doc/resources/ace/skeleton/csses/ace_api.css +++ b/doc/resources/ace/skeleton/csses/ace_api.css @@ -87,8 +87,15 @@ blockquote p{ Header and shoulders */ -ul.topLinks { - padding-left: 290px; +.navbar .nav > li { + float:none; + display:inline-block; + *display:inline; /* ie7 fix */ + zoom:1; /* hasLayout ie7 trigger */ +} + +.navbar { + text-align:center; } .small_win #topSection { @@ -119,27 +126,26 @@ ul.topLinks { left: 210px; } -.c9-sponsor { - background: url(../images/c9-sponsor.png) no-repeat 0 0; - z-index: 1; - width: 112px; - height: 119px; - position: absolute; - top: 55px; - right: 0; - outline: none; +.masthead { + background: #101010 url(../images/dashed_back.png) repeat 0 0; } -.jumbotron h1 { - font-size: 54px; - line-height: 1; - text-shadow: 0 1px 2px rgba(0, 0, 0, .5); +.masthead .container { + /*width: 680px;*/ + padding-left: 285px; + margin: 0 auto; + color: white; +} +.jumbotron { + min-width: 1000px; + padding-top: 40px; + position: relative; } -.jumbotron h1, .jumbotron p { - margin-bottom: 9px; - color: white; -/* text-align: center;*/ - text-shadow: 0 1px 1px rgba(0, 0, 0, .3); +.jumbotron .inner { +/* background: transparent url(../images/header-back.png) top center;*/ + padding: 45px 0; +/* -webkit-box-shadow: inset 0 10px 30px rgba(0,0,0,.3); + -moz-box-shadow: inset 0 10px 30px rgba(0,0,0,.3);*/ } .headerTitle { @@ -489,6 +495,7 @@ header.filler { .container { width: 100%; } + /* .container-fluid .row-fluid { width: 1000px; @@ -496,6 +503,12 @@ header.filler { margin-right: auto; }*/ +.divider { + height: 3px; + background-color: #BEDAEA; + margin-bottom: 3px; +} + .sidebarContainer { width: 280px; margin-left: 0px; @@ -515,6 +528,10 @@ header.filler { color: #404040; } +.mainContent .hero-unit { + background: rgba(255, 255, 255, 0.5); +} + #documentation { padding-bottom: 10px; } @@ -529,13 +546,22 @@ div#documentation article:last-child { padding-bottom: 40px; } #documentation article.article.methodToggleOpen { - background: url(../images/method_bg.png) repeat 0 0; - margin : 0 0 10px 0; + background: rgba(255, 255, 255, 0.5); + padding: 20px; + font-size: 13px; + line-height: 24px; + margin: 0 0 10px 0; } + #documentation article:first-child { border:none; } +.site_logo { + display: block; + margin-left: auto; + margin-right: auto; +} /* Edit in Cloud9, sucka */ diff --git a/doc/resources/ace/skeleton/images/swirl_divider.png b/doc/resources/ace/skeleton/images/swirl_divider.png new file mode 100644 index 00000000..f3e9f6c6 Binary files /dev/null and b/doc/resources/ace/skeleton/images/swirl_divider.png differ diff --git a/doc/resources/ace/templates/ace_menu.jade b/doc/resources/ace/templates/ace_menu.jade index d5da33e1..29e153d8 100755 --- a/doc/resources/ace/templates/ace_menu.jade +++ b/doc/resources/ace/templates/ace_menu.jade @@ -2,6 +2,8 @@ div#well h3 Ace Reference + div.swirl_divider + ul.menu li div.menu-item diff --git a/doc/resources/ace/templates/layout.jade b/doc/resources/ace/templates/layout.jade index 38b5e042..43e99a48 100644 --- a/doc/resources/ace/templates/layout.jade +++ b/doc/resources/ace/templates/layout.jade @@ -7,32 +7,34 @@ include lib -mixin head - -body - - #nonFooter - #wrapper - mixin navBar - - header.filler - +html(xmlns="http://www.w3.org/1999/xhtml") + head + mixin head + + body + + #nonFooter + #wrapper + mixin navBar - .container - .content - .row.centerpiece - .span3.offset6.sidebarContainer - #sidebar - include ace_menu.jade - .span9.mainContent - #documentation - -if (isIndex) - mixin markdown(indexContent) - -else - mixin api() - - div(id="disqus_thread") - - mixin footer - - mixin endingScripts \ No newline at end of file + header.filler + + + .container + .content + .row.centerpiece + .span3.offset6.sidebarContainer + #sidebar + include ace_menu.jade + .span9.mainContent + #documentation + -if (isIndex) + mixin markdown(indexContent) + -else + mixin api() + + div(id="disqus_thread") + + mixin footer + + mixin endingScripts \ No newline at end of file diff --git a/doc/resources/common_layout.jade b/doc/resources/common_layout.jade index c1202203..e64879eb 100644 --- a/doc/resources/common_layout.jade +++ b/doc/resources/common_layout.jade @@ -4,6 +4,7 @@ mixin doctype !!! 5 + @@ -20,7 +21,7 @@ mixin head title #{title} - #{fileName} meta(name="generator", content="c9-doc-build") - meta(name="description", content="A complete and community-driven resource for learning and developing Node.js applications.") + meta(name="description", content="Ace API documentation for the online code editor.") meta(name="author", content="Garen J. Torikian") meta(name="viewport", content="width=device-width,initial-scale=1") diff --git a/index.html b/index.html index 616a1f00..cb75743a 100644 --- a/index.html +++ b/index.html @@ -1,134 +1,150 @@ - - -
- -Ace is a standalone code editor written in JavaScript. Our goal is to create a web based code editor that matches and extends the features, usability and performance of existing native editors such as TextMate, Vim or Eclipse. It can be easily embedded in any web page and JavaScript application. Ace is developed as the primary editor for Cloud9 IDE and the successor of the Mozilla Skywriter (Bespin) Project.
+ + + + + + + + +