Jump to content

MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 57: Line 57:
}
}


/* Left section */
#user-page-left {
#user-page-left {
     flex: 0 0 45%;
     float: left;
     float: none;
    width: 45%;
     margin-right: 2%;
    clear: none;
}
}
/* Right Section */
 
#user-page-right {
#user-page-right {
     flex: 0 0 52%;
     float: left;
     float: none;
    width: 53%;
     clear: none;
}
 
/* Optional: add a clearfix on whatever element follows to stop collapse */
#user-page-left::after,
#user-page-right::after {
    content: "";
    display: table;
    clear: both;
}
}


/* Proper clearfix override */
.clearfix {
.clearfix {
     position: inline-block !important;
     position: static !important;
    flex: 0 0 45%;
     display: block !important;
    top: 60px;
     display: flow-root; /* modern fix */
}
}