@mixin tab { height: 100%; .attribute { padding: 8px 0; display: flex; gap: 0 8px; label { width: 120px; text-align: right; vertical-align: middle; line-height: 24px; } input { max-width: 80px; text-align: right; } .mod { color: grey; text-shadow: 0 -1px 0 #ccc; box-Shadow: 1px 1px 1px rgba(0, 0, 0, 0.5); border-radius: 4px; height: 24px; width: 24px; background: linear-gradient(0deg, rgba(24, 24, 24, 1) 0%, rgba(80, 80, 80, 1) 100%);; display: inline-block; text-align: center; vertical-align: middle; line-height: 24px; margin-left: 4px; } } .attributes-overview { columns: 2; gap: 0 16px; } .resource-overview { .attribute { } } .advantages, .special-abilities { margin-bottom: 16px; ul { list-style-type: none; padding: 0; margin: 0; text-indent: 0; li { display: inline-block; } .advantage, .special-ability { position: relative; border: 1px solid gold; box-shadow: 2px 2px 4px #000; border-radius: 8px; height: 24px; color: gold; text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2); display: inline-block; padding: 0 8px; margin-left: 0; margin-bottom: 4px; background-image: url("../../assets/velvet_button.png"); background-repeat: repeat-y; background-size: cover; span { position: relative; z-index: 2; line-height: 24px; vertical-align: middle; } &.special-ability { &::after { background: rgba(128, 0, 96, 0.5); } } &::after { content: ""; position: absolute; left: 0; top: 0; right: 0; bottom: 0; border-radius: 8px; background: rgba(0, 128, 0, 0.5); } & + .advantage, & + .special-ability { margin-left: 8px; } &.disadvantage { font-style: italic; &::after { background: rgba(128, 0, 0, 0.5); } } } } } }