Articles - Fixed some misconfigured css

This commit is contained in:
Camerin 2022-06-19 15:18:49 -04:00
parent 2765341f76
commit 7cf1c07410
2 changed files with 11 additions and 4 deletions

View File

@ -179,11 +179,11 @@ const Article = ({article}) => {
} else if (type[i] === 2) { } else if (type[i] === 2) {
return <div className="h1" key={i}>{text}</div>; return <div className="section-title" key={i}>{text}</div>;
} else if (type[i] === 3) { } else if (type[i] === 3) {
return <li className="li" key={i}>{text}</li>; return <li key={i}>{text}</li>;
} else { } else {

View File

@ -29,6 +29,13 @@
line-height: 1.5; line-height: 1.5;
} }
.article .section-title {
font-size: xx-large;
font-weight: bold;
margin-top: 1rem;
text-align: center;
}
.article .code { .article .code {
padding: 10px; padding: 10px;
background-color: #3A3B3B; background-color: #3A3B3B;
@ -44,8 +51,8 @@
margin-bottom: 10px; margin-bottom: 10px;
} }
.article .li { .article li {
margin-left: 10px; margin-left: 2rem;
} }
.article a { .article a {