MediaWiki:Common.css: Difference between revisions
No edit summary Tag: Manual revert |
mNo edit summary |
||
Line 1: | Line 1: | ||
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&display=swap'); | @import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&display=swap'); | ||
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;700&display=swap'); | |||
#mw-panel { | #mw-panel { | ||
Line 56: | Line 57: | ||
} | } | ||
# | #toc { | ||
font-family: 'Cinzel', serif; | |||
background: linear-gradient(to bottom, #111 0%, #222 100%); | background: linear-gradient(to bottom, #111 0%, #222 100%); | ||
border: | border: 1px solid rgba(255, 215, 0, 0.3); | ||
border-radius: | border-radius: 6px; | ||
padding: | padding: 6px; | ||
margin: 10px 0; | |||
width: fit-content; | |||
max-width: 300px; | |||
color: #bbb; | |||
} | } | ||
#toc > .toctitle { | |||
font-size: 13px; | |||
# | |||
font-size: | |||
font-weight: bold; | font-weight: bold; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
color: #C0A080; | color: #C0A080; | ||
background: rgba(15, 15, 15, 0.9); | |||
padding: 4px; | |||
border-radius: 6px 6px 0 0; | |||
text-align: center; | text-align: center; | ||
letter-spacing: 1px; | |||
margin-bottom: 6px; | |||
} | } | ||
#toc ul { | |||
# | |||
list-style: none; | list-style: none; | ||
padding: 0; | padding: 0; | ||
margin | margin: 0; | ||
} | } | ||
# | #toc ul li { | ||
margin: 4px 0; | |||
} | } | ||
#toc ul li a { | |||
# | font-size: 12px; | ||
font-size: | |||
color: #bbb; | color: #bbb; | ||
text-decoration: none; | text-decoration: none; | ||
padding: 3px 5px; | |||
display: block; | display: block; | ||
border-radius: 2px; | |||
border-radius: | |||
transition: all 0.3s ease; | transition: all 0.3s ease; | ||
} | } | ||
# | #toc ul li a:hover { | ||
color: #FFD700; | color: #FFD700; | ||
background: rgba(255, 255, 255, 0.1); | background: rgba(255, 255, 255, 0.1); | ||
} | } |