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

Messy CSS #16

Open
aidalgol opened this issue Jan 17, 2013 · 0 comments
Open

Messy CSS #16

aidalgol opened this issue Jan 17, 2013 · 0 comments

Comments

@aidalgol
Copy link

creole-wiki outputs rather messy and redundant CSS. For example (reformatted for readability),

span.keyword {
  color: #d3d3d3;
  font-weight: 700;
  font-family: DejaVu Sans Mono;
  font-style: normal;
  font-stretch: normal;
  font-size: 10pt;
  text-decoration: none;
}
span.keyword a {
  color: #d3d3d3;
  font-weight: 700;
  font-family: DejaVu Sans Mono;
  font-style: normal;
  font-stretch: normal;
  font-size: 10pt;
  text-decoration: underline;
}
span.keyword {
  color: #a020f0;
}

Most of span.keyword a is redundant, and it's defining the color twice, differently each time. font-family should also be set to the more generic monspace, instead of naming a specific font with no fallback.

This is a bug in htmlize, and not creole.el itself, isn't it?

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

1 participant