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})"
|
= "(#{User.find(version.updated_by).nick})"
|
||||||
|
|
||||||
- unless @page.children.empty?
|
- unless @page.children.empty?
|
||||||
#children
|
#subpages
|
||||||
%h2 Unterseiten
|
%h2 Unterseiten
|
||||||
%ul
|
%ul
|
||||||
- for page in @page.children
|
- for page in @page.children
|
||||||
|
|
|
@ -455,10 +455,12 @@ a.new_wiki_link {
|
||||||
|
|
||||||
#sidebar {
|
#sidebar {
|
||||||
float: right;
|
float: right;
|
||||||
margin-top: -2%;
|
|
||||||
width: 20%; }
|
width: 20%; }
|
||||||
#sidebar #page-versions {
|
#sidebar #page-versions {
|
||||||
|
margin-top: -4em;
|
||||||
text-align: right; }
|
text-align: right; }
|
||||||
|
#sidebar #subpages {
|
||||||
|
margin-top: 2em; }
|
||||||
|
|
||||||
#wiki_content h1, #wiki_content h2, #wiki_content h3, #wiki_content h4, #wiki_content h5 {
|
#wiki_content h1, #wiki_content h2, #wiki_content h3, #wiki_content h4, #wiki_content h5 {
|
||||||
color: black; }
|
color: black; }
|
||||||
|
|
|
@ -455,10 +455,12 @@ a.new_wiki_link {
|
||||||
|
|
||||||
#sidebar {
|
#sidebar {
|
||||||
float: right;
|
float: right;
|
||||||
margin-top: -2%;
|
|
||||||
width: 20%; }
|
width: 20%; }
|
||||||
#sidebar #page-versions {
|
#sidebar #page-versions {
|
||||||
|
margin-top: -4em;
|
||||||
text-align: right; }
|
text-align: right; }
|
||||||
|
#sidebar #subpages {
|
||||||
|
margin-top: 2em; }
|
||||||
|
|
||||||
#wiki_content h1, #wiki_content h2, #wiki_content h3, #wiki_content h4, #wiki_content h5 {
|
#wiki_content h1, #wiki_content h2, #wiki_content h3, #wiki_content h4, #wiki_content h5 {
|
||||||
color: black; }
|
color: black; }
|
||||||
|
|
|
@ -499,10 +499,12 @@ a.new_wiki_link
|
||||||
:color = !main_red
|
:color = !main_red
|
||||||
#sidebar
|
#sidebar
|
||||||
float: right
|
float: right
|
||||||
margin-top: -2%
|
|
||||||
width: 20%
|
width: 20%
|
||||||
#page-versions
|
#page-versions
|
||||||
|
margin-top: -4em
|
||||||
text-align: right
|
text-align: right
|
||||||
|
#subpages
|
||||||
|
margin-top: 2em
|
||||||
|
|
||||||
|
|
||||||
#wiki_content
|
#wiki_content
|
||||||
|
|
Loading…
Reference in a new issue