Skip to content
This repository was archived by the owner on Oct 24, 2023. It is now read-only.

Commit 5308c68

Browse files
committed
Update render
1 parent 69184a4 commit 5308c68

File tree

3 files changed

+47
-35
lines changed

3 files changed

+47
-35
lines changed

docs/ecmarkup.css

+30-9
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,41 @@ a:hover {
3535
color: #239dee;
3636
}
3737

38-
a.e-user-code {
39-
position: relative;
38+
a.e-user-code,
39+
span.e-user-code {
40+
white-space: nowrap;
4041
}
4142

42-
a.e-user-code::before {
43+
a.e-user-code::before,
44+
span.e-user-code::before {
4345
display: none;
4446
color: brown;
45-
position: absolute;
46-
bottom: -0.9em;
47-
left: 0;
47+
background-color: white;
48+
border: 2pt solid brown;
49+
padding: 0.3ex;
50+
margin: 0 0.25em 0 0;
51+
line-height: 1;
52+
vertical-align: text-top;
53+
text-transform: uppercase;
54+
font-family: "Comic Code", sans-serif;
55+
font-weight: 900;
56+
font-size: x-small;
57+
}
58+
59+
a.e-user-code:hover::before,
60+
span.e-user-code:hover::before {
61+
background-color: brown;
62+
color: white;
63+
}
64+
65+
html.show-ao-annotations a.e-user-code::before,
66+
html.show-ao-annotations span.e-user-code::before {
67+
display: inline-block;
68+
}
69+
70+
a.e-user-code::before,
71+
span.e-user-code::before {
4872
content: 'UC';
49-
font-style: italic;
50-
font-weight: bold;
51-
font-size: small;
5273
}
5374

5475
code {

0 commit comments

Comments
 (0)