Move the tutorials to the main nav... I don't think most people see it.

This commit is contained in:
Chris Eppstein 2010-10-31 23:51:17 -07:00
parent 5dea2be6ac
commit deef53f437
3 changed files with 6 additions and 11 deletions

View File

@ -57,9 +57,6 @@ footer[role="contentinfo"]
background: #cccccc background: #cccccc
cursor: default cursor: default
+active-compass-nav("#home,.reference", "/docs/")
+active-compass-nav(".tutorial", "/docs/tutorials/")
#docs-nav #docs-nav
+pie-clearfix +pie-clearfix
+leading-border(1px, 0.25) +leading-border(1px, 0.25)
@ -108,6 +105,8 @@ footer[role="contentinfo"]
+active-docs("#home", "/docs/") +active-docs("#home", "/docs/")
+active-docs(".core", "/docs/reference/compass/") +active-docs(".core", "/docs/reference/compass/")
+active-docs(".blueprint", "/docs/reference/blueprint/") +active-docs(".blueprint", "/docs/reference/blueprint/")
+active-docs(".tutorial", "/docs/tutorials/")
#version #version
+adjust-font-size-to(14px) +adjust-font-size-to(14px)

View File

@ -2,6 +2,8 @@
title: Best practices title: Best practices
crumb: Best practices crumb: Best practices
layout: tutorial layout: tutorial
classnames:
- tutorial
--- ---
### Use a Base stylesheet file ### Use a Base stylesheet file

View File

@ -6,14 +6,6 @@
%div %div
%h1.vcard %h1.vcard
%a.fn.org.url.uid{:href => "/", :rel => "home"} Compass %a.fn.org.url.uid{:href => "/", :rel => "home"} Compass
%nav#compass-nav
%ul
%li
%a{:href => "/", :rel => "home"} compass
%li
%a{:href => "/docs/"} reference
%li
%a{:href => "/docs/tutorials/"} tutorials
%nav#docs-nav{:role => "navigation"} %nav#docs-nav{:role => "navigation"}
.container .container
%ul %ul
@ -23,6 +15,8 @@
%a{:href => "/docs/reference/compass/"} core %a{:href => "/docs/reference/compass/"} core
%li %li
%a{:href => "/docs/reference/blueprint/"} blueprint %a{:href => "/docs/reference/blueprint/"} blueprint
%li
%a{:href => "/docs/tutorials/"} tutorials
/ /
%li %li
%a{:href => "/docs/plugins/"} plugins %a{:href => "/docs/plugins/"} plugins