mirror of
https://git.cant.at/Madeorsk/PollVerlaine
synced 2024-11-23 00:34:32 +01:00
59 lines
911 B
CSS
59 lines
911 B
CSS
|
main.results
|
||
|
{
|
||
|
display: flex;
|
||
|
flex-direction: row;
|
||
|
justify-content: center;
|
||
|
}
|
||
|
main.results > *
|
||
|
{ flex: 1; }
|
||
|
|
||
|
main.results .chart
|
||
|
{ flex: 2; max-height: 70vh; }
|
||
|
main.results .chart > svg
|
||
|
{ display: block; margin: auto; height: 100%; }
|
||
|
|
||
|
main.results .options table
|
||
|
{
|
||
|
margin: 0;
|
||
|
padding: 0 3em;
|
||
|
box-sizing: border-box;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
font-size: 1.5em;
|
||
|
}
|
||
|
main.results .options table td
|
||
|
{
|
||
|
padding: 0 1em;
|
||
|
text-align: right;
|
||
|
}
|
||
|
main.results .options .number
|
||
|
{
|
||
|
font-family: "PT Serif", serif;
|
||
|
font-size: 2em;
|
||
|
}
|
||
|
|
||
|
@media screen and (max-width: 640px)
|
||
|
{
|
||
|
main.results
|
||
|
{
|
||
|
flex-direction: column;
|
||
|
align-items: center;
|
||
|
margin: auto;
|
||
|
width: 95%;
|
||
|
}
|
||
|
|
||
|
main.results .options table
|
||
|
{
|
||
|
padding: 0;
|
||
|
width: 100%;
|
||
|
font-size: 1.2em;
|
||
|
}
|
||
|
main.results .options table td
|
||
|
{ padding: 0 0.5em; }
|
||
|
|
||
|
main.results .chart
|
||
|
{
|
||
|
margin-top: 2em;
|
||
|
width: 80%;
|
||
|
}
|
||
|
}
|