mirror of
https://github.com/jgthms/bulma
synced 2026-03-19 11:54:30 -07:00
Bulma v9 website (#3249)
* Add Bulma v9 * Add vendor dependencies * Fix native * Fix sponsors * Add style attribute
This commit is contained in:
@@ -1,24 +1,16 @@
|
||||
{% if include.plain %}
|
||||
<div class="columns">
|
||||
<div class="column is-half">
|
||||
<div class="bd-example">
|
||||
{{ include.content }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="column is-half">
|
||||
{% highlight html %}{{ include.content }}{% endhighlight %}
|
||||
</div>
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="
|
||||
bd-snippet
|
||||
{% if include.horizontal %}bd-is-horizontal{% else %}bd-is-vertical{% endif %}
|
||||
{% if include.clipped %}bd-is-clipped{% endif %}
|
||||
{% if include.size %}bd-is-{{ include.size }}{% endif %}
|
||||
{% if include.one_fifth %}bd-is-one-fifth{% endif %}
|
||||
{% if include.fullwidth %}bd-is-fullwidth{% endif %}
|
||||
">
|
||||
<div class="bd-snippet-preview {% if include.paddingless %}is-paddingless{% endif %}">
|
||||
<div class="
|
||||
bd-snippet
|
||||
{% if include.horizontal %}bd-is-horizontal{% else %}bd-is-vertical{% endif %}
|
||||
{% if include.fullwidth %}bd-is-fullwidth{% endif %}
|
||||
{% if include.clipped %}bd-is-clipped{% endif %}
|
||||
{% if include.size %}bd-is-size-{{ include.size }}{% endif %}
|
||||
">
|
||||
<div class="bd-snippet-example">
|
||||
<p class="bd-snippet-title">
|
||||
<span class="bd-snippet-tag bd-is-example">Example</span>
|
||||
</p>
|
||||
|
||||
<div class="bd-snippet-preview">
|
||||
{% if include.wrapper %}
|
||||
<div class="{{ include.wrapper }}">
|
||||
{{ include.content }}
|
||||
@@ -27,8 +19,21 @@
|
||||
{{ include.content }}
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="bd-snippet-code {% unless include.clipped %}highlight-full{% endunless %} {% if include.more %}bd-is-more bd-is-more-clipped{% endif %}">
|
||||
</div>
|
||||
|
||||
<div class="bd-snippet-source">
|
||||
<p class="bd-snippet-title">
|
||||
<span class="bd-snippet-tag bd-is-html">HTML</span>
|
||||
</p>
|
||||
|
||||
<div
|
||||
class="
|
||||
bd-snippet-code
|
||||
{% unless include.clipped %}bd-highlight-full{% endunless %}
|
||||
{% if include.more %}bd-is-more bd-is-more-clipped{% endif %}
|
||||
"
|
||||
>
|
||||
{% highlight html %}{{ include.content }}{% endhighlight %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user