File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 font-weight : 500 ;
99}
1010
11- a :hover {
12- font-weight : bold ;
11+ .navbar-nav .nav-link :hover {
12+ border-bottom-color : #0056b3 ;
13+ background-color : #f0f0f0 ;
14+ }
15+
16+ @if $enable-dark-mode {
17+ @include color-mode (dark ) {
18+ .navbar-nav .nav-link :hover {
19+ border-bottom-color : #66b2ff ;
20+ background-color : #333333 ;
21+ }
22+ }
23+ }
24+
25+ p a ,li a {
26+ text-decoration : none ;
27+ border-bottom : 2px solid transparent ; /* Reserve space to prevent jumping */
28+ transition : border-color 0.3s ;
29+ font-weight : 500 ;
30+ }
31+ p a :hover ,li a :hover {
32+ border-bottom-color : #0056b3 ;
33+ background-color : #f0f0f0 ;
34+ }
35+
36+ @if $enable-dark-mode {
37+ @include color-mode (dark ) {
38+ p a :hover ,li a :hover {
39+ border-bottom-color : #66b2ff ;
40+ background-color : #333333 ;
41+ }
42+ }
43+ }
44+
45+ .toc a {
46+ text-decoration : none ;
47+ border-bottom : 2px solid transparent ; /* Reserve space to prevent jumping */
48+ transition : border-color 0.3s ;
49+ font-weight : 500 ;
50+ }
51+ .toc a :hover {
52+ border-bottom-color : #0056b3 ;
53+ background-color : #f0f0f0 ;
54+ }
55+
56+ @if $enable-dark-mode {
57+ @include color-mode (dark ) {
58+ .toc a :hover {
59+ border-bottom-color : #66b2ff ;
60+ background-color : #333333 ;
61+ }
62+ }
1363}
1464
1565.fade-out-text {
You can’t perform that action at this time.
0 commit comments