Modified the Articles page style
This commit is contained in:
parent
7817a1731d
commit
5e95394311
|
|
@ -52,6 +52,7 @@ class Articles extends React.Component {
|
||||||
return (
|
return (
|
||||||
<div className="Articles">
|
<div className="Articles">
|
||||||
<Route path="/articles/:id" render={({match})=>{return this.article(match)}} />
|
<Route path="/articles/:id" render={({match})=>{return this.article(match)}} />
|
||||||
|
<h1>Articles</h1>
|
||||||
{this.renderArticles()}
|
{this.renderArticles()}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@
|
||||||
margin: 20px;
|
margin: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.article .h1 {
|
.article h2 {
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
font-weight:bolder;
|
font-weight:bolder;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
|
|
@ -50,4 +50,17 @@
|
||||||
|
|
||||||
.article a {
|
.article a {
|
||||||
color: #ACACFF;
|
color: #ACACFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
.Articles {
|
||||||
|
display:flex;
|
||||||
|
flex-direction:column;
|
||||||
|
color: #AF8D8C;
|
||||||
|
}
|
||||||
|
|
||||||
|
.Articles h1 {
|
||||||
|
margin-left:auto;
|
||||||
|
margin-right:auto;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
.listing .title {
|
.listing .title {
|
||||||
color: #BF8D8C !important;
|
color: #BF8D8C !important;
|
||||||
font-size: 28px;
|
font-size: 24px;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
font-weight:bold;
|
font-weight:bold;
|
||||||
width:fit-content;
|
width:fit-content;
|
||||||
|
|
@ -36,7 +36,7 @@
|
||||||
display:flex;
|
display:flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items:center;
|
align-items:center;
|
||||||
font-size: x-large;
|
font-size: large;
|
||||||
}
|
}
|
||||||
|
|
||||||
.listing .description {
|
.listing .description {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue