From f4d6bf10b72ee6d8d2352e1fd1855e977c6063f8 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Mon, 17 Jun 2024 14:24:25 +0300 Subject: [PATCH] A lil bit of design --- src/app/static/style.css | 37 ++++++++++++++++++++++++++++++++----- 1 file changed, 32 insertions(+), 5 deletions(-) diff --git a/src/app/static/style.css b/src/app/static/style.css index 3b53d98..88201bf 100644 --- a/src/app/static/style.css +++ b/src/app/static/style.css @@ -4,15 +4,15 @@ body { display: flex; justify-content: center; align-items: center; - height: 100vh; + height: 90vh; margin: 0; } .container { background-color: #fff; - padding: 20px; - border-radius: 10px; - box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); + padding: 50px; + border-radius: 50px; + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); text-align: center; max-width: 600px; width: 100%; @@ -50,7 +50,7 @@ button { font-size: 1em; color: #fff; border: none; - border-radius: 5px; + border-radius: 50px; cursor: pointer; margin: 5px; background-color: blue; @@ -76,6 +76,33 @@ pre { overflow-x: auto; } +/* styles.css */ +.error-message-get-details { + color: #fff; + background-color: #e74c3c; + padding: 20px; + border-radius: 40px; + margin: 20px 0; + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); + font-size: 18px; + text-align: center; + animation: fadeIn 0.5s ease-in-out; +} + +.error-message-get-details strong { + font-weight: bold; +} + +@keyframes fadeIn { + from { + opacity: 0; + transform: translateY(-10px); + } + to { + opacity: 1; + transform: translateY(0); + } +} /* #markdown-content { height: 100%;