/* Декоративные разделители с короткими штрихами */ #mb-portfolio .mb-project { position: relative; } #mb-portfolio .mb-project:not(:first-child)::before { content: ""; position: absolute; top: -59px; left: 50%; transform: translateX(-50%); width: 92px; height: 12px; background: linear-gradient(var(--gold), var(--gold)) center / 42px 1px no-repeat, linear-gradient(var(--wine), var(--wine)) left center / 18px 1px no-repeat, linear-gradient(var(--wine), var(--wine)) right center / 18px 1px no-repeat; } #mb-portfolio .mb-dark .mb-project:not(:first-child)::before { background: linear-gradient(var(--gold), var(--gold)) center / 42px 1px no-repeat, linear-gradient(var(--cream), var(--cream)) left center / 18px 1px no-repeat, linear-gradient(var(--cream), var(--cream)) right center / 18px 1px no-repeat; } #mb-portfolio .mb-project { border-top: 0; } #mb-portfolio .mb-project:not(:first-child) { margin-top: 58px; padding-top: 58px; }
Made on
Tilda