Created
February 4, 2013 15:43
-
-
Save sarukuku/4707520 to your computer and use it in GitHub Desktop.
Letter Box
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
/** | |
* Letter Box | |
*/ | |
div { | |
display: block; | |
position: absolute; | |
width: 150px; | |
height: 210px; | |
background-color: #333; | |
border-radius: 3px; | |
box-shadow: 0 0 5px black; | |
} | |
i { | |
display: block; | |
width: 130px; | |
height: 140px; | |
margin: 10px; | |
color: white; | |
font-size: 145px; | |
line-height: 90%; | |
text-align: center; | |
font-family: 'Ubuntu', Helvetica, Arial, sans-serif; | |
font-style: normal; | |
outline: 3px dashed white; | |
} | |
p { | |
display: block; | |
width: 130px; | |
height: 40px; | |
margin: 0 10px; | |
color: white; | |
text-align: center; | |
font-size: 35px; | |
font-family: 'Vollkorn', Georgia, Times, serif; | |
} |
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
<!-- content to be placed inside <body>…</body> --> | |
<link href="http://fonts.googleapis.com/css?family=Ubuntu:bold" rel="stylesheet" type="text/css"> | |
<link href="http://fonts.googleapis.com/css?family=Vollkorn" rel="stylesheet" type="text/css"> | |
<div> | |
<i>A</i> | |
<p>Work</p> | |
</div> |
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
// alert('Hello world!'); |
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
{"view":"separate","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment