Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
No edit summary
(Update)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');
/* Set a modern background color for the body */
/* Modernizing the sidebar */
body {
background-color: #f4f4f4;
font-family: 'Roboto', sans-serif; /* Use a modern font */
}

/* Improve the content box with a white background and shadow */
#content {
background-color: #ffffff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
padding: 20px;
border-radius: 5px;
}

/* Update link styling to be modern */
a {
color: #007acc;
text-decoration: none;
}

a:hover {
color: #005b99;
text-decoration: underline;
}

/* Header styling */
h1, h2, h3, h4, h5, h6 {
font-family: 'Roboto', sans-serif;
color: #333;
margin-bottom: 10px;
}

/* Customize sidebar appearance */
#mw-panel {
#mw-panel {
background-color: #f8f9fa;
background-color: #f8f9fa; /* Light gray background for a modern look */
border-right: 1px solid #ddd; /* Soft border for a clean look */
padding: 15px;
border-radius: 8px;
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 */
}
}


/* Sticky sidebar and header */
/* Styling the sidebar links */
#mw-panel .portal {
.sticky {
margin-bottom: 10px;
position: fixed;
top: 0;
width: 100%;
z-index: 1000;
background-color: #fff;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
}


#mw-panel .portal h3 {
/* Sidebar menu item customization */
font-size: 16px;
#mw-panel ul {
list-style: none;
font-weight: 600;
color: #333; /* Darker color for headers */
padding-left: 0;
text-transform: uppercase;
margin-bottom: 10px;
}
}


#mw-panel li {
#mw-panel .portal ul li {
list-style: none;
padding: 8px 0;
margin-bottom: 8px;
}
}


#mw-panel a {
#mw-panel .portal ul li a {
color: #007acc;
color: #007bff; /* Default link color */
text-decoration: none;
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 a:hover {
#mw-panel .portal ul li a:hover {
color: #005b99;
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 */
}
}

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 */
}