2026.camp.public.website/css/home.css
nono-lqdn 6c6035f5aa
All checks were successful
/ build (push) Successful in 3m7s
Ajout d'un tampon sur la barre de progression
2026-05-31 13:23:23 +02:00

159 lines
3 KiB
CSS

.logo {
width: 100%;
height: 100%;
max-width: 7em ;
padding: 0.2em;
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
margin: 1em;
z-index: 2;
position: relative;
}
/* Section des participants */
.participants {
display: flex;
justify-content: center;
align-items: center;
height: 200px;
}
#participe > div.txt {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-evenly;
}
#participe p {
text-align: center;
}
/* Section des dons */
#don > div {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-evenly;
}
#don button {
flex-grow: 1;
width: 3em;
color: white;
font-size: 2em;
border: none;
font-family: MonTrappist;
margin: 0.2em;
padding: 0.3em;
background: var(--primary-bg-color);
background: linear-gradient(0deg,rgba(136, 0, 255, 1) 0%, rgba(255, 191, 62, 1) 50%, rgba(255, 78, 0, 1) 100%);
box-shadow: -5px 5px 0px var(--accent-yellow), -10px 10px 0px var(--accent-orange), -15px 15px 0px var(--accent-violet);
cursor: pointer;
}
#don > hr {
margin-top: 1em;
}
#don p {
text-align: justify;
text-align: center;
}
@keyframes bang {
from {
transform: translate3d(0,0,0);
opacity: 1;
}
}
.btn-pop i {
/* position: ; */
display:run-in;
left: 0px;
top: 0px;
width: 1px;
height: 1px;
background: red;
opacity: 0;
}
/* Barre de progression */
.progression {
animation: 3s loadbar;
width:auto;
background-color: white;
display: inline-block;
padding: 0.7em 0.5em 0.5em 0.5em;
text-wrap: nowrap;
}
@keyframes loadbar {
0% { width:0%; }
}
.bar {
width : 50%;
margin : auto;
border : 2px solid white;
display: inline-block;
}
.progression > span {
display: inline-block;
width: 100%;
font-family: MonTrappist;
font-size : 1.5em;
}
.lessthanhalf span {
padding-left: 100%;
color: white;
padding-left: calc(100% + 1em);
}
.morethanhalf {
text-align : end;
background: linear-gradient(90deg,rgba(136, 0, 255, 1) 0%, rgba(255, 78, 0, 1) 42%, rgba(255, 191, 62, 1) 100%);
}
.stamp {
overflow: hidden;
position: absolute;
top: 100px;
right: 300px;
padding: 10px 20px;
background-color: rgba(255, 0, 0, 0.4);
border: 2px dashed rgba(255, 0, 0, 0.8);
border-radius: 2px;
transform: rotate(10deg);
font-family: 'Courier New', Courier, monospace;
font-size: 1em;
font-weight: bold;
color: rgba(255, 0, 0, 0.9);
text-transform: uppercase;
z-index: 10;
text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.8);
opacity: 1;
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
background-image: linear-gradient(
135deg,
rgba(128, 0, 0, 0.1) 25%,
rgba(128, 0, 0, 0.4) 50%,
rgba(128, 0, 0, 0.1) 75%
);
background-size: 200% 200%;
animation: scan 3s ease infinite;
}
@keyframes scan {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}