/* General Reset */ * { font-family: 'DejaVu Sans', 'Segoe UI', sans-serif; box-sizing: border-box; outline: none; background-color: transparent; } #background { width: 100vw; height: 100vh; overflow-y: auto; padding: 4rem 2rem; display: flex; flex-direction: column; align-items: center; background-color: rgba(32, 32, 32, 0.5); } #window { all: unset; background-color: transparent; display: flex; flex-direction: column; align-items: center; width: 100%; margin: 2em 15em 5em; } /* Outer-box is the app container grid */ #outer-box { border-radius: 60px; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 2rem; padding: 1rem; justify-items: center; width: 100%; box-sizing: border-box; } /* Search input styling */ #input { background-color: rgba(32, 32, 32, 0.6); color: #f2f2f2; border-bottom: 2px solid rgba(39, 37, 164, 1); padding: 0.8rem 1rem; font-size: 1rem; border-radius: 6px; text-align: center; outline: none; margin: 2em 25em 5em; } /* Entry styling */ #scroll #inner-box #entry { color: #fff; background-color: transparent; padding: 1rem; margin: 2em; margin-bottom: 6em; display: flex; flex-direction: column; align-items: center; text-align: center; transition: background-color 0.2s ease, transform 0.2s ease; } #window #outer-box #scroll #inner-box { background-color: transparent; } #entry:hover { background-color: transparent; transform: scale(1.3); } #entry:selected { border-bottom: 3px solid rgba(39, 37, 164, 1); border-bottom-left-radius: 0; border-bottom-right-radius: 0; } /* Icon inside entry */ #img { margin-right: 0.5rem; width: 64px; height: 64px; margin-bottom: 0.5rem; } /* Text below icon */ #text { margin-top: 1rem; margin-bottom: 0; font-size: 0.9rem; } /* Avoid hover highlight on rows outside entries */ #row:hover { background-color: transparent; outline: inherit; border-width: 0; }