mylloon.fr/static/css/web3.css

71 lines
903 B
CSS
Raw Normal View History

2023-04-14 20:02:04 +02:00
html {
background-image: url("../pics/bg-web3.gif");
background-repeat: revert;
color: white;
}
div#scroll-banner {
2023-04-14 17:57:10 +02:00
overflow: hidden;
2023-04-14 20:02:04 +02:00
border: 3px double white;
2023-04-14 17:57:10 +02:00
}
2023-04-14 20:02:04 +02:00
div#scroll-text {
2023-04-14 17:57:10 +02:00
text-align: right;
white-space: nowrap;
2023-04-14 20:02:04 +02:00
animation: marquee 8s linear infinite;
2023-04-14 17:57:10 +02:00
}
2023-04-14 20:02:04 +02:00
div#scroll-banner > div#scroll-text > * {
font-size: 200%;
margin: 0;
2023-04-14 17:57:10 +02:00
}
@keyframes marquee {
from {
2023-04-14 20:02:04 +02:00
transform: translateX(100%);
2023-04-14 17:57:10 +02:00
}
to {
2023-04-14 20:02:04 +02:00
transform: translateX(-140%);
2023-04-14 17:57:10 +02:00
}
}
@media only screen and (max-width: 850px) {
/* Mobile display */
2023-04-14 20:02:04 +02:00
div#scroll-text {
2023-04-14 17:57:10 +02:00
animation: marquee 9s linear infinite;
}
@keyframes marquee {
from {
transform: translateX(100%);
}
to {
transform: translateX(-210%);
}
}
}
2023-04-14 20:02:04 +02:00
h1 {
font-size: 250%;
}
p,
a {
font-size: 125%;
}
a {
color: rgb(147, 107, 255);
}
img {
vertical-align: middle;
}
footer {
text-align: center;
}