MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 185: Line 185:
padding: 0.25em 0.9em;
padding: 0.25em 0.9em;
box-sizing: border-box;
box-sizing: border-box;
}
/* Style the main quotebox container */
.mw-parser-output .quotebox {
    background-color: #F9F9F9; /* Light background for readability */
    border: 1px solid #aaa; /* Soft border */
    box-sizing: border-box;
    padding: 10px; /* Internal padding for content */
    font-size: 88%; /* Adjust text size */
    max-width: 100%; /* Ensure it doesn’t exceed container width */
    width: 30em; /* Control width of the quote box */
    margin: 0.5em auto; /* Center align by default, adjust if needed */
}
/* Floating alignment for left and right options */
.mw-parser-output .quotebox.floatleft {
    float: left;
    margin: 0.5em 1.4em 0.8em 0;
}
.mw-parser-output .quotebox.floatright {
    float: right;
    margin: 0.5em 0 0.8em 1.4em;
}
/* Optional additional styling for content readability */
.mw-parser-output .quotebox p {
    margin: 0;
    padding: 0;
}
/* Customize font or other specific needs */
.mw-parser-output .quotebox {
    font-family: sans-serif;
    color: #202122; /* Text color for contrast */
    line-height: 1.5;
}
}