app/assets/stylesheets/apitome/application.css in apitome-0.0.4 vs app/assets/stylesheets/apitome/application.css in apitome-0.0.6

- old
+ new

@@ -10,10 +10,13 @@ h1, h2 { margin-top: 30px; } +pre { + background: #fcfbf9; +} pre code { padding: 0; background: transparent; } .table code { @@ -21,13 +24,13 @@ font-weight: normal; } .docs-nav { text-shadow: 0 -1px 0 rgba(0,0,0,.15); - background-color: #eee; + background-color: #f4f3ee; border-color: #ddd; - border-top: 4px solid #009dc4; + border-top: 3px solid #009dc4; box-shadow: 0 1px 0 rgba(255,255,255,.1); margin-bottom: 25px; } .docs-nav .navbar-brand { margin: 0; @@ -44,11 +47,11 @@ margin-top: 30px; margin-bottom: 30px; padding-top: 10px; padding-bottom: 10px; text-shadow: 0 1px 0 #fff; - background-color: #f7f5fa; + background-color: #f4f3ee; border-radius: 5px; } .sidebar .nav > li > a { display: block; color: #716b7a; @@ -80,11 +83,20 @@ body.single-page .docs-section section.readme article { margin-top: -50px; margin-bottom: -20px; } + body.single-page .docs-section section article { padding-top: 50px; +} + +body.single-page .docs-section section h2.resource-name { + padding-top: 50px; +} + +body.single-page .docs-section section h2.resource-name + article { + padding-top: 0px; } @media screen and (min-width: 992px) { .sidebar.affix { position: fixed;