diff options
author | Volpeon <git@volpeon.ink> | 2022-06-10 21:13:39 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-06-10 21:13:39 +0200 |
commit | c93948dbc7790d1c36a7e36df4e5485ca249cc37 (patch) | |
tree | c3ed0ab1f62e22e802438650d314da84fd02b8da /tpl/objects | |
parent | Added fixed table modifier (diff) | |
download | iro-design-c93948dbc7790d1c36a7e36df4e5485ca249cc37.tar.gz iro-design-c93948dbc7790d1c36a7e36df4e5485ca249cc37.tar.bz2 iro-design-c93948dbc7790d1c36a7e36df4e5485ca249cc37.zip |
Added code and blockquote styles, better headings, various other updates
Diffstat (limited to 'tpl/objects')
-rw-r--r-- | tpl/objects/heading.pug | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/tpl/objects/heading.pug b/tpl/objects/heading.pug index a0de4af..aa3fec9 100644 --- a/tpl/objects/heading.pug +++ b/tpl/objects/heading.pug | |||
@@ -1,7 +1,11 @@ | |||
1 | mixin h1-heading(level) | 1 | mixin h1-heading(level, inner = false) |
2 | - let classes = ['o-heading', 'o-heading--' + level] | 2 | - let classes = ['o-heading', 'o-heading--' + level] |
3 | h1(class=classes)&attributes(attributes) | 3 | h1(class=classes)&attributes(attributes) |
4 | block | 4 | if inner |
5 | span.o-heading__inner | ||
6 | block | ||
7 | else | ||
8 | block | ||
5 | 9 | ||
6 | mixin h2-heading(level) | 10 | mixin h2-heading(level) |
7 | - let classes = ['o-heading', 'o-heading--' + level] | 11 | - let classes = ['o-heading', 'o-heading--' + level] |
@@ -28,7 +32,11 @@ mixin h6-heading(level) | |||
28 | h6(class=classes)&attributes(attributes) | 32 | h6(class=classes)&attributes(attributes) |
29 | block | 33 | block |
30 | 34 | ||
31 | mixin div-heading(level) | 35 | mixin div-heading(level, inner = false) |
32 | - let classes = ['o-heading', 'o-heading--' + level] | 36 | - let classes = ['o-heading', 'o-heading--' + level] |
33 | div(class=classes)&attributes(attributes) | 37 | div(class=classes)&attributes(attributes) |
34 | block | 38 | if inner |
39 | span.o-heading__inner | ||
40 | block | ||
41 | else | ||
42 | block | ||