mylloon.fr/static/css/web3.css

121 lines
1.7 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 {
2023-08-14 19:38:37 +02:00
color: rgb(195, 86, 155);
2023-04-14 20:10:20 +02:00
font-size: 100%;
}
2023-04-14 20:02:04 +02:00
img {
vertical-align: middle;
}
footer {
text-align: center;
}
2023-08-14 19:37:11 +02:00
/* Cookie banner */
#cookie .cookie-flag {
display: none;
}
#cookie .cookie-container {
display: block;
pointer-events: none;
position: relative;
}
#cookie .cookie-content {
border: 1px solid white;
2023-10-15 21:35:56 +02:00
background: slategray;
2023-08-14 19:37:11 +02:00
display: flex;
}
#cookie .cookie-flag:checked ~ .cookie-close,
#cookie .cookie-flag:checked ~ .cookie-content {
display: none;
}
#cookie .cookie-close {
pointer-events: all;
position: absolute;
top: 1rem;
right: 1rem;
font-size: 32px;
cursor: pointer;
}
#cookie-icon {
font-size: 40px;
margin: 1%;
margin-top: 3rem;
}