USGS-VIZLAB / vizlab

Package with utilities for building vizlab pages
Creative Commons Zero v1.0 Universal
25 stars 14 forks source link

Include css for templates in library #51

Open jiwalker-usgs opened 8 years ago

jiwalker-usgs commented 8 years ago

We encountered an issue on iPads with background images that should be included in css rules when using the keynote template. There are probably more examples of this, so we need general css and it should be included by default. Sample solution is here https://github.com/USGS-VIZLAB/great-lakes-microplastics/pull/250

aappling-usgs commented 6 years ago

@mwernimont - I see three .css files in https://github.com/USGS-VIZLAB/vizlab/tree/master/inst/css for footer, header, and socialMedia.

  1. Do these three .css files satisfy the need raised in this issue? Or is there a fourth .css file that should be created?
  2. If we need a fourth .css file, what will be the best way of using it once it's built? Should we have vizSkeleton() copy it into layout/css/general.css (or something like that) by default? If so, we could also have vizSkeleton() add a publish item?
    -
      id: general-css
      location: layout/css/general.css
      mimetype: text/css
      publisher: resource
  3. socialMedia.css got renamed to social-media.css in hurricane-maria and revised a bit. Are these revisions we should carry back into https://github.com/USGS-VIZLAB/vizlab/tree/master/inst/css/socialMedia.css?