User:Sandungas/vector.css: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
m (The "clear" happens before the heading, the h1 headng (page title) doesnt needs it)
m (Moved to common.css)
Line 1: Line 1:
/* Prevent floating boxes from overlapping page headings */
.mw-body-content h2, h3, h4, h5, h6 {
    clear: both; /* default not used */
}
/* Experiments with the <pre> tag temporally disabled because i need to revert my wiki profile to the "common" settings to continue experimenting other stuffings
/* Experiments with the <pre> tag temporally disabled because i need to revert my wiki profile to the "common" settings to continue experimenting other stuffings



Revision as of 16:55, 16 September 2021

/* Experiments with the <pre> tag temporally disabled because i need to revert my wiki profile to the "common" settings to continue experimenting other stuffings

pre {
    padding: 0em; /* default 1em. In some tests the value 1.2em was working fine to prevent the width disalignmentes caused by the presence/absence of the vertical scrollbar */
    height: inherit; /* experiment with the scrollbars merged controls */
    tab-width: 4; /* default TAB characters takes the width of 8 spaces */
}

*/



/* This experiment works, but the result is a bit weird when applyed to a whole table IF the table contains plain texts

/* Removes padding inside table data cells */
table.wikitable > tr > th, table.wikitable > tr > td,
table.wikitable > * > tr > th, table.wikitable > * > tr > td {
    padding: 0em; /* default 0.2em 0.4em */
}

*/