diff --git a/style.css b/style.css index 30b3e54..1a0ee67 100644 --- a/style.css +++ b/style.css @@ -42,23 +42,24 @@ body { .link { position: relative; font-family: var(--font); - color: var(--bgColor); - background-color: var(--accentColor); + background-color: transparent; + color: var(--accentColor); border: solid var(--accentColor) 2px; border-radius: 10px; font-size: 1rem; - font-weight: bold; text-align: center; display: block; - margin-bottom: 20px; - padding: 17px; + margin-bottom: 10px; + padding: 10px; /* 17px */ text-decoration: none; - transition: all .25s cubic-bezier(.08, .59, .29, .99); + /* transition: all .25s cubic-bezier(.08, .59, .29, .99); */ } -.link:hover { - background-color: transparent; - color: var(--accentColor); +@media (hover: hover) { + .link:hover { + background-color: var(--accentColor); + color: var(--bgColor); + } } #profileQuote {