.song { min-height: 28px; display: grid; grid-template-columns: auto 70px 25px 25px; @media screen and (max-width: 860px) { grid-template-columns: auto 70px 45px 45px; } grid-template-areas: "title keys edit delete"; & > * { display: flex; align-items: center; } overflow: hidden; } .keys { position: relative; margin-right: 10px; cursor: pointer; &:hover { color: var(--color-primary); } } .transpose { height: 0; position: absolute; } .btn-up { grid-area: up; } .btn-down { grid-area: down; } .title { grid-area: title; &.published { margin: 10px 0; font-weight: bold; display: grid; grid-template-columns: 1em auto; .key { color: var(--primary-active); text-shadow: 0 0 1px var(--primary-hover); } } } .keys { grid-area: keys; justify-content: flex-end; } .btn-delete { grid-area: delete; justify-content: flex-end; } .btn-edit { grid-area: edit; justify-content: flex-end; } .menu { display: flex; } button { } textarea.edit { font-family: 'Ubuntu Mono', monospace; }