Commit 7e5c20a2 authored by Eugen Rochko's avatar Eugen Rochko

Beep

parent 7e4edee4
......@@ -21,10 +21,7 @@ const App = () => (
<div className='hero'>
<div className='hero__container'>
<div className='hero__floats'>
<img src='/cloud1.png' className='float-1' alt='' />
<img src='/cloud2.png' className='float-2 delayed' alt='' />
</div>
<div className='hero__floats' />
<img src='/screenshot_full.png' draggable={false} className='hero__full' alt='' />
<img src='/screenshot_mobile.png' draggable={false} className='hero__mobile' alt='' />
......@@ -36,6 +33,7 @@ const App = () => (
<div className='intro container'>
<h1><strong>Mastodon</strong> is a federated social network</h1>
<p>Free, open-source and decentralized, Mastodon gives back the power to build communities to the people.</p>
<a href='#' className='btn'>Get started</a>
</div>
</div>
</Router>
......
......@@ -78,6 +78,7 @@
.intro {
text-align: center;
padding-top: 115px;
max-width: 600px;
h1 {
padding-top: 60px;
......@@ -95,6 +96,11 @@
p {
font-size: 16px;
line-height: 20px;
margin-bottom: 30px;
}
.btn {
margin: 0 auto;
}
}
......@@ -135,7 +141,7 @@
}
.hero__full {
max-width: 850px;
max-width: 800px;
}
.hero__mobile {
......@@ -157,26 +163,33 @@
width: auto;
transition: all 0.1s linear;
animation-name: floating;
animation-duration: 6s;
animation-duration: 1.5s;
animation-iteration-count: infinite;
animation-direction: alternate;
animation-timing-function: ease-in-out;
}
.delayed img {
animation-delay: .4s;
animation-delay: 0.2s;
}
.float-2 {
position: absolute;
left: -170px;
top: 150px;
left: -110px;
top: 50px;
opacity: 0.8;
}
.float-1 {
position: absolute;
right: -170px;
top: 220px;
right: -120px;
top: 120px;
}
.float-3 {
position: absolute;
left: -60px;
top: 130px;
}
}
......@@ -186,10 +199,23 @@
}
65% {
transform: translate(0, 8px);
transform: translate(0, 4px);
}
to {
transform: translate(0, -0px);
}
}
.btn {
display: block;
width: 200px;
font-size: 14px;
color: $color1;
background: $color2;
text-decoration: none;
border-radius: 4px;
line-height: 36px;
padding: 6px 16px;
box-shadow: 0 2px 6px rgba($color8, 0.3);
}
......@@ -97,12 +97,9 @@ body {
font-family: 'Roboto', sans-serif;
background: $color1;
color: lighten($color1, 26%);
background-size: cover;
background-attachment: fixed;
font-size: 13px;
line-height: 18px;
font-weight: 400;
padding-bottom: 140px;
text-rendering: optimizelegibility;
font-feature-settings: "kern";
text-size-adjust: none;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment