Created
July 14, 2014 19:24
-
-
Save dacur/ba0fceb1190a66c37564 to your computer and use it in GitHub Desktop.
Styling logo. Makes it clickable and uses the asset pipeline to get the logo.
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
| .logo a { | |
| margin:; 0.4em 0; | |
| background: transparent url(asset_path(#{"logo-name"})) no-repeat center center ; | |
| background-size: contain; | |
| display: block; | |
| height: 34px; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment