@utrecht/web-component-library-stencil
Version:
Stencil component library bundle for the Municipality of Utrecht based on the NL Design System architecture
33 lines (31 loc) • 949 B
CSS
/**
* @license EUPL-1.2
* Copyright (c) 2020-2024 Frameless B.V.
* Copyright (c) 2021-2024 Gemeente Utrecht
*/
/**
* @license EUPL-1.2
* Copyright (c) 2020-2024 Frameless B.V.
* Copyright (c) 2021-2024 Gemeente Utrecht
*/
/**
* @license EUPL-1.2
* Copyright (c) 2020-2024 Frameless B.V.
* Copyright (c) 2021-2024 Gemeente Utrecht
*/
.utrecht-code {
/* Use `monospace` as fallback both when the custom property isn't set and when the font is not available */
/* Use `inherit` as font-size, to override interfering CSS such as: `code { font-size: 16px }` */
background-color: var(--utrecht-code-background-color);
color: var(--utrecht-code-color);
font-family: var(--utrecht-code-font-family, monospace), monospace;
font-size: var(--utrecht-code-font-size, inherit);
font-variant-ligatures: none;
line-height: var(--utrecht-code-line-height);
}
:host {
display: inline;
}
:host([hidden]) {
display: none ;
}