FDA / open.fda.gov

openFDA web site.

Home Page:http://open.fda.gov

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minify and Merge CSS

seanherron opened this issue · comments

Provide one CSS file rather than three files and a block of inline CSS

I'm actually not sure how the bootstrap-overrides.css file got in there. Removed in a recent commit.

As for the rest of the CSS:

  • Will minify later, including downloading a subset of Bootstrap.
  • Syntax.css is a Jekyll include that is useful for code snippets in blog posts; thought I'd keep it separate while we decide whether we plan to use it.
  • The reason there is a block of inline CSS is to compensate for the slightly opaque asset management of gh-pages; the inline CSS is used primarily to pull image URLs from Jekyll post markdown so that they can be used in CSS to generate fancy cover images, etc. We can look into a more elegant solution later but I think it works for now. (I'm sure someone will have a better idea.)