Skip to content

Instantly share code, notes, and snippets.

@dator-zz
Created June 14, 2011 20:36
Show Gist options
  • Save dator-zz/1025810 to your computer and use it in GitHub Desktop.
Save dator-zz/1025810 to your computer and use it in GitHub Desktop.
assetic:
debug: %kernel.debug%
use_controller: false
filters:
cssrewrite: ~
sass: ~
yui_js:
jar: %kernel.root_dir%/java/yuicompressor.jar
yui_css:
jar: %kernel.root_dir%/java/yuicompressor.jar
{% stylesheets '@MyBundle/Resources/public/css/main.sass' filter="sass" output='css/all.css' %}
<link href="{{ asset_url }}" type="text/css" rel="stylesheet" />
{% endstylesheets %}
// Render
<link href="/css/all_main_1.css" type="text/css" rel="stylesheet" />
// - /css/all_main_1.css is a 404 url .
$blue: #3bbfce
$margin: 16px
.content-navigation
border-color: $blue
color: darken($blue, 9%)
.border
padding: $margin / 2
margin: $margin / 2
border-color: $blue
body
font-size: 5em
@kriswallsmith
Copy link

kriswallsmith commented Jun 14, 2011 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment