User:Александр III/toc.css

/* TOC UCX */ .skin-oasis .toc { border-radius: 3px; padding: 0 !important; } .skin-oasis .toctitle { padding: 8px 8px 8px 15px !important; } .skin-oasis .toctitle h2 { font-weight: 500; } .skin-oasis .toctitle h2::before { content: ''; display: inline-block; background-image: url(http://c.fandom.com/extensions/wikia/DesignSystem/node_modules/design-system/dist/svg/wds-icons-bullet-list-small.svg); width: 12px; height: 12px; margin: 0 5px 4px 0; vertical-align: middle; } .skin-oasis .toctogglespan { float: right; } .skin-oasis .toc>ul { border-top: 1px solid var(--theme-border-color); padding: 5px 10px; } .skin-oasis .toc a { color: var(--theme-page-text-color); padding: 5px; display: block; border-radius: 3px; text-decoration: none !important; transition-duration: .3s; transition-property: background-color,color; } .skin-oasis .toc a:hover { background: rgba(var(--theme-link-color--rgb),0.15); color: var(--theme-link-color); } .skin-oasis .toc li { margin: 0; } .skin-oasis .toc li a, .skin-oasis .toc li span { font-weight: 500; } .skin-oasis .toc li:before { float: left; padding: 5px; color: rgba(var(--theme-page-text-color--rgb),.6); } .skin-oasis .toc ul { padding-left: 10px !important; }