added support for legacy tickets
This commit is contained in:
Executable → Regular
+61
@@ -622,3 +622,64 @@ html.dark .doc-content code {
|
||||
border-radius: 1.375rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Documentation reading experience */
|
||||
.doc-card-body:has(.doc-content) {
|
||||
padding: clamp(1.5rem, 3vw, 3rem);
|
||||
}
|
||||
|
||||
.doc-content {
|
||||
max-width: 68rem;
|
||||
margin: 0 auto;
|
||||
color: var(--doc-text);
|
||||
font-size: 1.0625rem;
|
||||
line-height: 1.8;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.doc-content > :first-child { margin-top: 0; }
|
||||
.doc-content > :last-child { margin-bottom: 0; }
|
||||
.doc-content h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-top: 0; margin-bottom: 1.25rem; }
|
||||
.doc-content h2 { font-size: clamp(1.45rem, 2.5vw, 1.8rem); margin-top: 2.4rem; margin-bottom: 1rem; padding-bottom: .55rem; }
|
||||
.doc-content h3 { font-size: 1.3rem; margin-top: 2rem; margin-bottom: .75rem; }
|
||||
.doc-content h4 { font-size: 1.1rem; margin: 1.75rem 0 .65rem; }
|
||||
.doc-content p { margin: 0 0 1.2rem; }
|
||||
.doc-content ul,
|
||||
.doc-content ol { margin: 0 0 1.35rem 1.5rem; padding-left: .75rem; }
|
||||
.doc-content li { margin: .4rem 0; padding-left: .25rem; }
|
||||
.doc-content li::marker { color: #60a5fa; font-weight: 700; }
|
||||
.doc-content a { color: #60a5fa; text-decoration: underline; text-decoration-color: rgba(96,165,250,.4); text-underline-offset: .18em; }
|
||||
.doc-content a:hover { color: #93c5fd; text-decoration-color: currentColor; }
|
||||
.doc-content pre { margin: 1.4rem 0 1.65rem; border: 1px solid #263244; background: #0b1220; padding: 1.15rem 1.25rem; box-shadow: inset 0 1px 0 rgba(255,255,255,.03); }
|
||||
.doc-content pre code { font-size: .925rem; line-height: 1.65; white-space: pre; }
|
||||
.doc-content :not(pre) > code { border: 1px solid rgba(148,163,184,.18); background: rgba(30,41,59,.85); color: #e2e8f0; }
|
||||
.doc-content blockquote { margin: 1.5rem 0; border-left-width: 3px; border-radius: 0 .6rem .6rem 0; background: rgba(37,99,235,.07); padding: .9rem 1.1rem; }
|
||||
.doc-content table { display: block; overflow-x: auto; margin: 1.5rem 0; border-radius: .75rem; }
|
||||
.doc-content th { background: rgba(255,255,255,.035); font-weight: 700; }
|
||||
.doc-content hr { margin: 2.25rem 0; border: 0; border-top: 1px solid var(--doc-line); }
|
||||
|
||||
/* Pagination: never use Laravel's light/white button treatment in the dark Helpdesk. */
|
||||
.doc-pagination { margin-top: 1.125rem; }
|
||||
.doc-pagination nav > div:first-child { display: none; }
|
||||
.doc-pagination nav > div:last-child { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
|
||||
.doc-pagination nav > div:last-child > div:first-child { color: var(--doc-muted); }
|
||||
.doc-pagination nav span[aria-current="page"] > span,
|
||||
.doc-pagination nav a,
|
||||
.doc-pagination nav span[aria-disabled="true"] > span {
|
||||
background: #171a1f !important;
|
||||
border-color: #343a46 !important;
|
||||
color: #d6dae2 !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
.doc-pagination nav a:hover {
|
||||
background: #232831 !important;
|
||||
border-color: #4b5563 !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
.doc-pagination nav span[aria-current="page"] > span {
|
||||
background: #2563eb !important;
|
||||
border-color: #2563eb !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
.doc-pagination nav span[aria-disabled="true"] > span { color: #697180 !important; cursor: not-allowed; }
|
||||
.doc-pagination nav svg { width: 1rem; height: 1rem; }
|
||||
|
||||
Reference in New Issue
Block a user