A Pen by Sean Wilson on CodePen.
Created
March 12, 2017 00:20
-
-
Save seanc/ac771cef9022b6ca3c576411168c78ea to your computer and use it in GitHub Desktop.
dabBot - landing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section class="main"> | |
<div class="brand"> | |
<img src="https://data.imsean.me/dabb.png" alt="" class="brand__logo" /> | |
</div> | |
<p class="title">dab</p> | |
<p class="title"><strong>Bot</strong></p> | |
<div class="buttons"> | |
<a href="#" class="btn">Invite to Server</a> | |
<a href="#" class="btn">Join Support Server</a> | |
<a href="#" class="btn">Twitter</a> | |
</div> | |
</section> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$font: 'Montserrat', sans-serif; | |
body, | |
html { | |
height: 100%; | |
width: 100%; | |
} | |
body { | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
background-color: #222; | |
background-image: url('https://data.imsean.me/bg.png'); | |
flex-direction: row; | |
font-family: $font; | |
&:before { | |
content: ''; | |
position: absolute; | |
top: 0; | |
right: 0; | |
bottom: 0; | |
left: 0; | |
background-color: #000; | |
opacity: 0.9; | |
z-index: -1; | |
} | |
} | |
.main { | |
display: flex; | |
flex-direction: row; | |
align-items: center; | |
justify-content: center; | |
flex-wrap: wrap; | |
.brand { | |
margin-right: 15px; | |
} | |
.title { | |
font-size: 5em; | |
color: #ddd; | |
} | |
.buttons { | |
width: 50%; | |
display: flex; | |
margin-left: 30px; | |
justify-content: space-between; | |
.btn { | |
background-color: #222; | |
text-decoration: none; | |
color: #eee; | |
padding: 18px 16px; | |
text-transform: uppercase; | |
font-weight: 200; | |
font-size: 0.78em; | |
border-radius: 2px; | |
opacity: 0.6; | |
transition: opacity 200ms; | |
&:nth-child(even) { | |
margin: 0 10px; | |
} | |
&:hover { | |
opacity: 1; | |
} | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,500" rel="stylesheet" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment