more functionality to tikz - position + style
This commit is contained in:
@@ -260,6 +260,19 @@
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.post_contents .tikz-left {
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.post_contents .tikz-center {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.post_contents .tikz-right {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.post_contents blockquote {
|
||||
{%- if config.extra.base09 %}
|
||||
border-left: 3px solid {{ config.extra.base09 }};
|
||||
|
||||
@@ -1 +1 @@
|
||||
<script type="text/tikz">{{body | safe}}</script>
|
||||
<div class="tikz-{% if position %}{{ position }}{% else -%}center{%- endif %}" {%- if style %} style="{{ style | safe }}" {%- endif %}><script type="text/tikz">{{body | safe}}</script></div>
|
||||
|
||||
Reference in New Issue
Block a user