Skip to content

Instantly share code, notes, and snippets.

@tmcw
Created November 16, 2011 23:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmcw/1371842 to your computer and use it in GitHub Desktop.
Save tmcw/1371842 to your computer and use it in GitHub Desktop.
San Francisco Trip Comparison Style
@base: #E6E8EC;
@road: #C6CCD3;
Map {
background-image: url('bg.jpg');
}
#coast {
::two {
line-color:darken(@base, 1);
line-width:13;
}
::one {
line-color:darken(@base, 2);
line-width:7;
}
::out {
line-color:darken(@base, 3);
line-width:5;
}
line-color:lighten(@base, 10);
line-width:2;
polygon-fill:lighten(@base, 7);
polygon-gamma:0.9;
}
#sfroads[highway='secondary'] {
line-width:0.2;
line-color:darken(@road, 10);
}
#sfroads[highway='tertiary'] {
line-width:0.2;
line-color:@road;
}
#sf1 {
point-file:url('sf1.png');
point-allow-overlap:true;
}
#sf2 {
point-file:url('sf2.png');
point-allow-overlap:true;
}
/*
#buildings {
polygon-fill:#7D858F;
}
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment