mirror of
https://github.com/jgthms/bulma
synced 2026-03-15 10:14:29 -07:00
Add lots of snippets
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
<div class="bd-snippet">
|
||||
<div class="
|
||||
bd-snippet
|
||||
{% if include.horizontal %}bd-is-horizontal{% else %}bd-is-vertical{% endif %}
|
||||
{% if include.size %}bd-is-{{ include.size }}{% endif %}
|
||||
">
|
||||
<div class="bd-snippet-preview">
|
||||
{{ include.content }}
|
||||
</div>
|
||||
<div class="bd-snippet-code {%unless include.clipped %}highlight-full{% endunless %}">
|
||||
<div class="bd-snippet-code {% unless include.clipped %}highlight-full{% endunless %}">
|
||||
{% highlight html %}{{ include.content }}{% endhighlight %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,21 +1,14 @@
|
||||
<nav class="navbar has-shadow">
|
||||
<div class="container is-fullhd">
|
||||
<div class="container">
|
||||
<div class="navbar-brand">
|
||||
{% if site.vernum >= 43 %}
|
||||
<a class="navbar-item is-tab {% if page.doc-subtab == 'breadcrumb' %}is-active{% endif %}" href="{{ site.url }}/documentation/components/breadcrumb/">
|
||||
Breadcrumb
|
||||
</a>
|
||||
{% endif %}
|
||||
<a class="navbar-item is-tab {% if page.doc-subtab == 'breadcrumb' %}is-active{% endif %}" href="{{ site.url }}/documentation/components/breadcrumb/">
|
||||
Breadcrumb
|
||||
</a>
|
||||
<a class="navbar-item is-tab {% if page.doc-subtab == 'card' %}is-active{% endif %}" href="{{ site.url }}/documentation/components/card/">
|
||||
Card
|
||||
</a>
|
||||
{% if site.vernum >= 44 %}
|
||||
<a class="navbar-item is-tab {% if page.doc-subtab == 'dropdown' %}is-active{% endif %}" href="{{ site.url }}/documentation/components/dropdown/">
|
||||
Dropdown
|
||||
</a>
|
||||
{% endif %}
|
||||
<a class="navbar-item is-tab {% if page.doc-subtab == 'media-object' %}is-active{% endif %}" href="{{ site.url }}/documentation/components/media-object/">
|
||||
Media object
|
||||
<a class="navbar-item is-tab {% if page.doc-subtab == 'dropdown' %}is-active{% endif %}" href="{{ site.url }}/documentation/components/dropdown/">
|
||||
Dropdown
|
||||
</a>
|
||||
<a class="navbar-item is-tab {% if page.doc-subtab == 'menu' %}is-active{% endif %}" href="{{ site.url }}/documentation/components/menu/">
|
||||
Menu
|
||||
@@ -26,15 +19,9 @@
|
||||
<a class="navbar-item is-tab {% if page.doc-subtab == 'modal' %}is-active{% endif %}" href="{{ site.url }}/documentation/components/modal/">
|
||||
Modal
|
||||
</a>
|
||||
{% if site.vernum >= 43 %}
|
||||
<a class="navbar-item is-tab {% if page.doc-subtab == 'navbar' %}is-active{% endif %}" href="{{ site.url }}/documentation/components/navbar/">
|
||||
Navbar
|
||||
</a>
|
||||
{% else %}
|
||||
<a class="navbar-item is-tab {% if page.doc-subtab == 'nav' %}is-active{% endif %}" href="{{ site.url }}/documentation/components/nav/">
|
||||
Nav
|
||||
</a>
|
||||
{% endif %}
|
||||
<a class="navbar-item is-tab {% if page.doc-subtab == 'navbar' %}is-active{% endif %}" href="{{ site.url }}/documentation/components/navbar/">
|
||||
Navbar
|
||||
</a>
|
||||
<a class="navbar-item is-tab {% if page.doc-subtab == 'pagination' %}is-active{% endif %}" href="{{ site.url }}/documentation/components/pagination/">
|
||||
Pagination
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user