diff --git a/public/assets/css/shell.css b/public/assets/css/shell.css index 578dfaa..15239ba 100644 --- a/public/assets/css/shell.css +++ b/public/assets/css/shell.css @@ -473,22 +473,32 @@ search-results .info :is(svg, img) { @media (min-width: 900px) { header { .buttons { - gap: 10px; - width: 100%; - display: grid; + display: flex; white-space: nowrap; align-items: center; grid-template-columns: repeat(3, 100px); button { - transition: 100ms border; - border: dashed 1px rgba(255, 255, 255, .3); - padding: 13px var(--padding); - border-radius: 6px; + display: flex; + border-left: unset; - &:hover { - border-color: var(--color-accent); - background-color: transparent; + div { + width: 4px; + height: 2em; + transform: rotate(20deg); + transition: + 200ms background-position ease, + 500ms box-shadow ease + ; + background: linear-gradient( + 0deg, + rgb(var(--primer-color-accent)) 0%, + rgb(var(--primer-color-accent)) 50%, + rgba(255, 255, 255, .3) 50%, + rgba(255, 255, 255, .3) 100% + ); + background-size: 100% 200%; + background-position: 0% 0%; } :is( @@ -496,9 +506,30 @@ search-results .info :is(svg, img) { [vv-page="/about"] a[href="/about"], [vv-page="/contact"] a[href="/contact"] ) & { - color: var(--color-accent); - border-style: solid; - border-color: var(--color-accent); + background-color: transparent; + + div { + background-position: 0% 100%; + box-shadow: 0 0 10px 0 var(--color-accent); + } + + p { + color: white; + } + } + + @media (hover: hover) { + &:hover { + background-color: transparent; + + div { + background-position: 0% 100%; + } + + p { + color: white; + } + } } } } diff --git a/public/shell.php b/public/shell.php index a8eed79..4b6fd24 100644 --- a/public/shell.php +++ b/public/shell.php @@ -48,9 +48,18 @@