Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
.wiki-document-header {
margin-bottom: 1.5rem;
padding-bottom: 1rem;
border-bottom: 1px solid var(--gray-300);
border-bottom: 1px solid #e2e2e2;
}

.wiki-document-eyebrow {
Expand All @@ -16,12 +16,12 @@
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--gray-600);
color: #7c7c7c;
}

.wiki-document-eyebrow .sep {
margin: 0 0.4em;
color: var(--gray-400);
color: #c7c7c7;
}

.wiki-document-title {
Expand All @@ -37,7 +37,7 @@
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--gray-600);
color: #7c7c7c;
}

.wiki-document-content img {
Expand Down Expand Up @@ -65,20 +65,20 @@
.wiki-document-content th,
.wiki-document-content td {
padding: 0.5rem;
border: 1px solid var(--gray-300);
border: 1px solid #e2e2e2;
vertical-align: top;
}

.wiki-document-content blockquote {
/* Reset Bootstrap defaults (full border + 10px 20px padding) that Frappe's print CSS layers in. */
border: 0;
border-left: 4px solid var(--gray-300);
border-left: 4px solid #e2e2e2;
padding: 0 0 0 1em;
margin: 1.6em 0;
font-size: inherit;
font-style: italic;
font-weight: 500;
color: var(--gray-800);
color: #383838;
quotes: "\201C" "\201D" "\2018" "\2019";
}

Expand All @@ -93,6 +93,87 @@
.wiki-document-content blockquote p:last-of-type::after {
content: close-quote;
}

/* Callouts — mirror the public-page treatment. Public CSS uses display:grid;
wkhtmltopdf's QtWebKit predates Grid, so use a float for icon-left layout. */
.wiki-document-content .callout {
margin: 1rem 0;
padding: 0.875rem 1rem;
border-radius: 6px;
overflow: hidden;
}

.wiki-document-content .callout-icon {
float: left;
width: 1rem;
margin-right: 0.75rem;
padding-top: 0.125rem;
line-height: 0;
}

.wiki-document-content .callout-icon svg {
width: 1rem;
height: 1rem;
}

.wiki-document-content .callout-body {
overflow: hidden;
}

.wiki-document-content .callout-title {
display: block;
margin-bottom: 0.5rem;
font-size: 0.875rem;
font-weight: 500;
line-height: 1.4;
color: #171717;
}

.wiki-document-content .callout-content {
font-size: 0.875rem;
line-height: 1.5;
color: #525252;
}

.wiki-document-content .callout-content > *:first-child {
margin-top: 0;
}

.wiki-document-content .callout-content > *:last-child {
margin-bottom: 0;
}

.wiki-document-content .callout-note {
background-color: #E6F4FF;
}

.wiki-document-content .callout-note .callout-icon {
color: #007BE0;
}

.wiki-document-content .callout-tip {
background-color: #E4FAEB;
}

.wiki-document-content .callout-tip .callout-icon {
color: #278F5E;
}

.wiki-document-content .callout-caution {
background-color: #FFF7D3;
}

.wiki-document-content .callout-caution .callout-icon {
color: #DB7706;
}

.wiki-document-content .callout-danger {
background-color: #FFE7E7;
}

.wiki-document-content .callout-danger .callout-icon {
color: #E03636;
}
</style>

{% set breadcrumbs = doc.get_breadcrumbs() %}
Expand Down
Loading