some redesign moments

design
serr 2025-05-09 20:13:52 +03:00
parent 9f376fbca5
commit 9726b272fd
1 changed files with 25 additions and 3 deletions

View File

@ -38,9 +38,31 @@ div {
h1 {
text-align: center;
box-sizing: border-box;
border-top: 1px solid;
border-bottom: 1px solid;
padding: 30px;
position: relative;
}
h1::before, h1::after {
content: "";
position: absolute;
left: 0;
right: 0;
height: 10px;
background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 10" xmlns="http://www.w3.org/2000/svg"><path d="M0,5 Q25,10 50,5 T100,5" fill="none" stroke="%236a8498" stroke-width="2"/></svg>');
}
h1::before { top: 0; }
h1::after { bottom: 0; }
@keyframes wave {
from { background-position-x: 0; }
to { background-position-x: 100px; }
}
a {
background-color: #cdae98;
color: black;
text-decoration: none;
}
pre {