No edit summary |
(Update) |
||
(2 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'); |
||
/* |
/* Modernizing the sidebar */ |
||
body { |
|||
background-color: #f7f8fa; /* Light gray background for modern appearance */ |
|||
font-family: 'Roboto', sans-serif; /* Use a clean, modern font */ |
|||
} |
|||
/* Style for the content area */ |
|||
#content { |
|||
background-color: #ffffff; /* Clean white background for content */ |
|||
box-shadow: 0 0 15px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */ |
|||
padding: 20px; |
|||
border-radius: 8px; /* Rounded corners for a smoother look */ |
|||
transition: all 0.3s ease; /* Smooth transitions */ |
|||
} |
|||
/* Customize the sidebar appearance */ |
|||
#mw-panel { |
#mw-panel { |
||
background-color: # |
background-color: #f8f9fa; /* Light gray background for a modern look */ |
||
border-right: 1px solid #ddd; /* Soft border for a clean look */ |
|||
padding: 15px; |
padding: 15px; |
||
box-shadow: 2px 0 5px rgba(0,0,0,0.1); /* Soft shadow to make the sidebar pop */ |
|||
border-radius: 10px; |
|||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Modern font */ |
|||
} |
|||
/* Modern link styling */ |
|||
a { |
|||
color: #007acc; /* Soft blue for links */ |
|||
text-decoration: none; /* Remove underline */ |
|||
transition: color 0.2s ease; /* Smooth transition on hover */ |
|||
} |
|||
a:hover { |
|||
color: #005b99; /* Darker blue on hover */ |
|||
text-decoration: underline; |
|||
} |
|||
/* Header styles for a cleaner look */ |
|||
h1, h2, h3, h4, h5, h6 { |
|||
font-family: 'Roboto', sans-serif; |
|||
color: #333; /* Dark text for headers */ |
|||
margin-bottom: 10px; |
|||
} |
|||
/* Sidebar items */ |
|||
#mw-panel ul { |
|||
list-style: none; /* Remove bullets from sidebar links */ |
|||
padding-left: 0; |
|||
} |
|||
#mw-panel li { |
|||
padding: 10px 0; /* Add space between sidebar links */ |
|||
} |
|||
#mw-panel a { |
|||
color: #007acc; /* Sidebar link color */ |
|||
font-weight: bold; |
|||
} |
|||
#mw-panel a:hover { |
|||
color: #005b99; /* Darker link color on hover */ |
|||
} |
|||
/* Sticky sidebar for improved navigation */ |
|||
.sticky { |
|||
position: fixed; |
|||
top: 0; |
|||
width: 220px; /* Adjust width based on your layout */ |
|||
z-index: 1000; |
|||
background-color: #f1f1f1; |
|||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); |
|||
transition: background-color 0.3s ease; |
|||
} |
|||
/* Button styles for a modern feel */ |
|||
input[type="submit"], button { |
|||
background-color: #007acc; |
|||
border: none; |
|||
color: white; |
|||
padding: 10px 20px; |
|||
text-align: center; |
|||
text-decoration: none; |
|||
display: inline-block; |
|||
font-size: 14px; |
|||
margin: 5px 2px; |
|||
cursor: pointer; |
|||
border-radius: 5px; |
|||
transition: background-color 0.3s ease; |
|||
} |
|||
input[type="submit"]:hover, button:hover { |
|||
background-color: #005b99; |
|||
} |
|||
/* Custom dropdown styling (if you are using dropdowns) */ |
|||
.dropdown { |
|||
position: relative; |
|||
} |
|||
.dropdown:hover > ul { |
|||
display: block; |
|||
} |
|||
.dropdown ul { |
|||
display: none; |
|||
position: absolute; |
|||
background-color: #ffffff; |
|||
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); |
|||
} |
} |
||
/* Styling the sidebar links */ |
|||
.dropdown ul li { |
|||
#mw-panel .portal { |
|||
list-style: none; |
|||
margin-bottom: 10px; |
|||
} |
} |
||
#mw-panel .portal h3 { |
|||
.dropdown ul li a { |
|||
font-size: 16px; |
|||
font-weight: 600; |
|||
color: #007acc; |
|||
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 { |
|||
/* Make forms and input fields look modern */ |
|||
color: #007bff; /* Default link color */ |
|||
input, select, textarea { |
|||
text-decoration: none; |
|||
padding: 10px; |
|||
padding: 5px; |
|||
transition: all 0.3s ease; /* Smooth transition effect */ |
|||
border-radius: 5px; |
|||
display: block; |
|||
font-size: 14px; |
|||
border-radius: 4px; |
|||
margin-bottom: 10px; |
|||
background-color: #f9f9f9; |
|||
} |
} |
||
/* Hover effect on links */ |
|||
input:focus, select:focus, textarea:focus { |
|||
#mw-panel .portal ul li a:hover { |
|||
border-color: #007acc; |
|||
background-color: #e2e6ea; /* Light background color on hover */ |
|||
outline: none; |
|||
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 */
}