User:Sandungas/vector.css: Difference between revisions

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


.mw-geshi pre {
.mw-geshi pre {
-moz-tab-size: 8;
-moz-tab-size: 4;
-o-tab-size: 8;
-o-tab-size: 4;
tab-size: 8;
tab-size: 4;
}
}



Revision as of 18:19, 29 December 2021

/* 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 */
    tab-width: 4; /* default TAB characters takes the width of 8 spaces */
}
*/

.mw-geshi pre {
	-moz-tab-size: 4;
	-o-tab-size: 4;
	tab-size: 4;
}

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