mylloon.fr/static/css/web3.css

84 lines
1.1 KiB
CSS
Raw Normal View History

2023-04-24 15:43:00 +02:00
:root {
--anim-type: cubic-bezier(0.46, 0.03, 0.52, 0.96) infinite normal none running; /* Quadratic */
}
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-24 15:43:00 +02:00
animation: 8s var(--anim-type) marquee;
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-24 15:43:00 +02:00
transform: translateX(-150%);
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-24 15:43:00 +02:00
animation: 9s var(--anim-type) marquee_min;
2023-04-14 17:57:10 +02:00
}
2023-04-24 15:43:00 +02:00
@keyframes marquee_min {
2023-04-14 17:57:10 +02:00
from {
transform: translateX(100%);
}
to {
2023-04-24 15:43:00 +02:00
transform: translateX(-320%);
2023-04-14 17:57:10 +02:00
}
}
}
2023-04-14 20:02:04 +02:00
h1 {
font-size: 250%;
}
2023-04-15 22:04:46 +02:00
.pre {
font-family: monospace;
}
2023-04-14 20:02:04 +02:00
p,
a {
font-size: 125%;
}
a {
color: rgb(147, 107, 255);
}
2023-04-14 20:10:20 +02:00
li > a {
color: mediumvioletred;
font-size: 100%;
}
2023-04-14 20:02:04 +02:00
img {
vertical-align: middle;
}
footer {
text-align: center;
}