Difference between revisions of "Template:Sidebar"

From Sinfronteras
Jump to: navigation, search
 
(68 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{#tag:html|
 
{{#tag:html|
 +
    <script>
 +
        /* Some important variables */
 +
        show_oculto = true
 +
    </script>
 
     <style>
 
     <style>
 
         /* MediaWiki page configurations */
 
         /* MediaWiki page configurations */
Line 300: Line 304:
 
         }
 
         }
 
         #container-button-tap {
 
         #container-button-tap {
        width:100%;
+
            width:100%;
        color:rgb(97, 97, 114);
+
            color:rgb(97, 97, 114);
        background-color: white;
+
            background-color: white;
 +
            border-top:    1px solid #bbbbca;
 +
            /* border-bottom : 38px solid red !important; */
 
         }
 
         }
 
         .izquierda{
 
         .izquierda{
        float:left;
+
            float:left;
        width:25%;
+
            width:25%;
        text-align: center;
+
            text-align: center;
 
         }
 
         }
 
         .derecha{
 
         .derecha{
        float:right;
+
            float:right;
        width:25%;
+
            width:25%;
        text-align: center;
+
            text-align: center;
 
         }
 
         }
 
         .centrar{
 
         .centrar{
        margin:0 auto;
+
            margin:0 auto;
        width:25%;
+
            width:25%;
        text-align: center;
+
            text-align: center;
 
         }
 
         }
 
     </style>
 
     </style>
Line 471: Line 477:
 
             if ( document.getElementById('pt-userpage') != null ) {
 
             if ( document.getElementById('pt-userpage') != null ) {
 
                 if ( document.getElementById('pt-userpage').getElementsByTagName('a')[0].innerText == "Adelo Vieira" ){
 
                 if ( document.getElementById('pt-userpage').getElementsByTagName('a')[0].innerText == "Adelo Vieira" ){
                     $('.oculto').css('display','block')
+
                     if (show_oculto == true) {
 +
                        $('.oculto').css('display','block')
 +
                    }
 
                     $('.link-hidden').css('pointer-events','auto')
 
                     $('.link-hidden').css('pointer-events','auto')
 +
                    $('#p-logo a').attr('href','/view/Mis_páginas');
 
                     // $('body').css('background','red');
 
                     // $('body').css('background','red');
 
                 }else{
 
                 }else{
Line 478: Line 487:
 
                 }
 
                 }
 
             }else{
 
             }else{
 +
                $("#menuToggle #button-others").css('pointer-events','none')
 
                 // $('body').css('background','blue');
 
                 // $('body').css('background','blue');
 
                 // $('#hideThis').show();
 
                 // $('#hideThis').show();
Line 779: Line 789:
 
             font: 700 18px / 27.3px "Linux Libertine", Georgia, Times, serif;
 
             font: 700 18px / 27.3px "Linux Libertine", Georgia, Times, serif;
 
             background-color: #4081de;  
 
             background-color: #4081de;  
            /* color: orange !important; */
 
 
             vertical-align: center;  
 
             vertical-align: center;  
             min-height: 46.6667px;  
+
             height: 46.6667px;  
             line-height: 46.6667px;
+
             line-height: 53px;
 
             margin: 7px -1px 50px 0px !important;
 
             margin: 7px -1px 50px 0px !important;
             padding-left:10px;
+
             padding-left: 10px;
 
         }
 
         }
 
         #Desktop-inter1 .desktop-2-1-area {
 
         #Desktop-inter1 .desktop-2-1-area {
Line 790: Line 799:
 
         }
 
         }
 
         #Desktop-inter2 {
 
         #Desktop-inter2 {
             margin-top:   0px !important;
+
             margin-top:   -27px !important;
 
             margin-bottom: 200px;
 
             margin-bottom: 200px;
 
             padding-left:  4px;
 
             padding-left:  4px;
 
             padding-right: 5px;
 
             padding-right: 5px;
 +
        }
 +
        #Desktop-inter2 .antes-collapsible {
 +
            margin-bottom: 30px !important;
 +
        }
 +
        #Desktop-inter2 .espacio {
 +
            margin-left: -20px !important;
 
         }
 
         }
 
     </style>
 
     </style>
Line 806: Line 821:
  
 
         // This is by taking only the section I need:
 
         // This is by taking only the section I need:
         document.getElementById("desktop-1-titulo-inter").innerHTML = document.getElementById("desktop-1-titulo").innerText
+
         document.getElementById("desktop-1-titulo-inter").innerHTML = document.getElementById("desktop-1-titulo").innerHTML
 
         document.getElementById("Desktop-inter2").innerHTML = document.getElementById("desktop-main").innerHTML
 
         document.getElementById("Desktop-inter2").innerHTML = document.getElementById("desktop-main").innerHTML
  

Latest revision as of 17:58, 26 June 2022