typesetting olivain porry

This commit is contained in:
Julie Blanc 2026-04-11 18:57:03 +02:00
parent eea67d2c7c
commit fc85403e3a
56 changed files with 141 additions and 43 deletions

View file

@ -1,3 +1,9 @@
:root{
--bg-type: rgba(232, 232, 5, 0.36);
}
/* (print-break:) */
/* (nbsp:) */
/* Outdoor computer club */
@ -15,9 +21,79 @@
[data-unique-id="p-lrnspsdlrd"]{
letter-spacing: -0.005rem;
background-color: var(--bg-type);
}
#des-medias-autonomes-en-2026{
break-before: page;
margin-top: 0px;
}
/* Olivain Porry */
[data-unique-id="p-slmeuuadai"]{
letter-spacing: -0.01rem;
background-color: var(--bg-type);
}
[data-unique-id="p-lrgpboendn"]{
letter-spacing: -0.005rem;
background-color: var(--bg-type);
}
[data-unique-id="p-ldodgdtepn"]{
margin-top: 10px;
letter-spacing: -0.005rem;
background-color: var(--bg-type);
}
[data-unique-id="p-ldodgdtepn"][data-split-from]{
letter-spacing: 0rem;
background-color: transparent;
}
[data-unique-id="p-ldclsdpddn"]{
margin-top: 15px;
}
#le-langage-est-un-champ-de-bataille{
padding-top: 2px;
}
[data-unique-id="p-sllacdnasl"]{
letter-spacing: -0.008rem;
background-color: var(--bg-type);
}
[data-unique-id="p-sllacdnasl"][data-split-from]{
letter-spacing: 0rem;
background-color: transparent;
}
[data-unique-id="p-dcclpdldrp"]{
letter-spacing: -0.012rem;
background-color: var(--bg-type);
}
[data-unique-id="p-dcclpdldrp"][data-split-from]{
letter-spacing: -0.005rem;
}
#pour-une-poesie-antagoniste{
break-before: page;
margin-top: 0;
}
[data-unique-id="p-lfmdcrpudà"]{
padding-top: 2px;
}
[data-unique-id="p-durpfeladd"]{
position: relative;
top: -2px;
}
#toujours-pas-peur{
margin-top: calc(var(--baseline) * 2 - 4px);
}

File diff suppressed because one or more lines are too long

View file

Before

Width:  |  Height:  |  Size: 2.6 MiB

After

Width:  |  Height:  |  Size: 2.6 MiB

Before After
Before After

File diff suppressed because one or more lines are too long

View file

@ -4,7 +4,7 @@ Kirby::plugin('sarahgarcin/notes-tag', [
'tags' => [
'note' => [
'attr' => [
'note',
'note',
],
'html' => function($tag) {
$note = $tag->attr('note');
@ -12,6 +12,16 @@ Kirby::plugin('sarahgarcin/notes-tag', [
return '<span class="inline-note">'.$note.'</span>';
}
],
'print-break' => [
'html' => function($tag) {
return '<span class="print"><br></span>';
}
],
'nbsp' => [
'html' => function($tag) {
return '&nbsp;';
}
]
]
]);

View file

@ -14,7 +14,7 @@ if ($block->location() == 'web') {
}
$GLOBALS['figCount'] = ($GLOBALS['figCount'] ?? 0) + 1;
$figId = 'fig-' . Str::slug($page->author()) . '-' . $GLOBALS['figCount'];
$figId = 'fig-' . Str::slug($block->parent()?->author() ?? '') . '-' . $GLOBALS['figCount'];
?>

View file

@ -5,7 +5,7 @@ $crop = $block->crop()->isTrue();
$ratio = $block->ratio()->or('auto');
$GLOBALS['figCount'] = ($GLOBALS['figCount'] ?? 0) + 1;
$figId = 'fig-' . Str::slug($block->parent()->author()) . '-' . $GLOBALS['figCount'];
$figId = 'fig-' . Str::slug($block->parent()?->author() ?? '') . '-' . $GLOBALS['figCount'];
?>
<figure id="<?= $figId ?>"<?= Html::attr(['data-ratio' => $ratio, 'data-crop' => $crop], null, ' ') ?>>
<ul>

View file

@ -6,7 +6,7 @@ $caption = $block->caption();
$src = $block->image()->toFile()->url();
$GLOBALS['figCount'] = ($GLOBALS['figCount'] ?? 0) + 1;
$figId = 'fig-' . Str::slug($block->parent()->author()) . '-' . $GLOBALS['figCount'];
$figId = 'fig-' . Str::slug($block->parent()?->author() ?? '') . '-' . $GLOBALS['figCount'];
?>

View file

@ -6,7 +6,7 @@ $caption = $block->caption();
$src = $block->image()->toFile()->url();
$GLOBALS['figCount'] = ($GLOBALS['figCount'] ?? 0) + 1;
$figId = 'fig-' . Str::slug($block->parent()->author()) . '-' . $GLOBALS['figCount'];
$figId = 'fig-' . Str::slug($block->parent()?->author() ?? '') . '-' . $GLOBALS['figCount'];
?>

View file

@ -14,7 +14,7 @@ if ($block->location() == 'web') {
}
$GLOBALS['figCount'] = ($GLOBALS['figCount'] ?? 0) + 1;
$figId = 'fig-' . Str::slug($block->parent()->author()) . '-' . $GLOBALS['figCount'];
$figId = 'fig-' . Str::slug($block->parent()?->author() ?? '') . '-' . $GLOBALS['figCount'];
?>