Browse Source

Add table styles

main
Ilija Eftimov 2 years ago
parent
commit
87cab76c96
2 changed files with 47 additions and 0 deletions
  1. +4
    -0
      static/css/dark.css
  2. +43
    -0
      static/css/main.css

+ 4
- 0
static/css/dark.css View File

@ -32,6 +32,10 @@ a,a:hover {
text-decoration: none;
}
table tbody tr:nth-of-type(even) {
background-color: rgba(255, 255, 255, 0.15);
}
.site-description a,
.site-description a:hover {
color: #ddd;


+ 43
- 0
static/css/main.css View File

@ -79,6 +79,41 @@ fieldset {
padding: 0;
}
table {
-ms-overflow-style: -ms-autohiding-scrollbar;
-webkit-overflow-scrolling: touch;
background-color: transparent;
margin-bottom: 1rem;
overflow-x: auto;
width: 100%;
}
table th,
table td {
border-bottom: 1px solid #dee2e6;
padding: 0.75rem;
vertical-align: top;
}
table thead th {
border-bottom: 2px solid #dee2e6;
vertical-align: bottom;
}
table tbody + tbody {
border-top: 2px solid #dee2e6;
}
table tbody tr:nth-of-type(even) {
background-color: rgba(0, 0, 0, 0.15);
}
table th {
background-color: #212529;
border-color: #32383e;
color: #fff;
}
textarea {
resize: vertical;
}
@ -423,4 +458,12 @@ ul {
margin: 0 10px 0 0;
font-size: 14px;
}
table {
-ms-overflow-style: -ms-autohiding-scrollbar;
-webkit-overflow-scrolling: touch;
display: block;
overflow-x: auto;
width: 100%;
}
}

Loading…
Cancel
Save