Styly pro vstupy filtrů

This commit is contained in:
Emil Miler 2021-02-03 20:04:06 +01:00
parent 1d889d4c0a
commit c25189301a
2 changed files with 12 additions and 7 deletions

View File

@ -1,13 +1,16 @@
.filters {
display: flex;
align-items: center;
justify-content: center;
padding: .5em;
margin-bottom: 2em;
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
column-gap: .5em;
margin-bottom: 3em;
input {
margin: 0 .5em;
padding: .5em;
padding: .6em 1em;
font-size: 1em;
background: #fff;
border: 1px solid $border;
border-radius: $article-border-radius;
}
input:first-child { grid-column: 2 / span 2; }
}

View File

@ -149,5 +149,7 @@ main {
section.list {
grid-template-columns: 1fr 1fr;
}
.filters input:first-child { grid-column: span 4; }
}
}