Improved wikipage sidebar.
This commit is contained in:
parent
3b766af2a6
commit
9516f349ce
4 changed files with 10 additions and 4 deletions
|
@ -19,7 +19,7 @@
|
|||
= "(#{User.find(version.updated_by).nick})"
|
||||
|
||||
- unless @page.children.empty?
|
||||
#children
|
||||
#subpages
|
||||
%h2 Unterseiten
|
||||
%ul
|
||||
- for page in @page.children
|
||||
|
|
|
@ -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; }
|
||||
|
|
|
@ -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; }
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue