From 32120221cad1cb6b9fa17054a600e9f0784b98db Mon Sep 17 00:00:00 2001 From: Sebastian Pape Date: Thu, 1 Mar 2012 09:42:33 +0100 Subject: [PATCH] All Resources on Index + little styles --- templates/default/layout/html/layout.erb | 57 +++++++++++++++++++++--- templates/default/layout/html/setup.rb | 3 +- 2 files changed, 53 insertions(+), 7 deletions(-) diff --git a/templates/default/layout/html/layout.erb b/templates/default/layout/html/layout.erb index fc21ba5..134b562 100644 --- a/templates/default/layout/html/layout.erb +++ b/templates/default/layout/html/layout.erb @@ -8,22 +8,67 @@ #toc .title {display: none;} #toc a:link, #content a:visited { text-decoration: none; color: #05a; } #toc a:hover { background: #ffffa5; } + pre code { + display: block; + background: #EAF0FF; + padding: 12px; + line-height: 1.9em; + } + h2 { + margin: 2.4em 0 0.5em; + } + h3 { + font-size: 1.2em; + font-weight: normal; + padding-top: 22px; + margin-bottom: -6px; + } + #resources { + padding: 14px 20px 52px; + } + #resources li { + display: block; + font-size: 1.3em; + float: left; + width: 140px; + } + .resource_url { + display: block; + background: #EAF0FF; + padding: 12px; + } + #search_frame #search { + display: none; + } + .parameters { + + } + .parameters .required { + float: left; + min-width: 300px; + width: 50%; + } + .parameters .optional { + float: left; + min-width: 300px; + width: 50%; + }