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: Difference between revisions

MediaWiki interface page
Created page with "CSS placed here will be applied to all skins: .topnav { background-color: #1a1a1a; overflow: hidden; padding: 10px; text-align: center; } .topnav a { display: inline-block; color: #eaeaea; text-align: center; padding: 10px 20px; text-decoration: none; font-family: 'Segoe UI', sans-serif; font-weight: bold; font-size: 15px; } .topnav a:hover { background-color: #444; color: #fff; border-radius: 5px; }"
 
m Added dropdown functionality.
Line 22: Line 22:
   color: #fff;
   color: #fff;
   border-radius: 5px;
   border-radius: 5px;
}
.dropdown-menu {
  margin-bottom: 1em;
  border: 1px solid #ccc;
  background: #f5f5f5;
  border-radius: 6px;
  padding: 0.5em;
}
.dropdown-header:hover {
  color: #0077cc;
}
.dropdown-content {
  padding-top: 0.5em;
}
}

Revision as of 16:42, 30 May 2025

/* CSS placed here will be applied to all skins */
.topnav {
  background-color: #1a1a1a;
  overflow: hidden;
  padding: 10px;
  text-align: center;
}

.topnav a {
  display: inline-block;
  color: #eaeaea;
  text-align: center;
  padding: 10px 20px;
  text-decoration: none;
  font-family: 'Segoe UI', sans-serif;
  font-weight: bold;
  font-size: 15px;
}

.topnav a:hover {
  background-color: #444;
  color: #fff;
  border-radius: 5px;
}

.dropdown-menu {
  margin-bottom: 1em;
  border: 1px solid #ccc;
  background: #f5f5f5;
  border-radius: 6px;
  padding: 0.5em;
}

.dropdown-header:hover {
  color: #0077cc;
}

.dropdown-content {
  padding-top: 0.5em;
}