From 3f8583862abc70e18b65be13f3e12af9c324b16c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A0nh=20Nh=C3=A2n?= <60387689+NhanAZ@users.noreply.github.com> Date: Mon, 15 Jul 2024 20:21:39 +0700 Subject: [PATCH] Update alert again --- index.html | 64 ++++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 57 insertions(+), 7 deletions(-) diff --git a/index.html b/index.html index f6f1263..7c878da 100644 --- a/index.html +++ b/index.html @@ -180,15 +180,69 @@ #responsiveAlert { animation: fadeIn 0.5s ease-out; } + + #contributionAlert { + background-color: rgba(0, 123, 255, 0.1); + border: 1px solid rgba(0, 123, 255, 0.2); + color: #0056b3; + border-radius: 10px; + margin-bottom: 20px; + box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); + transition: all 0.3s ease; + } + + #contributionAlert:hover { + background-color: rgba(0, 123, 255, 0.15); + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); + } + + #contributionAlert .alert-link { + color: #004085; + font-weight: 600; + text-decoration: none; + transition: color 0.3s ease; + } + + #contributionAlert .github-link { + text-decoration: underline; + } + + #contributionAlert .alert-link:hover { + color: #0056b3; + } + + #contributionAlert svg { + color: #0056b3; + } + + @media (min-width: 768px) { + #responsiveAlert { + display: none !important; + } + }