User:Sandungas/vector.css: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:


pre {
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 */
     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... around 12px top and bottom, 4px left and right */
     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 */
     height: inherit; /* experiment with the scrollbars merged controls */
     tab-width: 4; /* default... TAB characters are converted to 8 spaces */
     tab-width: 4; /* default TAB characters takes the width of 8 spaces */
}
}



Revision as of 19:12, 14 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 */
    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 */
}

*/