mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-10 03:50:25 +00:00
css: markdown: add some nicer table styling
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
59754b7bf8
commit
d1c4a7389f
@ -144,3 +144,30 @@ div.right-aligned {
|
||||
.pmx-md strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* markdown tables */
|
||||
.pmx-md table {
|
||||
border-spacing: 0;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
.pmx-md td, .pmx-md th {
|
||||
padding: 5px;
|
||||
}
|
||||
.pmx-md td[align="center"] {
|
||||
text-align: center;
|
||||
}
|
||||
.pmx-md td[align="right"] {
|
||||
text-align: right;
|
||||
}
|
||||
.pmx-md tbody td {
|
||||
border-bottom: 1px solid #e0e0e0;
|
||||
}
|
||||
.pmx-md tbody tr:nth-of-type(even) {
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
.pmx-md tbody tr:last-of-type td {
|
||||
border-bottom: 1px solid #666666;
|
||||
}
|
||||
.pmx-md tbody tr:hover td {
|
||||
background-color: #e0e0e0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user