Template:Support Page: Difference between revisions

Content deleted Content added
No edit summary
clean up toc styles
Line 377:
}
 
/* Table of contents */
.sp-toc {
 
margin-bottom: 2rem;
.sp-toc {
background: none;
border: none;
padding: 0;
font-weight: bold;
}
.toc .toctogglecheckbox,
.toc .toctitle {,
.toc .tocnumber {
display: none;
.toc liul {
margin-left: 0;
margin-bottom: 2rem0;
.toc ali {
margin-bottom: 12px;
/* Second level navigation */
.toc li ul {
margin: 0.5rem8px 0 0 0.5rem8px; /*8px 0 0 8px*/
 
/* Override needed for right to left */
.sp-dir-rtl .toc ul {
text-align: right;
 
.toc a {
display: block;
color: #6c8699;
-webkit-transition: all 300ms;
transition: all 300ms;
.toc a:hover {
color: #000;
text-decoration: none;
 
@media (min-width: 1024px) {
.sp-toc {
Line 397 ⟶ 435:
background: transparent; /* Hide scrollbar in Chrome */
}
.sp-toc a {
padding-left: 1rem; /*16px*/
border-left: 4px solid transparent;
}
.sp-toc a.-active {
color: #000;
border-left: 4px solid #36c;
Line 407 ⟶ 445:
}
 
.toc {
background: none;
border: none;
padding: 0;
font-weight: bold;
.toc .toctogglecheckbox,
.toc .toctitle {
display: none;
.sp-toc ul {
margin-left: 0;
margin-bottom: 0;
.toc li {
margin-bottom: 12px;
@media all and (min-width: 1280px) {
.toc li,
Line 429 ⟶ 450:
margin-bottom: 16px;
}
.toc .tocnumber {
display: none;
}
 
/* Main content */
/* Override needed for right to left */
.sp-dir-rtl .toc ul {
text-align: right;
 
/* Second level navigation */
.toc li ul {
margin: 0.5rem 0 0 0.5rem; /*8px 0 0 8px*/
.toc a {
display: block;
color: #6c8699;
-webkit-transition: all 300ms;
transition: all 300ms;
}
.toc a:hover {
color: #000;
text-decoration: none;
}
 
.sp-content {