#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%; margin-right: 4%; font-family: Arial, Helvetica, sans-serif; font-style: rgb(10, 22, 44); user-select: none; width: 95%; height: 5vw; transition: 0.3s; } img{ border-radius: 12px; width:40%; height: 40%; 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{ font-size: 80%; width: 100%; text-align: center; background-color: #00000000; border: none; outline: none; } input:focus{ border-bottom: 2px solid red; width: 80%; } #detail_window{ position: absolute; text-align: center; transform: scale(1.7); /* 垂直居中 */ top: 10%; bottom: 0; height: 50%; /* 水平居中 */ left: 0%; right: 0%; width: 57%; margin: auto; user-select: none; background-color: rgba(239, 230, 230, 0.5); border: 0px; border-radius: 12px; box-shadow: 0px 0px 16px rgb(70, 69, 69); 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: 10000; } body{ height: 100%; width: 99%; z-index: 1; align-items: center; overflow-x: hidden; } /* Hide scrollbar when not needed */ body::-webkit-scrollbar { width: 0.5em; } body::-webkit-scrollbar-thumb { width: 0.5em; background: linear-gradient(rgba(109, 103, 103, 0.6), #00000000); border-radius: 0.25em; } #closebutton{ position: absolute; text-align: center; transform: scale(1.4); top: 14%; height: 2.2%; 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; } button{ height: 32px; width: 300px; border: solid white 0px; background: linear-gradient(to right, rgb(26, 117, 172), rgb(26, 158, 144)); color: white; cursor: hand; box-shadow: 0px 0px 0px #424242; transition: 0.3s; border-radius: 5px; }