The open data dataset Linienfarben is now available as CSS classes. This dataset is published under the dl-de-by-2.0 license.
- How to use the CSS classes?
- How do the rnv lines look like?
- You have a question about the code or found a bug?
- You made changes and want to contribute them?
Download to your project directory:
git clone https://github.com/Rhein-Neckar-Verkehr/rnv-line-colors.git
Add the html link tag to your project and change your-path in the href attribute.
<link rel="stylesheet" type="text/css" href="./your-path/rnv-line-colors/rnv-line-colors.css" />
Include a html span tag with the desired classes in your html code:
<span class="rnv-line-tram rnv-line-5A"> 5A</span>
<span class="rnv-line-tram rnv-line-1"> 1</span>
<span class="rnv-line-bus rnv-line-63"> 63</span>
The index.html is a example of the rnv lines.
Describe it in an issue.
You can contribute with the Github Flow.