45 lines
1.1 KiB
CSS
45 lines
1.1 KiB
CSS
html, body {
|
|
height: 100%;
|
|
}
|
|
body {
|
|
background-color: #fff;
|
|
background: radial-gradient(circle at center, #fff 0%, #f8f8f8 75%, #ebebeb 100%);
|
|
color: #222;
|
|
font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
|
|
font-size: 1rem;
|
|
line-height: 1.5;
|
|
margin: 0;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
main {
|
|
padding: 1rem;
|
|
text-align: center;
|
|
}
|
|
h1 {
|
|
font-size: 2.5rem;
|
|
line-height: 1.1;
|
|
margin: 0;
|
|
}
|
|
h1::after {
|
|
content: "";
|
|
display: block;
|
|
height: 0.5rem;
|
|
margin-top: 1rem;
|
|
background: repeating-linear-gradient(
|
|
45deg,
|
|
#ff8c00, /* Orange */
|
|
#ff8c00 1rem,
|
|
#222 1rem,
|
|
#222 2rem
|
|
);
|
|
background-size: 300% 100%; /* Makes animation smooth */
|
|
animation: moveStripes 3s linear infinite;
|
|
}
|
|
|
|
@keyframes moveStripes {
|
|
0% { background-position: 0 0; }
|
|
100% { background-position: -4rem 0; } /* Moves further to ensure smooth loop */
|
|
}
|