diff --git a/client/src/components/layouts/global.css b/client/src/components/layouts/global.css index 0fcd84f8166..2463f2e8bc2 100644 --- a/client/src/components/layouts/global.css +++ b/client/src/components/layouts/global.css @@ -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; }