diff --git a/static/css/custom.css b/static/css/custom.css index a250092..fcb833d 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -1,26 +1,8 @@ body { - background-color: #f5f7fa; - position: relative; -} - -body::before { - content: ''; - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: -1; - opacity: 0.15; - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='400' viewBox='0 0 600 400'%3E%3Ctext x='50' y='60' font-family='serif' font-size='20' fill='%23003366'%3E∫₀^∞ e^(-x²) dx%3C/text%3E%3Ctext x='350' y='120' font-family='serif' font-size='20' fill='%23003366'%3E∇²ψ + k²ψ = 0%3C/text%3E%3Ctext x='100' y='200' font-family='serif' font-size='20' fill='%23003366'%3EE = mc²%3C/text%3E%3Ctext x='400' y='280' font-family='serif' font-size='20' fill='%23003366'%3E∂u/∂t = α∇²u%3C/text%3E%3Ctext x='200' y='350' font-family='serif' font-size='20' fill='%23003366'%3EΣ aₙxⁿ%3C/text%3E%3Ccircle cx='500' cy='80' r='30' fill='none' stroke='%23003366' stroke-width='1.5'/%3E%3C/svg%3E"); + background-image: url('/static/images/bg-phys.svg'); background-repeat: repeat; - background-size: 600px 400px; -} - -/* Убедимся, что контент читается */ -header, main, footer { - position: relative; - z-index: 1; + background-size: 800px 600px; + background-attachment: fixed; }