Permalink
Browse files

put navigation to the left of paragraph nodes

only show the "here" navigation link; omit the prev/next links

reduce spacing above paragraph nodes in the @media=screen CSS
  • Loading branch information...
1 parent a58069e commit 83c71bb1e7944e7f190fc8b3748308bd6e3b2376 @sunaku committed Mar 15, 2010
Showing with 18 additions and 5 deletions.
  1. +18 −5 fmt/xhtml.yaml
View
@@ -529,6 +529,7 @@ nodes:
paragraph:
<<: *latex
index: false
+ chain: false
number: false
output: |
<%= @node.parent_tabs_begin %>
@@ -1717,11 +1718,6 @@ styles: # these are SASS templates
.paragraph > .title
font-size: large
- margin-top: 2em
-
-
- .paragraph > .content
- margin: 1em
._float
@@ -1879,6 +1875,19 @@ styles: # these are SASS templates
padding-right: 20px
+ .paragraph
+ margin-top: 1.5em
+ margin-bottom: 1.5em
+
+ > .nav
+ float: left
+
+ > .title
+ // align with .nav
+ padding-left: 2.5em
+ padding-top: 0.25em
+
+
._float
margin: 1.5em
@@ -2054,6 +2063,10 @@ styles: # these are SASS templates
padding-bottom: 0.5em
+ .paragraph > .title
+ margin-top: 2em
+
+
._float
margin: 3em

0 comments on commit 83c71bb

Please sign in to comment.