From d6ed1b8d4495cff22f3856cbc347270b1436c224 Mon Sep 17 00:00:00 2001 From: HouTeng Chan <ht-chen21@mails.tsinghua.edu.cn> Date: Mon, 30 Sep 2024 09:51:52 +0000 Subject: [PATCH] Update file footer.html --- wiki/footer.html | 31 +++++-------------------------- 1 file changed, 5 insertions(+), 26 deletions(-) diff --git a/wiki/footer.html b/wiki/footer.html index 5c74d2be..d54791b6 100644 --- a/wiki/footer.html +++ b/wiki/footer.html @@ -3,8 +3,8 @@ <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <link href="{{ url_for('static', filename = 'bootstrap.min.css') }}" rel="stylesheet"> - <link href="{{ url_for('static', filename = 'style.css') }}" rel="stylesheet"> + <link href="{{ url_for('static', filename = 'bootstrap.min.css') }}" rel="stylesheet"> + <link href="{{ url_for('static', filename = 'style.css') }}" rel="stylesheet"> <title>Footer</title> <style> .follow-us-wrapper { @@ -40,24 +40,6 @@ .social-column, .logo-column, .contact-column { flex: 0 0 auto; } - .wechat-container { - position: relative; - display: inline-block; - } - .wechat-qr { - display: none; - position: absolute; - bottom: 100%; - left: 50%; - transform: translateX(-50%); - padding: 10px; - background-color: white; - border-radius: 10px; - box-shadow: 0 0 10px rgba(0,0,0,0.1); - } - .wechat-container:hover .wechat-qr { - display: block; - } .logo-images { display: flex; justify-content: center; @@ -96,12 +78,9 @@ <a href="https://www.youtube.com/@igemtsinghua2024?si=nrNZ1XaRee_rAYYn"> <img class="follow-us" src="https://static.igem.wiki/teams/5187/unrelated-to-tech/icons8-youtube.svg" alt="Youtube"> </a> - <div class="wechat-container"> - <img class="follow-us" src="https://static.igem.wiki/teams/5187/unrelated-to-tech/wechat.png" alt="Wechat"> - <div class="wechat-qr"> - <img src="https://static.igem.wiki/teams/5187/unrelated-to-tech/wechat-code.png" alt="WeChat QR Code" width="250" height="250"> - </div> - </div> + <a href="https://static.igem.wiki/teams/5187/unrelated-to-tech/wechat-code.png" target="_blank"> + <img class="follow-us" src="https://static.igem.wiki/teams/5187/unrelated-to-tech/wechat.png" alt="WeChat"> + </a> <a href="https://b23.tv/xvsnyxK"> <img class="follow-us" src="https://static.igem.wiki/teams/5187/unrelated-to-tech/icons8-bilibili.svg" alt="BiliBili"> </a> -- GitLab