Nová struktura tabulek s ingrediencemi

This commit is contained in:
Emil Miler 2022-01-19 20:18:00 +01:00
parent 08134780ed
commit fec74d640d

View File

@ -1,25 +1,39 @@
table {
border: 1px solid $border;
border-radius:3px;
background:$secondary;
padding:0;
clear:both;
clear: both;
thead {
display: flex;
flex-direction: column;
th {
padding:1em;
border-bottom:1px dashed $border;
width: 100%;
padding: .5em;
font-size: 1.5em;
}
th:nth-child(2) {
padding: 0;
}
}
tbody {
display: flex;
flex-direction: column;
background-color: $secondary;
border: 1px solid $border;
border-radius: .25rem;
padding: 1em .7em;
tr {
td {
padding:.5em .8em;
}
width: 100%;
display: flex;
justify-content: space-between;
}
td {
padding: .65em .8em;
}
td:nth-child(2) { text-align: right }
}
}