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

Update typography #108

Merged
merged 5 commits into from
Jan 4, 2024
Merged
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
31 changes: 18 additions & 13 deletions client/components/Articles/Article/Article.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
margin: 0 auto;
padding: 32px 24px 40px;
font-size: 20px;
font-weight: 300;
line-height: 1.3;
}

Expand Down Expand Up @@ -45,7 +46,7 @@
.ArticleTitle {
font-size: 24px;
font-weight: 500;
line-height: 1.2;
line-height: 1.12;
}


Expand All @@ -56,27 +57,23 @@
.ArticleContent h2 {
font-size: 22px;
font-weight: 500;
line-height: 1.2;
line-height: 1.16;
margin-top: 1.4em;
margin-bottom: .3em;
}

.ArticleContent :first-child {
margin-top: 0;
}

.ArticleContent h3 {
font-size: 18px;
font-weight: 500;
line-height: 1.2;
line-height: 1.25;
margin-top: 1.9em;
margin-bottom: .8em;
}

.ArticleContent h4 {
font-size: 14px;
font-weight: 500;
line-height: 1.35;
line-height: 1.25;
margin-top: 1.75em;
margin-bottom: .25em;
}
Expand All @@ -85,13 +82,17 @@
.ArticleContent ul,
.ArticleContent p {
font-size: 14px;
line-height: 1.35;
line-height: 1.4;
margin-bottom: 1.1em;
}

.ArticleContent li {
margin-top: .5em;
margin-bottom: .5em;
margin-top: .75em;
margin-bottom: .75em;
}

.ArticleContent li::marker {
color: #667999;
}

.ArticleContent ul {
Expand All @@ -108,12 +109,11 @@

.ArticleContent blockquote {
font-size: 22px;
font-weight: 600;
line-height: 1.35;
padding: 16px;
border-radius: 16px;
background: #F4F6FB;
margin: 0;
margin: 8px 0;
}

.ArticleContent blockquote p {
Expand Down Expand Up @@ -151,4 +151,9 @@
.ArticleContent p {
font-size: 22px;
}

.ArticleContent blockquote {
margin: 16px 0;
padding: 24px;
}
}
Loading