Gilead-BioStats / gsm

Good Statistical Monitoring R Package
https://gilead-biostats.github.io/gsm/
Apache License 2.0
39 stars 9 forks source link

Closes #1760 Updating dropdown menu for articles in website #1811

Closed zdz2101 closed 2 months ago

zdz2101 commented 2 months ago

Overview

Test Notes/Sample Code

Notes:

zdz2101 commented 2 months ago

@lauramaxwell you mentioned something about some small css modifications for the yeti theme, do you know where to usually make this modification?

lauramaxwell commented 2 months ago

I think you can download the yeti css style file here, edit it and save it in pkgdown/extra.css in the package root. then add a reference to the stylesheet in the header of the _pkgdown.yml. alternatively, we can use a theme like lumen that has similar colors, but better dropdown formatting

lauramaxwell commented 2 months ago

@zdz2101 i'll take a look at customizing the css for the dropdown this afternoon.

lauramaxwell commented 2 months ago

I added some css to make the dropdown headers more legible. Let me know what you think!

image

zdz2101 commented 2 months ago

I think it looks great! I'll have to keep this in mind as a neat little trick