-
-
Notifications
You must be signed in to change notification settings - Fork 26.2k
DOC [PST] landing page #28331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ogrisel
merged 24 commits into
scikit-learn:new_web_theme
from
Charlie-XIAO:pydata-2_1-landing
Feb 22, 2024
Merged
DOC [PST] landing page #28331
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
185b1b1
DOC switch to pydata-sphinx-theme [2>1] landing page
Charlie-XIAO a212862
remove index.rst
Charlie-XIAO 8b1b9d4
consistency
Charlie-XIAO 122e75e
[doc build] try to rebuild with gallerry
Charlie-XIAO 054cdd7
ensure utf-8
Charlie-XIAO 4800b50
ensure utf-8 for several other occurrences, and nits on js
Charlie-XIAO ac24eb6
[doc build] full build
Charlie-XIAO 9e7270e
Merge remote-tracking branch 'upstream/new_web_theme' into pydata-2_1…
Charlie-XIAO a468781
[doc build] trigger full build
Charlie-XIAO ef0857d
[doc build] make funding logos look at least a bit better in dark mode
Charlie-XIAO fb0b69d
remove js alignment because it causes abrupt movements
Charlie-XIAO a6e09a6
[doc build] trigger full build
Charlie-XIAO e2a8be0
[doc build] add comment for why generating index.rst
Charlie-XIAO 5cd4a6e
Merge remote-tracking branch 'upstream/new_web_theme' into pydata-2_1…
Charlie-XIAO 15b318c
[doc build] trigger full build
Charlie-XIAO d9b7132
[doc build] use a different approach for variable link in index.rst
Charlie-XIAO 1563518
[doc build] minor fix
Charlie-XIAO 98b3c86
[doc build] back to the previous approach
Charlie-XIAO a91d293
Merge remote-tracking branch 'upstream/new_web_theme' into pydata-2_1…
Charlie-XIAO 919bb8a
[doc build] fix casing
Charlie-XIAO 1cf7fba
Merge remote-tracking branch 'upstream/new_web_theme' into pydata-2_1…
Charlie-XIAO 4cd57cd
[doc build] trigger full build
Charlie-XIAO 7b855b8
comments in scss
Charlie-XIAO 725acb9
fix comments
Charlie-XIAO 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 hidden or 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 was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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,175 @@ | ||
/** | ||
* Styling sheet for the scikit-learn landing page. This should be loaded only for the | ||
* landing page. | ||
* | ||
* This file is compiled into styles/index.css by sphinxcontrib.sass, see: | ||
* https://sass-lang.com/guide/ | ||
*/ | ||
Charlie-XIAO marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
/* Theme-aware colors for the landing page */ | ||
|
||
html { | ||
&[data-theme="light"] { | ||
--sk-landing-bg-1: var(--sk-cyan-shades-3); | ||
--sk-landing-bg-2: var(--sk-cyan); | ||
--sk-landing-bg-3: var(--sk-orange-tint-8); | ||
--sk-landing-bg-4: var(--sk-orange-tint-3); | ||
} | ||
|
||
&[data-theme="dark"] { | ||
--sk-landing-bg-1: var(--sk-cyan-shades-5); | ||
--sk-landing-bg-2: var(--sk-cyan-shades-2); | ||
--sk-landing-bg-3: var(--sk-orange-tint-4); | ||
--sk-landing-bg-4: var(--sk-orange-tint-1); | ||
} | ||
} | ||
|
||
/* General */ | ||
|
||
div.sk-landing-container { | ||
max-width: 1400px; | ||
} | ||
|
||
/* Top bar */ | ||
|
||
div.sk-landing-top-bar { | ||
background-image: linear-gradient( | ||
160deg, | ||
var(--sk-landing-bg-1) 0%, | ||
var(--sk-landing-bg-2) 17%, | ||
var(--sk-landing-bg-3) 59%, | ||
var(--sk-landing-bg-4) 100% | ||
); | ||
|
||
.sk-landing-header, | ||
.sk-landing-subheader { | ||
color: white; | ||
text-shadow: 0px 0px 8px var(--sk-landing-bg-1); | ||
} | ||
|
||
.sk-landing-header { | ||
font-size: 3.2rem; | ||
margin-bottom: 0.5rem; | ||
} | ||
|
||
.sk-landing-subheader { | ||
letter-spacing: 0.17rem; | ||
margin-top: 0; | ||
font-weight: 500; | ||
} | ||
|
||
a.sk-btn-orange { | ||
font-size: 1.1rem; | ||
font-weight: 500; | ||
} | ||
|
||
ul.sk-landing-header-body { | ||
margin-top: auto; | ||
margin-bottom: auto; | ||
font-size: 1.2rem; | ||
font-weight: 500; | ||
color: black; | ||
} | ||
} | ||
|
||
/* Body */ | ||
|
||
div.sk-landing-body { | ||
div.card { | ||
background-color: var(--pst-color-background); | ||
border-color: var(--pst-color-border); | ||
} | ||
|
||
.sk-px-xl-4 { | ||
@media screen and (min-width: 1200px) { | ||
padding-left: 1.3rem !important; | ||
padding-right: 1.3rem !important; | ||
} | ||
} | ||
|
||
.card-body { | ||
p { | ||
margin-bottom: 0.8rem; | ||
} | ||
|
||
.sk-card-title { | ||
font-weight: 700; | ||
margin: 0 0 1rem 0; | ||
} | ||
} | ||
|
||
.sk-card-img-container { | ||
display: flex; | ||
justify-content: center; | ||
align-items: end; | ||
margin-bottom: 1rem; | ||
|
||
img { | ||
max-width: unset; | ||
height: 15rem; | ||
} | ||
} | ||
} | ||
|
||
/* More info */ | ||
|
||
div.sk-landing-more-info { | ||
font-size: 0.96rem; | ||
background-color: var(--pst-color-surface); | ||
|
||
.sk-landing-call-header { | ||
font-weight: 700; | ||
margin-top: 0; | ||
|
||
html[data-theme="light"] & { | ||
color: var(--sk-orange-shades-1); | ||
} | ||
|
||
html[data-theme="dark"] & { | ||
color: var(--sk-orange); | ||
} | ||
} | ||
|
||
ul.sk-landing-call-list > li { | ||
margin-bottom: 0.25rem; | ||
} | ||
|
||
.sk-who-uses-carousel { | ||
min-height: 200px; | ||
|
||
.carousel-item img { | ||
max-height: 100px; | ||
max-width: 50%; | ||
margin: 0.5rem; | ||
} | ||
} | ||
|
||
.sk-more-testimonials { | ||
text-align: right !important; | ||
} | ||
} | ||
|
||
/* Footer */ | ||
|
||
div.sk-landing-footer { | ||
a.sk-footer-funding-link { | ||
text-decoration: none; | ||
|
||
p.sk-footer-funding-text { | ||
color: var(--pst-color-link); | ||
|
||
&:hover { | ||
color: var(--pst-color-secondary); | ||
} | ||
} | ||
|
||
div.sk-footer-funding-logos > img { | ||
max-height: 40px; | ||
max-width: 85px; | ||
margin: 0 8px 8px 8px; | ||
padding: 5px; | ||
border-radius: 3px; | ||
background-color: white; | ||
} | ||
} | ||
} |
This file contains hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.