mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
1523ce8527
* Replace variables.json with colors.json and update related files accordingly * Add variables data files * Update variables include template and all related files to use new variables data * Fix mobile breakpoint id typo in responsivness docs page * Fix Liquid syntax error in made-with-bulma docs page * Update bulma sass files count in modular docs page * Use breakpoints data in responsiveness helpers docs page * Use breakpoints and variables data in typography helpers docs page * Add missing page titles in docs pages front matter
73 lines
1.8 KiB
HTML
73 lines
1.8 KiB
HTML
---
|
|
title: Box
|
|
layout: documentation
|
|
doc-tab: elements
|
|
doc-subtab: box
|
|
---
|
|
|
|
{% include subnav-elements.html %}
|
|
|
|
{% capture box_example %}
|
|
<div class="box">
|
|
<article class="media">
|
|
<div class="media-left">
|
|
<figure class="image is-64x64">
|
|
<img src="{{site.url}}/images/placeholders/128x128.png" alt="Image">
|
|
</figure>
|
|
</div>
|
|
<div class="media-content">
|
|
<div class="content">
|
|
<p>
|
|
<strong>John Smith</strong> <small>@johnsmith</small> <small>31m</small>
|
|
<br>
|
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean efficitur sit amet massa fringilla egestas. Nullam condimentum luctus turpis.
|
|
</p>
|
|
</div>
|
|
<nav class="level is-mobile">
|
|
<div class="level-left">
|
|
<a class="level-item">
|
|
<span class="icon is-small"><i class="fa fa-reply"></i></span>
|
|
</a>
|
|
<a class="level-item">
|
|
<span class="icon is-small"><i class="fa fa-retweet"></i></span>
|
|
</a>
|
|
<a class="level-item">
|
|
<span class="icon is-small"><i class="fa fa-heart"></i></span>
|
|
</a>
|
|
</div>
|
|
</nav>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
{% endcapture %}
|
|
|
|
<section class="section">
|
|
<div class="container">
|
|
<h1 class="title">Box</h1>
|
|
<h2 class="subtitle">
|
|
A white <strong>box</strong> to contain other elements
|
|
</h2>
|
|
{%
|
|
include meta.html
|
|
colors=false
|
|
sizes=false
|
|
variables=true
|
|
%}
|
|
|
|
<hr>
|
|
|
|
<div class="content">
|
|
<p>
|
|
The <code>.box</code> element is simply a container with a shadow, a border, a radius, and some padding.
|
|
<br>
|
|
For example, you can include a media object:
|
|
</p>
|
|
</div>
|
|
|
|
{% include snippet.html content=box_example more=true %}
|
|
|
|
{% include variables.html type='element' %}
|
|
|
|
</div>
|
|
</section>
|