Skip to content

Commit f8c03f0

Browse files
HaudinFlorenceSylvainCorlay
authored andcommitted
Remove most of the media queries in the various css file
Remove unnecessary css variables and update style.
1 parent 5c0b449 commit f8c03f0

33 files changed

+932
-1099
lines changed

src/components/about/FourValues.tsx

+14-7
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,37 @@ import styles from "./styles.module.css";
22
import { ValueCard } from "@site/src/components/about/ValueCard";
33
import { valuesDetails } from "./Values/valuesDetails";
44

5-
65
export default function FourValues() {
76
return (
87
<div className={styles.four_values_container}>
98
<div className="row">
109
<div className="col">
11-
<h1 className={"padding-none" + " "+ "full-flex-centered"}>Our values </h1>
10+
<h1 className={"padding-none" + " " + "full-flex-centered"}>
11+
Our values{" "}
12+
</h1>
1213
</div>
1314
</div>
1415
<ul
15-
className={"row" + " " + "padding-none" + " " + styles.row_with_margins+" "+ "flex-full-centered"}
16+
className={
17+
"row" +
18+
" " +
19+
"padding-none" +
20+
" " +
21+
styles.row_with_margins +
22+
" " +
23+
"flex-full-centered"
24+
}
1625
>
1726
{valuesDetails.map((value, index) => (
1827
<li className="cards-list" key={index}>
1928
<div className="col">
2029
<div className={styles.value_card_container}>
21-
<ValueCard
22-
value={value}
23-
/>
30+
<ValueCard value={value} />
2431
</div>
2532
</div>
2633
</li>
2734
))}
2835
</ul>
2936
</div>
3037
);
31-
}
38+
}

src/components/about/SmallPortraitCard.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { useRef, useState } from "react";
55
import LargePortraitCard from "./LargePortraitCard";
66

77
const contentStyle = {
8-
background: "var(--ifm-background-color-large-portrait-card)",
8+
background: "white",
99
borderRadius: "10px",
1010
};
1111

src/components/about/SubTeam.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default function SubTeam ({
1010
}) {
1111
return (
1212
<div className={styles.subteam_component}>
13-
<h2 className="text-centered"> {description}</h2>
13+
<h2 className="text--center"> {description}</h2>
1414
<div className={"container" + " " + styles.subteam_container}>
1515
<ul
1616
className={

src/components/about/ValueCard.tsx

+7-6
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,19 @@ import styles from "./styles.module.css";
22

33
export function ValueCard({ value }) {
44
return (
5-
<div className={"card " + styles.value_card}>
5+
<div className={"card" + " " + styles.value_card}>
66
<div
7-
className={"flex-full-centered"}
7+
className={"card__header flex-full-centered"}
88
style={{ marginBottom: "var(--ifm-spacing-lg)" }}
99
>
1010
<value.pictureComponent alt={value.alt} />
1111
</div>
12-
<div className={styles.value_header}>{value.name}</div>
13-
<div className={styles.value_text}>
14-
<value.DescriptionMD className={styles.value_component} />
12+
13+
<div className={"card__body"}>
14+
<div className={styles.value_header}>{value.name}</div>
15+
<value.DescriptionMD className={styles.value_value_text} />
1516
</div>
1617
</div>
1718
);
1819
}
19-
export default ValueCard;
20+
export default ValueCard;

src/components/about/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export function About() {
2828

2929
<div className="row">
3030
<div className="col col--10 col--offset-1">
31-
<h1 className="text-centered">Meet the QuantStack team</h1>
31+
<h1 className="text--center">Meet the QuantStack team</h1>
3232
<div className={styles.team_description}>
3333
A team of outliers, leaders in software projects adopted at the
3434
global scale, benefiting millions of people worldwide.
@@ -62,7 +62,7 @@ export function About() {
6262
<div className={styles.join_the_team_container}>
6363
<h1
6464
className={
65-
"text-centered" +
65+
"text--center" +
6666
" " +
6767
"padding-none" +
6868
" " +

0 commit comments

Comments
 (0)