Skip to content

Instantly share code, notes, and snippets.

@ramiroaznar
Created May 24, 2016 10:49
Show Gist options
  • Save ramiroaznar/bdb65fb9da5b1b39898bfdd48dfc3d84 to your computer and use it in GitHub Desktop.
Save ramiroaznar/bdb65fb9da5b1b39898bfdd48dfc3d84 to your computer and use it in GitHub Desktop.
Make the Madrid Metro map as a category map coloring metro lines according to their real colors
/** category visualization */
#lineas {
line-width: 2;
line-opacity: 0.7;
}
#lineas[name="L1"] {
line-color: #A6CEE3;
}
#lineas[name="L10"] {
line-color: #1F78B4;
}
#lineas[name="L11"] {
line-color: #055D00;
}
#lineas[name="L2"] {
line-color: #F11810;
}
#lineas[name="L3"] {
line-color: #FFCC00;
}
#lineas[name="L4"] {
line-color: #a52a2a;
}
#lineas[name="L5"] {
line-color: #229A00;
}
#lineas[name="L6"] {
line-color: #808080;
}
#lineas[name="L7"] {
line-color: #FF2900;
}
#lineas[name="L9"] {
line-color: #6A3D9A;
}
#lineas {
line-color: #FFFFFF;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment