MediaWiki:Citizen.css

MediaWiki interface page
Revision as of 00:23, 23 October 2024 by Kalen (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.
/* All CSS here will be loaded for users of the Citizen skin */
/*#citizen-section-collapsible-0 {*/
/*    float: right;*/
/*}*/

/* Ensure the table wrapper is wide enough and allows floating */
.citizen-table-wrapper {
    width: 100%; /* Ensure it occupies full width */
    overflow: visible; /* Prevent overflow from hiding the table */
    clear: both; /* This ensures the table clears correctly if needed */
}

/* Ensure the table itself floats to the right */
.citizen-table-wrapper table {
    float: right; /* Float the table to the right */
    margin-left: 1em; /* Add margin to separate from other content */
    margin-bottom: 1em; /* Add some space below */
}

/* Make sure the section's content flows correctly around the floated table */
section {
    overflow: hidden; /* Forces the section to clear its children */
    width: 100%; /* Ensure full width for section */
}