diff --git a/src/css/custom.css b/src/css/custom.css index 9ab33cb35c17ececc61402391c6d08e853b2f6cf..39f4da8b8c528dc62d278686b0ebff4c63fe0106 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -224,6 +224,10 @@ html[data-theme='dark'] .footer__copyright { color: var(--ifm-color-tonic-three); } +.menu__link--active:not(.menu__link--sublist):hover { + background-color: var(--ifm-color-frame); +} + /******* Dark theme ********/ /* html[data-theme='dark'] a { color: var(--ifm-color-frame); @@ -235,4 +239,29 @@ html[data-theme='dark'] .footer__copyright { html[data-theme='dark'] .menu__link--active:hover { color: var(--ifm-color-frame); -} \ No newline at end of file + transition: 0.3s; +} + +html[data-theme='dark'] .menu__link--active:not(.menu__link--sublist) { + color: var(--ifm-color-tonic-one) !important; + font-weight: bolder; +} + +html[data-theme='dark'] .menu__link--active:not(.menu__link--sublist):hover { + background-color: var(--ifm-color-tonic-one); + color: var(--ifm-color-frame) !important; + font-weight: bolder; + transition: 0.3s; +} + +html[data-theme='dark'] a:hover { + font-weight: bolder; + color: var(--ifm-color-frame); + text-decoration: none; + transition: 0.3s; +} + +/*********** page FAQ ***********/ +html[data-theme='dark'] .table-of-contents__link:hover code, .table-of-contents__link--active, .table-of-contents__link--active code { + color: var(--ifm-color-frame); +} diff --git a/src/pages/dummy_page.md b/src/pages/dummy_page.md index f7e7dbd60513143b97e505e531402853bc570732..b1dd4278e9815aa758d909333de6e7799a33f736 100644 --- a/src/pages/dummy_page.md +++ b/src/pages/dummy_page.md @@ -6,3 +6,11 @@ description: "page factice" # Page factice Page factice penser à créer une vraie page ! + +``` +.footer__bottom { + font-family: var(--ifm-font-family); + font-weight: 600; +} + +``` \ No newline at end of file