forked from em/receptty.org
Nová struktura tabulek s ingrediencemi
This commit is contained in:
parent
08134780ed
commit
fec74d640d
@ -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 {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
td {
|
||||
padding:.5em .8em;
|
||||
}
|
||||
padding: .65em .8em;
|
||||
}
|
||||
|
||||
td:nth-child(2) { text-align: right }
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user