receptty.org/sass/_tables.scss

40 lines
509 B
SCSS
Raw Normal View History

2019-10-30 11:58:46 +01:00
table {
clear: both;
2019-10-30 11:58:46 +01:00
thead {
display: flex;
flex-direction: column;
2019-10-30 11:58:46 +01:00
th {
width: 100%;
padding: .5em;
font-size: 1.5em;
}
th:nth-child(2) {
padding: 0;
2019-10-30 11:58:46 +01:00
}
}
tbody {
display: flex;
flex-direction: column;
background-color: $secondary;
border: 1px solid $border;
border-radius: .25rem;
padding: 1em .7em;
2019-10-30 11:58:46 +01:00
tr {
width: 100%;
display: flex;
justify-content: space-between;
}
2019-10-30 11:58:46 +01:00
td {
padding: .65em .8em;
2019-10-30 11:58:46 +01:00
}
td:nth-child(2) { text-align: right }
2019-10-30 11:58:46 +01:00
}
}