mirror of
https://github.com/vale981/Vulcan
synced 2025-03-07 02:21:43 -05:00
small CSS tweaks
This commit is contained in:
parent
b70e43a370
commit
b796519e14
6 changed files with 24 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
const Footer = props => {
|
const Footer = props => {
|
||||||
return (
|
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>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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;
|
module.exports = LoadMore;
|
|
@ -3,6 +3,7 @@ $blue: #0275d8;
|
||||||
$white: #fff;
|
$white: #fff;
|
||||||
$medium-grey: #bbb;
|
$medium-grey: #bbb;
|
||||||
$dark-grey: #666;
|
$dark-grey: #666;
|
||||||
|
$black: #333;
|
||||||
|
|
||||||
$light-border: $light-grey;
|
$light-border: $light-grey;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
.footer{
|
||||||
|
text-align: center;
|
||||||
|
}
|
|
@ -41,11 +41,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-title{
|
.post-title{
|
||||||
font-size: 1.5rem;
|
font-size: 1.35rem;
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
.post-title-link{
|
.post-title-link{
|
||||||
|
color: $black;
|
||||||
&, &:active, &:hover{
|
&, &:active, &:hover{
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
@ -113,4 +114,19 @@
|
||||||
.user-avatar{
|
.user-avatar{
|
||||||
margin-right: $hmargin;
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -10,6 +10,7 @@
|
||||||
|
|
||||||
body{
|
body{
|
||||||
background: #eee;
|
background: #eee;
|
||||||
|
color: $black;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wrapper{
|
.wrapper{
|
||||||
|
|
Loading…
Add table
Reference in a new issue