Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
8 changes: 4 additions & 4 deletions src/css/gettingStarted.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@
transition: all 300ms ease-out;
display: flex;
flex-direction: column;
text-decoration: none;
text-decoration: none !important;
background: transparent;
&:hover {
background: var(--main-bgd-color);
border-color: #5a67d8;
color: var(--main-font-color) !important;
border-color: var(--ifm-btn-border-color-active);
background: transparent;
}
.title {
display: inline-block;
Expand Down
64 changes: 41 additions & 23 deletions src/pages/index.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,44 @@
* and scoped locally.
*/

.linkCardWrapper {
border: 1px solid var(--border-color);
padding: 20px 24px;
border-radius: 8px;
color: var(--main-font-color);
transition: all 300ms ease-out;
display: flex;
justify-content: center;
flex-direction: column;
text-decoration: none !important;
background: transparent;
&:hover {
border-color: var(--ifm-btn-border-color-active);
background: transparent;
}
.title {
display: inline-block;
h6 {
font-size: 18px;
display: inline-block;
margin: 0;
font-family: Barlow;
font-weight: 600;
line-height: 24px;
letter-spacing: 0px;
text-align: left;
}
}
p {
font-family: Inter;
font-size: 14px;
font-weight: 400;
line-height: 20px;
letter-spacing: 0em;
margin-bottom: 0;
text-align: left;
}
}
.icon {
width: 64px;
height: 64px;
Expand Down Expand Up @@ -302,13 +340,13 @@

@media only screen and (min-width: 1024px) {
display: grid;
column-gap: 44px;
column-gap: 24px;
grid-template-columns: repeat(4, 1fr);
}

@media (min-width: 940px) and (max-width: 1024px) {
display: grid;
column-gap: 44px;
column-gap: 24px;
grid-template-columns: repeat(3, 1fr);
}
}
Expand All @@ -322,28 +360,8 @@
flex-basis: 21%;
border-radius: 8px;
padding: 25px 24px;
background-color: var(--orm-card-bg);
position: relative;
cursor: pointer;

&::after {
content: '';
position: absolute;
border-radius: 8px;
inset: 0;
border: 1px solid var(--grid-border-color);
background-color: transparent;
cursor: pointer;
}

&:hover {
background-color: var(--main-bgd-color);

&::after {
border: 2px solid #5a67d8;
}
}

img {
margin: auto 0;
max-height: 36px;
Expand All @@ -359,7 +377,7 @@
}

@media only screen and (min-width: 940px) {
padding: 0 24px;
padding: 0 0;
}
}

Expand Down
5 changes: 4 additions & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
} from '@site/src/data/indexData';

import styles from './index.module.scss';
import { useRef } from 'react';


function HomepageCard({
Expand Down Expand Up @@ -116,7 +117,9 @@ function HomepageDatabasesSection() {
</div>
<div className={styles.databaseGrid}>
{DatabaseData.map((e) => (
<Link to={e.url}>
// <Link to={e.url}>
// </Link>
<Link to={e.url} className={styles.linkCardWrapper}>
<div className={styles.databaseEntry}>
<img src={`/img/technologies/${e.icon}.svg`} style={{
height: `100%`,
Expand Down
1 change: 1 addition & 0 deletions src/theme/TabItem/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@

.codeChildren {
width: max-content;
max-width: 100%;
}