bulma/docs/_includes/index/customize.html

104 lines
3.4 KiB
HTML
Raw Normal View History

2018-07-14 17:38:27 +00:00
{% assign customize_link = site.data.links.by_id['customize'] %}
2018-04-10 11:48:58 +00:00
2018-04-13 14:00:15 +00:00
<section id="customize" class="bd-easy section is-medium">
2018-04-10 11:48:58 +00:00
<div class="container">
2018-04-10 13:28:45 +00:00
<header class="bd-index-header">
<h3 class="title is-3">
<a href="{{ site.url }}{{ customize_link.path }}">
So <strong>quick</strong> to customize
</a>
</h3>
<h4 class="subtitle is-4">
Simply set your own Sass variables before importing Bulma
</h4>
2019-04-07 15:28:01 +00:00
<div class="bd-index-custom-tweet">
2020-04-13 10:14:37 +00:00
{% include elements/tw.html tweet_id="1070320154452656128"
modifier='bd-is-grey' %}
2019-04-07 15:28:01 +00:00
</div>
2018-04-10 13:28:45 +00:00
</header>
2018-04-10 11:48:58 +00:00
2018-04-10 13:28:45 +00:00
<div class="columns">
<div class="column is-6">
2018-04-11 11:54:56 +00:00
<div class="highlight-full bd-has-drawing">
2020-04-13 10:14:37 +00:00
{% highlight scss %}{% include snippets/customized.html %}{%
endhighlight %} {% include elements/drawing.html id='customize'
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 is-6">
<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>
2020-04-13 10:14:37 +00:00
{% include components/hero-buttons.html href=customize_link.path
2020-05-11 00:03:16 +00:00
content="<span>Learn how to <strong>customize</strong></span>" %}
2018-04-10 11:48:58 +00:00
</div>
</section>