MediaWiki:Common.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* General page background */ body { background-color: #e6f7ff; /* Very light blue background */ } /* Header background */ #content h1, #content h2 { background-color: #4682b4; /* Steel blue for headers */ color: white; padding: 10px; border-radius: 5px; } /* Link colors */ a { color: #1e90ff; /* Dodger blue for links */ } a:visited { color: #104e8b; /* Darker blue for visited links */ } /* Box styling for the images */ div[style*="display: inline-block; margin: 10px;"] { background-color: #87cefa; /* Light sky blue for boxes */ border: 2px solid #4682b4; /* Steel blue border */ border-radius: 10px; padding: 10px; } /* Text styling within boxes */ div[style*="display: inline-block; margin: 10px;"] p { color: #000080; /* Navy for text */ font-weight: bold; } /* Add any additional existing styles below */ /* Sidebar Styles */ #mw-panel { background-color: #001f3f; /* Change to your preferred background color */ color: #fff; /* Text color */ padding: 10px; font-family: Arial, sans-serif; } #p-logo { background-color: #001f3f; /* Background color for the logo */ padding: 10px; text-align: center; } #p-logo a { color: #fff; text-decoration: none; } #p-navigation .body ul { list-style-type: none; padding: 0; } #p-navigation .body ul li { margin: 5px 0; } #p-navigation .body ul li a { color: #fff; text-decoration: none; padding: 5px 10px; display: block; } #p-navigation .body ul li a:hover { background-color: #0074D9; /* Hover background color */ } /* Style for the search box */ #searchform { background-color: #001f3f; /* Background color for search box */ padding: 10px; border-radius: 5px; } #searchInput { width: 100%; padding: 5px; border-radius: 5px; border: 1px solid #4682b4; /* Border color for search input */ } #searchButton { background-color: #4682b4; /* Background color for search button */ color: white; padding: 5px 10px; border: none; border-radius: 5px; cursor: pointer; } #searchButton:hover { background-color: #1e90ff; /* Hover background color for search button */ } /* Style for the menu headings */ #mw-panel .portal .body h3 { background-color: #001f3f; /* Background color for menu heading */ color: white; padding: 5px; text-transform: uppercase; font-weight: bold; border-radius: 5px; margin: 0; } /* General page background */ body { background-color: #e6f7ff; /* Very light blue background */ } /* Header background */ #content h1, #content h2 { background-color: #4682b4; /* Steel blue for headers */ color: white; padding: 10px; border-radius: 5px; } /* Link colors */ a { color: #1e90ff; /* Dodger blue for links */ } a:visited { color: #104e8b; /* Darker blue for visited links */ } /* Box styling for the images */ div[style*="display: inline-block; margin: 10px;"] { background-color: #87cefa; /* Light sky blue for boxes */ border: 2px solid #4682b4; /* Steel blue border */ border-radius: 10px; padding: 10px; } /* Text styling within boxes */ div[style*="display: inline-block; margin: 10px;"] p { color: #000080; /* Navy for text */ font-weight: bold; } /* Sidebar Styles */ #mw-panel { background-color: #001f3f; /* Dark background color */ color: #fff; /* White text color */ padding: 10px; font-family: Arial, sans-serif; } #p-logo { background-color: #001f3f; /* Background color for the logo */ padding: 10px; text-align: center; } #p-logo a { color: #fff; text-decoration: none; } #p-navigation .body ul { list-style-type: none; padding: 0; } #p-navigation .body ul li { margin: 5px 0; } #p-navigation .body ul li a { color: #fff; text-decoration: none; padding: 5px 10px; display: block; border-radius: 5px; /* Rounded corners for links */ } #p-navigation .body ul li a:hover { background-color: #0074D9; /* Hover background color */ } /* Style for the search box */ #searchform { background-color: #001f3f; /* Background color for search box */ padding: 10px; border-radius: 5px; } #searchInput { width: 100%; padding: 5px; border-radius: 5px; border: 1px solid #4682b4; /* Border color for search input */ } #searchButton { background-color: #4682b4; /* Background color for search button */ color: white; padding: 5px 10px; border: none; border-radius: 5px; cursor: pointer; } #searchButton:hover { background-color: #1e90ff; /* Hover background color for search button */ } /* Style for the menu headings */ #mw-panel .portal .body h3 { background-color: #001f3f; /* Background color for menu heading */ color: white; padding: 5px; text-transform: uppercase; font-weight: bold; border-radius: 5px; margin: 0; }