From 35fb6bbcac5c23522d69794bc1d6aefe50b2e4ac Mon Sep 17 00:00:00 2001 From: masterpmi Date: Thu, 23 Jul 2026 15:34:06 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20static/css/custom.css?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/css/custom.css | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/static/css/custom.css b/static/css/custom.css index fcb833d..3877d7a 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -1,11 +1,43 @@ -body { +/* body { background-image: url('/static/images/bg-phys.svg'); background-repeat: repeat; background-size: 800px 600px; background-attachment: fixed; +}*/ + +body { + margin: 0; + padding: 0; + background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%); + position: relative; + min-height: 100vh; } +body::before { + content: ''; + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: -1; + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M0 0 L100 100 M100 0 L0 100' stroke='%23003366' stroke-width='0.5' opacity='0.08'/%3E%3Ccircle cx='50' cy='50' r='2' fill='%23003366' opacity='0.1'/%3E%3C/svg%3E"); + background-size: 100px 100px; +} +header { + background: rgba(255, 255, 255, 0.95); + backdrop-filter: blur(10px); + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); +} + +main { + background: rgba(255, 255, 255, 0.9); + padding: 30px; + border-radius: 8px; + box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); + margin: 20px 0; +} /* Ограничение максимального размера всех изображений */