No edit summary |
(Update) |
||
(8 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 */ |
|||
#mw-panel { |
|||
/* General sidebar styling */ |
|||
background-color: #f8f9fa; /* Light gray background for a modern look */ |
|||
#p-navigation, #p-tb { |
|||
⚫ | |||
background-color: #f5f5f5; |
|||
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 */ |
|||
⚫ | |||
padding: 10px; |
|||
} |
} |
||
/* Styling |
/* Styling the sidebar links */ |
||
#mw-panel .portal { |
|||
⚫ | |||
⚫ | |||
color: #333; |
|||
margin-bottom: 10px; |
margin-bottom: 10px; |
||
padding-bottom: 5px; |
|||
⚫ | |||
} |
} |
||
#mw-panel .portal h3 { |
|||
/* Sidebar links styling */ |
|||
⚫ | |||
#p-navigation ul, #p-tb ul { |
|||
font-weight: 600; |
|||
⚫ | |||
padding-left: 0; |
|||
text-transform: uppercase; |
|||
⚫ | |||
} |
} |
||
# |
#mw-panel .portal ul li { |
||
list-style: none; |
|||
margin-bottom: 8px; |
|||
} |
} |
||
# |
#mw-panel .portal ul li a { |
||
color: #007bff; |
color: #007bff; /* Default link color */ |
||
font-size: 16px; |
|||
text-decoration: none; |
text-decoration: none; |
||
padding: 5px; |
|||
transition: all 0.3s ease; /* Smooth transition effect */ |
|||
align-items: center; |
|||
display: block; |
|||
} |
|||
⚫ | |||
⚫ | |||
/* Add Font Awesome icons to sidebar links */ |
|||
#p-navigation li a i, #p-tb li a i { |
|||
margin-right: 8px; |
|||
font-size: 16px; /* Adjust the size of the icon */ |
|||
⚫ | |||
} |
} |
||
/* Hover effect |
/* Hover effect on links */ |
||
# |
#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 */
}