Part06_Generated-Content-in-Margin-Boxes.md 23.7 KB
Newer Older
Julie Blanc's avatar
Julie Blanc committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
# Generated Content in Margin Boxes

CSS modules for paged media add the possibility to use the `content` property in special area of the pages: the margin boxes. In addition, combinations of syntaxes and properties create elements needed to design a book:  page number and running headers and footers.



## Margin boxes of a page

A page box consists of two types of area: page area and page margin boxes.

The **page area** is the content area of a page box. It is the  space into which all your HTML content will flow. When this content runs out of room, another page will be automatically created. It's what the chuncker part of paged.js do.

The margins of a page are divided into sixteen boxes where you can put generated content like page number and running title. These boxes are called **margin boxes**. 

Each have its own margin, border, padding, and content areas.  By default, their sizes are determined by the margin of the page box. 

 The figure bellow represent the sixteen margin boxes of a page defined by the W3C:


20
![](https://gitlab.pagedmedia.org/tools/pagedjs-documentation/raw/master/images/margin-boxes.png)
Julie Blanc's avatar
Julie Blanc committed
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93

You can select this margins boxes in  the `@page` rules with rules such as `@top-left`, `@bottom-right-corner`,  `@left-middle`, etc. You add content in a page-margin box with the `content` property.

The code below put your title in the `@top-right` margin box of all right pages:

```CSS
@page:right {
  @top-right {
    content: "My title";
  }
}
```

List of the margin boxes:

```CSS
@top-left-corner {}
@top-left {}
@top-center {}
@top-right {}
@top-right-corner {}
@left-top {}
@left-middle {}
@left-bottom {}
@right-top {}
@right-middle {}
@right-bottom {}
@bottom-left-corner {}
@bottom-left {}
@bottom-center {}
@bottom-right {}
@bottom-right-corner {}
```



## Page Counter

To define page numbers, paged.js uses a CSS counter that gets incremented for each new page.

To insert a page number on a page or retrieve the total number of  pages in a document, the W3C proposes a specific counter named `page`. The counters declaration must be used within a `content` property in the margin-boxes declaration. The following example declares the page number in the bottom-left box:

```CSS
@page {
  @bottom-left {
        content: counter(page);
  }
}
```

You can also add a bit of text before the page number:

```CSS
@page {
  @bottom-left {
        content: "page " counter(page);
  }
}
```

To tally the total number of pages in your document, write this:

```CSS
@page {
  @bottom-left {
        content: "Page " counter(page) " of " counter(pages);
  }
}
```


**Reset the page counter**

Julie Blanc's avatar
Julie Blanc committed
94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119
For reset the page number, you need to target the reset on a specific element that appears only in one page (for example, the title of your chapter one).

```CSS
 #elem { counter-reset: page 1; }
```

It's common that the first pages of the book, called frontmatter, use roman counter page and the rest of the book use decimal counter reset on the first page of this content. 
Here's a simple way to do it (it's an example, you can adapt it):
- create a `<section id="frontmatter">` with all the content of the frontmatter
- create a `<section id="body-content">` with all the rest of the content
- target the first element of the `body-content` which only appears on the first page of this section (the `<h1 id="h1-chap-1">`element in this example)

Use this CSS:
```CSS
#frontmatter { page: frontmatter; }
#body-content { page: body-content; }
#body-content h1#h1-chap-1 { counter-reset: page 1; }

@page frontmatter {
  @bottom-center{ content: counter(page, upper-roman); }
}

@page body-content {
  @bottom-center{ content: counter(page); }
}
```
Julie Blanc's avatar
Julie Blanc committed
120

Julie Blanc's avatar
Julie Blanc committed
121
Note: If you reset the counter page on a section that runs over several pages, it will not work because the counter will be repeated each time a new sectino element appears, i. e. on each page. 
Julie Blanc's avatar
Julie Blanc committed
122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149


## Named String: classical running headers/footers

The fastest way to create running headers/footers is to use what is already in your content. **Named strings** are used to create running headers and footers: they copy text for reuse in margin boxes.

First, the text content of the selected element is cloned into a named string using `string-set`  with a custom identifier (in the code below we call it “title”, but you  can name it whatever makes sense as a variable). In the following  example, each time a new `<h2>` appears in the HTML, the content of the named string gets updated with the text of that `<h2>`. (It also can be selected with a class if you prefer).

```css
h2 {  string-set: title content(text) }
```

Next, the `string()` function copies the value of a named string to the margin boxes, via the `content` property.

```CSS
@page {
  @bottom-center {
		content: string(title)
  }
}
```



The string property act like a variable. It read your DOM and each time a new title level 2 is encountered, it change the variable from the page where that title appears. This variable is passed into the margin boxes of the page and into all the following margin boxesuntil there is a new title.



150
![](https://gitlab.pagedmedia.org/tools/pagedjs-documentation/raw/master/images/string-set.png)
Julie Blanc's avatar
Julie Blanc committed
151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454



### Select content of string-set

This part don't work correctly in paged.js for now. Issues [#45](https://gitlab.pagedmedia.org/tools/pagedjs/issues/45), [#42](https://gitlab.pagedmedia.org/tools/pagedjs/issues/42)

The documentation need to be finish.

You can specify which part of the element you want to select to construct the value of the named string. This argument is obligatory.

`string-set: <identifier> content(text)`: string value of the element (default value)

`string-set: <identifier> content(first-letter)`: first letter of the element (as defined for the `::first-letter` pseudo-element )

`string-set: <identifier> content(before)`:  string value of the `::before` pseudo-element

`string-set: <identifier> content(after)`: string value of the `::after` pseudo-element

`string-set: <identifier> attr(<identifier-attr>)`: returns the string value of the attribute define by an attribute identidier (`data-attribute`, `href`, `title`...)

It's possible to define multiple value in the same `string-set`.

Sample: 

```css
h2::before {
  content: "Chapter " counter(countChapter, upper-roman);
}

h2 {
  string-set: titleBefore content(before), title content(text);
}

@page {
	@bottom-center {
		content: string(titleBefore) ". " string(title, first);
}

```





### Styling named string

The content is copied, so to stylize it you have to apply the styles directly in the margin box.

For example, if you want to capitalize your title and give it a size of 11px:

```CSS
@page {
	@bottom-center {
		content: string(title);
		text-transform: uppercasse;
		font-size: 11px;
	}
}
```



This is the DOM created when a named string is "called" into a margin box:

```html
<div class="pagedjs_margin pagedjs_margin-bottom-center hasContent">
  <div class="pagedjs_margin-content">
    ::after
  </div>
</div>

```

The content of the margin box is insert into the `content`property of the `::after` pseudo-element of the `div ` element with “pagedjs_margin-content” class.

You can also use this class and `::after` pseudo element for styling.



## Running elements: headers/footer with specific (complex) content

There are cases where the use of string-set is not suitable for specific or complex running headers and footer. For example, if you need: 

- to keep the HTML tags contained in the header/footer ( `<em>`, `<span>`, `<br>`…),
- to insert images or pictograms in the header/footer (with `<img>` or `<svg>`),
- to shorten a title that is too long and do that in semantically way (do not use the `text-overflow: ellipsis;` property but replace the title with a piece that means),
- to repeat complex elements (adress, contact…) on all pages for document like invoices or reports.



For this you can use **running elements** with `position` property and `element()` function. The `position` property removes the element from the normal flow (instead of copying it like  `string-set` property) and moves it to the margin boxes using the `element()` function. 

This technique allows you to keep all the HTML structuring of the element. But you must add dedicated elements in your HTML.

In the following example, we want to keep the italics contains in the title.

```html
<section id="chapitre-4">
	<h1>The protagonist of <em>Macbeth<em></h1>
  <p><em>Macbeth</em> is a tragedy by William Shakespeare; it is thought to have been first performed in 1606. It dramatises the damaging physical and psychological effects of political ambition on those who seek power for its own sake...</p>
</section>
```

First, add dedicated element for running title in your HTML (just after the title) and copy your title inside. Here, it is a paragraph with the class `.title`. 

```html
<section id="chapitre-4">
	<h1>The protagonist of <em>Macbeth<em></h1>
	<p class="title">The protagonist of <em>Macbeth<em></p>
  <p><em>Macbeth</em> is a tragedy by William Shakespeare; it is thought to have been first performed in 1606. It dramatises the damaging physical and psychological effects of political ambition on those who seek power for its own sake...</p>
</section>
```

After, set the element’s `position` to running. Here, “titleRunning” is a custom identifier,  you can name it whatever makes sense to you.

```css
.title {
  position: running(titleRunning);
}
```

Then, place the element into a margin box with the `element()` function via the `content` property:

```css
@page {
	@top-center {
		content: element(titleRunning)
	}
}
```



The `.title` element is now removed from you flow and repeted into top-center margins of pages.  It's act like the named string, if a new  `.title` element is encountered in the the DOM, the element is changed in the new page and the next ones.

Note: The `element()` function cannot be combined with other possible values for the `content` property.



### Styling running elements

Since the element is copied, all styles are copied with it. That is, if you have stylized your `.title` element, the styles will be kept in the margins. 

With the following code, your running header will appear in capital letters and with a size of 11px:

```CSS
.title{
  position: running(titleRunning);
  text-transform: uppercasse;
	font-size: 11px;
}

@page {
	@top-center {
		content: element(titleRunning)
	}
}
```

This is the DOM created when you move a running element into a margin:

```html
<div class="pagedjs_margin pagedjs_margin-top-center hasContent">
  <div class="pagedjs_margin-content">
    <p class="title">The protagonist of <em>Macbeth<em></p>
  </div>
</div>

```

You can see that the paragraph is kept in the margin as well as all its content. You can apply styles on the paragraphe or on the margins because of cascading.



## Select element of the page for running title/headers

This part don't work correctly in paged.js for now. [Issue #38](https://gitlab.pagedmedia.org/tools/pagedjs/issues/38)

The documentation need to be finish.

The value of a named string or the value of a running element may change several times on a page (for exemple if you have multiple title of the same level in the same page). You can add a second optional argument on the `string()` function or on the `element()` function to indicates which element of the page should be used if there is multiple. This argument specify the value of the named string.

`string(<identifier>, first)`: value of the first assignment on the page is used (default)

`string(<identifier>, first-except)`: 

`string(<identifier>, last)`

`string(<identifier>, start)`:

Usefull for dicitonnary or glossary.

Cab be combined with other possible values for the content property.



## Delete generated content in blank page

Forced page breaks can create blank page,  e.g., pages automatically added to make sure a new chapter begins on the desired left or right page. The `:blank` pseudo class selector selects pages that have no content from the flow. To delete the generated content in blank page, simply use `content: none` in selected margin boxes of the blank pages.

```css
@page:blank {
  @top-left { content: none; }
}
```





## Styling margin boxes and generated content

You can stylize the margin-boxes by applying styles directly into the at-rules for page-margin boxes.

```css
@page{
  @top-left{
    content: "My title";
    padding-left: 15mm;
    color: #FF5733;
  }
}
```



#### Default alignement of generated content

Each margin box have default alignements for the content (show in the following table). You can easy change it by using `text-align` and `vertical-align` properties into at-rules for page-margin boxes.



**Table of default alignement**

| Margin box           | `text-align` | `vertical-align` |
| -------------------- | ------------ | ---------------- |
| @top-left-corner     | right        | middle           |
| @top-left            | left         | middle           |
| @top-center          | center       | middle           |
| @top-right           | right        | middle           |
| @top-right-corner    | left         | middle           |
| @left-top            | center       | top              |
| @left-middle         | center       | middle           |
| @left-bottom         | center       | bottom           |
| @right-top           | center       | top              |
| @right-middle        | center       | middle           |
| @right-bottom        | center       | bottom           |
| @bottom-left-corner  | right        | middle           |
| @bottom-left         | left         | middle           |
| @bottom-center       | center       | middle           |
| @bottom-right        | right        | middle           |
| @bottom-right-corner | left         | middle           |



#### Applying style on generated content

You can specify that some CSS rules only apply to your margin box while others apply to your generated content. It depends on how you created your generated content.



**With position: running()**

If you have used `position: running`, the styles applying to the generated content must be declared in the running element and the styles applying to the margin box in the at-rules for page-margin boxes.

```css
.running { 
	position: running(chapTitle);
	font-size: 12px;
	text-transform: uppercase;
}

@page:left {
  @top-left {
		content: element(chapTitle);
		vertical-align: top;
		padding-top: 24px; 
  }
}
```



**With string-set**

If you have used `string-set`, all styles are declared in the margin box and therefore applied to the margin box. If you want certain rules to apply only to the text and not to the entire margin box, you will have to use the classes created by paged.js to reach the text.

For example, if you use background-color and padding into the at-rules for page-margin box, the style are applied on the margin box.

```css
@page:left {
  @top-left{
    background-color: #ffd2b5;
    color: #fe4017;
    padding: 2mm 5mm; 
  }
}
```



Result:

455
![](https://gitlab.pagedmedia.org/tools/pagedjs-documentation/raw/master/images/marginbox-style-01.png)
Julie Blanc's avatar
Julie Blanc committed
456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477





If you want to applied this background-color and padding only on the generated content, you need to applied the style on a special div create by paged.js: `pagedjs_margin-content`.



```css
.pagedjs_left_page .pagedjs_margin-top-left .pagedjs_margin-content{
    width: auto;
    background-color: #ffd2b5;
    color: #fe4017;
    padding: 2mm 5mm; 
}
```



Result:

478
![](https://gitlab.pagedmedia.org/tools/pagedjs-documentation/raw/master/images/marginbox-style-02.png)
Julie Blanc's avatar
Julie Blanc committed
479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517



### Define width and height of margin boxes

The height and width of the margin boxes are automatically computed by paged.js (see "Rendering of margin boxes" below) but you can easily define the size you want using relative (`%`) or absolute values (`mm`, `in`, `px`).

```css
@page {
  @left-top {
    width: 28mm;
		height: 10mm;
  }
}
```



### Rotate margin boxes

By using the `tranfsorm()` property you can easily rotate the margin-boxes of your document

```css
@page {
  @left-top {
		width: 28mm;
		height: 10mm;
		transform: rotate(-90deg);
		transform-origin: top left;
		position: relative;
		top: 28mm;
  }
}
```



Result:

518
![](https://gitlab.pagedmedia.org/tools/pagedjs-documentation/raw/master/images/marginbox-style-03.png)
Julie Blanc's avatar
Julie Blanc committed
519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534








## Rendering of margin boxes with paged.js

Paged.js use CSS grid and flexbox to create the margin boxes of the page. The figures below represent how margin boxes are placed with the div classes used.



#### Margin boxes on the page

535
![](https://gitlab.pagedmedia.org/tools/pagedjs-documentation/raw/master/images/margin-boxes_grid_01.png)
Julie Blanc's avatar
Julie Blanc committed
536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590

The page consists of four corner margins and four groups of margins placed on a grid with three columns and three rows. The grid use margin variables created by paged.js based on your margin and page size declarations to set the size of items.

**Template of the grid**

```css
.pagedjs_pagebox {
  grid-template-columns: 	[left] var(--pagedjs-margin-left) 
													[center] calc(
                            var(--pagedjs-pagebox-width) 
                            - var(--pagedjs-margin-left) 
														- var(--pagedjs-margin-right)
														) 
													[right] var(--pagedjs-margin-right);
	grid-template-rows: [header] var(--pagedjs-margin-top) 
											[page] calc(
                        var(--pagedjs-pagebox-height) 
                        - var(--pagedjs-margin-top) 
												- var(--pagedjs-margin-bottom)
												) 
											[footer] var(--pagedjs-margin-bottom);
}
```



**Classes of the corner margins (and position on the page grid)**

- `div.pagedjs_margin-top-left-corner-holder` (grid-column: `left` / grid-row: `header`)

- `div.pagedjs_margin-top-right-corner-holder` (grid-column: `right` / grid-row: `header`)

- `div.pagedjs_margin-bottom-left-corner-holder` (grid-column: `left` / grid-row: `footer`)

- `div.pagedjs_margin-bottom-right-corner-holder` (grid-column: `right` / grid-row: `header`)

  

**Classes of the groups of margins (and position on the page grid)**

* top page margins: `div.pagedjs_margin-top` (grid-column: `center` / grid-row: `header`)
* bottom page margins: `div.pagedjs_margin-bottom` (grid-column: `center` / grid-row: `bottom`)
* left page margins: `div.pagedjs_margin-left` (grid-column: `left` / grid-row: `page`)
* right page margins: `div.pagedjs_margin-right`  (grid-column: `right` / grid-row: `page`)





#### Group of margin boxes

Each margin group contains three margin boxes contained in a single direction grid (horizontal for top page and bottom page margins; vertical for left page and right page margins).



591
![](https://gitlab.pagedmedia.org/tools/pagedjs-documentation/raw/master/images/margin-boxes_grid_02.png)
Julie Blanc's avatar
Julie Blanc committed
592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653





**Top page margins**

-  `div.pagedjs_margin-top-left` (A)
-  `div.pagedjs_margin-top-center` (B)
-  `div.pagedjs_margin-top-right` (C)



**Bottom page margins**

-  `div.pagedjs_margin-bottom-left` (A)
-  `div.pagedjs_margin-bottom-center` (B)
-  `div.pagedjs_margin-bottom-right` (C)



**Left page margins**

-  `div.pagedjs_margin-left-top` (A)
-  `div.pagedjs_margin-left-middle` (B)
-  `div.pagedjs_margin-left-bottom` (C)



**Right page margins**

-  `div.pagedjs_margin-right-top` (A)
-  `div.pagedjs_margin-right-middle` (B)
-  `div.pagedjs_margin-right-bottom` (C)



#### Generated content into the margin boxes

Each margin box is display with`flex` and contains a `div ` element with `pagedjs_margin-content` class in which the generated content will be put. For  more details see the two parts above: “Styling named string” and  “Styling running elements”.



#### Computation Rules for group of margin boxes

If no definited margin boxes size is set in your stylesheet, the boxes of each margin group are automatically calculated according to the following rules.

- For top and bottom page margins, the height is 100% of the margin box group.
- For left and right page margins, the width is 100% of the margin box group.



Concerning the width of top and bottom page margins and the height of left and right page margins, the computation rules follows the same patterns. This patterns depends on how many margins are generated (populated) in the group – e.g. if `content` have been set in the at-rules for page-margin boxes.

Here, to explain this computation rules patterns, we use letters corresponding to the three boxes of each group. “Size” correspond to “width” for top and bottom page margins and the “height” for left and right page margins.



**If only one margin box are generated**

If only one of the margin boxes is generate, the margin box will take the full width/height of the margin group.

654
![](https://gitlab.pagedmedia.org/tools/pagedjs-documentation/raw/master/images/margin-boxes_size_sample-01.png)
Julie Blanc's avatar
Julie Blanc committed
655 656 657 658 659

**If two margin box are generated**

* If A and C are generated,

660
  * With no size set: the size of B is `0`, A and C are extended over the size of the margin group. Their size is relative to the length of the generated content.  ![](https://gitlab.pagedmedia.org/tools/pagedjs-documentation/raw/master/images/margin-boxes_size_sample-02.png)
Julie Blanc's avatar
Julie Blanc committed
661 662 663

  * With one size set (A or C): he size of B is` 0`. A and C are spread over the size of the margin group. The margin box whose size is not set fills the remaining space in the margin group.

664
    ![](https://gitlab.pagedmedia.org/tools/pagedjs-documentation/raw/master/images/margin-boxes_size_sample-03.png)
Julie Blanc's avatar
Julie Blanc committed
665 666 667

  * With the two size set (A and C): A is aligned on the left of the margin group, C is aligned with the right of the margin group. B takes the remaining space but has no content.

668
    ![](https://gitlab.pagedmedia.org/tools/pagedjs-documentation/raw/master/images/margin-boxes_size_sample-04.png)
Julie Blanc's avatar
Julie Blanc committed
669 670 671

* If A and B or B and C are generated, 

672 673 674
  * With no size set: the size of the margin-boxes will be relative to the length of the generated content. The one in the center will always be in the middle (“center rule”), i.e. the size of A will always be equal to the size of C.![](https://gitlab.pagedmedia.org/tools/pagedjs-documentation/raw/master/images/margin-boxes_size_sample-05.png)
  * With one size set (A, B or C):  the other two margins bowes (with no size set) will extent the remaining space. The “center rule” remains valid, so the automatic sizes of the two margin-boxes will be distributed according to this rule. ![](https://gitlab.pagedmedia.org/tools/pagedjs-documentation/raw/master/images/margin-boxes_size_sample-06.png)
  * With two size set: the two margin boxes with size set will have the declared size. The third margin box (which has no content) will take the size of the remaining space in the group. ![](https://gitlab.pagedmedia.org/tools/pagedjs-documentation/raw/master/images/margin-boxes_size_sample-07.png)
Julie Blanc's avatar
Julie Blanc committed
675 676 677 678 679



**If all margin box are generated**

680 681 682 683
* If no size set: the size of the margin-boxes will be relative to the length of the generated content. The one in the center will always be in the middle (“center rule”), i.e. the size of A will always be equal to the size of C. ![](https://gitlab.pagedmedia.org/tools/pagedjs-documentation/raw/master/images/margin-boxes_size_sample-08.png)
* If one size set (A, B or C): the other two margins bowes (with no size set) will extent the remaining space. The “center rule” remains valid, so the automatic sizes of the two margin-boxes will be distributed according to this rule.![](https://gitlab.pagedmedia.org/tools/pagedjs-documentation/raw/master/images/margin-boxes_size_sample-09.png)
* If two size set: the two margin boxes with size set will have the declared size. The third margin box (which has no content) will take the size of the remaining space in the group. ![](https://gitlab.pagedmedia.org/tools/pagedjs-documentation/raw/master/images/margin-boxes_size_sample-10.png)
* if all sizes set: all margins box have the declared size. They will be aligned on the left for top/bottom page margins and on top for left/right margins. ![](https://gitlab.pagedmedia.org/tools/pagedjs-documentation/raw/master/images/margin-boxes_size_sample-11.png)
Julie Blanc's avatar
Julie Blanc committed
684 685 686 687 688