Improved tables, Separated tables into core and site segments, rules and pages

Update index.php, sidebar.php, and 7 more files...
This commit is contained in:
2024-11-23 15:12:20 +01:00
parent 0a08a16f0b
commit 2d1b2eb8fd
8 changed files with 246 additions and 59 deletions

View File

@@ -1,8 +1,6 @@
// NibblePoker.lu CSS - (C) 2023 Bozet Herwin
// NibblePoker CSS Theme - CC0 1.0 (Public Domain)
tr, td {
vertical-align: top;
}
/* Site > Tables */
table.stylish {
th {
@@ -27,31 +25,3 @@ table.stylish {
// See 'site/border.scss' for border fix.
}
// Applying .p-xs and .p-s to all cells if needed
// See 'core/spacing' for more info.
.table-p-xs {
td, th {
padding: calc(#{$margin-base-size} * 0.5);
}
}
.table-h-p-s {
th {
padding: calc(#{$margin-base-size} * 0.75);
}
}
.table-p-s {
td, th {
padding: calc(#{$margin-base-size} * 0.75);
}
}
// FIXME: Move this out in its own alignment section...
// Centers the cells' content vertically
.table-v-center {
tr, td {
vertical-align: middle;
}
}