UW-Madison-DSI / uw-jekyll-theme

A UW theme for Jekyll based academic websites with the functionality of al-folio
https://uw-madison-dsi.github.io/uw-jekyll-theme/
MIT License
1 stars 2 forks source link

Buttons and blockquotes #10

Closed cranmer closed 5 months ago

cranmer commented 1 year ago

Integrate UW style buttons and blockquotes

https://brand.wisc.edu/uwmadison_templates/

amegahed commented 5 months ago

This should have been addressed by the inclusion of the default UW template styles. See the blog post "default UW template styles" for details: http://127.0.0.1:4000/uw-jekyll-theme/blog/2024/default-styles/

cranmer commented 5 months ago

Nice, thanks! The example post is all written in html. I'm curious how one would indicate this styling in a more markdown oriented syntax.

This might be relevant: https://boringrails.com/tips/jekyll-css-class

cranmer commented 5 months ago

we might want to add a special liquid tag for blockquotes

cranmer commented 5 months ago

For reference, the source is here: https://github.com/UW-Madison-DSI/uw-jekyll-theme/blob/master/_posts/2023-05-28-default-styles.md

cranmer commented 5 months ago

ok, so this works:

## Test h2 and blockquote style with markdown syntax
{: .uw-mini-bar}

> "All models are wrong but some are useful"
<cite>George Box</cite>

>   “Whatever may be the limitations which trammel inquiry elsewhere, we believe that the great state University of Wisconsin should ever encourage that continual and fearless sifting and winnowing by which alone the truth can be found.”
<cite>The Board of Regents, 1894</cite>
{: .uw-stylized-quote}