Difference between revisions of "Template:Sidebar"
Adelo Vieira (talk | contribs) |
Adelo Vieira (talk | contribs) |
||
Line 1: | Line 1: | ||
{{#tag:html| | {{#tag:html| | ||
− | + | <style> | |
− | + | /* MediaWiki page configurations */ | |
− | + | #content { margin: -1px 0px 0px 180px; } | |
− | + | #left-navigation { margin-left:180px } | |
− | + | #footer { margin: 0 0 0 180px } | |
− | + | #bodyContent { z-index: 10 } | |
− | + | .mw-wiki-logo { margin: 20px 0px 0px 0.5px } | |
− | + | /* TOC */ | |
− | + | div#toc.toc { | |
− | + | font-size: 12pt; | |
− | + | margin-top: -4.5pt; | |
− | + | background: rgba(255, 255, 255, 1); | |
− | + | margin-right: 12pt; | |
− | + | } | |
− | + | .tocUl { | |
− | + | overflow-y: scroll !important; | |
− | + | overflow-x: scroll !important; | |
− | + | max-height: calc(100vh - 150px); | |
− | + | width: 350px !important; | |
− | + | padding-bottom: 30px !important; | |
− | + | white-space: nowrap !important; | |
− | + | } | |
− | + | .tocUl a { | |
− | + | padding-right: 25px !important; | |
− | + | } | |
− | + | .tochidden { | |
− | + | height: 4pt !important; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | /* This block manages the CSS changes between "Mis paginas" page and the "Sidebar" page CSS */ | |
− | + | #menuToggle ul { | |
− | + | margin-top: 20px !important; | |
− | + | margin-bottom: 35px !important; | |
− | + | } | |
− | + | #menuToggle li { | |
− | + | font: 14px / 22.4px sans-serif; | |
− | + | margin-top: 0px ; | |
− | + | margin-bottom: 15px ; | |
− | + | } | |
− | + | #menuToggle .entre-li { | |
− | + | margin-bottom: -15px ; | |
− | + | } | |
− | + | #menuToggle .entre-li-n4 { | |
− | + | margin-bottom: -30px ; | |
− | + | } | |
− | + | #menuToggle .entre-li-n4-first { | |
− | + | margin-top: -25px ; | |
− | + | } | |
− | + | #menuToggle ul .first-li { | |
− | + | margin-top: -15px !important; | |
− | + | } | |
− | + | #menuToggle ul .first-mwhelp { | |
− | + | margin-top: -7px !important; | |
− | + | } | |
− | + | #menuToggle a { | |
− | + | color: #0645AD !important; | |
− | + | overflow-wrap: break-word; | |
− | + | } | |
− | + | #menuToggle pre { | |
− | + | overflow-wrap: break-word; | |
− | + | } | |
− | + | #menuToggle a:hover { | |
− | + | text-decoration: underline !important; | |
− | + | } | |
− | + | #menuToggle a{ | |
− | + | font: 14px / 22.4px sans-serif; | |
− | + | } | |
− | + | #menuToggle li{ | |
− | + | font: 14px / 22.4px sans-serif; | |
− | + | } | |
− | + | #menuToggle span { | |
− | + | font: 14px / 22.4px sans-serif; | |
− | + | } | |
− | + | #menuToggle .base-li-1 { | |
− | + | margin-bottom: -25px !important; | |
− | + | } | |
− | + | #menuToggle .base-text { | |
− | + | font-size:12pt !important; | |
− | + | } | |
− | + | #menuToggle .desplaza { | |
− | + | margin-top: -12px; | |
− | + | padding-right: 30px !important; | |
− | + | } | |
− | + | #menuToggle .desplaza-2 { | |
− | + | margin-top: -10px !important; | |
− | + | } | |
− | + | #menuToggle #space-end-pure { | |
− | + | margin-bottom: 80px; | |
}} | }} | ||
+ | |||
+ | |||
+ | <!-- Transclusion of pages that contain MW tags --> | ||
− | |||
− | |||
<div id="MediawikiHelp0-inter0" style="display:none"> | <div id="MediawikiHelp0-inter0" style="display:none"> | ||
{{#lst:My MediaWiki help|MediawikiHelp0}} | {{#lst:My MediaWiki help|MediawikiHelp0}} | ||
</div> | </div> | ||
<html> | <html> | ||
− | + | <script> | |
− | + | document.getElementById("MediawikiHelp0-inter1").innerHTML = document.getElementById("MediawikiHelp0-inter0").innerHTML | |
− | + | </script> | |
+ | </html> | ||
+ | |||
+ | |||
+ | <div id="Desktop-inter0" style="display:none"> | ||
+ | {{#lst:Desktop|Desktop0}} | ||
+ | </div> | ||
+ | <html> | ||
+ | <script> | ||
+ | document.getElementById("Desktop-inter1").innerHTML = document.getElementById("Desktop-inter0").innerHTML | ||
+ | </script> | ||
</html> | </html> |
Revision as of 21:28, 21 March 2021