-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhighlight.css
More file actions
67 lines (54 loc) · 1.06 KB
/
highlight.css
File metadata and controls
67 lines (54 loc) · 1.06 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/* Styles for highlighted text */
.wiki-notes-highlight {
padding: 2px 0;
border-radius: 2px;
cursor: pointer;
transition: background-color 0.2s;
}
/* Yellow - Important */
.highlight-yellow {
background-color: #ffeb3b;
}
.highlight-yellow:hover {
background-color: #ffd54f;
}
/* Green - Definition */
.highlight-green {
background-color: #81c784;
}
.highlight-green:hover {
background-color: #66bb6a;
}
/* Blue - Question */
.highlight-blue {
background-color: #64b5f6;
}
.highlight-blue:hover {
background-color: #42a5f5;
}
/* Red - Critical */
.highlight-red {
background-color: #e57373;
}
.highlight-red:hover {
background-color: #ef5350;
}
/* Purple - Reference */
.highlight-purple {
background-color: #ba68c8;
color: white;
}
.highlight-purple:hover {
background-color: #ab47bc;
}
/* Visual indicator that Alt/Ctrl+Click or Right-click removes highlight */
.wiki-notes-highlight:hover::after {
content: " ✕";
font-size: 10px;
color: #333;
opacity: 0.6;
font-weight: bold;
}
.highlight-purple:hover::after {
color: #fff;
}