small CSS tweaks

This commit is contained in:
Sacha Greif 2016-03-24 16:12:03 +09:00
parent b70e43a370
commit b796519e14
6 changed files with 24 additions and 3 deletions

View file

@ -1,6 +1,6 @@
const Footer = props => {
return (
<div><a href="http://telescopeapp.org" target="_blank">Powered By Telescope</a></div>
<div className="footer"><a href="http://telescopeapp.org" target="_blank">Powered By Telescope</a></div>
)
}

View file

@ -1,3 +1,3 @@
const LoadMore = ({loadMore, count, totalCount}) => <a href="#" className="load-more button button--primary" onClick={loadMore}>Load More ({count}/{totalCount})</a>
const LoadMore = ({loadMore, count, totalCount}) => <a href="#" className="post-load-more" onClick={loadMore}>Load More ({count}/{totalCount})</a>
module.exports = LoadMore;

View file

@ -3,6 +3,7 @@ $blue: #0275d8;
$white: #fff;
$medium-grey: #bbb;
$dark-grey: #666;
$black: #333;
$light-border: $light-grey;

View file

@ -0,0 +1,3 @@
.footer{
text-align: center;
}

View file

@ -41,11 +41,12 @@
}
.post-title{
font-size: 1.5rem;
font-size: 1.35rem;
margin-bottom: 5px;
display: flex;
align-items: center;
.post-title-link{
color: $black;
&, &:active, &:hover{
text-decoration: none;
}
@ -113,4 +114,19 @@
.user-avatar{
margin-right: $hmargin;
}
}
.post-load-more{
display: block;
text-align: center;
border: 1px solid $light-border;
border-radius: 3px;
font-size: 1.25rem;
padding: 10px 20px;
&:hover{
background: $blue;
color: $white;
border-color: $blue;
text-decoration: none;
}
}

View file

@ -10,6 +10,7 @@
body{
background: #eee;
color: $black;
}
.wrapper{