mirror of
https://github.com/mntno/obsidian-come-through.git
synced 2026-07-22 05:47:56 +00:00
77 lines
1.9 KiB
CSS
77 lines
1.9 KiB
CSS
.block-language-comethrough,
|
|
.block-language-ct {
|
|
color: var(--text-normal);
|
|
font-style: var(--font-monospace-theme);
|
|
font-size: var(--font-text-size);
|
|
font-weight: var(--font-weight);
|
|
border-radius: var(--callout-radius);
|
|
padding: var(--callout-padding);
|
|
}
|
|
|
|
.block-language-comethrough .callout-title,
|
|
.block-language-ct .callout-title {
|
|
padding: var(--callout-title-padding);
|
|
}
|
|
|
|
.block-language-comethrough .callout-content,
|
|
.block-language-ct .callout-content {
|
|
padding: var(--callout-content-padding);
|
|
}
|
|
|
|
.callout.block-language-comethrough.error,
|
|
.callout.block-language-ct.error {
|
|
background-color: rgba(var(--color-red-rgb), 0.1);
|
|
border-width: var(--border-width);
|
|
border-color: var(--color-red);
|
|
}
|
|
|
|
.callout.block-language-comethrough .callout-title.error,
|
|
.callout.block-language-comethrough .callout-title.error .svg-icon,
|
|
.callout.block-language-ct .callout-title.error,
|
|
.callout.block-language-ct .callout-title.error .svg-icon {
|
|
color: var(--color-red);
|
|
}
|
|
|
|
.block-language-comethrough table,
|
|
.block-language-ct table {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
width: 100%;
|
|
max-width: 100%;
|
|
table-layout: auto;
|
|
}
|
|
|
|
.block-language-ct table th:first-child,
|
|
.block-language-ct table td:first-child {
|
|
width: 40%;
|
|
}
|
|
|
|
.block-language-comethrough td.select-deck-cell,
|
|
.block-language-ct td.select-deck-cell {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.block-language-comethrough td.select-deck-cell select,
|
|
.block-language-ct td.select-deck-cell select {
|
|
flex-grow: 1;
|
|
background-color: inherit;
|
|
box-shadow: none;
|
|
font-style: inherit;
|
|
font-size: inherit;
|
|
padding-left: 0;
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
height: auto;
|
|
}
|
|
|
|
.block-language-comethrough td.select-deck-cell button,
|
|
.block-language-ct td.select-deck-cell button {
|
|
padding: 0;
|
|
height: auto;
|
|
width: auto;
|
|
aspect-ratio: 1 / 1;
|
|
background-color: inherit;
|
|
box-shadow: none;
|
|
}
|