A Pen by Campbell Jones on CodePen.
Last active
March 1, 2016 14:48
-
-
Save serebit/e3cfa9d33f00a6c6ef9c to your computer and use it in GitHub Desktop.
Exosoft
This file contains 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
<html> | |
<head> | |
<link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'> | |
<base target="_blank"> | |
</head> | |
<body class="antialias"> | |
<a href="#"> | |
<img class="header_logo" src="https://lh3.googleusercontent.com/-Lr2You_p_X0/VtSQYQLOxtI/AAAAAAAAJPk/8CwBxJUnpJE/s1060-p/IMG_0798.PNG" alt="logo" style="width: 50px; height: 50px;"> | |
</a> | |
<a href="#"> | |
<div class="home_button menu_button button title no_select">Home</div> | |
</a> | |
<a href="#"> | |
<div class="proj_button menu_button button title no_select">Projects</div> | |
</a> | |
<div class="rectangle"></div> | |
<a href="https://www.twitter.com/officialexosoft" style="text-decoration:none"> | |
<div class="twitter_button social_button button no_select">Twitter</div> | |
</a> | |
<a href="https://www.github.com/officialexosoft"> | |
<div class="github_button social_button button no_select">Github</div> | |
</a> | |
</body> | |
</html> |
This file contains 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
body { | |
font-family: 'Open Sans'; | |
cursor: default; | |
margin: 0px 50px; | |
} | |
.header_logo { | |
position: absolute; | |
left: 50px; | |
top: 13px; | |
} | |
.title { | |
position: absolute; | |
padding: 8px 15px; | |
color: white; | |
} | |
.twitter_button { | |
top: 128px; | |
} | |
.github_button { | |
top: 84px; | |
} | |
.social_button { | |
color: #444444; | |
background: -webkit-linear-gradient(#FFFFFF, #F0F0F0); | |
padding: 8px; | |
border-radius: 3px; | |
} | |
.home_button { | |
left: 192px; | |
} | |
.proj_button { | |
left: 300px; | |
} | |
.social_button:hover { | |
box-shadow: 0px 2px 2px rgba(0, 0, 0, .24); | |
transition: box-shadow 0.25s; | |
} | |
.social_button { | |
box-shadow: 0px 0px 0px rgba(0, 0, 0, .24); | |
transition: box-shadow 0.25s; | |
font-size: 10pt; | |
} | |
.button { | |
position: absolute; | |
} | |
.menu_button:hover { | |
transition: top 0.1s, box-shadow 0.1s; | |
box-shadow: 0px 0px 0px rgba(0, 0, 0, .12); | |
top: 15px; | |
} | |
.menu_button { | |
transition: top 0.1s, box-shadow 0.05s; | |
border-style: solid; | |
border-radius: 5px; | |
border-width: 1px; | |
border-color: rgba(0, 0, 0, .03); | |
font-size: 16pt; | |
top: 12px; | |
box-shadow: 0px 3px 0px rgba(0, 0, 0, .24); | |
transition: box-shadow 0.1s, top 0.1s; | |
} | |
.no_select { | |
-webkit-touch-callout: none; | |
/* iOS Safari */ | |
-webkit-user-select: none; | |
/* Chrome/Safari/Opera */ | |
-khtml-user-select: none; | |
/* Konqueror */ | |
-moz-user-select: none; | |
/* Firefox */ | |
-ms-user-select: none; | |
/* IE/Edge */ | |
user-select: none; | |
/* non-prefixed version, currently | |
not supported by any browser */ | |
} | |
.antialias { | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale; | |
} | |
.rectangle { | |
z-index: -1; | |
position: absolute; | |
top: 0; | |
left: 0; | |
right: 0; | |
height: 76px; | |
background: -webkit-linear-gradient(bottom, #999999, #CCCCCC) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment