Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
9 changes: 3 additions & 6 deletions assets/css/v2/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2019,10 +2019,6 @@ blockquote {
}
}

.callout-content {
margin: 0;
}

/* To help them align with text, side callouts should not have top margin*/
&[data-grid="last-third"] {
--margin-callout: 0 0 0 1rem;
Expand Down Expand Up @@ -2315,12 +2311,12 @@ a:has(code:not(pre code)) {
text-transform: uppercase;
padding: 0.15rem 0.5rem;
font-size: 0.75rem;
z-index: 2;
margin: 0 0 -1px 0;
box-sizing: border-box;
}

.code-container {
box-shadow: 3px 3px 0px oklch(var(--color-shadow));
margin-block-start: -1px;

&:hover {
.code-copy-button {
Expand Down Expand Up @@ -2355,6 +2351,7 @@ a:has(code:not(pre code)) {

.code-content {
border: 1px solid oklch(var(--color-codeblock-border));
box-sizing: border-box;
overflow-x: scroll;
scrollbar-width: none;
line-height: 150%;
Expand Down
7 changes: 1 addition & 6 deletions layouts/partials/callout.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,7 @@

<blockquote class="{{ $class }} note" data-title="{{ $cleanTitle }}" data-grid="{{ $dataGrid }}">
<div class="callout-content">
{{- with $icon -}}
<i class="{{ . }}"></i>
{{- end -}}
<div class="callout-content">
{{ .content | markdownify }}
</div>
{{ .content | markdownify }}
</div>
</blockquote>

Expand Down
Loading