bulma/docs/_includes/home/customize.html

102 lines
3.3 KiB
HTML
Raw Normal View History

2018-07-14 17:38:27 +00:00
{% assign customize_link = site.data.links.by_id['customize'] %}
{% assign heading_href = site.url | append: customize_link.path %}
2024-03-21 16:11:54 +00:00
<section class="bd-home-section bd-theme-sass">
{%
2024-03-21 16:11:54 +00:00
include docs/components/heading.html
color="sass"
icon="fab fa-sass"
title="So <strong>quick</strong> to customize"
subtitle="Simply set your own Sass variables before importing Bulma"
href=heading_href
button_icon_after="fas fa-arrow-right"
button_label="See <strong>customization</strong> docs"
%}
2018-04-10 11:48:58 +00:00
<div class="container">
<header class="block is-size-5-desktop mb-6">
2024-03-21 16:11:54 +00:00
{% include docs/elements/tw.html tweet_id="1070320154452656128" %}
2018-04-10 13:28:45 +00:00
</header>
2018-04-10 11:48:58 +00:00
<div class="columns is-variable is-8">
<div class="column">
<div class="bd-highlight-full bd-has-drawing">
2024-03-21 16:11:54 +00:00
{% highlight sass %}{% include docs/snippets/customized.html %}{%
endhighlight %} {% include docs/elements/drawing.html id='customize'
2020-04-13 10:14:37 +00:00
width=152 height=76 %}
2018-04-10 11:48:58 +00:00
</div>
2018-04-10 13:28:45 +00:00
</div>
<div class="column">
2018-04-10 13:28:45 +00:00
<div class="bd-index-custom bd-is-before">
<p class="bd-index-custom-title">Before</p>
<div class="bd-index-custom-example">
<h1 class="title">
Bulma
</h1>
<p class="subtitle">
2020-04-13 10:14:37 +00:00
Modern CSS framework based on
<a
href="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Basic_Concepts_of_Flexbox"
>Flexbox</a
>
2018-04-10 11:48:58 +00:00
</p>
2018-04-10 13:28:45 +00:00
<div class="field">
<div class="control">
2020-04-13 10:14:37 +00:00
<input class="input" type="text" placeholder="Input" />
2018-04-10 13:28:45 +00:00
</div>
</div>
<div class="field">
<p class="control">
<span class="select">
<select>
<option>Select dropdown</option>
</select>
</span>
</p>
</div>
<div class="buttons">
<a class="button is-primary">Primary</a>
<a class="button is-link">Link</a>
</div>
2018-04-10 11:48:58 +00:00
</div>
</div>
2018-04-10 13:28:45 +00:00
<div class="bd-index-custom bd-is-after">
<p class="bd-index-custom-title">After</p>
<div class="bd-index-custom-example">
<h1 class="title">
Bulma
</h1>
<p class="subtitle">
2020-04-13 10:14:37 +00:00
Modern CSS framework based on
<a
href="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Basic_Concepts_of_Flexbox"
>Flexbox</a
>
2018-04-10 11:48:58 +00:00
</p>
2018-04-10 13:28:45 +00:00
<div class="field">
<div class="control">
2020-04-13 10:14:37 +00:00
<input class="input" type="text" placeholder="Input" />
2018-04-10 13:28:45 +00:00
</div>
</div>
<div class="field">
<p class="control">
<span class="select">
<select>
<option>Select dropdown</option>
</select>
</span>
</p>
</div>
<div class="buttons">
<a class="button is-primary">Primary</a>
<a class="button is-link">Link</a>
</div>
2018-04-10 11:48:58 +00:00
</div>
</div>
</div>
</div>
</div>
</section>