MediaWiki:Common.css

MediaWiki interface page
Revision as of 05:42, 19 May 2024 by Xenon (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.
/* CSS placed here will be applied to all skins */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&display=swap');

.sci-fi-font {
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
}



/* Ensure the container for the tabs is a flex container */
#p-namespaces ul,
#p-views ul {
    display: flex;
    justify-content: flex-end; /* Aligns all items to the right */
    align-items: center;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

/* Target the specific tabs to ensure they are positioned correctly */
#ca-nstab-main,
#ca-talk {
    margin-left: auto; /* Pushes the tabs to the right */
    order: 1; /* Ensure they appear at the end */
}

/* Optional: Adjust individual tab spacing */
#p-namespaces ul li,
#p-views ul li {
    margin-right: 10px; /* Adjust this value as needed */
}