Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css

MediaWiki interface page
Revision as of 14:40, 7 January 2025 by Wiki Admin (talk | contribs) (Created page with "CSS placed here will be applied to all skins: Main Page Styles: .main-page-header { text-align: center; padding: 20px; background-color: #f9f9f9; border-bottom: 2px solid #e0e0e0; } .main-page-header h1 { font-size: 2.5em; margin: 0; } .main-page-header p { font-size: 1.2em; color: #666; } .main-page-sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin: 20px 0; } .main-page-section...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/* Main Page Styles */
.main-page-header {
  text-align: center;
  padding: 20px;
  background-color: #f9f9f9;
  border-bottom: 2px solid #e0e0e0;
}

.main-page-header h1 {
  font-size: 2.5em;
  margin: 0;
}

.main-page-header p {
  font-size: 1.2em;
  color: #666;
}

.main-page-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.main-page-section {
  padding: 15px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.main-page-section h2 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #333;
}

.main-page-section ul {
  list-style: none;
  padding: 0;
}

.main-page-section li {
  margin-bottom: 8px;
}

.main-page-section a {
  color: #0073e6;
  text-decoration: none;
}

.main-page-section a:hover {
  text-decoration: underline;
}

.main-page-footer {
  text-align: center;
  padding: 15px;
  margin-top: 20px;
  background-color: #f9f9f9;
  border-top: 2px solid #e0e0e0;
}