72 lines
964 B
CSS
72 lines
964 B
CSS
body {
|
|
text-align: center;
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
color: #419de6;
|
|
}
|
|
|
|
h1,
|
|
h4 {
|
|
padding: 0.5rem;
|
|
margin: 1.5rem auto;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
h4 {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
position: relative;
|
|
border-left: 1px solid #419de6;
|
|
border-right: 1px solid #419de6;
|
|
transition: 0.2s;
|
|
width: 75%;
|
|
font-size: x-large;
|
|
}
|
|
|
|
h4:hover {
|
|
width: 90%;
|
|
}
|
|
|
|
.bounce {
|
|
animation: marquee 10s linear infinite;
|
|
}
|
|
|
|
.bounce:hover {
|
|
animation-play-state: paused;
|
|
}
|
|
|
|
a,
|
|
a:visited,
|
|
a:active,
|
|
a:hover {
|
|
color: #419de6;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
@keyframes marquee {
|
|
0% {
|
|
transform: translateX(100vw);
|
|
}
|
|
|
|
100% {
|
|
transform: translateX(-100%);
|
|
}
|
|
}
|
|
|
|
button {
|
|
background-color: #419de6;
|
|
color: white;
|
|
border: none;
|
|
padding: 0.5rem 1rem;
|
|
font-size: large;
|
|
cursor: pointer;
|
|
border-radius: 5px;
|
|
transition: background-color 0.3s;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #2a7fba;
|
|
} |