Added monospace text and nowrap for tables

Update index.php, tables.php, and 7 more files...
This commit is contained in:
2025-08-25 23:36:25 +02:00
parent 17cb37d5cf
commit 44678bd9f4
8 changed files with 153 additions and 58 deletions

View File

@@ -18,6 +18,15 @@ tr, td {
}
}
.table-no-wrap,
.table-no-wrap > td, .table-no-wrap > th,
.table-no-wrap > tr > td, .table-no-wrap > tr > th,
.table-no-wrap > thead > tr > td, .table-no-wrap > thead > tr > th,
.table-no-wrap > tbody > tr > td, .table-no-wrap > tbody > tr > th {
white-space: nowrap;
text-wrap: nowrap;
}
/* Core > Tables > Cell Padding */

View File

@@ -95,6 +95,11 @@ s, .t-strikethrough {
text-decoration: overline;
}
// Defined in core/code.scss !
//.t-monospace {
// font-family: monospace, monospace;
//}
/* Core > Text > Alignment */

View File

@@ -1,6 +1,8 @@
// NibblePoker CSS Theme - CC0 1.0 (Public Domain)
code, .code, kbd {
/* Core > Code */
code, .code, kbd, .t-monospace {
font-family: Consolas, "Courier New", monospace;
}