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 {
     white-space: pre;
     background-color: #f3f3f3; /* default #f8f9fa; */
     overflow: auto;
     border: 1px solid #e0e0e0; /* default 1px solid #eaecf0; */
     padding: 0px;
     padding: 0px; /* default 1em; */
     margin: 0px;
     white-space: pre; /* default pre-wrap; */
     background-color: #f3f3f3;
     overflow: auto; /* default... not used */
     border: 1px solid #e0e0e0;
     margin: 0px; /* default... around 12px top and bottom, 4px left and right */
}
}


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

Revision as of 21:28, 13 September 2021

/* Prevents line wrapping inside <pre> and <syntaxhighlight> tags, and adds a scrollbar when needed */
pre {
    background-color: #f3f3f3; /* default #f8f9fa; */
    border: 1px solid #e0e0e0; /* default 1px solid #eaecf0; */
    padding: 0px; /* 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; */
}