1
0
mirror of https://git.cant.at/Madeorsk/PollVerlaine synced 2024-11-23 23:34:32 +01:00
PollVerlaine/webroot/static/css/home.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

47 lines
835 B
CSS

main input[name="title"],
main input[name="title"]:focus
{
background: transparent;
font-family: "PT Serif", serif;
font-size: 1.5em;
}
@keyframes scalex
{
0%
{ transform: scaleX(0); }
100%
{ transform: scaleX(1); }
}
main #choices .choice
{
animation: scalex 0.2s linear;
display: flex;
flex-direction: row;
margin: auto;
width: 25rem;
}
main #choices .choice > *
{ margin: 0; }
main #choices .choice input
{ font-family: "PT Serif", serif; }
main #choices .choice .delete
{
background: #FF2E31;
width: 4em;
}
@media screen and (max-width: 640px)
{
main #choices .choice
{ width: 100%; }
main #choices .choice input
{ flex: 1; min-width: 0; }
main #choices .choice .delete
{ flex: 0 0; min-width: 3em; }
main input[name="title"],
main input[name="title"]:focus
{ font-size: 1.3em; }
}