forked from dipy/dipy.org
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request dipy#7 from Mk996/feature/home-page
Feature/home page a598b64
- Loading branch information
1 parent
1d592ec
commit 47be030
Showing
81 changed files
with
6,606 additions
and
1,483 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: 7f0696966261c11bdd0c3656aa633dcc | ||
config: 27a2cddcfe9392d43c6522bc11400f22 | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
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 was deleted.
Oops, something went wrong.
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,7 +1,15 @@ | ||
html[data-theme="light"] { | ||
--pst-color-primary: #FD8D25; | ||
--pst-color-secondary: #1B8BF4; | ||
--gst-color-primary: #FD8D25; | ||
--gst-color-secondary: #1B8BF4; | ||
--gst-color-bg: var(--bs-white); | ||
--gst-color-bg-gray: var(--bs-gray-100); | ||
--gst-color-light-border: var(--pst-color-border); | ||
} | ||
|
||
--pst-color-link-hover: var(--pst-color-secondary); | ||
--pst-color-border: rgb(229,229,229); | ||
html[data-theme="dark"] { | ||
--gst-color-primary: #FD8D25; | ||
--gst-color-secondary: #1B8BF4; | ||
--gst-color-bg: var(--bs-gray-900); | ||
--gst-color-bg-gray: var(--bs-gray-900); | ||
--gst-color-light-border: transparent; | ||
} |
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,12 @@ | ||
/* Index CSS file */ | ||
/* Do not add any css directly here.... */ | ||
|
||
/* util css is no longer required as it is fetched from grg-sphinx-theme */ | ||
|
||
/* Common CSS */ | ||
|
||
@import url("./common/variables.css"); | ||
@import url("./common/section-list.css"); | ||
@import url("./common/override.css"); | ||
|
||
/* Home CSS */ | ||
@import "./home/index.css"; |
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,67 @@ | ||
.carousel-item { | ||
height: 440px; | ||
} | ||
|
||
.carousel-item img { | ||
/* border: 1px solid var(--pst-color-border); */ | ||
|
||
} | ||
|
||
.carousel-indicators [data-bs-target] { | ||
background-color: var(--gst-color-primary); | ||
} | ||
|
||
|
||
.carousel-caption { | ||
opacity: 0.9; | ||
width: fit-content; | ||
bottom: auto; | ||
top: 40px; | ||
left: 0; | ||
background-color: var(--gst-color-primary); | ||
box-shadow: var(--pst-shadow); | ||
} | ||
|
||
.carousel-caption::after { | ||
position: absolute; | ||
content: ""; | ||
height: 100%; | ||
clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 35% 50%); | ||
background-color: var(--gst-color-primary); | ||
width: 60px; | ||
transform: scaleX(-1); | ||
right: -40px; | ||
top: 0; | ||
} | ||
|
||
.carousel-caption::before { | ||
position: absolute; | ||
left: 0; | ||
content: ""; | ||
width: 20px; | ||
height: 100%; | ||
background-image: linear-gradient(45deg, transparent 50%, var(--gst-color-primary-border) 50%); | ||
background-size: 20px 20px; | ||
background-repeat: no-repeat; | ||
background-position: bottom right; | ||
z-index: -1; | ||
} | ||
|
||
|
||
.carousel-caption h5 { | ||
color: var(--bs-white); | ||
font-size: 24px; | ||
font-weight: 900; | ||
margin: 0; | ||
} | ||
|
||
.carousel-caption a, | ||
.carousel-caption a:visited { | ||
color: var(--bs-white); | ||
} | ||
|
||
@media only screen and (max-width: 768px) { | ||
.carousel-item { | ||
height: 260px; | ||
} | ||
} |
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,59 @@ | ||
.cite { | ||
display: grid; | ||
grid-template-columns: 100px 1fr; | ||
gap: 1em; | ||
border: 2px solid var(--gst-color-light-border); | ||
background-color: var(--gst-color-bg); | ||
border-radius: 12px; | ||
width: fit-content; | ||
margin: 0 auto; | ||
} | ||
|
||
.cite-icon-bg { | ||
height: 90px; | ||
width: 90px; | ||
border-radius: 50%; | ||
|
||
background-color: var(--gst-color-primary); | ||
color: var(--bs-white); | ||
font-size: 52px; | ||
margin: 0 auto; | ||
|
||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
|
||
box-shadow: var(--pst-shadow); | ||
} | ||
|
||
|
||
.cite-detail { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: start; | ||
justify-content: center; | ||
} | ||
|
||
.cite-detail p { | ||
margin: 0; | ||
margin-bottom: 0; | ||
font-size: 18px; | ||
} | ||
|
||
.cite-link, | ||
.cite-link:visited { | ||
color: var(--gst-color-primary); | ||
text-decoration: underline; | ||
font-weight: 600; | ||
} | ||
|
||
@media only screen and (max-width: 768px) { | ||
.cite { | ||
grid-template-columns: 1fr; | ||
} | ||
|
||
.cite-detail { | ||
flex-direction: column; | ||
align-items: start; | ||
} | ||
} |
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,44 @@ | ||
.explore { | ||
display: grid; | ||
gap: 3em; | ||
} | ||
|
||
.explore-tile { | ||
border-radius: 12px; | ||
background-color: var(--gst-color-bg-gray); | ||
border: 1px solid var(--pst-color-border); | ||
transition: all 0.2s ease-in-out; | ||
} | ||
|
||
.explore-tile:hover, | ||
.explore-tile:hover .explore-tile-icon { | ||
box-shadow: var(--pst-shadow); | ||
} | ||
|
||
.explore-tile-icon { | ||
background-color: var(--gst-color-primary); | ||
height: 55px; | ||
width: 55px; | ||
border-radius: 12px; | ||
/* TODO This should be removed as the util will be available */ | ||
padding: 12px; | ||
margin-bottom: 24px; | ||
transition: all 0.2s ease-in-out; | ||
} | ||
|
||
.explore-tile-icon img { | ||
filter: invert(1) !important; | ||
} | ||
|
||
.explore-tile-title { | ||
font-weight: 600; | ||
color: var(--gst-color-section-heading); | ||
} | ||
|
||
.explore-tile-know-more, | ||
.explore-tile-know-more:visited { | ||
color: var(--gst-color-primary); | ||
text-transform: uppercase; | ||
font-size: 14px; | ||
font-weight: 600; | ||
} |
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,31 @@ | ||
@import "./intro.css"; | ||
@import "./explore.css"; | ||
@import "./carousel.css"; | ||
@import "./sponsors.css"; | ||
@import "./cite.css"; | ||
|
||
/* CSS which is common across the home page */ | ||
.dipy-highlight { | ||
color: var(--pst-color-primary); | ||
} | ||
|
||
div.section:nth-child(n+3) { | ||
margin: 72px 0; | ||
padding: 0 20px; | ||
} | ||
|
||
h2.section-title { | ||
padding: 10px 0; | ||
margin: 10px 0; | ||
text-align: center; | ||
font-weight: 900; | ||
font-size: 50px; | ||
color: var(--gst-color-heading); | ||
} | ||
|
||
@media only screen and (max-width: 768px) { | ||
/* Your CSS styles for phones go here */ | ||
h2.section-title { | ||
font-size: 30px; | ||
} | ||
} |
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,38 @@ | ||
.intro { | ||
width: 100%; | ||
padding: 96px 32px; | ||
text-align: center; | ||
} | ||
|
||
.tagline { | ||
color: var(--gst-color-heading); | ||
font-size: 76px; | ||
line-height: 1.25; | ||
font-weight: 900; | ||
margin: 0 auto; | ||
} | ||
|
||
.description { | ||
line-height: 1.25; | ||
font-size: 20px; | ||
max-width: 900px; | ||
margin: 24px auto 40px; | ||
color: var(--pst-color-text-muted); | ||
} | ||
|
||
.actions { | ||
margin: 0 auto; | ||
} | ||
|
||
@media only screen and (max-width: 768px) { | ||
/* Your CSS styles for phones go here */ | ||
.intro { | ||
padding: 90px 20px; | ||
} | ||
.tagline { | ||
font-size: 40px; | ||
} | ||
.description { | ||
font-size: 16px; | ||
} | ||
} |
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,24 @@ | ||
.sponsors { | ||
gap: 5px; | ||
} | ||
.sponsors-item { | ||
background-color: var(--gst-color-bg-gray); | ||
border-radius: 2px; | ||
display: flex; | ||
justify-content: space-around; | ||
align-items: center; | ||
padding: 20px; | ||
transition: all 0.2s ease-in-out; | ||
} | ||
|
||
html[data-theme=dark] .sponsors-item:hover { | ||
background-color: var(--bs-gray-100); | ||
} | ||
|
||
html[data-theme=dark] .sponsors-item:hover img:not(.only-dark):not(.dark-light) { | ||
filter: none; | ||
} | ||
|
||
html[data-theme=dark] .sponsors-item img:not(.only-dark):not(.dark-light) { | ||
filter: grayscale(1) invert(1); | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.