No edit summary |
No edit summary |
||
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'); |
||
/* |
/* Modern body background */ |
||
body { |
body { |
||
background-color: # |
background-color: #f7f8fa; /* Light gray background for modern appearance */ |
||
font-family: 'Roboto', sans-serif; /* Use a modern font */ |
font-family: 'Roboto', sans-serif; /* Use a clean, modern font */ |
||
} |
} |
||
/* |
/* Style for the content area */ |
||
#content { |
#content { |
||
background-color: #ffffff; |
background-color: #ffffff; /* Clean white background for content */ |
||
box-shadow: 0 0 |
box-shadow: 0 0 15px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */ |
||
padding: 20px; |
padding: 20px; |
||
border-radius: |
border-radius: 8px; /* Rounded corners for a smoother look */ |
||
transition: all 0.3s ease; /* Smooth transitions */ |
|||
} |
|||
/* Customize the sidebar appearance */ |
|||
⚫ | |||
background-color: #f1f1f1; /* Light background for sidebar */ |
|||
box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1); /* Soft shadow to separate the sidebar */ |
|||
⚫ | |||
⚫ | |||
} |
} |
||
/* |
/* Modern link styling */ |
||
a { |
a { |
||
color: #007acc; |
color: #007acc; /* Soft blue for links */ |
||
text-decoration: none; |
text-decoration: none; /* Remove underline */ |
||
transition: color 0.2s ease; /* Smooth transition on hover */ |
|||
} |
} |
||
a:hover { |
a:hover { |
||
color: #005b99; |
color: #005b99; /* Darker blue on hover */ |
||
text-decoration: underline; |
text-decoration: underline; |
||
} |
} |
||
/* Header |
/* Header styles for a cleaner look */ |
||
h1, h2, h3, h4, h5, h6 { |
h1, h2, h3, h4, h5, h6 { |
||
font-family: 'Roboto', sans-serif; |
font-family: 'Roboto', sans-serif; |
||
color: #333; |
color: #333; /* Dark text for headers */ |
||
margin-bottom: 10px; |
margin-bottom: 10px; |
||
} |
} |
||
/* |
/* Sidebar items */ |
||
#mw-panel { |
#mw-panel ul { |
||
list-style: none; /* Remove bullets from sidebar links */ |
|||
⚫ | |||
padding: |
padding-left: 0; |
||
⚫ | |||
} |
} |
||
⚫ | |||
⚫ | |||
padding: 10px 0; /* Add space between sidebar links */ |
|||
} |
|||
⚫ | |||
⚫ | |||
font-weight: bold; |
|||
} |
|||
#mw-panel a:hover { |
|||
color: #005b99; /* Darker link color on hover */ |
|||
} |
|||
⚫ | |||
.sticky { |
.sticky { |
||
position: fixed; |
position: fixed; |
||
top: 0; |
top: 0; |
||
width: 220px; /* Adjust width based on your layout */ |
|||
⚫ | |||
z-index: 1000; |
z-index: 1000; |
||
background-color: # |
background-color: #f1f1f1; |
||
box-shadow: 0 2px |
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 { |
|||
⚫ | |||
⚫ | |||
⚫ | |||
} |
} |
||
/* 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); |
|||
} |
|||
.dropdown ul li { |
|||
list-style: none; |
|||
padding: 10px; |
|||
} |
|||
.dropdown ul li a { |
|||
text-decoration: none; |
text-decoration: none; |
||
color: #007acc; |
|||
} |
} |
||
.dropdown ul li a:hover { |
|||
color: #005b99; |
color: #005b99; |
||
} |
|||
/* Make forms and input fields look modern */ |
|||
input, select, textarea { |
|||
padding: 10px; |
|||
border: 1px solid #ddd; |
|||
border-radius: 5px; |
|||
font-size: 14px; |
|||
⚫ | |||
box-sizing: border-box; |
|||
margin-bottom: 10px; |
|||
background-color: #f9f9f9; |
|||
} |
|||
input:focus, select:focus, textarea:focus { |
|||
border-color: #007acc; |
|||
outline: none; |
|||
} |
} |
Revision as of 15:47, 21 October 2024
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');
/* Modern body background */
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 {
background-color: #f1f1f1; /* Light background for sidebar */
box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1); /* Soft shadow to separate the sidebar */
padding: 15px;
border-radius: 10px;
}
/* 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);
}
.dropdown ul li {
list-style: none;
padding: 10px;
}
.dropdown ul li a {
text-decoration: none;
color: #007acc;
}
.dropdown ul li a:hover {
color: #005b99;
}
/* Make forms and input fields look modern */
input, select, textarea {
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 14px;
width: 100%;
box-sizing: border-box;
margin-bottom: 10px;
background-color: #f9f9f9;
}
input:focus, select:focus, textarea:focus {
border-color: #007acc;
outline: none;
}