1
0
mirror of https://git.cant.at/Madeorsk/PollVerlaine synced 2024-11-23 23:44:31 +01:00
PollVerlaine/webroot/static/css/results.css
Madeorsk 73d932173a Moved index and static files in a webroot directory.
* Security improvement: index.php and static files are now in a webroot directory. The webserver should point to this directory instead of the one containing all the code and the configuration.
2019-02-24 13:50:50 +01:00

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%;
}
}