mirror of
https://github.com/jgthms/bulma
synced 2026-03-17 10:54:29 -07:00
Organize partials
This commit is contained in:
@@ -19,7 +19,7 @@ breadcrumb:
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{% include anchor.html name="The <code>findColorInvert()</code> function" %}
|
||||
{% include elements/anchor.html name="The <code>findColorInvert()</code> function" %}
|
||||
|
||||
<div class="content">
|
||||
<p>The <code>findColorInvert($color)</code> function takes a <strong>color</strong> as an input, and outputs either transparent <strong>black</strong> <code>rgba(#000, 0.7)</code> or <strong>white</strong> <code>#fff</code>:</p>
|
||||
|
||||
@@ -24,7 +24,7 @@ $widescreen-enabled: false
|
||||
$fullhd-enabled: false
|
||||
{% endcapture %}
|
||||
|
||||
{% include anchor.html name="Vertical by default" %}
|
||||
{% include elements/anchor.html name="Vertical by default" %}
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
@@ -38,7 +38,7 @@ $fullhd-enabled: false
|
||||
<p>You can however enforce the <strong>horizontal</strong> layout for both <code>columns</code> or <code>nav</code> by appending the <code>is-mobile</code> modifier.</p>
|
||||
</div>
|
||||
|
||||
{% include anchor.html name="Breakpoints" %}
|
||||
{% include elements/anchor.html name="Breakpoints" %}
|
||||
|
||||
{% assign variables_file_url = "/blob/master/sass/utilities/initial-variables.sass#L46,L57" | prepend: site.data.meta.github %}
|
||||
{% assign mixins_file_url = "/blob/master/sass/utilities/mixins.sass#L182,L226" | prepend: site.data.meta.github %}
|
||||
@@ -206,7 +206,7 @@ $fullhd-enabled: false
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{% include anchor.html name="Disabling breakpoints" %}
|
||||
{% include elements/anchor.html name="Disabling breakpoints" %}
|
||||
|
||||
{% include elements/new-tag.html version="0.6.3" %}
|
||||
|
||||
@@ -220,7 +220,7 @@ $fullhd-enabled: false
|
||||
{% highlight sass %}{{ scss_code }}{% endhighlight %}
|
||||
</div>
|
||||
|
||||
{% include anchor.html name="Variables" %}
|
||||
{% include elements/anchor.html name="Variables" %}
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
|
||||
@@ -77,7 +77,7 @@ breadcrumb:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% include anchor.html name="Code requirements" %}
|
||||
{% include elements/anchor.html name="Code requirements" %}
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
@@ -109,7 +109,7 @@ breadcrumb:
|
||||
</div>
|
||||
</article>
|
||||
|
||||
{% include anchor.html name="Starter template" %}
|
||||
{% include elements/anchor.html name="Starter template" %}
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
@@ -118,10 +118,10 @@ breadcrumb:
|
||||
</div>
|
||||
|
||||
<div class="bd-example highlight-full">
|
||||
{% highlight html %}{% include getting-started.html %}{% endhighlight %}
|
||||
{% highlight html %}{% include snippets/getting-started.html %}{% endhighlight %}
|
||||
</div>
|
||||
|
||||
{% include anchor.html name="bulma-start" %}
|
||||
{% include elements/anchor.html name="bulma-start" %}
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
|
||||
@@ -62,7 +62,7 @@ breadcrumb:
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{% include anchor.html name="Initial variables" %}
|
||||
{% include elements/anchor.html name="Initial variables" %}
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
@@ -94,7 +94,7 @@ breadcrumb:
|
||||
These are <a href="{{ derived_variables.file_url }}" target="_blank">variables</a> with a value that <strong>references</strong> another variable.
|
||||
{% endcapture %}
|
||||
{%
|
||||
include variables.html
|
||||
include elements/variables.html
|
||||
anchor_name = 'Derived variables'
|
||||
data = derived_variables
|
||||
custom_message = custom_message
|
||||
@@ -105,7 +105,7 @@ breadcrumb:
|
||||
You can use the following <a href="{{ site.data.variables.base.generic.file_url }}" target="_blank">generic variables</a> for general <strong>customization</strong>. Simply set one or multiple of these variables <em>before</em> importing Bulma. <a href="{{ site.url }}/documentation/overview/customize/">Learn how</a>.
|
||||
{% endcapture %}
|
||||
{%
|
||||
include variables.html
|
||||
include elements/variables.html
|
||||
anchor_name = 'Generic variables'
|
||||
tab = 'base'
|
||||
subtab = 'generic'
|
||||
|
||||
Reference in New Issue
Block a user