[lxc-devel] [linuxcontainers.org/master] Added css for tables
toby63 on Github
lxc-bot at linuxcontainers.org
Tue Jun 2 14:17:21 UTC 2020
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 442 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20200602/6c175f1c/attachment.bin>
-------------- next part --------------
From 39f6087ea3aab4304ec29d98cddce89a34155aae Mon Sep 17 00:00:00 2001
From: Tobias Gerold <tobias at g3ro.eu>
Date: Tue, 2 Jun 2020 16:08:17 +0200
Subject: [PATCH] Added css for tables
Signed-off-by: Tobias Gerold <tobias at g3ro.eu>
---
static/css/local.css | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/static/css/local.css b/static/css/local.css
index ede6b00..baf1609 100644
--- a/static/css/local.css
+++ b/static/css/local.css
@@ -283,3 +283,26 @@ pre {
.p-notification__response {
max-width: none;
}
+
+/* tables */
+table {
+ border-collapse: collapse;
+ width: auto;
+ table-layout: auto;
+}
+
+table, th, td {
+ border: 1px solid black;
+ background-color: #141414;
+}
+
+td {
+ text-align: center;
+ padding: 8px;
+}
+
+th {
+ font-weight: bold;
+ padding: 8px;
+ text-align: center;
+}
More information about the lxc-devel
mailing list