#grid{ position:absolute; display: flex; justify-content: center; flex-wrap: wrap; margin: none; border: none; width: 100%; left:1.5%; font-family: Arial, Helvetica, sans-serif; font-style: rgb(10, 22, 44); user-select: none; } #items{ text-align: center; background-color: rgba(255, 255, 255, 0.4); color: black; font-size: 200%; border-radius: 12px; backdrop-filter: blur(4px); margin: 1%; font-family: Arial, Helvetica, sans-serif; font-style: rgb(10, 22, 44); user-select: none; width: 80%; height: 5vw; transition: 0.3s; } img{ border-radius: 12px; width:80%; height: 80%; margin: none; padding: none; overflow:hidden; background-position: center; background-repeat: no-repeat; -webkit-background-size:cover; -moz-background-size:cover; background-size:cover; cursor: hand; transition: 0.5s; } #icon{ border-radius: 12%; width: 6%; height: 6%; overflow:hidden; cursor: hand; transition: 0.5s; } #items:hover{ box-shadow: 0px 0px 10px rgb(106, 104, 104); } img:hover{ box-shadow: 0px 0px 10px rgb(106, 104, 104); } p,h5:hover{ cursor: hand; } input{ text-align: left; margin-left: 2%; font-size: 200%; width: 96%; background-color: #00000000; border: none; border-bottom: 2px solid black; outline: none; } #detail_window{ position: absolute; text-align: center; /* 垂直居中 */ top: 0; bottom: 0; height: 100%; /* 水平居中 */ left: 0%; right: 0%; width: 100%; margin: auto; user-select: none; background-color: rgba(239, 230, 230, 0.5); border: 0px; backdrop-filter: blur(20px); } #overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(109, 103, 103, 0.6); backdrop-filter: blur(4px); z-index: 100000; } body{ height: 100%; width: 99%; z-index: 1; } /* Hide scrollbar when not needed */ body::-webkit-scrollbar { width: 0.5em; } body::-webkit-scrollbar-thumb { width: 0.5em; background: #00000000; border-radius: 0.25em; } #search_window{ width: 100%; height: 100%; border: none; } #closebutton{ position: absolute; text-align: center; transform: scale(1.6); top: 2%; height: 3%; margin-left: 95%; width: 2.2%; font-size: 80%; user-select: none; border: 0px; border-radius: 12px; box-shadow: 0px 0px 16px rgb(142, 142, 142); } #closebutton:hover{ background-color: red; }