mirror of
https://github.com/aljazceru/CTFd.git
synced 2026-02-02 04:44:25 +01:00
5ce3003b Merge pull request #47 from aCursedComrade/patch-1 c9887cb1 Fix team template git-subtree-dir: CTFd/themes/core-beta git-subtree-split: 5ce3003b4d68352e629ee2d390bc999e7d6b071e
34 lines
678 B
SCSS
34 lines
678 B
SCSS
/* Table styles
|
|
-------------------------------------------------- */
|
|
|
|
// Center text in tables, after the first cell
|
|
// Override with text-center on cells
|
|
.table tr > td:not(:first-of-type) {
|
|
text-align: center !important;
|
|
}
|
|
|
|
// Vertically center text in cells
|
|
.table td,
|
|
th {
|
|
vertical-align: middle !important;
|
|
}
|
|
|
|
// Add some default spacing
|
|
.table > tbody > tr > td {
|
|
padding: 0.8rem 1rem !important;
|
|
}
|
|
|
|
// Remove border line from thead of all tables
|
|
.table > tbody {
|
|
border-top: none !important;
|
|
}
|
|
|
|
// Add some padding from the edge of table
|
|
.table > thead > tr > td:first-of-type {
|
|
padding-left: 1rem !important;
|
|
}
|
|
|
|
.table > thead > th {
|
|
white-space: nowrap;
|
|
}
|