2026.camp.public.website/css/home.css

109 lines
1.8 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;
}
.participants {
display: flex;
justify-content: center;
align-items: center;
height: 200px;
}
/* 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;
color:black;
}