MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
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); | ||
} | } |
Revision as of 03:15, 27 March 2025
@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 {
width: 150px;
padding: 2px;
display: flex;
flex-direction: column;
gap: 4px;
}
#mw-panel .mw-portlet {
width: 100%;
background: linear-gradient(to bottom, #111 0%, #222 100%);
border: 1px solid rgba(255, 215, 0, 0.3);
border-radius: 6px;
padding: 2px;
margin-bottom: 4px;
}
#mw-panel .mw-portlet .vector-menu-heading {
font-family: 'Cinzel', serif;
font-size: 13px;
font-weight: bold;
text-transform: uppercase;
color: #C0A080;
background: rgba(15, 15, 15, 0.9);
padding: 4px;
border-radius: 6px 6px 0 0;
text-align: center;
letter-spacing: 1px;
line-height: 12px;
}
#mw-panel .mw-portlet .body a {
font-family: 'Cinzel', serif;
font-size: 12px;
color: #bbb;
text-decoration: none;
padding: 3px 5px;
display: block;
transition: all 0.3s ease;
}
#mw-panel .mw-portlet .body a:hover {
color: #FFD700;
background: rgba(255, 255, 255, 0.1);
border-radius: 2px;
}
#mw-panel .mw-portlet .body {
padding: 2px;
}
#mw-panel .mw-portlet {
margin-bottom: 3px;
}
#toc {
font-family: 'Cinzel', serif;
background: linear-gradient(to bottom, #111 0%, #222 100%);
border: 1px solid rgba(255, 215, 0, 0.3);
border-radius: 6px;
padding: 6px;
margin: 10px 0;
width: fit-content;
max-width: 300px;
color: #bbb;
}
#toc > .toctitle {
font-size: 13px;
font-weight: bold;
text-transform: uppercase;
color: #C0A080;
background: rgba(15, 15, 15, 0.9);
padding: 4px;
border-radius: 6px 6px 0 0;
text-align: center;
letter-spacing: 1px;
margin-bottom: 6px;
}
#toc ul {
list-style: none;
padding: 0;
margin: 0;
}
#toc ul li {
margin: 4px 0;
}
#toc ul li a {
font-size: 12px;
color: #bbb;
text-decoration: none;
padding: 3px 5px;
display: block;
border-radius: 2px;
transition: all 0.3s ease;
}
#toc ul li a:hover {
color: #FFD700;
background: rgba(255, 255, 255, 0.1);
}