Skip to content

Commit

Permalink
Fix styling of private/protected member variable descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
psalz committed Aug 13, 2024
1 parent 689f5f6 commit 02522e6
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/css/api_docs.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@
[data-theme="dark"] .hdoc-private::after {
background: #242424;
}
/* Also style member variable descriptions */
dt.hdoc-private + dd {
opacity: 0.5;
}
dt.hdoc-private:hover + dd,
dt.hdoc-private + dd:hover {
opacity: 1;
}

.hdoc-protected {
opacity: 0.75;
Expand All @@ -45,6 +53,14 @@
[data-theme="dark"] .hdoc-protected::after {
background: #242424;
}
/* Also style member variable descriptions */
dt.hdoc-protected + dd {
opacity: 0.75;
}
dt.hdoc-protected:hover + dd,
dt.hdoc-protected + dd:hover {
opacity: 1;
}

.hdoc-detail {
opacity: 0.5;
Expand Down

0 comments on commit 02522e6

Please sign in to comment.