Skip to content

Commit 546a632

Browse files
committed
Support for highlighting the searched elements
1 parent 3842f79 commit 546a632

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Python Docs - Dark Theme: Changelog
22

33

4+
## **2.1.0** - dev
5+
### Added
6+
- Support for highlighting the searched elements
7+
8+
49
## **2.0.0** - 2020.11.11
510
### Added
611
- Support for domain `packaging.python.org`

python_docs_dark.user.css

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,16 @@
134134
background: var(--background-gray);
135135
}
136136

137-
dt:target,
138-
span.highlighted {
137+
dt:target {
139138
color: var(--text-light);
140-
background: var(--background-gray);
139+
background-color: var(--background-gray);
140+
}
141+
142+
span.highlighted {
143+
color: #181818;
144+
background-color: #fbe54e;
145+
border-radius: 10px;
146+
border: 2px solid #fbe54e;
141147
}
142148

143149
table.docutils td,

0 commit comments

Comments
 (0)