Difference between revisions of "Template:Sidebar"
Adelo Vieira (talk | contribs) |
Adelo Vieira (talk | contribs) |
||
Line 4: | Line 4: | ||
#content { margin: -1px 0px 0px 180px; } | #content { margin: -1px 0px 0px 180px; } | ||
#left-navigation { margin-left:180px } | #left-navigation { margin-left:180px } | ||
− | |||
#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 { | ||
+ | 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 { | #menuToggle ul { | ||
margin-top: 20px !important; | margin-top: 20px !important; | ||
Line 30: | Line 52: | ||
margin-top: -13px !important; | margin-top: -13px !important; | ||
padding-right: 30px !important; | padding-right: 30px !important; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
.titulo1-text { | .titulo1-text { | ||
Line 108: | Line 110: | ||
/* Sidebar (Pure CSS) */ | /* Sidebar (Pure CSS) */ | ||
− | |||
− | |||
− | |||
#menuToggle { | #menuToggle { | ||
display: block; | display: block; | ||
Line 223: | Line 222: | ||
</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> | ||
Revision as of 19:52, 9 March 2021