User:Sandungas/vector.css: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
(Created page with "→‎Prevents line wrapping inside <pre> and <syntaxhighlight> tags, and adds a scrollbar when needed: pre { white-space: pre; overflow: auto; padding: 0px; ma...")
 
m (Im trying to figure how to create a custom class (for optional use) to remove padding inside wikitable cells)
Line 7: Line 7:
     background-color: #f3f3f3;
     background-color: #f3f3f3;
     border: 1px solid #e0e0e0;
     border: 1px solid #e0e0e0;
}
/* Removes pading inside wikitable data cells */
.wikitable td ul,
.wikitable td ol,
.wikitable td dl {
padding:0px;
}
}

Revision as of 17:36, 13 September 2021

/* Prevents line wrapping inside <pre> and <syntaxhighlight> tags, and adds a scrollbar when needed */
pre {
    white-space: pre;
    overflow: auto;
    padding: 0px;
    margin: 0px;
    background-color: #f3f3f3;
    border: 1px solid #e0e0e0;
}

/* Removes pading inside wikitable data cells */
.wikitable td ul,
.wikitable td ol,
.wikitable td dl {
	padding:0px;
}