Files
cline-multi-mirror/webview-ui/src/index.css
T

84 lines
1.7 KiB
CSS

/* Import external CSS files */
@import url("../../node_modules/@vscode/codicons/dist/codicon.css");
@import url("../node_modules/@fontsource/azeret-mono/index.css");
/* Tailwind CSS */
@import "tailwindcss";
@import "./theme.css";
@plugin "tailwindcss-animate";
@custom-variant dark (&:is(.dark *));
/**
* The default styles for each defined element.
* This ensures all the elements are rendered with the expected styles consistently without affecting by the parent element / host.
*/
@layer base {
* {
@apply border-border outline-ring/50 text-base;
}
body {
@apply bg-background text-foreground;
}
p {
@apply my-0 py-0 text-inherit leading-5 block line-clamp-3;
margin-block-start: 1em;
margin-block-end: 1em;
margin-inline-start: 0px;
margin-inline-end: 0px;
unicode-bidi: isolate;
}
span {
@apply leading-5;
font-size: inherit;
color: inherit;
}
pre {
@apply bg-code;
}
code {
@apply bg-code;
}
h1 {
font-size: var(--text-lg);
font-weight: var(--font-weight-semibold);
}
h2 {
font-size: var(--text-md);
font-weight: var(--font-weight-semibold);
}
h3 {
font-size: var(--text-sm);
font-weight: var(--font-weight-semibold);
}
h4 {
font-size: var(--text-base);
font-weight: var(--font-weight-bold);
}
a {
@apply text-link hover:text-link-hover;
font-size: inherit;
}
ol {
@apply list-decimal pl-3;
}
ul {
@apply list-disc pl-3;
}
[role="radio"],
[role="checkbox"] {
margin: calc(var(--design-unit) * 1px) 0;
}
}
/* Force vscode-text-field to full width */
vscode-text-field {
display: block !important;
width: 100% !important;
max-width: 100% !important;
box-sizing: border-box !important;
}
vscode-text-field::part(root) {
width: 100% !important;
max-width: 100% !important;
}