Skip to content

Commit

Permalink
add alternating table colors
Browse files Browse the repository at this point in the history
  • Loading branch information
svader0 committed Jan 4, 2025
1 parent 5b050f3 commit 52d099c
Show file tree
Hide file tree
Showing 10 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ node_modules/
dist/

.idea/
.vscode/
4 changes: 4 additions & 0 deletions css/sakura-dark-solarized.css
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,10 @@ td, th {
border-bottom: 1px solid #073642;
}

tr:nth-child(even) {
background-color: #073642;
}

/* Buttons, forms and input */
input, textarea {
border: 1px solid #839496;
Expand Down
4 changes: 4 additions & 0 deletions css/sakura-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,10 @@ td, th {
border-bottom: 1px solid #4a4a4a;
}

tr:nth-child(even) {
background-color: #4a4a4a;
}

/* Buttons, forms and input */
input, textarea {
border: 1px solid #c9c9c9;
Expand Down
4 changes: 4 additions & 0 deletions css/sakura-earthly.css
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,10 @@ td, th {
border-bottom: 1px solid #f7f7f7;
}

tr:nth-child(even) {
background-color: #f7f7f7;
}

/* Buttons, forms and input */
input, textarea {
border: 1px solid #222222;
Expand Down
4 changes: 4 additions & 0 deletions css/sakura-ink.css
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,10 @@ td, th {
border-bottom: 1px solid #f7f7f7;
}

tr:nth-child(even) {
background-color: #f7f7f7;
}

/* Buttons, forms and input */
input, textarea {
border: 1px solid rgba(0, 0, 0, 0.85);
Expand Down
4 changes: 4 additions & 0 deletions css/sakura-pink.css
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,10 @@ td, th {
border-bottom: 1px solid #f8d2e9;
}

tr:nth-child(even) {
background-color: #f8d2e9;
}

/* Buttons, forms and input */
input, textarea {
border: 1px solid #49002d;
Expand Down
4 changes: 4 additions & 0 deletions css/sakura-radical.css
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,10 @@ td, th {
border-bottom: 1px solid #1b1e24;
}

tr:nth-child(even) {
background-color: #1b1e24;
}

/* Buttons, forms and input */
input, textarea {
border: 1px solid #32cd32;
Expand Down
4 changes: 4 additions & 0 deletions css/sakura-vader.css
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,10 @@ td, th {
border-bottom: 1px solid #40363a;
}

tr:nth-child(even) {
background-color: #40363a;
}

/* Buttons, forms and input */
input, textarea {
border: 1px solid #d9d8dc;
Expand Down
4 changes: 4 additions & 0 deletions css/sakura.css
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,10 @@ td, th {
border-bottom: 1px solid #f1f1f1;
}

tr:nth-child(even) {
background-color: #f1f1f1;
}

/* Buttons, forms and input */
input, textarea {
border: 1px solid #4a4a4a;
Expand Down
4 changes: 4 additions & 0 deletions scss/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ td, th {
border-bottom: 1px solid $color-bg-alt;
}

tr:nth-child(even) {
background-color: $color-bg-alt;
}

/* Buttons, forms and input */

input, textarea {
Expand Down

0 comments on commit 52d099c

Please sign in to comment.