Skip to content

Commit

Permalink
Use alternate (and smaller) BU logo in mobile nav, in order to make s…
Browse files Browse the repository at this point in the history
…pace.
  • Loading branch information
sinahab committed Apr 29, 2017
1 parent 9527966 commit dd6ffe6
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 14 deletions.
36 changes: 23 additions & 13 deletions src/public/css/header.styl
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,6 @@
.header--mobile
display: none;

@media (max-width: 1050px)
.font-thin
font-weight: normal

.header--web
display: none;

.header--mobile
display: block;


.header__container
height: 110px
font-size: 16px
Expand All @@ -32,8 +21,7 @@
height: 50px

.header__logo--mobile
height: 50px
padding: 30px 40px
display: none

.header__link
text-decoration: none
Expand Down Expand Up @@ -75,3 +63,25 @@
-moz-transition: color .15s ease-in
-o-transition: color .15s ease-in
-ms-transition: color .15s ease-in

@media (max-width: 1050px)
.font-thin
font-weight: normal

.header--web
display: none;

.header--mobile
display: block;

.header__logo
padding: 30px 40px

@media (max-width: 400px)
.header__logo
display: none

.header__logo--mobile
display: block
height: 50px
padding: 30px 40px
Binary file added src/public/img/bitcoin-unlimited-alt.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/public/views/components/header/mobileHeader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ class MobileHeader extends React.Component {
return (
<div className='header--mobile header__container clearfix'>
<div className="left">
<Link to='/'><img src='/img/bitcoin-unlimited.png' className='header__logo--mobile'/></Link>
<Link to='/'><img src='/img/bitcoin-unlimited.png' className='header__logo'/></Link>
<Link to='/'><img src='/img/bitcoin-unlimited-alt.jpg' className='header__logo--mobile'/></Link>
</div>
<div className="right">
<Menu className='center' isOpen={false} right>
Expand Down

0 comments on commit dd6ffe6

Please sign in to comment.