IIIF / api

Source for API and model specifications documents (api and model)
http://iiif.io/api
105 stars 54 forks source link

Reinstate formatting of "note" blocks in specifications #2138

Open zimeon opened 2 years ago

zimeon commented 2 years ago

The IIIF specifications use warning blocks (marked {: .warning} in the source) which appear with a red bar and background, e.g. the "Incompatibility Warning" in https://iiif.io/api/presentation/3.0/#55-annotation-page

The Auth spec uses and alert block (marked {: .alert} in the source) which appears with a yellow bar and background, see https://iiif.io/api/auth/1.0/ before "Introduction"

The Presentation spec uses note blocks (marked {: .note} in the source) which used to appear with a colored bar and background (was it green or yellow?). These blocks are currently not styled in way that makes their meaning clear or calls them out. See:

Possible solutions:

  1. Make {: .note} work again
  2. Change prezi source to use {: .alert}
zimeon commented 2 years ago

@glenrobson - interested in your thoughts on this

hadro commented 2 years ago

The new theme makes use of Bulma, so it may just be a matter of connecting old properties to the bulma properties: https://bulma.io/documentation/elements/notification/

hadro commented 2 years ago

Made a small tweak that makes {: .note} work again -- see e.g.:

hadro commented 2 years ago

If all looks fine, maybe you all can merge in https://github.com/IIIF/api/pull/2147 while you're still together...