From 0435e96067b7e8e8527708839ecf09f7998d17bf Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sun, 20 Apr 2025 13:28:11 -0400 Subject: 2025 home page refresh. --- index.shtml | 575 ++++++++++++++++++++++++------------------------------------ 1 file changed, 229 insertions(+), 346 deletions(-) (limited to 'index.shtml') diff --git a/index.shtml b/index.shtml index c39ec00..dafc5db 100644 --- a/index.shtml +++ b/index.shtml @@ -26,6 +26,36 @@ #msgform{width:50%;margin:auto;} @media (max-width:768px) {#msgform{width:auto;margin:1em;}} + div.projects-flex{ + display: flex; + flex-direction: row; + flex-wrap: wrap; + } + div.projects-flex .projects-item{ + flex: 1; + flex-basis: 40%; + align-self: flex-start; + margin: 0.5em; + padding: 1em; + } + div.projects-flex details{ + border: 1px solid var(--secondary-fg); + } + div.projects-flex details summary{ + transition: 0.3s ease background; + background-clip: content-box; + cursor: zoom-in; + } + div.projects-flex details summary:hover{ + background-color: color-mix(in oklab, var(--interactive-hover-bg) 30%, rgba(0, 0, 0, 0)); + } + div.projects-flex details[open] summary{ + background-color: unset !important; + border-bottom: 1px solid var(--principal-fg); + padding-bottom: 1em; + margin-bottom: 1em; + cursor: zoom-out; + }