User:Sandungas/vector.css: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
m (5px doesnt causes any problem, now trying something a bit more extreme)
(Undo revision 72293 by Sandungas (talk) this is not working, and i dont know why)
Tag: Undo
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
pre {
/* To make images responsive
    padding: 0px; /* default 1em */
.res-img img {
max-width:100%;
height:auto;
}
}
 
*/
 
 




/* 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)
    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. Minimizes padding inside table header and data cells
/* This experiment works, but the result is a bit weird when applyed to a whole table IF the table contains plain texts
table.wikitable > tr > th, table.wikitable > * > tr > th,
/* Removes padding inside table data cells */
table.wikitable > tr > td, table.wikitable > * > tr > td {
table.wikitable > tr > th, table.wikitable > tr > td,
     padding: 2px; (default 0.2em 0.4em)
table.wikitable > * > tr > th, table.wikitable > * > tr > td {
     padding: 0em; /* default 0.2em 0.4em */
}
}
*/
*/

Latest revision as of 14:53, 21 June 2023

/* To make images responsive
.res-img img {
	max-width:100%;
	height:auto;
}
*/


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


/* This experiment works, but the result is a bit weird when applyed to a whole table IF the table contains plain texts. Minimizes padding inside table header and data cells
table.wikitable > tr > th, table.wikitable > * > tr > th,
table.wikitable > tr > td, table.wikitable > * > tr > td {
    padding: 2px; (default 0.2em 0.4em)
}
*/