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;▼
background: none;▼
border: none;▼
padding: 0;▼
font-weight: bold;▼
}
.toc .toctogglecheckbox, ▼
.toc .tocnumber {▼
display: none;▼
}▼
margin-left: 0;▼
}▼
margin-bottom: 12px;▼
}▼
/* Second level navigation */▼
.toc li ul {▼
}▼
.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 */
}
.
padding-left: 1rem; /*16px*/
border-left: 4px solid transparent;
}
.
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;
▲}
▲ margin-left: 0;
▲}
▲.toc li {
▲ margin-bottom: 12px;
▲}
@media all and (min-width: 1280px) {
.toc li,
Line 429 ⟶ 450:
margin-bottom: 16px;
}
▲}
▲.toc .tocnumber {
}
/* 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 {
|