philomena/assets/css/elements/table.css

60 lines
1.3 KiB
CSS
Raw Normal View History

2024-07-02 20:09:30 +02:00
.table,
.communication__body__text table {
2023-11-23 17:07:49 +01:00
border-collapse: collapse;
width: 100%;
}
2024-07-02 20:09:30 +02:00
.table thead,
.communication__body__text table thead {
background: var(--secondary-muted-color);
2024-04-17 16:52:50 +02:00
}
2024-07-02 20:09:30 +02:00
.table th {
background: var(--secondary-color);
padding: var(--padding-normal) var(--padding-small);
2024-04-17 16:52:50 +02:00
}
2024-05-20 22:30:41 +02:00
.table td,
2024-07-02 20:09:30 +02:00
.table th {
2023-11-23 17:07:49 +01:00
padding: var(--padding-small);
text-align: left;
}
2024-07-02 20:09:30 +02:00
.communication__body__text table th {
2023-11-23 17:07:49 +01:00
background: var(--secondary-color);
2024-07-02 20:09:30 +02:00
padding: var(--padding-normal) var(--padding-small);
}
.communication__body__text table td,
.communication__body__text table th {
padding: var(--padding-small);
text-align: left;
}
.table tr,
.communication__body__text table tr {
border-bottom: 1px solid var(--secondary-muted-color);
}
.table thead th:last-child {
border-top-right-radius: var(--border-radius-inner);
}
.table thead th:first-child {
border-top-left-radius: var(--border-radius-inner);
}
.communication__body__text table thead th:first-child {
border-top-left-radius: var(--border-radius-inner);
}
.communication__body__text table thead th:last-child {
border-top-right-radius: var(--border-radius-inner);
}
.table tbody,
.communication__body__text table tbody {
border-top: 2px solid var(--secondary-muted-color);
border-bottom: 2px solid var(--secondary-muted-color);
2023-11-23 17:07:49 +01:00
}