Mercurial
diff mrjunejune/pages/tools/index.css @ 76:35b1abc37969
Updating my website to use seobeo library.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Wed, 31 Dec 2025 14:11:21 -0800 |
| parents | |
| children | d55157451947 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mrjunejune/pages/tools/index.css Wed Dec 31 14:11:21 2025 -0800 @@ -0,0 +1,63 @@ +body { + line-height: 1.6; + padding: 20px; + max-width: 1200px; + margin: 0 auto; + background: rgb(var(--gray-light)); +} + +.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); } +}