rust-tcp-server/public/style.css

61 lines
1.1 KiB
CSS

body {
margin: 0;
font-family: Arial, sans-serif;
}
.background {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
background: linear-gradient(to right, #f2f2f2, #eee);
animation: gradient 10s ease-in-out infinite alternate;
filter: blur(5px);
}
@keyframes gradient {
0% {
background: linear-gradient(to right, #f2f2f2, #eee);
}
50% {
background: linear-gradient(to right, #eee, #f7f7f7);
}
100% {
background: linear-gradient(to right, #f7f7f7, #f2f2f2);
}
}
.content {
position: relative;
max-width: 600px;
margin: 0 auto;
padding: 40px;
text-align: center;
color: #333;
}
h1 {
font-size: 3em;
margin-bottom: 20px;
}
p {
font-size: 1.2em;
line-height: 1.5;
}
button {
background-color: #4CAF50;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
border-radius: 5px;
}