No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* Background color for the body */ |
|||
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css'); |
|||
body { |
|||
⚫ | |||
font-family: 'Roboto', sans-serif; /* Using modern font */ |
|||
} |
|||
/* Content styling with box shadow */ |
|||
#content { |
|||
background-color: #ffffff; |
|||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); |
|||
⚫ | |||
} |
|||
/* Link colors */ |
|||
a { |
|||
color: #007acc; |
|||
} |
|||
/* |
/* Styling for headers */ |
||
h1, h2, h3, h4, h5, h6 { |
|||
#mw-panel { |
|||
font-family: 'Roboto', sans-serif; |
|||
⚫ | |||
color: #333; |
|||
border: 1px solid #ddd; |
|||
border-radius: 4px; |
|||
} |
} |
||
/* Sticky header styling (to be used with JS) */ |
|||
/* Sidebar section headings */ |
|||
.sticky { |
|||
#mw-panel .portal .mw-portlet-heading { |
|||
position: fixed; |
|||
top: 0; |
|||
width: 100%; |
|||
z-index: 1000; |
|||
background-color: #fff; |
|||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); |
|||
border-bottom: 1px solid #ddd; |
|||
} |
} |
||
/* |
/* Dropdown menu styling */ |
||
.dropdown { |
|||
#mw-panel ul { |
|||
position: relative; |
|||
list-style-type: none; |
|||
⚫ | |||
} |
} |
||
.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); |
|||
display: inline-flex; |
|||
align-items: center; |
|||
} |
} |
||
.dropdown ul li { |
|||
list-style: none; |
|||
padding: 10px; |
|||
} |
} |
||
⚫ | |||
/* Hover effect for links */ |
|||
⚫ | |||
#mw-panel ul li a:hover { |
|||
color: #007acc; |
|||
text-decoration: underline; |
|||
} |
} |
Revision as of 15:39, 21 October 2024
/* Background color for the body */
body {
background-color: #f4f4f4;
font-family: 'Roboto', sans-serif; /* Using modern font */
}
/* Content styling with box shadow */
#content {
background-color: #ffffff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
padding: 20px;
}
/* Link colors */
a {
color: #007acc;
}
/* Styling for headers */
h1, h2, h3, h4, h5, h6 {
font-family: 'Roboto', sans-serif;
color: #333;
}
/* Sticky header styling (to be used with JS) */
.sticky {
position: fixed;
top: 0;
width: 100%;
z-index: 1000;
background-color: #fff;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
/* Dropdown menu styling */
.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;
}