User:Sandungas/vector.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
/* Prevent floating boxes from overlapping page headings */ | |||
.mw-body-content h1, .mw-body-content h2, .mw-body-content h3, .mw-body-content h4, .mw-body-content h5, .mw-body-content 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 01:34, 16 September 2021
/* Prevent floating boxes from overlapping page headings */
.mw-body-content h1, .mw-body-content h2, .mw-body-content h3, .mw-body-content h4, .mw-body-content h5, .mw-body-content 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
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 */
margin: 0px; /* default undefined in this wiki. Seems to depend of webbrowser, around 12px top and bottom in firefox */
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 */
}
*/