refactor(client): clean up global.css (#64052)

Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
This commit is contained in:
Diem-Trang Pham 2025-12-02 12:58:28 -06:00 committed by GitHub
parent 8675090e34
commit ebf5a8463e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,43 +12,17 @@ body {
background: var(--secondary-background);
}
/* This is to override Tailwind as it sets the font-weight to `bolder`.
TODO: Move this rule to @freecodecamp/ui. */
b,
strong {
font-weight: bold;
}
/* TODO: Move this rule to @freecodecamp/ui. */
label {
display: inline-block;
max-width: 100%;
margin-bottom: 5px;
font-weight: bold;
}
/* TODO: Move this rule to @freecodecamp/ui. (Though some styles might need to be dropped). */
legend {
display: block;
width: 100%;
padding: 0;
margin-bottom: 20px;
font-size: 21px;
line-height: inherit;
color: #333;
border: 0;
border-bottom: 1px solid #e5e5e5;
}
/* TODO: Move this rule to @freecodecamp/ui. */
blockquote {
padding: 10px 20px;
margin: 0 0 20px;
font-size: 17.5px;
border-left: 5px solid #eeeeee;
}
/* TODO: Move this rule to @freecodecamp/ui. */
/* TODO: Move this rule to components/Intro/intro.css. */
blockquote footer,
blockquote small,
blockquote .small {
@ -58,37 +32,13 @@ blockquote .small {
color: var(--gray-45);
}
/* TODO: Move this rule to @freecodecamp/ui. */
/* TODO: Move this rule to components/Intro/intro.css. */
blockquote footer:before,
blockquote small:before,
blockquote .small:before {
content: '\2014 \00A0';
}
/* TODO: Move this rule to @freecodecamp/ui. */
ul {
margin-top: 0;
margin-bottom: 10px;
padding-inline-start: 40px;
list-style-type: disc;
}
/* TODO: Move this rule to @freecodecamp/ui. */
ol {
margin-top: 0;
margin-bottom: 10px;
padding-inline-start: 40px;
list-style-type: decimal;
}
/* TODO: Move this rule to @freecodecamp/ui. */
hr {
margin-top: 20px;
margin-bottom: 20px;
border: 0;
border-top: 1px solid var(--quaternary-background);
}
rt {
font-size: 0.8rem;
}