Bladeren bron

Add table styles

pull/15/head
Ilija Eftimov 4 jaren geleden
bovenliggende
commit
87cab76c96
2 gewijzigde bestanden met toevoegingen van 47 en 0 verwijderingen
  1. +4
    -0
      static/css/dark.css
  2. +43
    -0
      static/css/main.css

+ 4
- 0
static/css/dark.css Bestand weergeven

@@ -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 Bestand weergeven

@@ -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%;
}
}

Laden…
Annuleren
Opslaan