1
-- Download the source files: -
-{% highlight bash %} -npm install bulma -{% endhighlight %} -diff --git a/docs/_includes/meta.html b/docs/_includes/meta.html new file mode 100644 index 00000000..328ffbda --- /dev/null +++ b/docs/_includes/meta.html @@ -0,0 +1,44 @@ +
+ You can use these variables to customize this {%if include.element %}element{% else %}component{% endif %}. Simply set one or multiple of these variables before importing Bulma. Learn how. +
+Name | +Default value | +
---|---|
Name | +Default value | +
+ {{ variable.name }}
+ |
+
+ {{ variable.value }}
+ |
+
+
@@ -198,32 +214,6 @@ doc-subtab: breadcrumbYou can choose between 3 additional sizes: is-small
is-medium
and is-large
.
You can choose between 4 additional separators: has-arrow-separator
has-bullet-separator
has-dot-separator
and has-succeeds-separator
.
You can choose between 3 additional sizes: is-small
is-medium
and is-large
.
When you can't use the CSS classes you want, or when you just want to directly use HTML tags, use content
as container. It can handle almost any HTML tag:
<p>
paragraphs<ul>
<ol>
<dl>
lists<h1>
to <h6>
headings<blockquote>
quotes<em>
and <strong>
<table>
<tr>
<th>
<td>
tablesThis content
class can be used in any context where you just want to (or can only) write some text. For example, it's used for the paragraph you're currently reading.
Lorem ipsum[1] dolor sit amet, consectetur adipiscing elit. Nulla accumsan, metus ultrices eleifend gravida, nulla nunc varius lectus, nec rutrum justo nibh eu lectus. Ut vulputate semper dui. Fusce erat odio, sollicitudin vel erat vel, interdum mattis neque. Subscript works as well!
Curabitur accumsan turpis pharetra augue tincidunt blandit. Quisque condimentum maximus mi, sit amet commodo arcu rutrum id. Proin pretium urna vel cursus venenatis. Suspendisse potenti. Etiam mattis sem rhoncus lacus dapibus facilisis. Donec at dignissim dui. Ut et neque nisl.
+Curabitur accumsan turpis pharetra augue tincidunt blandit. Quisque condimentum maximus mi, sit amet commodo arcu rutrum id. Proin pretium urna vel cursus venenatis. Suspendisse potenti. Etiam mattis sem rhoncus lacus dapibus facilisis. Donec at dignissim dui. Ut et neque nisl.
Quisque ante lacus, malesuada ac auctor vitae, congue non ante. Phasellus lacus ex, semper ac tortor nec, fringilla condimentum orci. Fusce eu rutrum tellus.
Phasellus porttitor enim id metus volutpat ultricies. Ut nisi nunc, blandit sed dapibus at, vestibulum in felis. Etiam iaculis lorem ac nibh bibendum rhoncus. Nam interdum efficitur ligula sit amet ullamcorper. Etiam tristique, leo vitae porta faucibus, mi lacus laoreet metus, at cursus leo est vel tellus. Sed ac posuere est. Nunc ultricies nunc neque, vitae ultricies ex sodales quis. Aliquam eu nibh in libero accumsan pulvinar. Nullam nec nisl placerat, pretium metus vel, euismod ipsum. Proin tempor cursus nisl vel condimentum. Nam pharetra varius metus non pellentesque.
Aliquam sagittis rhoncus vulputate. Cras non luctus sem, sed tincidunt ligula. Vestibulum at nunc elit. Praesent aliquet ligula mi, in luctus elit volutpat porta. Phasellus molestie diam vel nisi sodales, a eleifend augue laoreet. Sed nec eleifend justo. Nam et sollicitudin odio.
- +Aliquam sagittis rhoncus vulputate. Cras non luctus sem, sed tincidunt ligula. Vestibulum at nunc elit. Praesent aliquet ligula mi, in luctus elit volutpat porta. Phasellus molestie diam vel nisi sodales, a eleifend augue laoreet. Sed nec eleifend justo. Nam et sollicitudin odio.
+Cras in nibh lacinia, venenatis nisi et, auctor urna. Donec pulvinar lacus sed diam dignissim, ut eleifend eros accumsan. Phasellus non tortor eros. Ut sed rutrum lacus. Etiam purus nunc, scelerisque quis enim vitae, malesuada ultrices turpis. Nunc vitae maximus purus, nec consectetur dui. Suspendisse euismod, elit vel rutrum commodo, ipsum tortor maximus dui, sed varius sapien odio vitae est. Etiam at cursus metus.
+Cras in nibh lacinia, venenatis nisi et, auctor urna. Donec pulvinar lacus sed diam dignissim, ut eleifend eros accumsan. Phasellus non tortor eros. Ut sed rutrum lacus. Etiam purus nunc, scelerisque quis enim vitae, malesuada ultrices turpis. Nunc vitae maximus purus, nec consectetur dui. Suspendisse euismod, elit vel rutrum commodo, ipsum tortor maximus dui, sed varius sapien odio vitae est. Etiam at cursus metus.
When you can't use the CSS classes you want, or when you just want to directly use HTML tags, use content
as container. It can handle almost any HTML tag:
<p>
paragraphs<ul>
<ol>
<dl>
lists<h1>
to <h6>
headings<blockquote>
quotes<em>
and <strong>
<table>
<tr>
<th>
<td>
tablesThis content
class can be used in any context where you just want to (or can only) write some text. For example, it's used for the paragraph you're currently reading.
Because the icons can take a few seconds to load, and because you want control over the space the icons will take, you can use the icon
class as a container:
The icon
container will take up exactly 1.5rem x 1.5rem. The icon itself is sized at 21px.
The .image
container will take up the whole width while maintaining the perfect ratio.
You simply need to attach a single .table
CSS class on a <table>
with the following structure:
table
- thead
- tfoot
- tbody
- tr
- th
- td
- - New! - 0.4.2 -
-
- You can set a table row as selected by appending the is-selected
modifier on a <tr>
-
You simply need to attach a single .table
CSS class on a <table>
with the following structure:
table
the main container
+ thead
the optional top part of the table
+ tfoot
the optional bottom part of the table
+ tbody
the main content of the table
+ tr
each table row
+ th
a table cell heading
+ td
a table cell
+ + New! + 0.4.2 +
+
+ You can set a table row as selected by appending the is-selected
modifier on a <tr>
+
You can combine all three modifiers.
+You can have a fullwidth table.
table is-bordered is-striped is-narrow
+ table is-fullwidth
One | @@ -512,5 +543,49 @@ doc-subtab: table
---|
You can combine all four modifiers.
+table is-bordered is-striped is-narrow is-fullwidth
+ One | +Two | +
---|---|
Three | +Four | +
Five | +Six | +
Seven | +Eight | +
Nine | +Ten | +
Eleven | +Twelve | +
Title 1
+Subtitle 3
+ +Title 2
+Subtitle 4
+ +Title 3
+Subtitle 5
+{% endcapture %} + +{% capture spaced %} +Title 1
+Subtitle 3
+ +Title 2
+Subtitle 4
+ +Title 3
+Subtitle 5
+{% endcapture %} + {% include subnav-elements.html %}Subtitle
Title 6
Subtitle 6
Title 1
-Subtitle 3
- -Title 2
-Subtitle 4
- -Title 3
-Subtitle 5
-{% endhighlight %} + {% highlight html %}{{ combine }}{% endhighlight %}Title 1
-Subtitle 3
- -Title 2
-Subtitle 4
- -Title 3
-Subtitle 5
-{% endhighlight %} + {% highlight html %}{{ spaced }}{% endhighlight %}If you're familiar with Sass and want to customize Bulma with your own colors and variables, just install Bulma via npm:
-1
-- Download the source files: -
-{% highlight bash %} -npm install bulma -{% endhighlight %} -2
-- Set your variables -
-- Add your own colors, set new fonts, override Bulma styles... -
-{% highlight sass %} +{% capture sass %} // 1. Import the initial variables @import "../sass/utilities/initial-variables" @@ -67,8 +28,48 @@ $family-primary: $family-serif // 4. Import the rest of Bulma @import "../bulma" -{% endhighlight %} +{% endcapture %} + +{% include subnav-overview.html %} + +If you're familiar with Sass and want to customize Bulma with your own colors and variables, just install Bulma via npm:
+1
++ Download the source files:
+ {% highlight bash %}npm install bulma{% endhighlight %} +2
++ Set your variables +
++ Add your own colors, set new fonts, override Bulma styles... +
+