User:Sandungas/vector.css: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
m (Auch, thats what happens when doing hex calculations with the fingers o0)
m (Reverting my profile to defaults)
Line 1: Line 1:
/* Experiments with the <pre> tag temporally disabled because i need to revert my wiki profile to the "common" settings to continue experimenting other stuffings
/* Prevents line wrapping inside <pre> and <syntaxhighlight> tags, and adds a scrollbar when needed */
/* Prevents line wrapping inside <pre> and <syntaxhighlight> tags, and adds a scrollbar when needed */
pre {
pre {
    color: #222; /* default #000 */
     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 */
    background-color: #f3f4f5; /* default #f8f9fa */
    border: 1px solid #e0e2e6; /* 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 */
     margin: 0px; /* default... around 12px top and bottom, 4px left and right */
    height: inherit; /* experiment with the scrollbars merged controls */
}
}
*/
/* This experiment works, but the result is a bit weird when applyed to a whole table IF the table contains plain texts


/* Trying to remove padding inside table data cells */
/* Trying to remove padding inside table data cells */
Line 15: Line 19:
     padding: 0em; /* default padding: 0.2em 0.4em */
     padding: 0em; /* default padding: 0.2em 0.4em */
}
}
*/

Revision as of 17:40, 14 September 2021

/* Experiments with the <pre> tag temporally disabled because i need to revert my wiki profile to the "common" settings to continue experimenting other stuffings

/* Prevents line wrapping inside <pre> and <syntaxhighlight> tags, and adds a scrollbar when needed */
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 */
    margin: 0px; /* default... around 12px top and bottom, 4px left and right */
    height: inherit; /* experiment with the scrollbars merged controls */
}

*/



/* This experiment works, but the result is a bit weird when applyed to a whole table IF the table contains plain texts

/* Trying to remove padding inside table data cells */
table.wikitable > tr > th, table.wikitable > tr > td,
table.wikitable > * > tr > th, table.wikitable > * > tr > td {
    padding: 0em; /* default padding: 0.2em 0.4em */
}

*/