Files
gpustack-ui/src/components/markdown-viewer/index.less
T

102 lines
1.5 KiB
Plaintext

.markdown-viewer {
font-family: var(--font-family) !important;
.hr {
border: none;
height: 1px;
background-color: var(--ant-color-split);
}
p {
margin-bottom: 0;
}
h1,
h2,
h3,
h4 {
font-weight: 700;
font-weight: var(--font-weight-bold);
font-size: var(--font-size-small);
}
.hj-wrapper {
margin-top: 16px;
}
strong {
font-weight: var(--font-weight-bold);
}
ul {
margin-bottom: 0;
padding-left: 20px;
line-height: 2;
}
ol {
margin-bottom: 0;
padding-left: 20px;
line-height: 2;
}
a * {
color: inherit;
}
table {
width: 100%;
margin-bottom: 1.2em;
th {
font-weight: var(--font-weight-bold);
line-height: 1.5;
padding-inline: 6px;
border-bottom: 1px solid var(--ant-color-split);
word-break: break-word;
text-align: left !important;
}
td {
line-height: 1.5;
padding-inline: 6px;
border-bottom: 1px solid var(--ant-color-split);
word-break: break-word;
text-align: left !important;
}
div {
display: inline;
}
}
a {
div {
display: inline;
}
}
img {
max-width: 100%;
height: auto;
}
video {
max-width: 100%;
height: auto;
border-radius: var(--border-radius-base);
}
audio {
max-width: 100%;
height: auto;
border-radius: var(--border-radius-base);
}
.item-token {
color: inherit;
font-size: inherit;
font-weight: inherit;
}
}