Welcome to mirror list, hosted at ThFree Co, Russian Federation.

hero.html « components « _includes « docs - github.com/jgthms/bulma.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4fb6fd54702a84866a21c795edfadc529e7636b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{% capture hero_body %}
<div class="bd-hero-body">
  <div class="bd-hero-heading">
    <h1 class="title algolia-lvl0">
      {% if include.icon %}
        <span class="icon">
          <i class="{{ include.icon }}"></i>
        </span>
      {% endif %}
      {{ include.title | markdownify }}
    </h1>
    <div class="subtitle is-4 algolia-lvl1">
      {{ include.subtitle | markdownify }}
    </div>
    {{ include.content }}
  </div>

  <div class="bd-hero-carbon">
    {% include elements/carbon.html %}
  </div>
</div>
{% endcapture %}

<section class="hero bd-hero bd-is-{{ include.color }}">
  <div class="hero-body">
    {% if page.fullwidth %}
      {{ hero_body }}
    {% else %}
      <div class="container">
        {{ hero_body }}
      </div>
    {% endif %}
  </div>
</section>