No edit summary |
(Update) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
@import url('https:// |
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap'); |
||
/* Modernizing the sidebar */ |
|||
/* Sidebar container */ |
|||
#mw-panel { |
#mw-panel { |
||
background-color: # |
background-color: #f8f9fa; /* Light gray background for a modern look */ |
||
⚫ | |||
padding: 15px; |
padding: 15px; |
||
box-shadow: 2px 0 5px rgba(0,0,0,0.1); /* Soft shadow to make the sidebar pop */ |
|||
border: 1px solid #ddd; |
|||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Modern font */ |
|||
⚫ | |||
} |
} |
||
/* |
/* Styling the sidebar links */ |
||
#mw-panel .portal |
#mw-panel .portal { |
||
⚫ | |||
⚫ | |||
color: #444; |
|||
margin-bottom: 10px; |
margin-bottom: 10px; |
||
⚫ | |||
⚫ | |||
} |
} |
||
⚫ | |||
/* Sidebar links */ |
|||
⚫ | |||
⚫ | |||
font-weight: 600; |
|||
color: #333; /* Darker color for headers */ |
|||
padding-left: 0; |
|||
text-transform: uppercase; |
|||
⚫ | |||
} |
} |
||
#mw-panel ul li { |
#mw-panel .portal ul li { |
||
list-style: none; |
|||
⚫ | |||
} |
} |
||
#mw-panel ul li a { |
#mw-panel .portal ul li a { |
||
⚫ | |||
font-size: 16px; |
|||
⚫ | |||
text-decoration: none; |
text-decoration: none; |
||
padding: 5px; |
|||
transition: all 0.3s ease; /* Smooth transition effect */ |
|||
align-items: center; |
|||
display: block; |
|||
} |
|||
⚫ | |||
⚫ | |||
#mw-panel ul li a i { |
|||
⚫ | |||
} |
} |
||
/* Hover effect |
/* Hover effect on links */ |
||
#mw-panel ul li a:hover { |
#mw-panel .portal ul li a:hover { |
||
background-color: #e2e6ea; /* Light background color on hover */ |
|||
text-decoration: underline; |
|||
color: #0056b3; /* Darker blue on hover */ |
|||
box-shadow: 2px 2px 5px rgba(0,0,0,0.1); /* Slight shadow effect */ |
|||
} |
} |
Latest revision as of 16:02, 21 October 2024
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');
/* Modernizing the sidebar */
#mw-panel {
background-color: #f8f9fa; /* Light gray background for a modern look */
border-right: 1px solid #ddd; /* Soft border for a clean look */
padding: 15px;
box-shadow: 2px 0 5px rgba(0,0,0,0.1); /* Soft shadow to make the sidebar pop */
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Modern font */
}
/* Styling the sidebar links */
#mw-panel .portal {
margin-bottom: 10px;
}
#mw-panel .portal h3 {
font-size: 16px;
font-weight: 600;
color: #333; /* Darker color for headers */
text-transform: uppercase;
margin-bottom: 10px;
}
#mw-panel .portal ul li {
list-style: none;
margin-bottom: 8px;
}
#mw-panel .portal ul li a {
color: #007bff; /* Default link color */
text-decoration: none;
padding: 5px;
transition: all 0.3s ease; /* Smooth transition effect */
display: block;
font-size: 14px;
border-radius: 4px;
}
/* Hover effect on links */
#mw-panel .portal ul li a:hover {
background-color: #e2e6ea; /* Light background color on hover */
color: #0056b3; /* Darker blue on hover */
box-shadow: 2px 2px 5px rgba(0,0,0,0.1); /* Slight shadow effect */
}