MediaWiki:Common.css

From Yudurobotics
Revision as of 16:31, 24 February 2025 by Evobi admin (talk | contribs)

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.
/* Force Vector theme styles on all users */
body {
    font-family: sans-serif;
    background-color: #f8f9fa; /* Light gray background */
    color: #202122;
    margin: 0;
}

/* Main content styling */
#content, #mw-content-text {
    max-width: 960px;
    margin: auto;
    background: white;
    padding: 20px;
    line-height: 1.6;
}

/* Header (top bar) styling */
#mw-head, #p-personal {
    background-color: #ffffff;
    border-bottom: 1px solid #a2a9b1;
    padding: 5px;
}

/* Navigation sidebar */
#mw-panel {
    background: #f8f9fa;
    border-right: 1px solid #a2a9b1;
    padding: 10px;
}

/* Sidebar links */
#mw-panel a {
    color: #0645ad;
    font-weight: bold;
    text-decoration: none;
}

#mw-panel a:hover {
    text-decoration: underline;
}

/* Page title */
#firstHeading {
    font-size: 1.8em;
    font-weight: bold;
    color: #202122;
}

/* Footer */
#footer {
    background-color: #ffffff;
    color: #72777d;
    padding: 10px;
    border-top: 1px solid #a2a9b1;
}

/* Hide elements from other skins */
.skin-monobook #p-cactions, .skin-timeless .mw-wiki-logo {
    display: none;
}

/* Tabs styling (Edit, History, etc.) */
#p-cactions ul {
    background-color: #f8f9fa;
    border: 1px solid #a2a9b1;
    padding: 5px;
    border-radius: 4px;
}

/* Ensure Vector-like spacing */
.mw-body {
    padding: 20px;
}

/* Restore button appearance */
input, button {
    font-size: 14px;
    padding: 5px;
    border: 1px solid #a2a9b1;
    background-color: white;
}