Skip to content

Commit 10f2584

Browse files
committed
Added span.copybutton to stylesheet
1 parent bec84bf commit 10f2584

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
## **2.1.0** - dev
55
### Added
66
- Support for highlighting the searched elements
7+
- Element class `span.copybutton` now included in style
78

89
### Changed
910
- Border rounding of `span.pre` class elements

python_docs_dark.user.css

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,18 +136,22 @@
136136
border-radius: 5px;
137137
}
138138

139-
dt:target {
140-
color: var(--text-light);
141-
background-color: var(--background-gray);
142-
}
143-
144139
span.highlighted {
145140
color: #0f0f0f;
146141
background-color:#fff08c;
147142
border: 0.4px solid #fff08c;
148143
border-radius: 5px;
149144
}
150145

146+
span.copybutton {
147+
color: #64a576 !important;
148+
}
149+
150+
dt:target {
151+
color: var(--text-light);
152+
background-color: var(--background-gray);
153+
}
154+
151155
table.docutils td,
152156
table.docutils th {
153157
background-color: var(--background-light);

0 commit comments

Comments
 (0)