Created
February 16, 2013 01:44
-
-
Save andr3/4965067 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
body { | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height: 100%; | |
font-family: helvetica; | |
} | |
li { | |
list-style: none; | |
} | |
* { | |
margin: 0; | |
padding: 0; | |
} | |
#device { | |
width: 320px; | |
height: 480px; | |
margin: 3em auto; | |
} | |
li a, li.intervalo { | |
display:block; | |
padding: 0.8em 1em; | |
text-decoration: none; | |
font-weight: bold; | |
color: #eee; | |
text-shadow: 0px 2px 0px rgba(0,0,0,0.9); | |
border-bottom: 1px solid #222; | |
background: -webkit-linear-gradient(90deg, #333, #3e3e3e); | |
position: relative; | |
} | |
li a:after { | |
content: ' > '; | |
display:block; | |
position: absolute; | |
right: 1em; | |
bottom: 0; | |
width: 1em; | |
height: 2em; | |
color: #666; | |
text-shadow: none; | |
} | |
li a:hover { | |
background: -webkit-linear-gradient(90deg, #444, #4e4e4e); | |
} | |
li a:active { | |
background: -webkit-linear-gradient(90deg, #3e3e3e, #333); | |
} | |
li.intervalo { | |
background: #333; | |
color: #999; | |
text-align: center; | |
text-transform: lowercase; | |
font-weight: 400; | |
letter-spacing: 2px; | |
} | |
li.intervalo + li a:before { | |
content: '(1ª da tarde) '; | |
} | |
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
<div id="device"> <!-- a fingir --> | |
<ul> | |
<li><a href="#/foobar">Lorem ipsum</a></li> | |
<li><a href="#/foobar">Lorem ipsum</a></li> | |
<li><a href="#/foobar">Lorem ipsum</a></li> | |
<li><a href="#/foobar">Lorem ipsum</a></li> | |
<li class="intervalo">Intervalo</li> | |
<li><a href="#/foobar">Lorem ipsum</a></li> | |
<li><a href="#/foobar">Lorem ipsum</a></li> | |
<li><a href="#/foobar">Lorem ipsum</a></li> | |
<li><a href="#/foobar">Lorem ipsum</a></li> | |
<li><a href="#/foobar">Lorem ipsum</a></li> | |
</ul> | |
</div> |
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
// alert('Hello world!'); |
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
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment