From: CrawKatt Date: Wed, 8 Mar 2023 21:32:31 +0000 (-0300) Subject: resolviendo conflicto para rebase X-Git-Url: https://git.josue.xyz/?p=salamandradevs.site%2F.git;a=commitdiff_plain;h=e563185a16498934aa0fb6f0bc148556612c4ad9 resolviendo conflicto para rebase --- diff --git a/.gitignore b/.gitignore index 7bfaec8..a25e312 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ \#*# public_html/ .hugo_build.lock +.idea/ \ No newline at end of file diff --git a/themes/droda/assets/css/main.css b/themes/droda/assets/css/main.css index b72fdf5..2bdc9c7 100644 --- a/themes/droda/assets/css/main.css +++ b/themes/droda/assets/css/main.css @@ -22,7 +22,6 @@ --bgColorMidDark: #353b43; --bgColorLightDark: #4f5864; --bgColorLight: #D2D2D2; - --navbarHoverColor: #111; --globalScale: 1; } @@ -119,6 +118,22 @@ nav ul { overflow: hidden; } +.hover { + --c:linear-gradient(#1482c8 0 0); /* update the color here */ + + padding-bottom: .15em; + background: var(--c), var(--c); + background-size: .3em .1em; + background-position:50% 100%; + background-repeat: no-repeat; + transition: .3s linear, background-size .3s .2s linear; +} + +.hover:hover { + background-size: 50% .1em; + background-position: 10% 100%, 90% 100%; +} + nav li { display: flex; align-items: center; @@ -132,10 +147,6 @@ nav a { padding: 1rem 1.5rem; text-decoration: none; } - -nav li:hover { - background-color: var(--navbarHoverColor); -} main { grid-area: main; diff --git a/themes/droda/layouts/partials/navbar.html b/themes/droda/layouts/partials/navbar.html index c59a444..3d6dc41 100644 --- a/themes/droda/layouts/partials/navbar.html +++ b/themes/droda/layouts/partials/navbar.html @@ -2,10 +2,10 @@