Skip to content
Merged
Show file tree
Hide file tree
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
8 changes: 5 additions & 3 deletions docs/_extensions/mcanouil/mcanouil/_extension.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
title: MickaΓ«l Canouil's Brand
author: MickaΓ«l Canouil
version: 0.16.1
version: 0.16.2
quarto-required: ">=1.9.20"
contributes:
metadata:
Expand Down Expand Up @@ -127,7 +127,9 @@ contributes:
- cosmo
- brand
- html/theme.scss
syntax-highlighting: github
syntax-highlighting:
light: github-light
dark: github-dark
# Layout
grid:
sidebar-width: 300px
Expand Down Expand Up @@ -328,4 +330,4 @@ contributes:
linkedin: MickaelCanouil
bluesky: mickael.canouil.fr
mastodon: https://fosstodon.org/%40MickaelCanouil
source: mcanouil/quarto-mcanouil@0.16.1
source: mcanouil/quarto-mcanouil@0.16.2
12 changes: 8 additions & 4 deletions docs/_extensions/mcanouil/mcanouil/html/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -480,17 +480,21 @@ pre.code-annotation-code {
font-weight: 600;
}

// Remove bottom spacing from last element in callout body (except code blocks)
// Remove edge spacing from first/last elements in callout body (except raw code blocks)
&.callout-titled .callout-body> :first-child:not(.sourceCode),
&.callout-titled .callout-body>div> :first-child:not(.sourceCode) {
padding-top: 0;
margin-top: 0;
}

&.callout-titled .callout-body> :last-child:not(.sourceCode),
&.callout-titled .callout-body>div> :last-child:not(.sourceCode) {
padding-bottom: 0;
margin-bottom: 0;
}

&.callout-style-default .callout-body {
padding-left: .5em;
padding-right: .5em;
padding-bottom: .5em;
padding: .5em;
}
}

Expand Down