Mercurial
diff mrjunejune/src/tools/index.css @ 84:bcc76a156aea
Updated to be called src instead of pages.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Thu, 01 Jan 2026 13:01:10 -0800 |
| parents | mrjunejune/pages/tools/index.css@d55157451947 |
| children | 3bdfffaad162 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mrjunejune/src/tools/index.css Thu Jan 01 13:01:10 2026 -0800 @@ -0,0 +1,55 @@ +.title { + color: var(--darkgray); +} + +.nav-list { + list-style: none; + padding: 0; +} + +.nav-list li { + display: flex; + align-items: center; + margin-bottom: 20px; + cursor: pointer; + group; +} + +/* The Mini Sphere */ +.sphere { + width: 12px; + height: 12px; + border-radius: 50%; + margin-right: 15px; + background: var(--darkgray); + box-shadow: 0 0 10px rgba(68, 136, 255, 0.5); + transition: all 0.3s ease; + opacity: 0.5; /* Dim when not active */ +} + +/* The Text */ +.nav-list a { + color: var(--darkgray); + text-decoration: none; + font-size: 1.2rem; + transition: color 0.3s ease; +} + +/* Hover Effects */ +.nav-list li:hover .sphere { + opacity: 1; + transform: scale(1.5); + box-shadow: 0 0 20px var(--awesome); + animation: pulse 1.5s infinite; /* Only pulses on hover */ +} + +.nav-list li:hover a { + color: var(--awesome); +} + +/* Simple pulse animation for the list version */ +@keyframes pulse { + 0% { box-shadow: 0 0 0 0 rgba(68, 136, 255, 0.7); } + 70% { box-shadow: 0 0 0 10px rgba(68, 136, 255, 0); } + 100% { box-shadow: 0 0 0 0 rgba(68, 136, 255, 0); } +}