Skip to content
Snippets Groups Projects
column-deck.md 2.49 KiB
Newer Older
css:
- 'columns.css'
history: True
---

# Slide Columns

## Mechanisms

-   Header 3 markers (`###`)
-   Box classes (`.split` and `.join`)
-   Slide masters (`layout` slide attribute)
------

# Header 3 Markers

------

# Header 3 Markers
-   Each H3 mark (`###`) starts a new column
-   Columns are generated as DIVs

### 

## Semantics

-   The slide header is not part of the columns
-   Columns vertically span the entire slide
-   Space is equally distributed between all columns

------

# Box Classes

-   No columns here, just a very long line spanning the entire slide
-   Box headers (`##`) are marked with CSS classes
    -   `split` starts 2 columns
    -   `join` forces 1 column

## Semantics

-   CSS3 column attributes are used for breaking
-   Breaks occur on box borders

## Outro {.join}

-   No columns here, just a very long line spanning the entire slide

------

# Box Classes

-   No columns here
-   But possibly very long lines, longer than any column is wide

## Syntax {.split}

-   Box headers (H2) are marked with CSS classes
    -   `split` starts 2 columns
    -   `join` forces 1 column

## Image

![](include/06-metal.png)

------

# Slide Masters

------

# Slide Masters {layout="columns"}

## Fixed Layouts {.top}

-   Just like Powerpoint and Keynote

## Example {.right}

![](include/06-metal.png)

## Syntax {.left}

-   Class and key-value attributes
-   Assign content to layout area
-   On elements *Header 2*, *Image*, *Code Block*, *DIV*

------

# Slide Masters {layout="top2columns"}

## Fixed Layouts {.top}
-   Just like Powerpoint and Keynote
-   Class and key-value attributes
-   Assign content to layout area
-   On elements *Header 2*, *Image*, *Code Block*, *DIV*
## Example {.right}
![](include/06-metal.png)

------

# Slide Masters {layout="bottom2columns"}

## Fixed Layouts {.bottom}

-   Just like Powerpoint and Keynote

## Syntax {.left}

-   Class and key-value attributes
-   Assign content to layout area
-   On elements *Header 2*, *Image*, *Code Block*, *DIV*

## Example {.right}

![](include/06-metal.png)

------

# Header 3 Markers {layout="centeredoverlay"}

## Conclusion {.box .alert .front}

This is probably all bullshit anyway

## Syntax {.back}

-   Each H3 mark starts a new column
-   Columns are generated as DIVs

## Semantics

-   The slide header is not part of the columns
-   Columns vertically span the entire slide
-   Space is equally distributed between all columns