Skip to content

Commit

Permalink
Add little fixes for site's layout
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeye116477 committed Mar 7, 2024
1 parent c3fbff2 commit 4ad783f
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 13 deletions.
1 change: 1 addition & 0 deletions .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: 'npm'

- name: Build
run: |
Expand Down
24 changes: 24 additions & 0 deletions website/assets/scss/_variables_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -332,3 +332,27 @@ table.sortable th[aria-sort]:not([aria-sort="none"]) {
.taxo-tags {
display: none;
}

.vscomp-dropbox-container {
width: auto !important;
z-index: 3 !important;
left: auto;
right: 0;
}

.td-box table.responsive:not(.td-initial) {
display: table;
}

.vscomp-option {
height: unset !important;
margin-top: 5px;
}

.vscomp-options-list {
height: 100% !important;
}

.vscomp-options .vscomp-option:last-of-type {
margin-bottom: 5px;
}
18 changes: 5 additions & 13 deletions website/assets/scss/dark-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -69,22 +69,10 @@ body[data-theme="dark"] {
color: #b6afa8;
}

// table:not(class) thead th, .td-content > table thead th, table:not(class) .td-box .row.section > table thead th, table:not(class) th, .td-content > table th, .td-box .rowsection > table th, table:not(class) td, .td-content > table td, table:not(class) .td-box .row.section > table td {
// border-color: #353535 !important;
// }

table:not(class) {
display: inline-table !important;
}

.alert {
background: black !important;
}

// .table-striped tbody tr:nth-of-type(odd), .td-content > table tbody tr:nth-of-type(odd), .td-box .row.section > table tbody tr:nth-of-type(odd) {
// background-color: rgba(255, 255, 255, 0.05) !important;
// }

pre {
background-color: rgba(255, 255, 255, 0.1) !important;
color: white !important;
Expand Down Expand Up @@ -142,7 +130,7 @@ body[data-theme="dark"] {
background-color: rgba(255, 255, 255, 0.05);
}

.vscomp-wrapper.multiple .vscomp-option.selected .checkbox-icon::after {
.vscomp-wrapper.multiple .vscomp-option.selected .checkbox-icon::after, .vscomp-wrapper .checkbox-icon.checked::after {
border-color: deepskyblue;
border-left-color: rgba(0, 0, 0, 0);
border-top-color: rgba(0, 0, 0, 0);
Expand All @@ -160,6 +148,10 @@ body[data-theme="dark"] {
background-color: var(--bs-dropdown-link-hover-color);
color: var(--bs-dropdown-link-hover-bg);
}

.vscomp-dropbox-close-button {
background-color: #333;
}

}
// }

0 comments on commit 4ad783f

Please sign in to comment.