From 9f5a4021482c3732635bb410e042b3e8df88f552 Mon Sep 17 00:00:00 2001 From: HouTeng Chan <ht-chen21@mails.tsinghua.edu.cn> Date: Fri, 26 Jul 2024 04:21:16 +0000 Subject: [PATCH] Update 2 files - /wiki/pages/contribution.html - /wiki/layout.html --- wiki/layout.html | 27 +++++++++++++++++++ wiki/pages/contribution.html | 52 +----------------------------------- 2 files changed, 28 insertions(+), 51 deletions(-) diff --git a/wiki/layout.html b/wiki/layout.html index 707434cc..47df6239 100644 --- a/wiki/layout.html +++ b/wiki/layout.html @@ -73,6 +73,33 @@ border-radius: 20px; } + .progress-container { + position: fixed; + left: 20px; + bottom: 80px; + width: 60px; + height: 60px; + z-index: 1000; + } + + .progress-bar-circle { + transform: rotate(-90deg); + } + .progress-circle { + stroke: hsl(17, 100%, 50%); + stroke-linecap: round; + transition: stroke-dashoffset 0.3s; + } + .progress-text { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + font-size: 12px; + font-weight: bold; + color: hsl(17, 100%, 50%); + } + .team-logo { position: fixed; left: 8px; diff --git a/wiki/pages/contribution.html b/wiki/pages/contribution.html index 35ce4573..9d369891 100644 --- a/wiki/pages/contribution.html +++ b/wiki/pages/contribution.html @@ -16,31 +16,7 @@ max-width: 800px; margin: 0 auto; } - .sidebar { - position: fixed; - left: 0; - top: 280px; - width: 160px; - height: 40%; - background-color: #ffffff; - padding: 20px; - box-shadow: 2px 0 5px rgba(0,0,0,0.1); - border-radius: 20px; - } - .sidebar ul { - list-style: none; - padding: 0; - } - .sidebar ul li a { - display: block; - padding: 10px; - color: hsl(17, 100%, 50%); - text-decoration: none; - } - .sidebar ul li a:hover { - background-color: #e9ecef; - border-radius: 20px; - } + h2 { scroll-margin-top: 60px; } @@ -48,32 +24,6 @@ margin-left: 130px; } - .progress-container { - position: fixed; - left: 20px; - bottom: 80px; - width: 60px; - height: 60px; - z-index: 1000; - } - - .progress-bar-circle { - transform: rotate(-90deg); - } - .progress-circle { - stroke: hsl(17, 100%, 50%); - stroke-linecap: round; - transition: stroke-dashoffset 0.3s; - } - .progress-text { - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - font-size: 12px; - font-weight: bold; - color: hsl(17, 100%, 50%); - } </style> </head> -- GitLab