From 2a546c33736d31c45e22a36388e1269bddffe1d3 Mon Sep 17 00:00:00 2001 From: Ember Date: Mon, 17 Jun 2024 02:03:54 +0800 Subject: [PATCH] qrcode fixed --- 404.html | 83 +++++++++++++--------------- categories/index.html | 83 +++++++++++++--------------- index.html | 83 +++++++++++++--------------- rapidlinks/快速链接/index.html | 83 +++++++++++++--------------- ratings/index.html | 83 +++++++++++++--------------- resources/c语言/index.html | 83 +++++++++++++--------------- resources/index.html | 83 +++++++++++++--------------- resources/page/2/index.html | 83 +++++++++++++--------------- resources/protocol/index.html | 83 +++++++++++++--------------- resources/大化/index.html | 83 +++++++++++++--------------- resources/大物活页/index.html | 83 +++++++++++++--------------- resources/孙子兵法/index.html | 83 +++++++++++++--------------- resources/工图习题/index.html | 83 +++++++++++++--------------- resources/数值分析/index.html | 83 +++++++++++++--------------- resources/新通用教师用书1/index.html | 83 +++++++++++++--------------- resources/概率论/index.html | 83 +++++++++++++--------------- resources/概率论习题/index.html | 83 +++++++++++++--------------- resources/毛概复习指南/index.html | 83 +++++++++++++--------------- resources/画法几何ppt/index.html | 83 +++++++++++++--------------- resources/线性代数/index.html | 83 +++++++++++++--------------- resources/食品安全/index.html | 83 +++++++++++++--------------- resources/高数/index.html | 83 +++++++++++++--------------- resources/高数习题/index.html | 83 +++++++++++++--------------- search/index.html | 83 +++++++++++++--------------- tags/index.html | 83 +++++++++++++--------------- 25 files changed, 950 insertions(+), 1125 deletions(-) diff --git a/404.html b/404.html index bdeecb4..6669dae 100644 --- a/404.html +++ b/404.html @@ -163,7 +163,6 @@ Ember @@ -177,50 +176,44 @@ + position: relative; + display: inline-block; + cursor: pointer; + } + + #qr-code { + position: absolute; + bottom: 100%; + left: 50%; + transform: translateX(-50%); + padding: 10px; + background-color: #fff; + border: 1px solid #ccc; + border-radius: 10px; + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); + width: 200px; + height: 200px; + display: flex; + justify-content: center; + align-items: center; + opacity: 0; + visibility: hidden; + transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out; + } + + #qr-code img { + max-width: 100%; + max-height: 100%; + border-radius: 10px; + } + + #ember-container:hover #qr-code, + #ember-container:focus #qr-code { + opacity: 1; + visibility: visible; + } + +