From 94852977acf17d61aaa7e1be5f597b5117318f52 Mon Sep 17 00:00:00 2001 From: Pratik Mane <153143167+PratikMane0112@users.noreply.github.com> Date: Sat, 1 Jun 2024 13:56:28 +0530 Subject: [PATCH] Create error.css --- src/styles/error.css | 70 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 src/styles/error.css diff --git a/src/styles/error.css b/src/styles/error.css new file mode 100644 index 0000000..3041f08 --- /dev/null +++ b/src/styles/error.css @@ -0,0 +1,70 @@ + + .not-found-container { + display: flex; + justify-content: center; + margin-top: -3.2rem; + align-items: center; + height: 95vh; + background-size: cover; + background-position: center; + text-align: center; + color: white; + } + + .error-image { + max-width: 100%; + height: 375px; + margin-bottom: 20px; + } + + .content { + border-radius: 10px; + } + + .content-text { + font-size: 2rem; + margin-bottom: 70px; + } + + .home-button { + border: none; + outline: none; + padding: 15px 20px; + color: #fff; + background: var(--primary-color); + border-radius: 5px; + font-family: var(--font-name); + font-size: 1.0rem; + font-weight: 500; + cursor: pointer; + transition: all 0.5s ease-in-out; + } + + .home-button:hover { + box-shadow: 0.3rem 0.3rem #5844c1, -0.3rem -0.3rem #8b76f4; + color: white; + } + + /* Light mode styles */ + .light-mode-app .content { + color: #000; + } + + /* Dark mode styles */ + .dark-mode-app .content { + color: #fff; + } + + @media (max-width: 768px) { + .content { + width: 90%; + padding: 15px; + } + + .home-button { + font-size: 1rem; + padding: 8px 16px; + } + } + +