You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: recipe/0045-css/index.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@ layout: recipe
5
5
tags: [style]
6
6
summary: "Using an external CSS stylesheet in an annotation body, annotations can be styled in limited ways"
7
7
viewers:
8
+
- Theseus
8
9
topic:
9
10
- basic
10
11
code:
@@ -33,14 +34,15 @@ One example: Since IIIF Canvas dimensions are unit-less, using pixels for text s
33
34
34
35
## Example
35
36
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
-

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).
39
38
40
39
{% include manifest_links.html manifest="manifest.json" %}
41
40
42
41
{% include jsonviewer.html src="manifest.json" config='data-line="56,60,75,79"' %}
43
42
43
+
### Stylesheet
44
+
{% include jsonviewer.html src="style.css" %}
45
+
44
46
## Related Recipes
45
47
46
48
*[Image Rotation Two Ways][0040], for an inline CSS stylesheet used with a IIIF resource
0 commit comments