From cd90aa0e068f8818fed67c81b1c8e4bfb653096b Mon Sep 17 00:00:00 2001 From: masterpmi Date: Thu, 23 Jul 2026 14:44:30 +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 | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/static/css/custom.css b/static/css/custom.css index e73c167..5da60a8 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -1,30 +1,6 @@ -body { - background: #f5f7fa; - position: relative; - overflow-x: hidden; -} - 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='400' height='400' viewBox='0 0 400 400'%3E%3Cdefs%3E%3Cstyle%3E.f%7Bfont-family:serif;font-size:18px;fill:%23003366;opacity:0.1%7D%3C/style%3E%3C/defs%3E%3Ctext x='20' y='40' class='f'%3E∫%3C/text%3E%3Ctext x='200' y='100' class='f'%3E∑%3C/text%3E%3Ctext x='80' y='180' class='f'%3E∂%3C/text%3E%3Ctext x='300' y='250' class='f'%3E∇%3C/text%3E%3Ctext x='150' y='320' class='f'%3E∞%3C/text%3E%3CanimateTransform attributeName='transform' type='translate' values='0,0; 10,10; 0,0' dur='20s' repeatCount='indefinite'/%3E%3C/svg%3E"); - background-size: 400px 400px; - animation: bgScroll 60s linear infinite; -} - -@keyframes bgScroll { - from { background-position: 0 0; } - to { background-position: 400px 400px; } -} - -header, main, footer { - position: relative; - z-index: 1; + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M0 0 L60 60 M60 0 L0 60' stroke='%23003366' stroke-width='0.5' opacity='0.05'/%3E%3C/svg%3E"); + background-size: 60px 60px; } /* Ограничение максимального размера всех изображений */