Skip to content

Commit 8f8aa7a

Browse files
committed
Adding annotations and style
1 parent 94c1b97 commit 8f8aa7a

File tree

3 files changed

+73
-2
lines changed

3 files changed

+73
-2
lines changed

nlw-workshop/SUMMARY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
- [Uses](day-two/uses.md)
2121
- [NLW Image servers](nlw-image-servers.md)
2222
- [Getting started](day-two/image-servers/README.md)
23-
- [NLW Images](nlw-image-serveress.md)
23+
- [NLW Images](nlw-images.md)
2424
- [Hosted - Internet Archive](day-two/image-servers/iiif-hosting-ia.md)
2525
- [Static Images - Workbench](day-two/image-servers/level0-workbench.md)
2626
- [Cantaloupe (Advanced)](day-two/image-servers/setting-up-cantaloupe.md)
@@ -46,7 +46,7 @@
4646
- [Publishing your annotated Manifest](day-four/workbench.md)
4747
- [Annotating Store - Do it yourself](day-four/annotations-stores-install.md)
4848
- [Advanced annotation presentation](day-four/advanced-annotations.md)
49-
- [NLW Annotations](nlw-annotations) **TODO**
49+
- [NLW Annotations](nlw-annotations.md) **TODO**
5050

5151
## IIIF & AV
5252
- [An introduction to AV](day-three/BL-Audio/README.md)

nlw-workshop/nlw-annotations.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# NLW Annotations projects
2+
3+
Peace petition: https://torf2.llyfrgell.cymru/s/peace-petition
4+
5+
Other projects: https://torf2.llyfrgell.cymru/s/default

nlw-workshop/styles/website.css

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
2+
.demo li {
3+
display: inline-block !important;
4+
margin: 0px;
5+
padding-left: 3px;
6+
padding-right: 3px;
7+
border-right: 1px solid black;
8+
}
9+
.demo {
10+
padding-left: 0px !important;
11+
list-style: none !important;
12+
margin: auto;
13+
text-align: center;
14+
word-wrap: break-word !important;
15+
}
16+
.attr2 {
17+
font-size: small;
18+
}
19+
20+
.centre {
21+
display:block;
22+
margin:auto;
23+
text-align: center;
24+
}
25+
26+
.identifier {
27+
max-width:300px;
28+
}
29+
.region {
30+
max-width:100px;
31+
}
32+
33+
.highlight {
34+
background-color: gainsboro;
35+
box-shadow: 0.5px 0.5px 5px gray;
36+
border: none;
37+
}
38+
39+
.standout-image {
40+
box-shadow: 0.5px 0.5px 5px gray;
41+
border: 1px solid black !important;
42+
}
43+
44+
#iiif-image-api-div {
45+
position: relative;
46+
background-image: url(https://ids.lib.harvard.edu/ids/iiif/25286607/full/500,/0/default.jpg);
47+
background-size: contain;
48+
background-repeat: no-repeat;
49+
width: 100%;
50+
height: 0;
51+
padding-top: 66.64%;
52+
}
53+
54+
#highlight {
55+
position: absolute;
56+
top: 10px;
57+
left: 100px;
58+
width: 50px;
59+
height: 50px;
60+
background-color: white;
61+
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; /* IE 8 */
62+
filter: alpha(opacity=50); /* IE 5-7 */
63+
-moz-opacity: 0.5; /* Netscape */
64+
-khtml-opacity: 0.5; /* Safari 1.x */
65+
opacity: 0.5; /* Good browsers */
66+
}

0 commit comments

Comments
 (0)