sboulema_mtg-deck/styles.css
2026-05-06 13:53:30 +02:00

139 lines
1.7 KiB
CSS

/*
This CSS file will be included with your plugin, and
available in the app when your plugin is enabled.
If your plugin does not need CSS, delete this file.
*/
.decklist {
padding: 8px;
}
table.decklist__section-list {
border-collapse: collapse;
margin: 0;
padding: 0;
width: 100%;
}
table.decklist__section-list td {
padding: 0;
vertical-align: top;
}
.decklist__section-totals {
display: flex;
}
.decklist__section-totals span {
flex: 1;
}
span.decklist__section-totals__count {
flex: 1;
}
tr.decklist__section-list-item {
font-weight: 400;
}
tr.decklist__section-list-item span {
display: block;
width: 100%;
}
.count {
flex: 1;
}
span.card-name {
flex: 2;
}
.insufficient-count {
color: #666;
font-style: italic;
}
span.comment {
color: #999;
font-style: italic;
flex: 2;
}
.card-price {
}
.error {
color: #a33;
font-style: italic;
}
.decklist__section-heading {
font-weight: 800;
}
.footer {
}
.card-image {
height: 400px;
}
.buylist-container {
z-index: 0;
}
.buylist-line {
display: flex;
}
.buylist-line span {
flex: 1;
}
/* decklist__section-totals {
font-weight: 800;
} */
.decklist__section-totals .card-name {
flex: 4;
}
.buylist-line decklist__section-totals__count {
flex: 1;
}
.buylist-line .card-name {
flex: 4;
}
.buylist-line .decklist__section-totals {
flex: 1;
}
.card-image-container {
text-align: right;
position: absolute;
z-index: 1;
}
.buy-button {
flex: 1;
margin: 5px;
}
.buy-buttons-container {
flex: 2 2;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.markdown-source-view.mod-cm6
.cm-preview-code-block:has(> .block-language-mtg-deck) {
overflow: visible;
contain: initial !important;
}