Skip to content

Instantly share code, notes, and snippets.

@wboykinm
Created September 6, 2012 20:59
Show Gist options
  • Save wboykinm/3660340 to your computer and use it in GitHub Desktop.
Save wboykinm/3660340 to your computer and use it in GitHub Desktop.
edge-fade
Map {
background-color: #ace;
}
#countries {
::outline {
line-color: #604860;
line-width: 2;
line-join: round;
}
polygon-fill: #fff4c2;
line-color:#604860;
}
#countries[ADMIN="Democratic Republic of the Congo"] {
::edge-fade {
glow1/line-cap:round;
glow1/line-join:round;
glow1/line-width:8;
glow1/line-offset:0;
glow1/line-smooth:1;
glow1/line-opacity:0.8;
glow1/line-color:#fffcf6;
glow2/line-cap:round;
glow2/line-join:round;
glow2/line-width:12;
glow2/line-offset:4;
glow2/line-smooth:1;
glow2/line-opacity:0.5;
glow2/line-color:#fffcf6;
glow3/line-cap:round;
glow3/line-join:round;
glow3/line-width:16;
glow3/line-offset:8;
glow3/line-smooth:1;
glow3/line-opacity:0.5;
glow3/line-color:#fffcf6;
glow4/line-cap:round;
glow4/line-join:round;
glow4/line-width:20;
glow4/line-offset:12;
glow4/line-smooth:1;
glow4/line-opacity:0.5;
glow4/line-color:#fffcf6;
glow5/line-cap:round;
glow5/line-join:round;
glow5/line-width:24;
glow5/line-offset:16;
glow5/line-smooth:1;
glow5/line-opacity:0.5;
glow5/line-color:#fffcf6;
}
/*::mask {
polygon-fill:#f0a848;
polygon-opacity:0.7;
line-color:#c07860;
line-width:4;
line-comp-op:multiply;
text-name:'[ADMIN]';
text-size:12;
text-character-spacing:2;
text-wrap-width:40;
text-line-spacing:5;
text-face-name:'Chaparral Regular';
}*/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment