User:Sandungas/vector.css: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
m (Reverting my profile to defaults)
m (Hmmm, for some reason the <pre> settings are still loaded)
Line 1: Line 1:
/* 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


/* Prevents line wrapping inside <pre> and <syntaxhighlight> tags, and adds a scrollbar when needed */
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 */
Line 14: Line 13:
/* This experiment works, but the result is a bit weird when applyed to a whole table IF the table contains plain texts
/* This experiment works, but the result is a bit weird when applyed to a whole table IF the table contains plain texts


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


*/
*/

Revision as of 17:51, 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... around 12px top and bottom, 4px left and right */
    height: inherit; /* experiment with the scrollbars merged controls */
}

*/



/* 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 */
}

*/