Skip to content

Commit de3d7fc

Browse files
committed
Added viewer, removed demo image, added stylesheet view 📝
1 parent de36ce0 commit de3d7fc

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

recipe/0045-css/index.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ layout: recipe
55
tags: [style]
66
summary: "Using an external CSS stylesheet in an annotation body, annotations can be styled in limited ways"
77
viewers:
8+
- Theseus
89
topic:
910
- basic
1011
code:
@@ -33,14 +34,15 @@ One example: Since IIIF Canvas dimensions are unit-less, using pixels for text s
3334

3435
## Example
3536

36-
This recipe focuses on annotations with motivations other than painting and on an external CSS stylesheet. For styling a IIIF resource that uses a `motivation` of `painting`, see [Image Rotation Two Ways][0040] (inline stylesheet) and [Visible Text Resource on a Canvas][0561] (inline CSS). A viewer might render the manifest in this recipe as shown in this image:
37-
38-
![One possible rendering of this recipe's manifest](image_css_external_stylesheet.png)
37+
This recipe focuses on annotations with motivations other than painting and on an external CSS stylesheet. For styling a IIIF resource that uses a `motivation` of `painting`, see [Image Rotation Two Ways][0040] (inline stylesheet) and [Visible Text Resource on a Canvas][0561] (inline CSS).
3938

4039
{% include manifest_links.html manifest="manifest.json" %}
4140

4241
{% include jsonviewer.html src="manifest.json" config='data-line="56,60,75,79"' %}
4342

43+
### Stylesheet
44+
{% include jsonviewer.html src="style.css" %}
45+
4446
## Related Recipes
4547

4648
* [Image Rotation Two Ways][0040], for an inline CSS stylesheet used with a IIIF resource

0 commit comments

Comments
 (0)