User:Sandungas/vector.css

From PS3 Developer wiki
< User:Sandungas
Revision as of 02:47, 25 September 2021 by Sandungas (talk | contribs) (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)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
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 */
}
*/