-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
49 lines (43 loc) · 1.17 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
.web-highlighter-highlight {
background-color: transparent;
border-bottom: 2px solid #ffeb3b;
border-radius: 0;
white-space: pre-wrap;
text-decoration: none;
display: inline;
}
.web-highlighter-highlight:hover {
border-bottom-color: #fdd835;
cursor: pointer;
}
/* Add styles for heading highlights */
h1 .web-highlighter-highlight,
h2 .web-highlighter-highlight,
h3 .web-highlighter-highlight,
h4 .web-highlighter-highlight,
h5 .web-highlighter-highlight,
h6 .web-highlighter-highlight {
border-bottom: 3px solid #ffeb3b;
padding: 2px 0;
}
/* Add styles for paragraph highlights */
p .web-highlighter-highlight {
border-bottom: 2px solid #ffeb3b;
padding: 1px 0;
}
/* Connected highlights within the same block */
.web-highlighter-highlight + .web-highlighter-highlight {
margin-left: 0;
padding-left: 0;
}
/* Ensure proper spacing around underlines */
.web-highlighter-highlight {
padding-bottom: 2px;
box-decoration-break: clone;
-webkit-box-decoration-break: clone;
}
/* Editing styles for highlights */
.web-highlighter-highlight.editing {
background-color: rgba(255, 235, 59, 0.2);
border-bottom-style: dashed;
}