Skip to content
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

physics-simulation done #814

Merged
merged 8 commits into from
Jul 29, 2023
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions docs/source/_static/css/util.css
Original file line number Diff line number Diff line change
Expand Up @@ -2918,3 +2918,47 @@ iframe {border: none;}
right: 0px;
bottom: 0px;
}

/* Grid */
.grid {
display: grid;
}

/* Gaps */
.g-gap-2 {
grid-gap: 2em;
}

/* Columns */
.g-col-3 {
grid-template-columns: repeat(3, 1fr);
}
.g-col-2 {
grid-template-columns: repeat(2, 1fr);
}

/* Rows */
.g-row-2 {
grid-template-rows: repeat(2, 1fr);
}

/* Spans */
.g-span-2 {
grid-column: span 2;
}

/* Mobile section */
@media only screen and (max-width: 600px) {
/* Columns */
.g-m-col-2 {
grid-template-columns: repeat(2, 1fr);
}
.g-m-col-1 {
grid-template-columns: repeat(1, 1fr);
}

/* Rows */
.g-m-rows-3 {
grid-template-rows: repeat(3, 1fr);
}
}
16 changes: 16 additions & 0 deletions docs/source/_static/vendor/display-card.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@
margin-right: 12px;
}

@media only screen and (max-width: 600px) {
.h-card__title-icon {
width: 15px;
height: 15px;
filter: brightness(0) invert(1);
margin-right: 8px;
}
}

.h-card__title {
font-weight: 600;
color: var(--colorPrimaryDark);
Expand All @@ -64,6 +73,13 @@
margin-bottom: 10px;
}

@media only screen and (max-width: 600px) {
.h-card__title {
font-size: 12px;
color: white;
}
}

.h-card__data {
display: flex;
flex-direction: column;
Expand Down
63 changes: 40 additions & 23 deletions docs/source/_static/vendor/tabs.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,18 @@
margin: 30px 0;
}

.tabs-info {
font-size: 16px;
color: #4a4a4a;
}

@media screen and (max-width: 600px) {
.tabs-info {
font-size: 12.8px;
font-weight: bold;
}
}

.visualization, .data-science, .scientific-domains, .machine-learning, .array-libraries {
max-width: 900px;
margin: 15px auto;
Expand All @@ -43,14 +55,18 @@
font-weight: 500;
color: rgb(108, 122, 137);
}
.uk-tab > .uk-active > a {
color: var(--colorPrimaryDark) !important;
border-color: var(--colorPrimaryDark) !important;
}

@media screen and (max-width: 600px) {

.uk-tab {
margin-left: 0 !important;
}

.uk-tab> .uk-active > a {
.uk-tab > .uk-active > a {
border-color: var(--colorPrimaryDark) !important;
color: var(--colorPrimaryDark) !important;
}
Expand Down Expand Up @@ -106,40 +122,41 @@
}
}

.grid-container {
display: grid;
grid-template-columns: auto auto;
grid-gap: 20px;
/* Visualization */
.visualization-images img,
.visualization-images a {
border-radius: 10px;
}

.grid-container > div {
/* White, with 80% opacity */
background-color: rgba(255, 255, 255, 0.8);
text-align: middle;
.image-grid > div {
background-color: rgb(0, 0, 0);
border-radius: 10px;

display: flex;
align-items: center;
justify-content: center;
flex-direction: column;

box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

@media only screen and (max-width: 600px) {
.grid-container {
display: block;
.image-grid > div {
min-height: 150px;
}
}

/* Visualization */
.visualization-images > img {
border-radius: 10px;
.molecular-band {
padding: 30px;
background-color: white !important;
}

.image-grid {
display: grid;
grid-template-columns: auto auto auto;
grid-gap: 10px;
.image-description {
color: black;
}

.image-grid > div {
background-color: rgb(238, 238, 238);
border: 2px solid rgb(255, 255, 255);
border-radius: 10px;
padding: 10px;
.image-grid > div:hover {
box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

/* Scientific Domains */
Expand Down
Loading
Loading