Difference between revisions of "Template:Sidebar"

From Sinfronteras
Jump to: navigation, search
 
(951 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 */
    #content { margin: -1px 0px 0px 180px; }
+
        #content { margin: -1px 0px 0px 180px; }
    #left-navigation { margin-left:180px }
+
        #left-navigation { margin-left:180px }
    <!-- #p-namespaces { margin-left: 124px !important; } -->
+
        #footer { margin: 0 0 0 180px }
    #footer { margin: 0 0 0 180px }
+
        #bodyContent { z-index: 10 }
    #bodyContent { z-index: 10 }
+
        .mw-wiki-logo { margin: 20px 0px 0px 0.5px }
    .mw-wiki-logo { margin: 20px 0px 0px 0.5px }
+
        /* TOC */
   
+
        div#toc.toc {
    #menuToggle ul {
+
            font-size: 12pt;
        margin-top:    20px !important;  
+
            margin-top: -4.5pt;
        margin-bottom: 35px !important;
+
            background: rgba(255, 255, 255, 1);
    }
+
            margin-right: 12pt;
    #menuToggle li {
+
        }
        font: 14px / 22.4px sans-serif;
+
        .tocUl {
        margin-top:    0px;
+
            overflow-y: scroll  !important;
        margin-bottom: 10px;
+
            overflow-x: scroll  !important;
    }
+
            max-height: calc(100vh - 150px);
    #menuToggle li span { }
+
            width: 350px !important;
    #menuToggle a, li {
+
            padding-bottom: 30px !important;
        font: 14px / 22.4px sans-serif;
+
            white-space: nowrap !important;
    }
+
        }
    .base-li-1 {
+
        .tocUl a {
         margin-bottom: -7px !important;
+
            padding-right: 25px !important;
    }
+
        }
    .desplaza {
+
        .tochidden {
        margin-top: -12px !important;
+
            height: 4pt !important;
         padding-right: 30px !important;
+
        }
    }
+
 
    div#toc.toc {
+
 
         font-size: 12pt;
+
        /* This block manages the CSS changes between "Mis paginas" page and the "Sidebar" page CSS */
         margin-top: -4.5pt;
+
        #menuToggle ul {
         background: rgba(255, 255, 255, 1);
+
            margin-top:    20px !important;
         margin-right: 12pt;
+
            margin-bottom: 35px !important;
    }
+
        }
    .tocUl {
+
        #menuToggle li {
        overflow-y: scroll  !important;
+
            font: 14px / 22.4px sans-serif;
         overflow-x: scroll  !important;
+
            margin-top:    0px ;
         max-height: calc(100vh - 150px);
+
            margin-bottom: 15px ;
        width: 350px !important;
+
        }
         padding-bottom: 30px !important;
+
        #menuToggle .entre-li {
         white-space: nowrap !important;
+
            margin-bottom:  -15px ;
    }
+
        }
    .tocUl a {
+
        #menuToggle .entre-li-n4 {
        padding-right: 25px !important;
+
            margin-bottom: -30px ;
    }
+
        }
    .tochidden {
+
        #menuToggle .entre-li-n4-first {
        height: 4pt !important;
+
            margin-top:  -25px ;
    }
+
         }
    .titulo1-text {
+
        #menuToggle ul .first-li  {
        font-size: 18px !important;
+
            margin-top: -15px  !important;
    }
+
        }
    .titulo2-text {
+
        #menuToggle ul .first-mwhelp  {
        font: 700 14px / 22.4px sans-serif !important;
+
            margin-top: -7px  !important;
    }
+
         }
    .titulo1-text-marco {
+
        #menuToggle a {
        padding-left: 10px !important;
+
            color: #0645AD !important;
        padding-right: 40px !important;
+
            overflow-wrap: break-word;
    }
+
        }
    .titulo1-marco-oneline {
+
        #menuToggle pre {
        padding-right: 0px !important;
+
            overflow-wrap: break-word;
        padding-left: 0px !important;
+
         }
        margin-right: -5px !important;
+
        #menuToggle a:hover {
        margin-left: 0px !important;
+
            text-decoration: underline !important;
        min-height: 35pt !important;
+
         }
        margin-top:-30pt !important;
+
        #menuToggle a{
    }
+
            font: 14px / 22.4px sans-serif;
    .titulo1-marco-twolines {
+
         }
        padding-right: 0px !important;
+
        #menuToggle li {
        padding-left: 0px !important;
+
            font: 14px / 22.4px sans-serif !important;
        margin-right: -5px !important;
+
         }
        margin-left: 0px !important;
+
        #menuToggle span {
        min-height: 50pt !important;
+
            font: 14px / 22.4px sans-serif;
        margin-top:-47pt !important;
+
        }
    }
+
        #menuToggle .base-li-1 {
    .titulo1-marco-color {
+
            margin-bottom: -25px !important;
        background: #9595ab !important;
+
         }
    }
+
        #menuToggle .base-text {
    .titulo1-color {
+
            font-size:12pt !important;
        color: white !important;
+
         }
    }
+
        #menuToggle .desplaza {
    .marco1-ext {
+
            margin-top: -12px;
        width: 100% !important;
+
            padding-right: 30px !important;
        padding: 0px 0px 0px 0px !important;
+
         }
        background: #e3e3e8 !important;
+
        #menuToggle .desplaza-2 {
    }
+
            margin-top: -10px !important;
    .marco1-int {
+
         }
        background: #e3e3e8 !important;
+
        #menuToggle #space-end-pure {
    }
+
            margin-bottom: 80px;
    .marco1-ext .mw-editsection {
+
        }
        display: none !important;
+
        #menuToggle #space-end-social {
    }
+
            margin-bottom: 30px;
    .divline1 {
+
        }
        padding: 0;  
+
        #menuToggle #space-end-music {
        border: 0;  
+
            margin-bottom: 40px;
        display: block;  
+
        }
        margin-top:-10px;  
+
        #menuToggle ul:hover {
        margin-right: 0px !important;  
+
            /* color:#2864c4; */
        margin-left: 2px  !important;  
+
        }
        background-color: white;  
+
        #menuToggle .titulo1-text {
        height:1.2pt
+
            font-size: 18px !important;
    }
+
        }
   
+
        #menuToggle .titulo2-text {
   
+
            font: 700 14px / 22.4px sans-serif !important;
    /* Sidebar (Pure CSS) */
+
        }
    body {
+
        #menuToggle .titulo1-text-marco {
   
+
            padding-left: 10px !important;
    }
+
            padding-right: 40px !important;
    #menuToggle {
+
        }
        display: block;
+
        #menuToggle .titulo1-marco-oneline {
        position: relative;
+
            padding-right: 0px !important;
        top: -145px;
+
            padding-left: 0px !important;
        margin-left: -205px;
+
            margin-right: -5px !important;
        padding-left: 10px;
+
            margin-left:   0px !important;
        -webkit-user-select: none;
+
            min-height:   35pt !important;
        user-select: none;
+
            margin-top:   -30pt !important;
    }
+
        }
    #menuToggle a {
+
        #menuToggle .titulo1-marco-twolines {
        text-decoration: none;
+
            padding-right: 0px !important;
        color: #232323;  
+
            padding-left: 0px !important;
         transition: color 0.3s ease;
+
            margin-right: -5px !important;
    }
+
            margin-left:   0px !important;
    #menuToggle a:hover { color: tomato; }
+
            min-height:   50pt !important;
    #menuToggle input {
+
            margin-top:   -47pt !important;
        display: block;
+
        }
        width: 40px;
+
        #menuToggle .titulo1MarcoTwolines {
        height: 32px;
+
            padding-right: 0px;
         position: absolute;
+
        }
        top: -7px;
+
        #menuToggle .titulo1-marco-color {
        left: -5px;
+
            background: #9595ab !important;
        cursor: pointer;
+
        }
        opacity: 0; /* hide this */
+
        #menuToggle .titulo1-color {
        z-index: 12; /* and place it over the hamburger */
+
            color: white !important;
        -webkit-touch-callout: none;
+
        }
    }
+
        #menuToggle .marco1-ext {
    /* Just a quick hamburger */
+
            width: 100% !important;
    #menuToggle .hamb {
+
            padding: 0px 0px 0px 0px !important;
        display: block;
+
            background: #e3e3e8 !important;
        width: 33px;
+
        }
        height: 6px;
+
        #menuToggle .marco1-int {
        margin-bottom: 4px;
+
            background: #e3e3e8 !important;
        position: relative;
+
        }
        background: #999191;
+
        #menuToggle .marco1-ext .mw-editsection {
        border-radius: 3px;
+
            display: none !important;
        z-index: 11;
+
        }
        transform-origin: 4px 0px;
+
        #menuToggle .divline1 {
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
+
            padding: 0;  
                    background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
+
            border: 0;  
                    opacity 0.55s ease;
+
            display: block;  
    }
+
            margin-top: -7px !important;
    #menuToggle span:first-child {
+
            margin-bottom: 30px !important;  
        transform-origin: 0% 0%;
+
            margin-right: 0px !important;  
    }
+
            margin-left: 2px  !important;  
    #menuToggle span:nth-last-child(2) {
+
            background-color: white;  
        transform-origin: 0% 100%;
+
            height:1.2pt
    }
+
        }
    /* Transform all the slices of hamburger into a crossmark */
+
        #menuToggle .mw-collapsible-toggle {
    #menuToggle input:checked ~ span {
+
            outline: none !important;
        opacity: 1;
+
            color: rgb(58, 58, 63) !important;
        transform: rotate(45deg) translate(-2px, -1px);
+
         }
        background: #837e7e;
+
         #menuToggle .mw-collapsible-text {
    }
+
            color: rgb(58, 58, 63) !important;
    /* But let's hide the middle one */
+
        }
    #menuToggle input:checked ~ span:nth-last-child(3) {
+
        #menuToggle .mw-collapsible-text:hover {
        opacity: 0;
+
            color: red !important;
        transform: rotate(0deg) scale(0.2, 0.2);
+
        }
    }
+
        #menuToggle .mw-collapsible-toggle:hover {
    /* Ohyeah and the last one should go the other direction */
+
            color: red !important;
    #menuToggle input:checked ~ span:nth-last-child(2) {
+
        }
        transform: rotate(-45deg) translate(0, -1px);
+
        #menuToggle .resaltar:hover {background: #bdbdca}
    }
+
        #menuToggle .button-top {
   
+
            color: #999191; font-size:20px
    /* Make this absolute positioned at the top left of the screen */
+
         }
    #menu {
+
         #menuToggle .button-top:hover {
        position: absolute;
+
            color: #5c4444;
        width: 300px;
+
         }
        margin: -55px 0 0 -10px;
 
        padding: 50px 0px 30px 0px;
 
        background: #ededed;
 
        list-style-type: none;
 
        -webkit-font-smoothing: antialiased;
 
        /* to stop flickering of text in safari */
 
        transform-origin: 0% 0%;
 
         <!-- transform: translate(-100%, 0); -->
 
        display: none;
 
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
 
    }
 
    #menu li {
 
        padding: 10px 0 0 0;
 
         font-size: 22px;
 
    }
 
    /* And let's slide it in from the left */
 
    #menuToggle input:checked ~ #menu {
 
        <!-- transform: none; -->
 
         display: block;
 
    }
 
   
 
  
    /* Tab Menu */
+
 
    .button{
+
        /* Sidebar (Pure CSS) */
        font-size: 14px;
+
        #menuToggle {
        color: inherit;
+
            display: block;
        background-color :inherit;
+
            position: relative;
        padding: 8px 0px 8px 0px;  
+
            top: -145px;
        border: none;  
+
            margin-left: -205px;
        outline: 0;
+
            padding-left: 10px;
        cursor: pointer;
+
            <!-- -webkit-user-select: none; -->
    }
+
            <!-- user-select: none; -->
    .bottom-selected { background-color: #f44336 !important }
+
        }
    .area {
+
        #menuToggle a {
         color: black;
+
            text-decoration: none;
         padding: 5px 0px 5000px 3px;
+
            color: #232323;
        border: 0px solid #ccc !important;
+
            transition: color 0.3s ease;
    }
+
        }
    .left  {float: left;   width:100px; text-align: center;}
+
        #menuToggle a:hover { color: tomato; }
    .right  {float: right; width:100px; text-align: center;}
+
        #menuToggle input {
    .center {margin: 0 auto; width:100px; text-align: center;}
+
            display: block;
   
+
            width: 40px;
 +
            height: 32px;
 +
            position: absolute;
 +
            top: -7px;
 +
            left: -5px;
 +
            cursor: pointer;
 +
            opacity: 0; /* hide this */
 +
            z-index: 12; /* and place it over the hamburger */
 +
            -webkit-touch-callout: none;
 +
        }
 +
        /* Just a quick hamburger */
 +
        #menuToggle .hamb {
 +
            display: block;
 +
            width: 26px;
 +
            height: 4.1px;
 +
            margin-bottom: 2.9px;
 +
            position: relative;
 +
            background: #837e7e;
 +
            border-radius: 3px;
 +
            z-index: 11;
 +
            transform-origin: 4px 0px;
 +
            transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
 +
                        background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
 +
                        opacity 0.55s ease;
 +
        }
 +
        /* #menuToggle #inputButton:hover + #hamb1 {
 +
            background: #5c4444 !important;
 +
        } */
 +
        #menuToggle span:first-child {
 +
            transform-origin: 0% 0%;
 +
        }
 +
        #menuToggle span:nth-last-child(2) {
 +
            transform-origin: 0% 100%;
 +
        }
 +
        /* Transform all the slices of hamburger into a crossmark */
 +
        #menuToggle input:checked ~ .hamb {
 +
            opacity: 1;
 +
            transform: rotate(45deg) translate(-2px, -1px);
 +
            background: #837e7e;
 +
        }
 +
        /* But let's hide the middle one */
 +
        #menuToggle input:checked ~ span:nth-last-child(3) {
 +
            opacity: 0;
 +
            transform: rotate(0deg) scale(0.2, 0.2);
 +
        }
 +
        /* Ohyeah and the last one should go the other direction */
 +
        #menuToggle input:checked ~ span:nth-last-child(2) {
 +
            transform: rotate(-45deg) translate(0, -1px);
 +
        }
 +
 
 +
        /* Make this absolute positioned at the top left of the screen */
 +
        #menu {
 +
            position: absolute;
 +
            width: 300px;
 +
            margin: -55px 0 0 -10px;
 +
            padding: 50px 0px 30px 0px;
 +
            background: #ededed;
 +
            list-style-type: none;
 +
            -webkit-font-smoothing: antialiased;
 +
            /* to stop flickering of text in safari */
 +
            transform-origin: 0% 0%;
 +
            <!-- transform: translate(-100%, 0); -->
 +
            display: none;
 +
            transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
 +
        }
 +
        #menu li {
 +
            padding: 10px 0 0 0;
 +
            font-size: 22px;
 +
        }
 +
        /* And let's slide it in from the left */
 +
        #menuToggle input:checked ~ #menu {
 +
            <!-- transform: none; -->
 +
            display: block;
 +
        }
 +
 
 +
 
 +
        /* Tab Menu */
 +
        .button {
 +
            font-size: 22px;
 +
            color: inherit;
 +
            background-color :inherit;
 +
            padding: 6px 0px 6px 0px;  
 +
            border: none;  
 +
            outline: 0;
 +
            cursor: pointer;
 +
        }
 +
        .button:hover { }
 +
        .bottom-selected {  
 +
            color:rgb(60, 60, 70);
 +
            background-color: #d1d1de !important;  /*  #f44336  rgb(60, 60, 70)  #3c4043  */
 +
        }
 +
        #menuToggle .fa-atom            { font-size: 21px; }
 +
        #menuToggle .fa-yin-yang        { font-size: 19px; }
 +
        #menuToggle .fa-tools            { font-size: 17px; }
 +
        #menuToggle .fa-atom:hover      { color:black; }
 +
        #menuToggle .fa-yin-yang:hover  { color:black; }
 +
         #menuToggle .fa-tools:hover      { color:black; }
 +
         #menuToggle .fa-ellipsis-v:hover { color:black; }
 +
        .area {
 +
            color: black;
 +
            padding: 5px 0px 5000px 3px;
 +
            border: 0px solid #ccc !important;
 +
        }
 +
        #container-button-tap {
 +
            width:100%;
 +
            color:rgb(97, 97, 114);
 +
            background-color: white;
 +
            border-top:    1px solid #bbbbca;
 +
            /* border-bottom : 38px solid red !important; */
 +
        }
 +
        .izquierda{
 +
            float:left;
 +
            width:25%;
 +
            text-align: center;
 +
        }
 +
        .derecha{
 +
            float:right;
 +
            width:25%;
 +
            text-align: center;
 +
        }
 +
        .centrar{
 +
            margin:0 auto;
 +
            width:25%;
 +
            text-align: center;
 +
        }
 
     </style>
 
     </style>
   
+
 
 +
 
 
     <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
 
     <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
 
+
     <script src="https://kit.fontawesome.com/423f4585a2.js" crossorigin="anonymous"></script>
     <script>
+
 
    function openCity(evt, cityName) {
+
 
        var i, x, tablinks;
+
     <nav id="MySidebar" role="navigation" style="position: fixed; z-index: 1;">  <!-- class="oculto" -->
        x = document.getElementsByClassName("city");
 
        for (i = 0; i < x.length; i++) {
 
            x[i].style.display = "none";
 
        }
 
        tablinks = document.getElementsByClassName("tablink");
 
        for (i = 0; i < x.length; i++) {
 
            tablinks[i].className = tablinks[i].className.replace(" bottom-selected", "");
 
        }
 
        document.getElementById(cityName).style.display = "block";
 
        evt.currentTarget.className += " bottom-selected";
 
    }
 
    </script>
 
   
 
     <nav id="MySidebar" role="navigation" style="position: fixed;" class="oculto">
 
 
         <div id="menuToggle">
 
         <div id="menuToggle">
 
             <!--
 
             <!--
Line 247: Line 341:
 
              
 
              
 
             <!--
 
             <!--
             Some spans to act as a hamburger.
+
             Some spans to act as a hamburger
 +
            # See this link for a Font Awesome Menu icon: https://www.w3resource.com/icon/font-awesome/web-application-icons/bars.php
 
             -->
 
             -->
 +
            <!-- <div> -->
 +
            <span id="hamb1" class="hamb"></span>
 +
            <span id="hamb2" class="hamb"></span>
 +
            <span id="hamb3" class="hamb"></span>
 +
            <!-- </div> -->
 
              
 
              
             <span class="hamb"></span>
+
             <!-- <i style="font-size: 30px" class="fa fa-bars fa-w-14 fa-10x"></i> -->
            <span class="hamb"></span>
 
            <span class="hamb"></span>
 
 
              
 
              
 
             <!--
 
             <!--
Line 258: Line 356:
 
             but hey, it's pure CSS magic.
 
             but hey, it's pure CSS magic.
 
             -->
 
             -->
             <div id="menu">
+
             <div id="menu" style="border-right: 0px solid rgb(177, 177, 180);">
 
                  
 
                  
 
                 <!--Tap Menu -->
 
                 <!--Tap Menu -->
                 <div style="padding: 10px 0px 0px 0px;">
+
                 <div style="padding: 10px 0px 0px 0px; border-right: 2px solid #ededed">
                     <div style="color:#fff !important; background-color: #000 !important">
+
 
                         <button class="button left   tablink bottom-selected" onclick="openCity(event,'PE')">PE</button>
+
                     <div style="text-align:right; margin-top:-31px; margin-bottom: 15px; padding-right: 5px">  
                         <button class="button center tablink"                 onclick="openCity(event,'Tools')"> Tools </button>
+
                         <button onclick="expandSidebar()" style="cursor:pointer; outline: none; border-width:0px"> <i id="expandSidebar-icon" class="fa fa-arrow-right button-top" aria-hidden="true"></i>  </button>
                         <button class="button right  tablink"                 onclick="openCity(event,'Others')"> Others </button>
+
                    </div>
 +
    
 +
                    <div id="container-button-tap" style="margin-top:-9px;">
 +
                        <button id="button-pe"    class="button izquierda    tablink bottom-selected" onclick="openCity(event,'PE')"    > <i class="fas fa-atom"> </i>      </button>
 +
                        <button id="button-menu"  class="button izquierda    tablink"                  onclick="openCity(event,'Menu')"  > <i class="fas fa-ellipsis-v"></i> </button>
 +
                        <button id="button-others" class="button izquierda    tablink"                  onclick="openCity(event,'Others')"> <i class="fas fa-yin-yang"> </i> </button>  
 +
                         <button id="button-tools"  class="button izquierda    tablink"                 onclick="openCity(event,'Tools')" > <i class="fas fa-tools"></i>      </button>  
 +
                         <!-- <button id="button-others" class="button derecha tablink"                 onclick="openCity(event,'Others')"> <i class="fas fa-info"> </i>      </button> -->
 +
                        <!-- <button id="button-menu" class="button centrar  tablink"                  onclick="openCity(event,'Menu')"  > <i class="fas fa-tools"></i>      </button> -->  
 
                     </div>
 
                     </div>
 
                      
 
                      
 
                     <div id="PE" class="area city">
 
                     <div id="PE" class="area city">
                      <div style="overflow-y: scroll; height: 100vh !important; background: #e3e3e8; margin-top:0px; padding:0px 5px 0px 0px;">
+
                        <div style="overflow-y: scroll; height: 100vh !important; background: #e3e3e8; margin-top:0px; padding:8px 5px 0px 0px;">
                      <!-- {{#lst:Mis páginas|Carrera1}} -->
+
                            <div id="sectionPure"   style="margin-bottom:73px;  margin-top:7.5px" > {{#lst:Mis páginas|formal_natural_and_applied_sciences0}}</div>
                      <div style="margin-bottom: 20px;  margin-top:10px" > {{#lst:Mis páginas|base}}</div>
+
                            <div id="sectionSocial"  style="margin-bottom:55px;  margin-top:2px"   > {{#lst:Mis páginas|social_sciences0}}</div>
                      <div style="margin-bottom: 42px;  margin-top: 2px" > {{#lst:Mis páginas|formal_natural_and_applied_sciences0}}</div>
+
                            <div id="sectionMusic"   style="margin-bottom:200px; margin-top:2px"   > {{#lst:Mis páginas|musica0}}</div>
                      <div style="margin-bottom: 50px;  margin-top: 2px" > {{#lst:Mis páginas|social_sciences0}}</div>
+
                        </div>
                      <div style="margin-bottom: 30px;  margin-top: 2px" > {{#lst:Mis páginas|musica0}}</div>
 
                      <div style="margin-bottom: 150px; margin-top:-5px" > {{#lst:Mis páginas|Carrera0}}</div>
 
                      </div>
 
 
                     </div>
 
                     </div>
 
                      
 
                      
 +
                    <div id="Menu"  class="area city" style="display:none">
 +
                        <div style="overflow-y: scroll; height: 100vh !important; background: #e3e3e8; margin-top:0px; padding:8px 5px 0px 0px;">
 +
                            <div id="sectionBase"    style="margin-bottom: 30px; margin-top:12px"> {{#lst:Mis páginas|base}}      </div>
 +
                            <div id="sectionBase"    style="margin-bottom: 30px; margin-top: 2px"> {{#lst:Mis páginas|Resources0}} </div>
 +
                            <div id="sectionCarrera" style="margin-bottom:200px; margin-top: 2px"> {{#lst:Mis páginas|Carrera0}}  </div>
 +
                        </div>
 +
                    </div>
 +
 
 
                     <div id="Tools"  class="area city" style="display:none">
 
                     <div id="Tools"  class="area city" style="display:none">
                         <div>Tools</div>
+
                         <div style="overflow-y: scroll; height: 100vh !important; background: #e3e3e8; margin-top:0px; padding:8px 5px 0px 0px;">
                        <p> Tools is the capital of France.</p>  
+
                            <div id="MediawikiHelp0-inter1" style="margin-bottom: 200px;  margin-top: 12px;" > </div>  
 +
                            <!-- <div id="sectionBase" style="margin-bottom: 200px;  margin-top: 10px;" > {{#lst:My MediaWiki help|MediawikiHelp0}}</div> -->
 +
                        </div>              
 
                     </div>
 
                     </div>
 
                      
 
                      
                     <div id="Others"  class="area city" style="display:none">
+
                     <div id="Others"  class="area city" style="display:none;">
                         <div>Others</div>
+
                         <div style="overflow-y: scroll; height: 100vh !important; background: #e3e3e8; padding:0px 1px 0px 0px;">
                        <p> Others is the capital of Japan.</p>
+
                            <div id="Desktop-inter1" >
 +
                                <div id="desktop-1-titulo-inter" class="text-1-1"> Here will be inserted the title... </div>  
 +
                                <div id="Desktop-inter2" >  
 +
                                    Here will be inserted the table...
 +
                                </div>
 +
                            </div>
 +
                        </div>
 
                     </div>
 
                     </div>
 
                 </div>
 
                 </div>
Line 299: Line 418:
 
         </div>
 
         </div>
 
     </nav>
 
     </nav>
 
+
 
 +
 
 
     <script>
 
     <script>
 +
 
 +
        function openCity(evt, cityName) {
 +
            var i, x, tablinks;
 +
            x = document.getElementsByClassName("city");
 +
            for (i = 0; i < x.length; i++) {
 +
                x[i].style.display = "none";
 +
            }
 +
            tablinks = document.getElementsByClassName("tablink");
 +
            for (i = 0; i < x.length; i++) {
 +
                tablinks[i].className = tablinks[i].className.replace(" bottom-selected", "");
 +
            }
 +
            document.getElementById(cityName).style.display = "block";
 +
            evt.currentTarget.className += " bottom-selected";
 +
 
 +
            if (cityName == "PE") {
 +
            $("#menuToggle .fa-atom").css('font-size',      '21px')
 +
            $("#menuToggle .fa-ellipsis-v").css('font-size','18px')
 +
            $("#menuToggle .fa-yin-yang").css('font-size',  '19px')
 +
            $("#menuToggle .fa-tools").css('font-size',    '17px')
 +
            }else if (cityName == "Menu") {
 +
            $("#menuToggle .fa-atom").css('font-size',      '19px')
 +
            $("#menuToggle .fa-ellipsis-v").css('font-size','20px')
 +
            $("#menuToggle .fa-yin-yang").css('font-size',  '19px')
 +
            $("#menuToggle .fa-tools").css('font-size',    '17px')
 +
            }else if (cityName == "Others") {
 +
            $("#menuToggle .fa-atom").css('font-size',      '19px')
 +
            $("#menuToggle .fa-ellipsis-v").css('font-size','18px')
 +
            $("#menuToggle .fa-yin-yang").css('font-size',  '21px')
 +
            $("#menuToggle .fa-tools").css('font-size',    '17px')
 +
            }else {
 +
            $("#menuToggle .fa-atom").css('font-size',      '19px')
 +
            $("#menuToggle .fa-ellipsis-v").css('font-size','18px')
 +
            $("#menuToggle .fa-yin-yang").css('font-size',  '19px')
 +
            $("#menuToggle .fa-tools").css('font-size',    '19px')
 +
            }
 +
        }
 +
 
 +
       
 
         function myFunction() {
 
         function myFunction() {
 
             var checkBox = document.getElementById("inputButton");
 
             var checkBox = document.getElementById("inputButton");
Line 315: Line 473:
 
             }
 
             }
 
         }
 
         }
 
+
 
 
         function checkUser(){
 
         function checkUser(){
 
             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 326: Line 487:
 
                 }
 
                 }
 
             }else{
 
             }else{
 +
                $("#menuToggle #button-others").css('pointer-events','none')
 
                 // $('body').css('background','blue');
 
                 // $('body').css('background','blue');
 
                 // $('#hideThis').show();
 
                 // $('#hideThis').show();
 
             }
 
             }
 
         }
 
         }
 
+
 
 +
        function removeCSS() {
 +
            $('#menuToggle li').css({'margin-bottom':'','margin-top':''})
 +
            $('#menuToggle p ').css({'margin-bottom':'','margin-top':''})
 +
            // $('#mis-paginas li').css({'margin-bottom':'','margin-top':''})
 +
            // $('#mis-paginas p ').css({'margin-bottom':'','margin-top':''})
 +
            // $('#mis-paginas ul ').css({'margin-bottom':'','margin-top':''})
 +
        }
 +
 
 +
        function collapseSome() {
 +
            $('#menuToggle .keep-abierto').removeClass("mw-collapsed");
 +
            $("#menuToggle .mw-collapsible").not('.keep-abierto').addClass("mw-collapsed");
 +
        }
 +
 
 +
        function expandSidebar() {
 +
            var menuWidth = parseInt(window.getComputedStyle(document.getElementById("menu")).width)
 +
            if (menuWidth < 400 ) {
 +
            $("#menu").css('width','600px')
 +
            $(".titulo1-marco-twolines").addClass("titulo1MarcoTwolines")
 +
            $(".titulo1-marco-twolines").addClass("titulo1-marco-oneline")
 +
            $(".titulo1MarcoTwolines").removeClass("titulo1-marco-twolines")
 +
            $("#sectionPure").css({'margin-bottom':  '30px', 'margin-top':'12px'})
 +
            $("#sectionSocial").css({'margin-bottom':'30px', 'margin-top':'2px'})
 +
            $("#space-end-pure").css({'margin-bottom':'85px'})
 +
            $("#space-end-social").css({'margin-bottom':'60px'})
 +
            $("#space-end-music").css({'margin-bottom':'45px'})
 +
            $("#expandSidebar-icon").removeClass("fa-arrow-right")
 +
            $("#expandSidebar-icon").addClass("fa-arrow-left")
 +
            }else{
 +
            $("#menu").css('width','300px')
 +
            $(".titulo1MarcoTwolines").addClass("titulo1-marco-twolines")
 +
            $(".titulo1-marco-twolines").removeClass("titulo1MarcoTwolines")
 +
            $(".titulo1-marco-twolines").removeClass("titulo1-marco-oneline")
 +
            $("#sectionPure").css({'margin-bottom':  '73px', 'margin-top':'7.5px'})
 +
            $("#sectionSocial").css({'margin-bottom':'55px', 'margin-top':' 2px'})
 +
            $("#space-end-pure").css({'margin-bottom':'80px'})
 +
            $("#space-end-social").css({'margin-bottom':'30px'})
 +
            $("#space-end-music").css({'margin-bottom':'40px'})
 +
            $("#expandSidebar-icon").removeClass("fa-arrow-left")
 +
            $("#expandSidebar-icon").addClass("fa-arrow-right")
 +
            }
 +
        }
 +
 
 +
       
 +
        $("#inputButton").hover(function(){
 +
            $(".hamb").css("background", "#5c4444");
 +
            }, function(){
 +
            $(".hamb").css("background", "#837e7e");
 +
        });
 +
       
 +
        $("#menuToggle #button-pe").hover(function(){
 +
            $("#menuToggle .fa-atom").css('font-size', '21px')
 +
            }, function(){
 +
            if ( $(this).hasClass("bottom-selected") ) {
 +
                $("#menuToggle .fa-atom").css('font-size', '21px')
 +
            }else{
 +
                $("#menuToggle .fa-atom").css('font-size', '19px')
 +
            }
 +
        });
 +
 
 +
        $("#menuToggle #button-menu").hover(function(){
 +
            $("#menuToggle .fa-ellipsis-v").css('font-size', '20px')
 +
            }, function(){
 +
            if ( $(this).hasClass("bottom-selected") ) {
 +
                $("#menuToggle .fa-ellipsis-v").css('font-size', '20px')
 +
            }else{
 +
                $("#menuToggle .fa-ellipsis-v").css('font-size', '18px')
 +
            }
 +
        });
 +
 
 +
        $("#menuToggle #button-others").hover(function(){
 +
            $("#menuToggle .fa-yin-yang").css('font-size', '21px')
 +
            }, function(){
 +
            if ( $(this).hasClass("bottom-selected") ) {
 +
                $("#menuToggle .fa-yin-yang").css('font-size', '21px')
 +
            }else{
 +
                $("#menuToggle .fa-yin-yang").css('font-size', '19px')
 +
            }
 +
        });
 +
 
 +
        $("#button-tools").hover(function() {
 +
            $("#menuToggle .fa-tools").css('font-size', '19px')
 +
            }, function() {
 +
            if ( $(this).hasClass("bottom-selected") ) {
 +
                $("#menuToggle .fa-tools").css('font-size', '19px')
 +
            }else{
 +
                $("#menuToggle .fa-tools").css('font-size', '17px')
 +
            }
 +
        });
 +
 
 +
        function resaltarSection() {
 +
            // $(".mw-collapsible-text").hover(function() {
 +
            //    $(this).parent().parent().children(".resaltar").first().css({'cssText':'background: grey !important'})
 +
            //    // $(".resaltar").first().css({'cssText':'background: red !important'})
 +
            //    }, function(){
 +
            //    $(this).parent().parent().children(".resaltar").first().css({'cssText':'background: reset'})
 +
            // });
 +
            $("#menuToggle .mw-collapsible-toggle").hover(function() {
 +
                $(this).parent().children(".resaltar").first().css({'cssText':'background: #bdbdca !important'})
 +
                // $(".resaltar").first().css({'cssText':'background: red !important'})
 +
                }, function(){
 +
                $(this).parent().children(".resaltar").first().css({'cssText':'background: reset'})
 +
            });
 +
            $(".resaltar").hover(function() {
 +
                $(this).parent().children(".mw-collapsible-toggle").css({'cssText':'color: red !important; font-weight:normal'})
 +
                $(this).parent().children(".mw-collapsible-toggle").children(".mw-collapsible-text").css({'cssText':'color: red !important; font-weight:normal !important'})
 +
                // $(".resaltar").first().css({'cssText':'background: red !important'})
 +
                }, function(){
 +
                $(this).parent().children(".mw-collapsible-toggle").css({'cssText':'color: reset; font-weight:reset'})
 +
                $(this).parent().children(".mw-collapsible-toggle").children(".mw-collapsible-text").css({'cssText':'color: reset !important; font-weight:reset !important'})
 +
            });
 +
        }
 +
 
 +
        // $(".mw-collapsible").hover(function(){
 +
        //    $(this).children(".resaltar").first().css({'cssText':'background: red !important'})
 +
        //    }, function(){
 +
        //    $(this).children(".resaltar").first().css({'cssText':'background: reset'})
 +
        // });
 +
 
 +
        // $(".mw-collapsible").hover(function(){
 +
        //    $(".resaltar").css({'cssText':'background: red !important'})
 +
        //    }, function(){
 +
        //    $(".resaltar").css('background', 'grey')
 +
        // });
 +
 
 +
 
 +
        // function collapseAll() {
 +
        //  $('.mw-collapsible').on( "click", "#aver", function() {
 +
        //    $(".mw-collapsible").addClass("mw-collapsed");
 +
        //  });
 +
        // }
 +
 
 +
        // function collapseAll() {
 +
        //  $(".mw-collapsible").addClass("mw-collapsed").reload();
 +
        //  $( ".mw-collapsible" ).load(window.location.href + " .mw-collapsible" );
 +
        // }
 +
 
 +
        // $(document).ready(function(){
 +
        //  $("button").click(function(){
 +
        //    $(".mw-collapsible").toggleClass("mw-collapsed");
 +
        //  });
 +
        // });
 +
 
 +
        // $(document).on('click', '.DoFirst', function() {
 +
        //  $('#totalItems, #enteredItems').keyup(function(){
 +
        //    collapseAll()
 +
        //  }); 
 +
        //  collapseAll()
 +
        // });
 +
 
 +
        // $(document).on( function() {
 +
        //  $('#totalItems, #enteredItems').keyup(function(){
 +
        //    collapseAll()
 +
        //  }); 
 +
        //  collapseAll()
 +
        // });
 +
 
 
         // function moveSidebarToBody() {
 
         // function moveSidebarToBody() {
         //    document.body.appendChild(document.getElementById('MySidebar'))
+
        //    $("#MySidebar").appendTo("#pt-userpage");
 +
         //    // document.body.appendChild(document.getElementById('MySidebar'))
 
         // }
 
         // }
 
+
 
         function collapseAll() {
+
         // Shortkey: https://www.techiedelight.com/create-keyboard-shortcuts-with-javascript-jquery-hotkeys-mousetrap-library/
             $(".mw-collapsible").addClass("mw-collapsed");
+
        // For some reason, in MediaWiki pages, the && operator is not being interpreted by the web browser
         }
+
        // as such in «keydown» functions. The web browser is reading «&amp;», instead of «&&» which generates a systax error.
 
+
        // To work around this problem I just broke the function using «2» if statements:
 +
 
 +
        // $(document).keydown(function(event) {
 +
        //  if ( (event.ctrlKey) && (event.which === 88) ) {
 +
        //    alert('Alt + X pressed!')
 +
        //    e.preventDefault()
 +
        //  }
 +
        // });
 +
 
 +
        $(document).keydown(function(event) {
 +
            if ( event.ctrlKey ) {
 +
             if ( event.which === 66 )  { // Check key codes here: https://css-tricks.com/snippets/javascript/javascript-keycodes/
 +
                // alert('Ctrl + B pressed!')
 +
                var checkBox = document.getElementById("inputButton");
 +
                if (checkBox.checked == true){
 +
                checkBox.checked = false
 +
                }else{
 +
                checkBox.checked = true
 +
                }
 +
                myFunction()
 +
                e.preventDefault()
 +
            }
 +
 
 +
            // if ( event.which === 89 )  {
 +
            //  $(document).on( function() {
 +
            //    $('#totalItems, #enteredItems').keyup(function(){
 +
            //      collapseAll()
 +
            //    }); 
 +
            //    collapseAll()
 +
            //  });
 +
            // }
 +
 
 +
            }
 +
           
 +
            if ( event.ctrlKey ) {
 +
            if ( event.which === 89 ) {
 +
                expandSidebar()
 +
            }
 +
            }
 +
 
 +
        });
 +
 
 +
        // Esta es otra forma de hacerlo
 +
        // document.addEventListener("keydown", function(event) {
 +
        //  if (event.ctrlKey && event.code === "KeyB") {
 +
        //    alert('Alt + X pressed!');
 +
        //    event.preventDefault();
 +
         //  }
 +
        // });
 +
 
 +
 
 
         $(document).ready( function() {
 
         $(document).ready( function() {
 
             $('#totalItems, #enteredItems').keyup(function(){
 
             $('#totalItems, #enteredItems').keyup(function(){
 +
                collapseSome()
 
                 checkUser()
 
                 checkUser()
                 collapseAll()
+
                 removeCSS()
                 // moveSidebarToBody()
+
 
             });  
+
                // This functions involved mw-collapsible, which has some problems when adding JS functionalities. So, to make sure
 +
                 // this function do what it has to do, we have to ensure that it runs when the DOM is ready.
 +
                // Even inside «.ready()» is not working as expected (when we refresh the page, sometimes it works, sometimes it doesn't work).
 +
                // So we needed to execute it after a delay:
 +
                setTimeout( function() { resaltarSection() }, 3000 );
 +
                // setTimeout( function() { collapseSome() },    5000 );
 +
             });
 +
            collapseSome()
 
             checkUser()
 
             checkUser()
             collapseAll()
+
             removeCSS()
             // moveSidebarToBody()
+
            setTimeout( function() { resaltarSection() }, 3000 );
 +
             // setTimeout( function() { collapseSome() },    5000 );
 
         });
 
         });
 +
 
 +
        // $(document).ready( function() {
 +
        //    $('#totalItems, #enteredItems').keyup(function(){
 +
        //        resaltarSection()
 +
        //        // moveSidebarToBody()
 +
        //    }); 
 +
        //    resaltarSection()
 +
        //    // moveSidebarToBody()
 +
        // });
 +
 
 
     </script>
 
     </script>
 
}}
 
}}
 +
 
 +
 
 +
<!-- Transclusion of pages that contain MW tags -->
  
 +
<div id="MediawikiHelp0-inter0" style="display:none">
 +
    {{#lst:My MediaWiki help|MediawikiHelp0}}
 +
</div>
 +
<html>
 +
    <script>
 +
        document.getElementById("MediawikiHelp0-inter1").innerHTML = document.getElementById("MediawikiHelp0-inter0").innerHTML
 +
    </script>
 +
</html>
  
<br />
 
<div class="mw-collapsible mw-collapsed" style="width:340px; display: none !important">
 
'''Previous version without <nowiki><html></nowiki> tag:'''
 
<div class="mw-collapsible-content" style="width: 900pt !important">
 
<syntaxhighlight lang="html">
 
{{#css:
 
  #mw-panel { visibility: collapse !important; }
 
  #p-namespaces { visibility: collapse !important; }
 
  #content { max-width: 1200pt !important; margin-left: auto !important; margin-right: auto !important; }
 
  #mw-panel { visibility: collapse !important; }
 
  #mw-page-base { visibility: collapse !important; }
 
  #ca-head-base { display: none !important; }
 
  #ca-nstab-main { display: none !important; }
 
  #ca-talk { display: none !important; }
 
  #ca-view { display: none !important; }
 
  #ca-viewsource { display: none !important; }
 
  #ca-edit { display: none !important; }
 
  #ca-ve-edit { display: none !important; }
 
  #ca-history { display: none !important; }
 
  #ca-unwatch { display: none !important; }
 
  #ca-watch { display: none !important; }
 
  #p-cactions { display: none !important; }
 
  #pt-userpage { display: none !important; }
 
  #pt-mytalk { display: none !important; }
 
  #pt-preferences { display: none !important; }
 
  #pt-watchlist { display: none !important; }
 
  #pt-mycontris { display: none !important; }
 
  #pt-logout { display: none !important; }
 
  #pt-anonuserpage { display: none !important; }
 
  #pt-anontalk { display: none !important; }
 
  #pt-createaccount { display: none !important; }
 
  #pt-login { display: none !important; }
 
  #footer-info-copyright { display: none !important; }
 
  #footer-places-privacy { display: none !important; }
 
  #footer-places-about { display: none !important; }
 
  #footer-places-disclaimer { display: none !important; }
 
  #p-tb { display: none !important; }
 
  body {
 
    background:    #ededf2;
 
    padding-left:  35pt !important;
 
    padding-right: 35pt !important;
 
  }
 
  #mw-head {
 
    z-index: -1;
 
  }
 
  .mediawiki {
 
    padding-left:  40pt !important;
 
    padding-right: 30pt !important;
 
  }
 
  #content {
 
    border-top: 1px solid rgba(184, 134, 11, 0.5) !important;    <!-- This means the page contains hidden text #B8860B -->
 
    border:    1px solid rgba(184, 134, 11, 0.5);                <!-- rgba(56, 139, 253, 0.4); -->
 
  } 
 
  #right-navigation {
 
    visibility: collapse;
 
  }
 
  #p-search {
 
    visibility: visible;
 
  }
 
  #simpleSearch {
 
    <!-- border: 0.1px solid rgba(166, 44, 32, 0.5); -->
 
  } 
 
  #footer {
 
    padding-left: 10pt;
 
    margin-left:  auto  !important;
 
    margin-right: auto  !important;
 
    max-width:    1100pt;
 
  }
 
  #footer-info {
 
    margin-left: 0pt;
 
  }
 
  div#toc.toc {
 
    font-size: 12pt;
 
    margin-top: -4.5pt;
 
    background: rgba(255, 255, 255, 0.85);
 
    border: 0.1px solid rgba(166, 44, 32, 0.5);
 
  
    max-width: 200pt;
+
<div id="Desktop-inter0" style="display:none">
     margin-right: 12pt;
+
     {{#lst:Desktop|Desktop0}}
  }
+
</div>
  .toc ul {
+
<html>
    overflow-y: scroll  !important;
+
     <style>
     max-height: 500pt;  <!-- max-height: 100vh; -->
+
        #Desktop-inter1 .desktop-1-1 {
  }
+
            border: 0px solid red;
  .tocUl {
+
        }
    overflow-y: scroll  !important;
+
        #Desktop-inter1 .desktop-2-1 {
    max-height: 500pt;  <!-- max-height: 100vh; -->
+
            background-color: #e3e3e8 !important;  
  }
+
            border: 0px solid green !important;  
  .tochidden {
+
            padding-top: 0px !important;
    height: 4pt !important;
+
            padding-bottom: 40px;
  }
+
        }
  .rcorners {
+
        #Desktop-inter1 .desktop-cuadro {
    border-radius: 3px;
+
            border: 0px solid white !important;
    padding: 2px;
+
            background-color: white !important;  
    border: 1.5px solid #B8860B;
+
        }
  }
+
        #Desktop-inter1 .text-2-1 {
  .under {
+
            margin-bottom: -50px;
    margin-right: 10px;
+
        }
    <!-- display:inline-block;
+
        #Desktop-inter1 .nivel-3 li {
    border-bottom:1px solid #A62C20;
+
            margin-bottom: -3px !important;
    padding-bottom:-5px !important; -->
+
        }
  }
+
        #Desktop-inter1 .nivel-3 ul {
  .title {
+
            margin-bottom: -20px !important;
    <!-- margin-top: 5px; -->
+
        }
    margin-left: -10px !important;
+
        #Desktop-inter1 .nivel-3 .first-li {
    margin-right: -5px !important;
+
            margin-top: 15px !important;
    font-weight: normal;
+
        }
    font-family: 'Zapf Dingbats';
+
        #Desktop-inter1 a {
    font-size: 40px;
+
            overflow-wrap: break-word !important;
    font-family: 'Linux Libertine','Georgia','Times',serif;  
+
        }
    background: red; <!-- #8c94ab -->
+
        #Desktop-inter1 .text-1-1 {
    color: white;  
+
            font: 700 18px / 27.3px "Linux Libertine", Georgia, Times, serif;
    height: 70pt;
+
            background-color: #4081de;  
    line-height: 70pt;
+
            vertical-align: center;  
    text-aligh: center; 
+
            height: 46.6667px;  
    <!-- background: rgba(0, 0, 0, 0) linear-gradient(90deg, #007bff, rgb(0, 0, 0)) repeat scroll 0% 0% / auto padding-box border-box; margin-left:-10px; --> 
+
            line-height: 53px;
    <!-- linear-gradient(90deg, rgb(31, 112, 193), rgb(0, 0, 0)) -->  <!-- #0074D9 -->
+
            margin: 7px -1px 50px 0px !important;
  }
+
            padding-left: 10px;
  .cover {
+
        }
    object-fit: cover;
+
        #Desktop-inter1 .desktop-2-1-area {
    width: 100%;
+
            margin-left: -5px;
    height: 250px;
+
        }
    margin-bottom: 2000px;
+
        #Desktop-inter2 {
    margin-top: -20px;
+
            margin-top:   -27px  !important;
  }
+
            margin-bottom: 200px;
  .icon {
+
            padding-left: 4px;
    color: #2d2e27;
+
            padding-right: 5px;
  }
+
        }
  .texticon {
+
        #Desktop-inter2 .antes-collapsible {
    color: #2d2e27;  <!-- #f0f2e4 -->
+
            margin-bottom: 30px !important;
    font-size: 20px !important;
+
        }
  }
+
        #Desktop-inter2 .espacio {
  .textlink {
+
            margin-left: -20px !important;
    color: #0854a6 !important; <!-- #f0f2e4 #007bff -->
+
        }
    font-size: 20px !important;
+
    </style>
  }
+
     <script>
  .container {
+
        // This allows using the whole table by using «display: none» on the sections that won't be shown:
    width: 150px;
+
        // document.getElementById("Desktop-inter2").innerHTML = document.getElementById("Desktop-inter0").innerHTML
    height: 150px;
+
        // $(".invisible").not('.desktop-1').css('display','none')
    position: relative;
+
        // $("#Desktop-inter1 #container-desktop-menu").css('display','none')
    margin: 0px;
+
        // $("#Desktop-inter1 #desktop p").addClass("desplaza-2")
  }
+
        // $("#Desktop-inter1 .desktop-1-1").addClass("desplaza-2")
  .box {
+
        // $("#Desktop-inter1 .text-1-1").removeClass("desplaza-2")
    z-index: 10;
 
    width: 100%;
 
    height: 100%;
 
    position: absolute;
 
    top: 0;
 
    left: 0;
 
  }
 
  .overlay {
 
    z-index: 1;
 
    margin-left: -5px;
 
    margin-top: -23px;
 
  }
 
  .titulo1-text {
 
    font-size: 18px !important;
 
  }
 
  .titulo1-text-marco {
 
    padding-left: 10px !important;
 
  }
 
  .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:-32pt !important;
 
  } 
 
  .titulo1-marco-twolines {
 
    padding-right: 0px !important;
 
    padding-left: 0px !important;
 
    margin-right: -5px !important;
 
    margin-left: 0px !important;
 
    min-height: 50pt !important;
 
    margin-top:-47pt !important;
 
  }
 
  .marco1-ext {
 
     width: 100% !important;
 
    padding: 0px 0px 0px 0px !important;
 
    background: #e3e3e8 !important;
 
  }
 
  .marco1-int {
 
    background: #e3e3e8 !important;
 
  }
 
  .marco1-ext .mw-editsection {
 
    display: none !important;
 
  }
 
  .divline1 {
 
    padding: 0;
 
    border: 0;
 
    display: block;
 
    margin-top:-10px;
 
    margin-right: 0px !important;
 
    margin-left: 2px  !important;
 
    background-color: white;
 
    height:1.2pt
 
  }
 
  
  .toggleNode { <!-- visibility: hidden --> }
+
        // This is by taking only the section I need:
}}
+
        document.getElementById("desktop-1-titulo-inter").innerHTML = document.getElementById("desktop-1-titulo").innerHTML
<!-- some colors I have tried and liked: #dcd8ed  #3182f5  #D8BFD8  #E6E6FA  rgb(79.998779%,79.998779%,100%)-->
+
        document.getElementById("Desktop-inter2").innerHTML = document.getElementById("desktop-main").innerHTML
<div class="container" style="position: fixed; height: 0px; width: 250px; margin-left: -70px; margin-top: -132px; z-index: 200; background: red !important; background-color: red !important"> <!-- oculto -->
+
 
<div class="box mw-customtoggle-myToggle1" style="cursor:pointer; color:blue; width:0px;  z-index: 100">[+/-]</div>
+
        $("#Desktop-inter1 p").addClass("desplaza-2")
<div style="border-top:-50px;" class="box overlay mw-collapsible" id="mw-customcollapsible-myToggle1">
+
        $("#Desktop-inter1 .desktop-1-1").addClass("desplaza-2")
<div style="border-top:-50px;" style="background: transparent; border: 0px solid blue; padding:0px" class="toccolours mw-collapsible-content">
+
        $("#Desktop-inter1 .text-1-1").removeClass("desplaza-2")
<!--
+
 
<div style="border-top:-50px; background: #E6E6FA; min-height:50px; line-height: 50px; text-align: left; padding-left: 35px; font-size: 20px; font-family: 'Linux Libertine','Georgia','Times',serif;">
+
        $("#desktop-1-titulo-inter").wrap('<a href="Desktop" />');
'''''[[Carrera|<span style="color:#B8860B; font-weight: bold;">Carrera</span>]]'''''
+
    </script>
</div>
+
</html>
-->
 
<div style="height: 50px; width:100%; background: #e3e3e8">
 
</div>
 
<!-- <div style="overflow-y: scroll; height: 100vh !important; background: #f7f7f8; margin-top:0px; padding:0.1px 20px 20px 20px;"> -->
 
<div style="overflow-y: scroll; height: 100vh !important; background: #e3e3e8; margin-top:0px; padding:0px 5px 0px 0px;">
 
<!-- {{#lst:Mis páginas|Carrera1}} -->
 
<div style="margin-bottom: 42px; margin-top:2px"> {{#lst:Mis páginas|formal_natural_and_applied_sciences0}}</div>
 
<div style="margin-bottom: 50px"> {{#lst:Mis páginas|social_sciences0}}</div>
 
<div style="margin-bottom: 30px"> {{#lst:Mis páginas|musica0}}</div>
 
<div style="margin-bottom: 150px">{{#lst:Mis páginas|Carrera0}}</div>
 
</div>
 
</div>
 
</div>
 
</div>
 
</syntaxhighlight>
 
</div>
 
</div>
 

Latest revision as of 17:58, 26 June 2022