MediaWiki:Citizen.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
/* All CSS here will be loaded for users of the Citizen skin */
/* 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 */
/* Fix for Infoboxes not correctly floating to the right */
.citizen-table-wrapper {
.citizen-table-wrapper {
     width: 100%; /* Ensure it occupies full width */
     overflow-x: unset;
    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 */
}
}

Latest revision as of 00:38, 23 October 2024

/* All CSS here will be loaded for users of the Citizen skin */

/* Fix for Infoboxes not correctly floating to the right */
.citizen-table-wrapper {
    overflow-x: unset;
}