More actions
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
gap: 3px; | gap: 3px; | ||
border-radius: 4px; | border-radius: 4px; | ||
border: 1px solid | border: 1px solid var(--color-surface-2); /* FIXME: theming */ | ||
} | } | ||
.lua-type-union > .lua-type-union-bar { | .lua-type-union > .lua-type-union-bar { | ||
Line 12: | Line 12: | ||
margin: 3px 0; | margin: 3px 0; | ||
align-self: stretch; | align-self: stretch; | ||
background-color: | background-color: var(--color-surface-2); /* FIXME: theming */ | ||
} | } | ||
Line 24: | Line 24: | ||
.lua-type-explicit > a { | .lua-type-explicit > a { | ||
border-radius: 4px; | border-radius: 4px; | ||
border: 1px solid | border: 1px solid var(--color-surface-2); /* FIXME: theming */ | ||
padding: 0 4px; | padding: 0 4px; | ||
} | } |
Revision as of 01:23, 31 March 2025
.lua-type-union {
display: inline-flex;
flex-flow: row nowrap;
padding: 1px 1px;
gap: 3px;
border-radius: 4px;
border: 1px solid var(--color-surface-2); /* FIXME: theming */
}
.lua-type-union > .lua-type-union-bar {
display: block;
width: 2px;
margin: 3px 0;
align-self: stretch;
background-color: var(--color-surface-2); /* FIXME: theming */
}
.lua-type-explicit {
font-family: monospace;
display: contents;
}
.lua-type-explicit > .external::after {
display: none;
}
.lua-type-explicit > a {
border-radius: 4px;
border: 1px solid var(--color-surface-2); /* FIXME: theming */
padding: 0 4px;
}