87 lines
1.4 KiB
CSS
87 lines
1.4 KiB
CSS
.leftBlock {
|
|
width: 40%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
height: fit-content;
|
|
}
|
|
|
|
.participationHeader {
|
|
display: flex;
|
|
align-items: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.partiText {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 2%;
|
|
margin-top: 2%;
|
|
animation: slideInEvent 2s;
|
|
}
|
|
|
|
.partiText label {
|
|
font-size: 20px;
|
|
text-align: right;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.chartContainer {
|
|
max-width: 80%;
|
|
margin: 0 auto;
|
|
position: relative;
|
|
animation: slideEvent2 2s;
|
|
}
|
|
|
|
.chartWrapper {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.chartPercentage {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
text-align: center;
|
|
transform: translate(-50%, -50%);
|
|
font-size: 60px;
|
|
font-weight: bold;
|
|
color: #333;
|
|
}
|
|
|
|
@keyframes slideEvent2 {
|
|
from { opacity: 0; transform: translateX(-20px); }
|
|
to { opacity: 1; transform: translateX(0); }
|
|
}
|
|
|
|
@keyframes slideInEvent {
|
|
from { opacity: 0; transform: translateX(20px); }
|
|
to { opacity: 1; transform: translateX(0); }
|
|
}
|
|
|
|
.formControl {
|
|
display: flex;
|
|
justify-content: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.formDesign {
|
|
margin: 0 auto;
|
|
width: fit-content;
|
|
}
|
|
|
|
@media screen and (max-width: 760px) {
|
|
.partiText {
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
.partiText label {
|
|
text-align: center;
|
|
}
|
|
}
|