mirror of
https://github.com/status-im/ETHReport.git
synced 2025-02-27 05:00:32 +00:00
Moving page header nav above logo so long
This commit is contained in:
parent
46f3b0d6cd
commit
fe24063fef
@ -5,16 +5,17 @@ import './style.scss';
|
||||
const PageHeader = () => (
|
||||
<div className="page-header">
|
||||
<div className="container">
|
||||
<nav className="page-header-nav">
|
||||
<AnchorLink offset="24" href="#resources">Resources</AnchorLink>
|
||||
<AnchorLink offset="24" href="#browse">Browse Archives</AnchorLink>
|
||||
</nav>
|
||||
|
||||
<img className="logo" src="/static/img/ETHPrize-logo.png" alt="ETHPrize logo" />
|
||||
<h1>Ethereum Report</h1>
|
||||
<p>
|
||||
We’ve interviewed 100+ developers to showcase the biggest opportunities in the
|
||||
Ethereum ecosystem
|
||||
</p>
|
||||
|
||||
<nav className="page-header-nav">
|
||||
<AnchorLink offset="24" href="#resources">Resources</AnchorLink>
|
||||
<AnchorLink offset="24" href="#browse">Browse Archives</AnchorLink>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
@ -1,15 +1,32 @@
|
||||
@import './assets/styles/global.scss';
|
||||
|
||||
.page-header {
|
||||
background-color: #efefef;
|
||||
background-color: $blue;
|
||||
background-image: url('/static/img/header-bg.jpg');
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
padding: calculateRem(24) 0;
|
||||
text-align: center;
|
||||
|
||||
.logo {
|
||||
width: calculateRem(116);
|
||||
margin-bottom: calculateRem(24);
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: #fff;
|
||||
margin-bottom: calculateRem(24);
|
||||
text-transform: uppercase;
|
||||
font-family: $secondary-font;
|
||||
font-size: calculateRem(36);
|
||||
font-size: calculateRem(40);
|
||||
color: $red;
|
||||
letter-spacing: 4px;
|
||||
line-height: 1.1;
|
||||
|
||||
@media (min-width: $desktop) {
|
||||
font-size: calculateRem(50);
|
||||
letter-spacing: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
p {
|
||||
@ -18,11 +35,17 @@
|
||||
}
|
||||
|
||||
.page-header-nav {
|
||||
margin-bottom: calculateRem(32);
|
||||
|
||||
a {
|
||||
color: $text-color;
|
||||
font-family: $secondary-font;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
margin: 0 calculateRem(16);
|
||||
margin: 0 calculateRem(8);
|
||||
font-size: calculateRem(17);
|
||||
text-shadow: 0 0 11px #000;
|
||||
padding: calculateRem(8);
|
||||
letter-spacing: .08em;
|
||||
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
|
Loading…
x
Reference in New Issue
Block a user