This repository has been archived by the owner on Mar 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Use dark mode #107
Open
scottgigante-immunai
wants to merge
44
commits into
main
Choose a base branch
from
theme/dark_mode
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+166
−15
Open
Use dark mode #107
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
79bcda1
Use dark mode
scottgigante-immunai fac5fe9
Update styles.css
scottgigante-immunai 7c137d7
Set card bg dynamically
scottgigante-immunai e7c1f91
Image background for readability
scottgigante-immunai 09919e0
make shadow color dynamic
scottgigante-immunai ce653bd
Merge branch 'main' into theme/dark_mode
scottgigante-immunai ba93c9a
fix table css in dark mode
scottgigante-immunai 61a5cf7
fix heatmap
scottgigante-immunai e65acfc
don't make header dark if light mode
scottgigante-immunai 6185fb7
remove navbar border
scottgigante-immunai 4c2608d
make summary more readable
scottgigante-immunai a256eb6
reference relevant stylesheets
scottgigante-immunai dfdc412
fix scss syntax
scottgigante-immunai 74c480d
change link colors
scottgigante-immunai 6282973
More results table fixes
scottgigante-immunai 654f6e2
try css theme
scottgigante-immunai 8e83ef6
set link color with scss
scottgigante-immunai c497c4b
set navbar color in scss
scottgigante-immunai 17f6c7f
only invert the icon buttons
scottgigante-immunai e783988
Revert c497c4b0f05d75ece5b3ca5fe90897437387f87d
scottgigante-immunai 918d5b1
use scss properly
scottgigante-immunai 7592bb2
Merge branch 'main' into theme/dark_mode
scottgigante-immunai 6ec9c94
only invert icons in dark mode
scottgigante-immunai 9b2804c
set button hover color
scottgigante-immunai 18ffca1
fix scss variable export
scottgigante-immunai 1138637
fix team page
scottgigante-immunai a3b8b9d
keep inverted
scottgigante-immunai c254446
replace toggle with moon
scottgigante-immunai e067ae7
fix moon toggle
scottgigante-immunai e8d679b
only change img background on tasks page
scottgigante-immunai acb8107
fix moon toggle again
scottgigante-immunai c258475
same font in both themes
scottgigante-immunai f88275b
just make the images white
scottgigante-immunai afff5df
try a little less dark
scottgigante-immunai 8d6b573
make the shadow black
scottgigante-immunai 9e629fa
make navbar the same size regardless of theme
scottgigante-immunai 122f7e6
more height fixes
scottgigante-immunai ebfadcb
make logo readable on dark background
scottgigante-immunai 2200ed1
more padding fixes
scottgigante-immunai 6f85b4f
logo a little darker
scottgigante-immunai ad3f134
fix image backgrounds in neurips docs
scottgigante-immunai 15d380a
mirror thumbnail -> thumnail typo
scottgigante-immunai 2534abc
Merge branch 'main' into theme/dark_mode
scottgigante-immunai 15c5d6e
Merge branch 'main' into theme/dark_mode
rcannood File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
img.img-fluid, img.thumnail-image { | ||
background-color: #ffffff; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,5 @@ order: 5 | |
listing: | ||
contents: "*.qmd" | ||
type: default | ||
css: ../docs.css | ||
--- |
1 change: 1 addition & 0 deletions
1
competitions/neurips_2021_docs/submission/starter_kit_contents.qmd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
--- | ||
title: "Starter kit contents" | ||
order: 20 | ||
css: ../docs.css | ||
--- | ||
|
||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
details > summary { | ||
color: var(--bs-secondary-text-color); | ||
} | ||
|
||
/* Data table */ | ||
|
||
.dataTables_wrapper { | ||
color: var(--bs-body-color); | ||
} | ||
.dataTables_wrapper button { | ||
color: var(--bs-body-color); | ||
} | ||
|
||
div.dtsp-searchCont input.dtsp-search::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */ | ||
color: var(--bs-body-color); | ||
opacity: 1; /* Firefox */ | ||
} | ||
|
||
div.dtsp-searchCont input.dtsp-search:-ms-input-placeholder { /* Internet Explorer 10-11 */ | ||
color: var(--bs-body-color); | ||
} | ||
|
||
div.dtsp-searchCont input.dtsp-search::-ms-input-placeholder { /* Microsoft Edge */ | ||
color: var(--bs-body-color); | ||
} | ||
|
||
div.dtsp-panesContainer .dtsp-titleRow button { | ||
color: var(--bs-body-color); | ||
} | ||
div.dtsp-panesContainer .dtsp-titleRow button.dtsp-disabledButton { | ||
color: var(--bs-secondary); | ||
} | ||
div.dtsp-panesContainer .dtsp-titleRow button:hover { | ||
background-color: var(--bs-button-hover); | ||
} | ||
div.dtsp-panesContainer .dtsp-titleRow button.dtsp-disabledButton:hover { | ||
background-color: unset; | ||
} | ||
|
||
div.dtsp-topRow.dtsp-bordered:hover { | ||
background-color: var(--bs-button-hover); | ||
} | ||
div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane input.dtsp-paneInputButton:hover, div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane button.dtsp-paneButton:hover { | ||
background-color: var(--bs-button-hover); | ||
} | ||
div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane button.dtsp-paneButton.dtsp-searchIcon, div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane button.dtsp-paneButton.dtsp-nameButton, div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane button.dtsp-paneButton.dtsp-countButton { | ||
filter: invert(var(--invert-colors)); | ||
} | ||
div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane button.dtsp-paneButton.dtsp-searchIcon:hover, div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane button.dtsp-paneButton.dtsp-nameButton:hover, div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane button.dtsp-paneButton.dtsp-countButton:hover { | ||
background-color: var(--bs-invert-button-hover); | ||
} | ||
div.dtsp-panesContainer div.dataTables_wrapper div.dataTables_scrollBody { | ||
background-color: var(--bs-body-bg) !important; | ||
KaiWaldrant marked this conversation as resolved.
Show resolved
Hide resolved
|
||
} | ||
|
||
/* Funkyheatmap */ | ||
|
||
.quarto-figure svg text { | ||
fill: var(--bs-body-color); | ||
} | ||
|
||
.quarto-figure svg rect.row ~ text { | ||
fill: var(--bs-dark); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -9,3 +9,7 @@ | |||||
.quarto-grid-item .card-text { | ||||||
margin-bottom: auto; | ||||||
} | ||||||
|
||||||
.card-shadow .card-img-top { | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
background-color: var(--bs-white); | ||||||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/*-- scss:defaults --*/ | ||
$font-family-sans-serif: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; | ||
$body-bg: #333; | ||
|
||
:root { | ||
--invert-colors: 1; | ||
--bs-secondary-text-color: #bcc5cd; | ||
--bs-code-color: #bf6de8; | ||
--bs-button-hover: #444; | ||
--bs-invert-button-hover: #cfcfcf; | ||
} | ||
|
||
.navbar .quarto-color-scheme-toggle .bi::before { | ||
--moon-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='20' fill='%23dee2e6' title='moon'%3E%3Cpath d='M283.211 512c78.962 0 151.079-35.925 198.857-94.792 7.068-8.708-.639-21.43-11.562-19.35-124.203 23.654-238.262-71.576-238.262-196.954 0-72.222 38.662-138.635 101.498-174.394 9.686-5.512 7.25-20.197-3.756-22.23A258.156 258.156 0 0 0 283.211 0c-141.309 0-256 114.511-256 256 0 141.309 114.511 256 256 256z' /%3E%3C/svg%3E"); | ||
} | ||
|
||
.card-shadow { | ||
--shadow-color: #000; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/*-- scss:defaults --*/ | ||
:root { | ||
--invert-colors: 0; | ||
--bs-secondary-text-color: #6c757d; | ||
--bs-code-color: #9753b8; | ||
--bs-button-hover: #f0f0f0; | ||
--bs-invert-button-hover: #f0f0f0; | ||
} | ||
|
||
.navbar .quarto-color-scheme-toggle .bi::before { | ||
--moon-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='20' fill='%23666666' title='moon'%3E%3Cpath d='M283.211 512c78.962 0 151.079-35.925 198.857-94.792 7.068-8.708-.639-21.43-11.562-19.35-124.203 23.654-238.262-71.576-238.262-196.954 0-72.222 38.662-138.635 101.498-174.394 9.686-5.512 7.25-20.197-3.756-22.23A258.156 258.156 0 0 0 283.211 0c-141.309 0-256 114.511-256 256 0 141.309 114.511 256 256 256z' /%3E%3C/svg%3E"); | ||
} | ||
|
||
.card-shadow { | ||
--shadow-color: #5a6268; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where is the
thumnail-image
class used and why 'thumnail' and not 'thumbnail' ?