Skip to content

Instantly share code, notes, and snippets.

@christopherscott
Created November 11, 2012 15:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save christopherscott/4055266 to your computer and use it in GitHub Desktop.
Save christopherscott/4055266 to your computer and use it in GitHub Desktop.
CScott CSS/mobile logo
/**
* CScott CSS/mobile logo
*/
html {
font-family: 'Source Sans Pro', Arial, sans-serif;
background: url('http://subtlepatterns.subtlepatterns.netdna-cdn.com/patterns/noisy_grid.png');
}
#logo {
position: relative;
height: 300px;
width: 300px;
border-radius: 150px;
background: linear-gradient(35deg, #f06, yellow);
text-align: center;
display: table;
box-shadow: 0 5px 15px rgba(0,0,0,.1),
inset -20px 20px 10px rgba(255,255,255,.1),
inset -2px 2px 2px rgba(255,255,255,.1),
inset 2px -2px 1px rgba(0,0,0,.1),
inset 0 -1px 0px rgba(0,0,0,.1);
margin: 2em auto;
}
.amp {
position: absolute;
z-index: 1;
font-family: "Goudy Bookletter 1911";
top: -38px;
left: 29px;
color: rgba(60,0,0,.04);
font-size: 19rem;
text-align: center;
text-shadow: 1px 1px rgba(255,255,255,0.1);
}
hgroup{
position: absolute;
z-index: 2;
top: 130px;
left: 14px;
color: white;
display: table-cell;
vertical-align: middle;
}
h1 {
font-family: "Yanone Kaffeesatz", sans-serif;
margin-top: -.3em;
font-weight: 200;
font-size: 2rem;
margin-bottom: .1em;
letter-spacing: -1px;
}
h2 {
margin: 0;
font-weight: 600;
font-size: .76rem;
}
#back {
box-shadow: 0 1px 1px rgba(0,0,0,.3);
border-radius: 3px 5px;
padding: 5px 10px;
text-decoration: none;
color: gray;
margin: 50px auto;
display: block;
width: 80px;
text-align: center;
background: -webkit-linear-gradient(90deg, #efefef, #fff)
}
<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700,900' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:400,700,200,300' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Goudy+Bookletter+1911' rel='stylesheet' type='text/css'>
<div id="logo">
<hgroup>
<h1>Christopher Scott Hernandez</h1>
<h2>User Interface Designer | Front-end Web Developer</h2>
</hgroup>
<div class="amp">&amp;</div>
</div>
{"view":"separate","fontsize":"70","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment