Improved wikipage sidebar.

This commit is contained in:
Benjamin Meichsner 2009-08-12 18:55:36 +02:00
parent 3b766af2a6
commit 9516f349ce
4 changed files with 10 additions and 4 deletions

View file

@ -19,7 +19,7 @@
= "(#{User.find(version.updated_by).nick})"
- unless @page.children.empty?
#children
#subpages
%h2 Unterseiten
%ul
- for page in @page.children

View file

@ -455,10 +455,12 @@ a.new_wiki_link {
#sidebar {
float: right;
margin-top: -2%;
width: 20%; }
#sidebar #page-versions {
margin-top: -4em;
text-align: right; }
#sidebar #subpages {
margin-top: 2em; }
#wiki_content h1, #wiki_content h2, #wiki_content h3, #wiki_content h4, #wiki_content h5 {
color: black; }

View file

@ -455,10 +455,12 @@ a.new_wiki_link {
#sidebar {
float: right;
margin-top: -2%;
width: 20%; }
#sidebar #page-versions {
margin-top: -4em;
text-align: right; }
#sidebar #subpages {
margin-top: 2em; }
#wiki_content h1, #wiki_content h2, #wiki_content h3, #wiki_content h4, #wiki_content h5 {
color: black; }

View file

@ -499,10 +499,12 @@ a.new_wiki_link
:color = !main_red
#sidebar
float: right
margin-top: -2%
width: 20%
#page-versions
margin-top: -4em
text-align: right
#subpages
margin-top: 2em
#wiki_content