User:Sandungas/vector.css: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
m (Moved to common.css)
m (I hate the default <pre> padding, i think is excessive, now that my latest experiments are working fine i want to see what happens if we reduce it to 5px)
Line 1: Line 1:
pre {
    padding: 5px; /* default 1em */
}
/* 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
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 */
    height: inherit; /* experiment with the scrollbars merged controls */
     tab-width: 4; /* default TAB characters takes the width of 8 spaces */
     tab-width: 4; /* default TAB characters takes the width of 8 spaces */
}
}
*/
*/


Line 12: Line 17:


/* 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
/* Removes 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,
Line 18: Line 22:
     padding: 0em; /* default 0.2em 0.4em */
     padding: 0em; /* default 0.2em 0.4em */
}
}
*/
*/

Revision as of 02:47, 25 September 2021

pre {
    padding: 5px; /* default 1em */
}





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