User:Sandungas/vector.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (https://www.mediawiki.org/wiki/Topic:Tuubagqalz9vk2m9) |
||
Line 1: | Line 1: | ||
/* 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 | /* 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 { |
Revision as of 15:21, 6 October 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 */
}
*/
/* 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 */
}
*/