Add CSS styling for tables
This commit is contained in:
parent
dc022d0661
commit
fc1e8b9118
1 changed files with 30 additions and 0 deletions
|
@ -96,6 +96,36 @@ textarea {
|
|||
color: var(--text-color);
|
||||
}
|
||||
|
||||
table {
|
||||
table-layout: fixed;
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
//border: 1px solid var(--gray);
|
||||
}
|
||||
|
||||
th, td {
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
thead tr {
|
||||
background-color: var(--light-grey);
|
||||
}
|
||||
|
||||
tbody tr:nth-child(odd) {
|
||||
background-color: var(--lighter-gray);
|
||||
}
|
||||
|
||||
tbody tr:nth-child(even) {
|
||||
background-color: var(--white);
|
||||
}
|
||||
|
||||
table {
|
||||
background-color: var(--lighter-grey);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@media (max-width: 900px) {
|
||||
body {
|
||||
|
|
Loading…
Reference in a new issue