Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple .css #69

Open
bertbln opened this issue Feb 14, 2020 · 1 comment
Open

Simple .css #69

bertbln opened this issue Feb 14, 2020 · 1 comment

Comments

@bertbln
Copy link

bertbln commented Feb 14, 2020

I have created a .css file for Potsdam (vbb). It works very well. Is there a way to change the style generally for all lines of a means of transport? There are a lot of bus routes at the main station, which otherwise have to be listed individually in the file ...

@KristjanESPERANTO
Copy link

You can use wildcard selectors. For my city I use something like that:

[class^="pthSign bus"] {
  background-color: rgb(153, 153, 0);
  color: white;
}

This way you achieve that all bus lines have a default setting. Even the ones you don't know.

After that, you can still set other values for specific bus lines. Like this:

.bus27 {background-color: rgb(141, 0, 75);}

Feel free to commit your css file to this project. Even if it's not complete yet. Others could benefit from it and expand it if necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants