MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&display=swap'); | |||
#mw-panel { | #mw-panel { | ||
background: | background: none; /* Remove background */ | ||
border-radius: 8px; | border-radius: 8px; | ||
padding: 10px; | padding: 10px; | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
gap: 12px; | gap: 12px; | ||
} | } | ||
#mw-panel .mw-portlet { | #mw-panel .mw-portlet { | ||
border: | border: 2px solid rgba(255, 255, 255, 0.2); | ||
background: rgba( | background: rgba(30, 30, 30, 0.9); | ||
border-radius: 10px; | border-radius: 10px; | ||
padding: 5px; | padding: 5px; | ||
} | } | ||
#mw-panel .mw-portlet .vector-menu-heading { | #mw-panel .mw-portlet .vector-menu-heading { | ||
background: rgba( | font-family: 'Cinzel', serif; | ||
color: | font-size: 18px; | ||
font-weight: 700; | |||
text-transform: uppercase; | |||
background: rgba(20, 20, 20, 1); | |||
color: #C0A080; | |||
padding: 8px; | padding: 8px; | ||
border-radius: 8px 8px 0 0; | border-radius: 8px 8px 0 0; | ||
display: flex; | display: flex; | ||
justify-content: | justify-content: left; | ||
align-items: center; | align-items: center; | ||
cursor: | cursor: default; | ||
} | |||
#mw-panel .mw-portlet .vector-menu-heading::after { | |||
content: ""; | |||
display: none; | |||
} | } | ||
#mw-panel .mw-portlet .body a { | #mw-panel .mw-portlet .body a { | ||
display: block; | display: block; | ||
font-family: 'Cinzel', serif; | |||
font-size: 16px; | |||
color: #ddd; | |||
text-decoration: none; | |||
padding: 6px 12px; | padding: 6px 12px; | ||
border-radius: 4px; | border-radius: 4px; | ||
} | } | ||
#mw-panel .mw-portlet .body a:hover { | #mw-panel .mw-portlet .body a:hover { | ||
background: rgba(255, 255, 255, 0. | background: rgba(255, 255, 255, 0.15); | ||
color: #C0A080; | |||
color: | |||
# | |||
} | } | ||
#mw-panel .mw-portlet. | #mw-panel .mw-portlet .body { | ||
display: block !important; | |||
} | } |