Skip to content

Commit

Permalink
Update styles.module.css
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 authored Jan 3, 2024
1 parent c3e07e7 commit cf0e36f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions website/src/components/detailsToggle/styles.module.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
:local(.link) {
:local(.link) :local(.headerText) {
color: var(--ifm-link-color);
transition: background-color 0.3s; /* Smooth transition for background color */
text-decoration: none;
transition: text-decoration 0.3s; /* Smooth transition */
}

:local(.link:hover), :local(.link:focus) {
:local(.link:hover) :local(.headerText),
:local(.link:focus) :local(.headerText) {
text-decoration: underline;
cursor: pointer;
}
Expand All @@ -12,6 +14,7 @@
font-size: 0.8em;
color: #666;
margin-left: 10px; /* Adjust as needed */
text-decoration: none;
}

:local(.toggle) {
Expand Down

0 comments on commit cf0e36f

Please sign in to comment.