MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
#mw-panel { | |||
background- | background: url('temp') repeat; | ||
border-radius: 8px; | |||
padding: 10px; | |||
box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5); | |||
display: flex; | |||
flex-direction: column; | |||
gap: 12px; | |||
} | } | ||
display: block | #mw-panel .mw-portlet { | ||
border: 1px solid rgba(255, 255, 255, 0.2); | |||
background: rgba(60, 30, 10, 0.9); | |||
border-radius: 10px; | |||
padding: 5px; | |||
} | |||
/* Sidebar Headers */ | |||
#mw-panel .mw-portlet .vector-menu-heading { | |||
background: rgba(80, 40, 15, 1); | |||
color: white; | |||
padding: 8px; | |||
font-size: 16px; | |||
font-weight: bold; | |||
border-radius: 8px 8px 0 0; | |||
display: flex; | |||
justify-content: space-between; | |||
align-items: center; | |||
cursor: pointer; | |||
} | |||
/* Sidebar Links */ | |||
#mw-panel .mw-portlet .body a { | |||
display: block; | |||
padding: 6px 12px; | |||
color: white; | |||
text-decoration: none; | |||
font-size: 14px; | |||
border-radius: 4px; | |||
} | |||
#mw-panel .mw-portlet .body a:hover { | |||
background: rgba(255, 255, 255, 0.1); | |||
} | } | ||
/* Collapse Button (Dropdown Icon) */ | |||
#mw-panel .mw-portlet .vector-menu-heading::after { | |||
content: "▼"; | |||
font-size: 12px; | |||
color: white; | |||
} | } | ||
/* Collapsed Sidebar Sections */ | |||
#mw-panel .mw-portlet.collapsed .body { | |||
display: none; | |||
} | } | ||
#mw-panel .mw-portlet.collapsed .vector-menu-heading::after { | |||
content: "▶"; | |||
} | } |