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 !important; | |
− | + | } | |
− | + | #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; | |
− | + | } | |
+ | #menuToggle #space-end-social { | ||
+ | margin-bottom: 30px; | ||
+ | } | ||
+ | #menuToggle #space-end-music { | ||
+ | margin-bottom: 40px; | ||
+ | } | ||
+ | #menuToggle ul:hover { | ||
+ | /* color:#2864c4; */ | ||
+ | } | ||
+ | #menuToggle .titulo1-text { | ||
+ | font-size: 18px !important; | ||
+ | } | ||
+ | #menuToggle .titulo2-text { | ||
+ | font: 700 14px / 22.4px sans-serif !important; | ||
+ | } | ||
+ | #menuToggle .titulo1-text-marco { | ||
+ | padding-left: 10px !important; | ||
+ | padding-right: 40px !important; | ||
+ | } | ||
+ | #menuToggle .titulo1-marco-oneline { | ||
+ | padding-right: 0px !important; | ||
+ | padding-left: 0px !important; | ||
+ | margin-right: -5px !important; | ||
+ | margin-left: 0px !important; | ||
+ | min-height: 35pt !important; | ||
+ | margin-top: | ||
}} | }} | ||
− | + | ||
− | + | ||
<!-- Transclusion of pages that contain MW tags --> | <!-- 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}} | |
</div> | </div> | ||
<html> | <html> | ||
− | + | <script> | |
− | + | document.getElementById("MediawikiHelp0-inter1").innerHTML = document.getElementById("MediawikiHelp0-inter0").innerHTML | |
− | + | </script> | |
</html> | </html> | ||
<div id="Desktop-inter0" style="display:none"> | <div id="Desktop-inter0" style="display:none"> | ||
− | + | {{#lst:Desktop|Desktop0}} | |
</div> | </div> | ||
<html> | <html> | ||
− | + | <style> | |
− | + | #Desktop-inter1 .desktop-1-1 { | |
− | + | border: 0px solid red; | |
− | + | } | |
− | + | #Desktop-inter1 .desktop-2-1 { | |
− | + | background-color: #e3e3e8 !important; | |
− | + | border: 0px solid green !important; | |
− | + | padding-top: 0px !important; | |
− | + | padding-bottom: 40px; | |
− | + | } | |
− | + | #Desktop-inter1 .desktop-cuadro { | |
− | + | border: 0px solid white !important; | |
− | + | background-color: white !important; | |
− | + | } | |
− | + | #Desktop-inter1 .text-2-1 { | |
− | + | margin-bottom: -50px; | |
− | + | } | |
− | + | #Desktop-inter1 .nivel-3 li { | |
− | + | margin-bottom: -3px !important; | |
− | + | } | |
− | + | #Desktop-inter1 .nivel-3 ul { | |
− | + | margin-bottom: -20px !important; | |
− | + | } | |
− | + | #Desktop-inter1 .nivel-3 .first-li { | |
− | + | margin-top: 15px !important; | |
− | + | } | |
− | + | #Desktop-inter1 a { | |
− | + | overflow-wrap: break-word !important; | |
− | + | } | |
− | + | #Desktop-inter1 .text-1-1 { | |
− | + | font: 700 18px / 27.3px "Linux Libertine", Georgia, Times, serif; | |
− | + | background-color: #4081de; | |
− | + | vertical-align: center; | |
− | + | height: 46.6667px; | |
− | + | line-height: 53px; | |
− | + | margin: 7px -1px 50px 0px !important; | |
− | + | padding-left: 10px; | |
− | + | } | |
− | + | #Desktop-inter1 .desktop-2-1-area { | |
− | + | margin-left: -5px; | |
− | + | } | |
− | + | #Desktop-inter2 { | |
− | + | margin-top: -27px !important; | |
− | + | margin-bottom: 200px; | |
− | + | padding-left: 4px; | |
− | + | padding-right: 5px; | |
− | + | } | |
− | + | #Desktop-inter2 .antes-collapsible { | |
− | + | margin-bottom: 30px !important; | |
− | + | } | |
− | + | #Desktop-inter2 .espacio { | |
− | + | margin-left: -20px !important; | |
− | + | } | |
− | + | </style> | |
− | + | <script> | |
− | + | // This allows using the whole table by using «display: none» on the sections that won't be shown: | |
− | + | // document.getElementById("Desktop-inter2").innerHTML = document.getElementById("Desktop-inter0").innerHTML | |
− | + | // $(".invisible").not('.desktop-1').css('display','none') | |
− | + | // $("#Desktop-inter1 #container-desktop-menu").css('display','none') | |
− | + | // $("#Desktop-inter1 #desktop p").addClass("desplaza-2") | |
− | + | // $("#Desktop-inter1 .desktop-1-1").addClass("desplaza-2") | |
− | + | // $("#Desktop-inter1 .text-1-1").removeClass("desplaza-2") | |
− | + | // This is by taking only the section I need: | |
− | + | document.getElementById("desktop-1-titulo-inter").innerHTML = document.getElementById("desktop-1-titulo").innerHTML | |
− | + | document.getElementById("Desktop-inter2").innerHTML = document.getElementById("desktop-main").innerHTML | |
− | + | $("#Desktop-inter1 p").addClass("desplaza-2") | |
− | + | $("#Desktop-inter1 .desktop-1-1").addClass("desplaza-2") | |
− | + | $("#Desktop-inter1 .text-1-1").removeClass("desplaza-2") | |
− | + | $("#desktop-1-titulo-inter").wrap('<a href="Desktop" />'); | |
− | + | </script> | |
</html> | </html> |
Revision as of 01:57, 27 March 2021