Created
April 19, 2012 20:29
-
-
Save lynaghk/2423943 to your computer and use it in GitHub Desktop.
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
.event.scientific | |
color: gray | |
padding-left: 20px | |
//Add a blue CSS triangle | |
//could use any kind of icon or sprite in here too, of course | |
&:before | |
width: 0px | |
height: 0px | |
content: "" | |
position: absolute | |
left: 8px | |
border-style: solid | |
border-width: 5px 0 5px 10px | |
border-color: transparent transparent transparent blue | |
.event.first-gen | |
//Bordered | |
+border-radius(5px) | |
border: 1px solid black | |
padding: 0.2em | |
padding-left: 0.3em | |
background-color: hsla(0,0,100%, 0.8) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment