Skip to content

Commit

Permalink
Fx formatting in h2 and h3 styles, update class
Browse files Browse the repository at this point in the history
name in credits page
  • Loading branch information
Adel113 committed Dec 12, 2023
1 parent 4a44b91 commit 07910ce
Show file tree
Hide file tree
Showing 10 changed files with 68 additions and 70 deletions.
14 changes: 7 additions & 7 deletions src/components/blockquote.module.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.root {
font-family: var(--writingFont);
font-size: var(--greatFontSize);
line-height: var(--greatLineHeight);
margin: 0 0 var(--vRythm) 0;
padding: 0 0 0 var(--gutter);
border-left: var(--border) solid var(--green2);
}
font-family: var(--writingFont);
font-size: var(--greatFontSize);
line-height: var(--greatLineHeight);
margin: 0 0 var(--vRythm) 0;
padding: 0 0 0 var(--gutter);
border-left: var(--border) solid var(--green2);
}
17 changes: 8 additions & 9 deletions src/components/h1.module.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
.root {
color: var(--primary);
font-family: var(--headingFont);
font-size: var(--giantFontSize);
line-height: var(--giantLineHeight);
font-weight: bold;
margin: 0 0 calc(var(--vRythm) * 2) 0;
text-align: center;

}
color: var(--primary);
font-family: var(--headingFont);
font-size: var(--giantFontSize);
line-height: var(--giantLineHeight);
font-weight: bold;
margin: 0 0 calc(var(--vRythm) * 2) 0;
text-align: center;
}
15 changes: 7 additions & 8 deletions src/components/h2.module.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
.root {
color: var(--quinary);
font-family: var(--headingFont);
font-size: var(--greatFontSize);
line-height: var(--greatLineHeight);
font-weight: normal;
margin: var(--vRythm) 0 0 0;

}
color: var(--quinary);
font-family: var(--headingFont);
font-size: var(--greatFontSize);
line-height: var(--greatLineHeight);
font-weight: normal;
margin: var(--vRythm) 0 0 0;
}
14 changes: 7 additions & 7 deletions src/components/h3.module.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.root {
font-family: var(--headingFont);
font-size: var(--bigFontSize);
line-height: var(--bigLineHeight);
text-decoration: underline;
font-weight: normal;
margin: var(--vRythm) 0 0 0;
}
font-family: var(--headingFont);
font-size: var(--bigFontSize);
line-height: var(--bigLineHeight);
text-decoration: underline;
font-weight: normal;
margin: var(--vRythm) 0 0 0;
}
10 changes: 5 additions & 5 deletions src/components/h4.module.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.root {
font-family: var(--headingFont);
font-size: var(--bigFontSize);
line-height: var(--bigLineHeight);
margin: 0 0 var(--vRythm) 0;
}
font-family: var(--headingFont);
font-size: var(--bigFontSize);
line-height: var(--bigLineHeight);
margin: 0 0 var(--vRythm) 0;
}
10 changes: 5 additions & 5 deletions src/components/h5.module.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.root {
font-family: var(--headingFont);
font-size: var(--mediumFontSize);
line-height: var(--mediumLineHeight);
margin: 0 0 var(--vRythm) 0;
}
font-family: var(--headingFont);
font-size: var(--mediumFontSize);
line-height: var(--mediumLineHeight);
margin: 0 0 var(--vRythm) 0;
}
10 changes: 5 additions & 5 deletions src/components/h6.module.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.root {
font-family: var(--headingFont);
font-size: var(--mediumFontSize);
line-height: var(--mediumLineHeight);
margin: 0 0 var(--vRythm) 0;
}
font-family: var(--headingFont);
font-size: var(--mediumFontSize);
line-height: var(--mediumLineHeight);
margin: 0 0 var(--vRythm) 0;
}
30 changes: 15 additions & 15 deletions src/components/tootList.module.scss
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
.root {
margin: 0 0 var(--vRythm) 0;
margin: 0 0 var(--vRythm) 0;
}

.toot :global(a) {
color: #205370;
color: #205370;
}

.toot :global(p) {
margin-left: 2%;
margin-left: 2%;
}

.toot :global(a):hover {
color: #14171a;
color: #14171a;
}

.tootList {
margin-top: var(--vRythm);
display: flex;
flex-direction: row;
gap: var(--gutter);
margin-top: var(--vRythm);
display: flex;
flex-direction: row;
gap: var(--gutter);
}

.toot {
border-style: solid;
border-color: var(--grey);
border-width: var(--borderSize);
border-radius: var(--borderRadius);
width: var(--block);
padding: calc(var(--vRythm) / 2) calc(var(--gutter) / 2);
}
border-style: solid;
border-color: var(--grey);
border-width: var(--borderSize);
border-radius: var(--borderRadius);
width: var(--block);
padding: calc(var(--vRythm) / 2) calc(var(--gutter) / 2);
}
14 changes: 7 additions & 7 deletions src/pages/credits.module.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.root img {
float: left;
height: 6rem;
width: 6rem;
margin: 0 2rem 1.5rem 0;
border-radius: 50px;
box-shadow: 5px 5px 2px 1px #c1a008;
}
float: left;
height: 6rem;
width: 6rem;
margin: 0 2rem 1.5rem 0;
border-radius: 50px;
box-shadow: 5px 5px 2px 1px #c1a008;
}
4 changes: 2 additions & 2 deletions src/pages/credits.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Strong from '../components/strong';
import Anchor from '../components/a';
import { Octokit } from '@octokit/rest';
import Article from '../components/article';
import style from './credits.module.scss';
import styles from './credits.module.scss';
import type { GetStaticProps } from 'next';

export type Contributors = Awaited<
Expand Down Expand Up @@ -42,7 +42,7 @@ const Page = ({ entries }: Props) => {
Découvrez les personnes qui ont créé le site de ChtiJS.
</Strong>
</Paragraph>
<div className={style.root}>
<div className={styles.root}>
{entries.map((entry) => (
<Article key={entry.id}>
<img src={entry.avatar_url} alt={`Avatar de ${entry.name}`} />
Expand Down

0 comments on commit 07910ce

Please sign in to comment.