diff --git a/assets/scripts/features/darkmode/index.js b/assets/scripts/features/darkmode/index.js index 74ac8e0..5d8443e 100644 --- a/assets/scripts/features/darkmode/index.js +++ b/assets/scripts/features/darkmode/index.js @@ -67,4 +67,4 @@ function setImages(newScheme) { if (dark !== null) dark.style.display = 'none' } } -} \ No newline at end of file +} diff --git a/assets/scripts/features/theme/index.js b/assets/scripts/features/theme/index.js index 3d7ae08..f845e9d 100644 --- a/assets/scripts/features/theme/index.js +++ b/assets/scripts/features/theme/index.js @@ -85,4 +85,4 @@ function setImages(newScheme) { if (dark !== null) dark.style.display = 'none' } } -} \ No newline at end of file +} diff --git a/assets/styles/components/images.scss b/assets/styles/components/images.scss index 146ea8b..8a35409 100644 --- a/assets/styles/components/images.scss +++ b/assets/styles/components/images.scss @@ -55,4 +55,22 @@ html[data-theme='dark'] { .company-logo { max-height: 100%; width: auto; -} \ No newline at end of file +} + +.light-logo { + display: inline; +} + +.dark-logo { + display: none; +} + +html[data-theme='dark'] { + .light-logo { + display: none; + } + + .dark-logo { + display: inline; + } +} diff --git a/assets/styles/sections/publications.scss b/assets/styles/sections/publications.scss index ae76079..e666b3a 100644 --- a/assets/styles/sections/publications.scss +++ b/assets/styles/sections/publications.scss @@ -24,6 +24,14 @@ float: right !important; } } + + a[href] { + text-decoration: underline; /* Underline only when href is present */ + } + + a:not([href]) { + text-decoration: none; /* No underline when href is absent */ + } } .card-body { diff --git a/layouts/partials/cards/publication.html b/layouts/partials/cards/publication.html index 2c238e1..6bf3b89 100644 --- a/layouts/partials/cards/publication.html +++ b/layouts/partials/cards/publication.html @@ -11,12 +11,22 @@