MediaWiki:Common.css: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 63: | Line 63: | ||
#toc { | #toc { | ||
display: none !important; | display: none !important; | ||
} | |||
#toc-sidebar { | |||
position: relative; | |||
margin-top: 10px; | |||
background: linear-gradient(to bottom, #111, #1a1a1a); | |||
border: 1px solid rgba(255, 215, 0, 0.2); | |||
border-radius: 6px; | |||
padding: 10px; | |||
font-family: 'Cinzel', serif; | |||
font-size: 13px; | |||
color: #bbb; | |||
transition: position 0.3s ease; | |||
} | |||
body.sticky-toc #toc-sidebar { | |||
position: fixed; | |||
top: 100px; | |||
right: auto; | |||
z-index: 10; | |||
width: 160px; | |||
} | } | ||