From 9fbebfa43c1f682d3c5bc22e185c406d53a753cf Mon Sep 17 00:00:00 2001 From: Vladyslav Korzun Date: Sun, 13 Apr 2025 21:03:24 +0000 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=B3=D1=80=D1=83=D0=B7=D0=B8?= =?UTF-8?q?=D1=82=D1=8C=20=D1=84=D0=B0=D0=B9=D0=BB=D1=8B=20=D0=B2=20=C2=AB?= =?UTF-8?q?sk1/static=C2=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sk1/static/styles.css | 133 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 sk1/static/styles.css diff --git a/sk1/static/styles.css b/sk1/static/styles.css new file mode 100644 index 0000000..4a3fa51 --- /dev/null +++ b/sk1/static/styles.css @@ -0,0 +1,133 @@ +body { + font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; + background-color: #f0f4f8; + color: #333; + text-align: center; + background-image: linear-gradient(to bottom right, #ffffff, #e3f2fd); +} + +.container { + width: 60%; + max-width: 700px; + margin: 40px auto; + background: #ffffff; + padding: 30px; + border-radius: 12px; + box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); + transition: box-shadow 0.3s ease; +} + +.container:hover { + box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); +} + +h1, +h2 { + margin-bottom: 15px; + color: #444; +} + +ul { + list-style: none; + padding: 0; +} + +li { + display: flex; + align-items: center; + justify-content: space-between; + padding: 12px; + background: #fafafa; + margin: 8px 0; + border-radius: 8px; + border: 1px solid #e0e0e0; + transition: transform 0.2s ease, background-color 0.3s ease; +} + +li:hover { + transform: scale(1.02); + background-color: #f0f8ff; +} + +.avatar { + width: 40px; + height: 40px; + border-radius: 50%; + margin-right: 15px; +} + +.user-info { + flex-grow: 1; + text-align: left; +} + +button { + background-color: #4CAF50; + color: white; + border: none; + padding: 6px 12px; + cursor: pointer; + border-radius: 6px; + transition: background-color 0.3s ease, transform 0.2s ease; +} + +button:hover { + background-color: #45a049; + transform: translateY(-2px); +} + +button.delete-btn { + background-color: #f44336; +} + +button.delete-btn:hover { + background-color: #e53935; +} + +input[type="text"] { + padding: 8px; + border-radius: 6px; + border: 1px solid #ccc; + margin-right: 10px; + width: 70%; + max-width: 300px; + box-sizing: border-box; + transition: border-color 0.3s ease; +} + +input[type="text"]:focus { + border-color: #4CAF50; + outline: none; + box-shadow: 0 0 8px rgba(72, 239, 128, 0.5); +} + +.random-btn { + margin-top: 15px; + background-color: #2196F3; +} + +.random-btn:hover { + background-color: #1976D2; +} + +.random-user-card { + display: inline-block; + padding: 10px; + margin-top: 15px; + background-color: #fff; + border-radius: 10px; + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); + animation: fade-in 0.5s ease; +} + +@keyframes fade-in { + from { + opacity: 0; + transform: translateY(20px); + } + + to { + opacity: 1; + transform: translateY(0); + } +} \ No newline at end of file