Some checks failed
cache-seeder / prune (push) Has been skipped
cache-seeder / frontend (push) Failing after 3s
cache-seeder / python (push) Failing after 3s
cache-seeder / gobuild (push) Failing after 4s
cache-seeder / lint (bindata, lint-backend) (push) Failing after 3s
giteabot backport / giteabot (push) Has been skipped
giteabot / giteabot (push) Has been skipped
cache-prune / prune (push) Has been skipped
release-nightly-snapcraft / build-and-publish (ubuntu-24.04) (push) Has been cancelled
release-nightly-snapcraft / build-and-publish (ubuntu-24.04-arm) (push) Has been cancelled
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
cron-renovate / cron-renovate (push) Has been skipped
37 lines
1007 B
CSS
37 lines
1007 B
CSS
.markup .code-preview-container {
|
|
border: 1px solid var(--color-secondary);
|
|
border-radius: var(--border-radius);
|
|
margin: 0.25em 0;
|
|
}
|
|
|
|
.markup .code-preview-container .code-preview-header {
|
|
color: var(--color-text-light-1);
|
|
border-bottom: 1px solid var(--color-secondary);
|
|
padding: 0.5em;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.markup .code-preview-container table {
|
|
width: 100%;
|
|
max-height: 240px; /* 12 lines at 20px per line */
|
|
overflow-y: auto;
|
|
margin: 0; /* override ".markup table {margin}" */
|
|
}
|
|
|
|
/* workaround to hide empty p before container - more details are in "html_codepreview.go" */
|
|
.markup p:empty:has(+ .code-preview-container) {
|
|
display: none;
|
|
}
|
|
|
|
/* override the polluted styles from the content.css: ".markup table ..." */
|
|
.markup .code-preview-container table tr {
|
|
border: 0 !important;
|
|
}
|
|
.markup .code-preview-container table td {
|
|
border: 0 !important;
|
|
padding: 0 0 0 5px !important;
|
|
}
|
|
.markup .code-preview-container table tr:nth-child(2n) {
|
|
background: none !important;
|
|
}
|