User:Sandungas/vector.css: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
/* 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 {
     background-color: #f3f4f5; /* default #f8f9fa; */
    color: #222; /* default #000 */
     border: 1px solid #e0e2e4; /* default 1px solid #eaecf0; */
     background-color: #f3f4f5; /* default #f8f9fa */
     padding: 0em; /* default 1em; */
     border: 1px solid #e0e2e4; /* default 1px solid #eaecf0 */
     white-space: pre; /* default pre-wrap; */
     padding: 0em; /* default 1em */
     white-space: pre; /* default pre-wrap */
     overflow: auto; /* default... not used */
     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 */
Line 12: Line 13:
table.wikitable > tr > th, table.wikitable > tr > td,
table.wikitable > tr > th, table.wikitable > tr > td,
table.wikitable > * > tr > th, table.wikitable > * > tr > td {
table.wikitable > * > tr > th, table.wikitable > * > tr > td {
     padding: 0em; /* default padding: 0.2em 0.4em; */
     padding: 0em; /* default padding: 0.2em 0.4em */
}
}

Revision as of 22:01, 13 September 2021

/* Prevents line wrapping inside <pre> and <syntaxhighlight> tags, and adds a scrollbar when needed */
pre {
    color: #222; /* default #000 */
    background-color: #f3f4f5; /* default #f8f9fa */
    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 */
table.wikitable > tr > th, table.wikitable > tr > td,
table.wikitable > * > tr > th, table.wikitable > * > tr > td {
    padding: 0em; /* default padding: 0.2em 0.4em */
}