User:Sandungas/vector.css: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
mNo edit summary
(Undo revision 72293 by Sandungas (talk) this is not working, and i dont know why)
Tag: Undo
 
(31 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Prevents line wrapping inside <pre> and <syntaxhighlight> tags, and adds a scrollbar when needed */
/* 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 {
pre {
    background-color: #f3f4f5; /* default #f8f9fa; */
     padding: 0em; (default 1em)
    border: 1px solid #e0e2e4; /* default 1px solid #eaecf0; */
     padding: 0em; /* default 1em; */
    white-space: pre; /* default pre-wrap; */
    overflow: auto; /* default... not used */
    margin: 0px; /* default... around 12px top and bottom, 4px left and right */
}
}
*/


/* Trying to remove padding inside table data cells */
/* 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 > td,
table.wikitable > tr > th, table.wikitable > * > tr > th,
table.wikitable > * > tr > th, table.wikitable > * > tr > td {
table.wikitable > tr > td, table.wikitable > * > tr > td {
     padding: 0em; /* default padding: 0.2em 0.4em; */
     padding: 2px; (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)
}
*/