Difference between revisions of "Template:Sidebar"
Adelo Vieira (talk | contribs) |
Adelo Vieira (talk | contribs) |
||
Line 111: | Line 111: | ||
display: block; | display: block; | ||
position: relative; | position: relative; | ||
− | top: - | + | top: -327px; |
+ | margin-left: 1px; | ||
padding-left: 10px; | padding-left: 10px; | ||
− | |||
-webkit-user-select: none; | -webkit-user-select: none; | ||
user-select: none; | user-select: none; | ||
Line 306: | Line 306: | ||
$('#content').css('margin-left', '300px') | $('#content').css('margin-left', '300px') | ||
$('#left-navigation').css({'cssText':'margin-left:300px'}) | $('#left-navigation').css({'cssText':'margin-left:300px'}) | ||
− | |||
$('#footer').css('margin-left', '308px') | $('#footer').css('margin-left', '308px') | ||
} else { | } else { | ||
$('#content').css('margin-left', '180px') | $('#content').css('margin-left', '180px') | ||
$('#left-navigation').css({'cssText':'margin-left:180px'}) | $('#left-navigation').css({'cssText':'margin-left:180px'}) | ||
− | |||
$('#footer').css('margin-left', '180px') | $('#footer').css('margin-left', '180px') | ||
} | } | ||
Line 330: | Line 328: | ||
} | } | ||
− | function moveSidebarToBody() { | + | // function moveSidebarToBody() { |
− | + | // document.body.appendChild(document.getElementById('MySidebar')) | |
− | } | + | // } |
$(document).ready( function() { | $(document).ready( function() { |
Revision as of 15:02, 8 March 2021