mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
Add more layout
This commit is contained in:
parent
a8c0805988
commit
999c284dcc
@ -323,10 +323,6 @@
|
||||
"name": "Blog",
|
||||
"path": "/blog"
|
||||
},
|
||||
"more": {
|
||||
"name": "More",
|
||||
"path": "/more"
|
||||
},
|
||||
"expo": {
|
||||
"name": "Expo",
|
||||
"subtitle": "Official Bulma showcase",
|
||||
@ -341,6 +337,10 @@
|
||||
"icon": "heart",
|
||||
"path": "/love"
|
||||
},
|
||||
"more": {
|
||||
"name": "More",
|
||||
"path": "/more"
|
||||
},
|
||||
"bulma-start": {
|
||||
"name": "Bulma start",
|
||||
"subtitle": "A tiny npm package to get started",
|
||||
@ -379,8 +379,6 @@
|
||||
}
|
||||
},
|
||||
"more": [
|
||||
"expo",
|
||||
"love",
|
||||
"bulma-start",
|
||||
"made-with-bulma",
|
||||
"bootstrap",
|
||||
|
13
docs/_includes/components/more.html
Normal file
13
docs/_includes/components/more.html
Normal file
@ -0,0 +1,13 @@
|
||||
<nav class="bd-categories">
|
||||
{% for link_id in site.data.links.more %}
|
||||
{% assign link = site.data.links.by_id[link_id] %}
|
||||
|
||||
<div class="bd-category">
|
||||
<header class="bd-category-header">
|
||||
<a class="bd-category-name" href="{{ site.url }}{{ link.path }}">
|
||||
<strong>{{ link.name }}</strong>
|
||||
</a>
|
||||
</header>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</nav>
|
@ -10,6 +10,11 @@
|
||||
</p>
|
||||
<div class="bd-pro-content">
|
||||
{{ include.content | markdownify }}
|
||||
|
||||
{% if include.title == 'No JavaScript' %}
|
||||
{% assign tweet = site.data.love.tweetsById.860885116909998080 %}
|
||||
{% include elements/tw.html tweet=tweet modifier='bd-is-grey' %}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
|
@ -1,12 +1,12 @@
|
||||
{% assign boostrap_link = site.data.links.by_id['boostrap'] %}
|
||||
{% assign bootstrap_link = site.data.links.by_id['bootstrap'] %}
|
||||
{% assign expo_link = site.data.links.by_id['expo'] %}
|
||||
{% assign love_link = site.data.links.by_id['love'] %}
|
||||
|
||||
<div class="bd-footer-stars">
|
||||
<a class="bd-footer-star bd-is-bootstrap" href="{{ site.url }}{{ boostrap_link.path }}">
|
||||
<a class="bd-footer-star bd-is-bootstrap" href="{{ site.url }}{{ bootstrap_link.path }}">
|
||||
<header class="bd-footer-star-header">
|
||||
<h4 class="bd-footer-title">
|
||||
<strong>Coming from Bootstrap</strong>
|
||||
<strong>{{ bootstrap_link.name }}</strong>
|
||||
</h4>
|
||||
<p class="bd-footer-subtitle">
|
||||
An alternative to Bootstrap
|
||||
@ -21,10 +21,10 @@
|
||||
<a class="bd-footer-star bd-is-expo" href="{{ site.url }}{{ expo_link.path }}">
|
||||
<header class="bd-footer-star-header">
|
||||
<h4 class="bd-footer-title">
|
||||
<span class="icon has-text-star">
|
||||
<i class="fas fa-star"></i>
|
||||
<span class="icon has-text-{{ expo_link.color }}">
|
||||
<i class="fas fa-{{ expo_link.icon }}"></i>
|
||||
</span>
|
||||
<strong>Expo</strong>
|
||||
<strong>{{ expo_link.name }}</strong>
|
||||
</h4>
|
||||
<p class="bd-footer-subtitle">
|
||||
See what you can build with Bulma
|
||||
@ -35,10 +35,10 @@
|
||||
<a class="bd-footer-star bd-is-love" href="{{ site.url }}{{ love_link.path }}">
|
||||
<header class="bd-footer-star-header">
|
||||
<h4 class="bd-footer-title">
|
||||
<span class="icon has-text-danger">
|
||||
<i class="fas fa-heart"></i>
|
||||
<span class="icon has-text-{{ love_link.color }}">
|
||||
<i class="fas fa-{{ love_link.icon }}"></i>
|
||||
</span>
|
||||
<strong>Love</strong>
|
||||
<strong>{{ love_link.name }}</strong>
|
||||
</h4>
|
||||
<p class="bd-footer-subtitle">
|
||||
Fans of Bulma
|
||||
|
13
docs/_includes/footer/link.html
Normal file
13
docs/_includes/footer/link.html
Normal file
@ -0,0 +1,13 @@
|
||||
<p class="bd-footer-link bd-has-subtitle">
|
||||
<a href="{{ site.url }}{{ link.path }}">
|
||||
<span class="bd-footer-link-icon has-text-{{ link.color }}">
|
||||
<i class="{% if link.icon_brand %}fab{% elsif link.icon_regular %}far{% else %}fas{% endif %} fa-{{ link.icon }}"></i>
|
||||
</span>
|
||||
<strong>
|
||||
{{ link.name }}
|
||||
</strong>
|
||||
<em>
|
||||
{{ link.subtitle }}
|
||||
</em>
|
||||
</a>
|
||||
</p>
|
@ -50,22 +50,15 @@
|
||||
<a href="{{ site.url }}{{ more_link.path }}">More</a>
|
||||
</p>
|
||||
|
||||
{% assign link = site.data.links.by_id['expo'] %}
|
||||
{% include footer/link.html %}
|
||||
|
||||
{% assign link = site.data.links.by_id['love'] %}
|
||||
{% include footer/link.html %}
|
||||
|
||||
{% for link_id in site.data.links.more %}
|
||||
{% assign link = site.data.links.by_id[link_id] %}
|
||||
|
||||
<p class="bd-footer-link bd-has-subtitle">
|
||||
<a href="{{ site.url }}{{ link.path }}">
|
||||
<span class="bd-footer-link-icon has-text-{{ link.color }}">
|
||||
<i class="{% if link.icon_brand %}fab{% elsif link.icon_regular %}far{% else %}fas{% endif %} fa-{{ link.icon }}"></i>
|
||||
</span>
|
||||
<strong>
|
||||
{{ link.name }}
|
||||
</strong>
|
||||
<em>
|
||||
{{ link.subtitle }}
|
||||
</em>
|
||||
</a>
|
||||
</p>
|
||||
{% include footer/link.html %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
<aside class="bd-side">
|
||||
{% if include.show_categories %}
|
||||
{% include elements/categories-nav.html %}
|
||||
{% include components/categories.html %}
|
||||
{% endif %}
|
||||
</aside>
|
||||
</div>
|
||||
|
@ -84,7 +84,7 @@ route: documentation
|
||||
|
||||
<aside class="bd-side">
|
||||
{% unless page.hide_categories %}
|
||||
{% include elements/categories-nav.html %}
|
||||
{% include components/categories.html %}
|
||||
{% endunless %}
|
||||
</aside>
|
||||
</div>
|
||||
|
85
docs/_layouts/more.html
Normal file
85
docs/_layouts/more.html
Normal file
@ -0,0 +1,85 @@
|
||||
---
|
||||
layout: default
|
||||
route: more
|
||||
---
|
||||
|
||||
{% include global/navbar.html id="More" %}
|
||||
|
||||
{% assign current_link_id = page.breadcrumb | last %}
|
||||
{% assign current_link = site.data.links.by_id[current_link_id] %}
|
||||
|
||||
{% assign category_links = site.data.links.more %}
|
||||
|
||||
{% for link_id in category_links %}
|
||||
{% if link_id == current_link_id %}
|
||||
{% unless forloop.first %}
|
||||
{% assign previous_index = forloop.index0 | minus: 1 %}
|
||||
{% assign previous_link_id = category_links[previous_index] %}
|
||||
{% assign previous_link = site.data.links.by_id[previous_link_id] %}
|
||||
{% endunless %}
|
||||
|
||||
{% unless forloop.last %}
|
||||
{% assign next_index = forloop.index0 | plus: 1 %}
|
||||
{% assign next_link_id = category_links[next_index] %}
|
||||
{% assign next_link = site.data.links.by_id[next_link_id] %}
|
||||
{% endunless %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
<main class="bd-main">
|
||||
<div class="bd-side-background"></div>
|
||||
<div class="bd-main-container container">
|
||||
<div class="bd-duo">
|
||||
<div class="bd-lead">
|
||||
{% include components/breadcrumb.html %}
|
||||
|
||||
<header class="bd-header">
|
||||
<div class="bd-header-titles">
|
||||
<h1 class="title">
|
||||
{% if page.title %}
|
||||
{{ page.title }}
|
||||
{% else %}
|
||||
{{ current_link.name }}
|
||||
{% endif %}
|
||||
</h1>
|
||||
<p class="subtitle is-4">
|
||||
{% if page.subtitle %}
|
||||
{{ page.subtitle }}
|
||||
{% else %}
|
||||
{{ current_link.subtitle }}
|
||||
{% endif %}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="bd-header-carbon">
|
||||
{% include elements/carbon.html %}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div class="bd-content">
|
||||
{{ content }}
|
||||
</div>
|
||||
|
||||
<nav class="bd-prev-next-bis">
|
||||
{% if previous_link %}
|
||||
<a class="bd-prev-next-bis-previous" href="{{ site.url }}{{ previous_link.path }}" title="{{ previous_link.name }}">
|
||||
← {{ previous_link.name }}
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
{% if next_link %}
|
||||
<a class="bd-prev-next-bis-next" href="{{ site.url }}{{ next_link.path }}" title="{{ next_link.name }}">
|
||||
{{ next_link.name }} →
|
||||
</a>
|
||||
{% endif %}
|
||||
</nav>
|
||||
|
||||
{% include elements/improve-page.html %}
|
||||
</div>
|
||||
|
||||
<aside class="bd-side">
|
||||
{% include components/more.html %}
|
||||
</aside>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
@ -1,20 +1,8 @@
|
||||
$bootstrap: #6f5499
|
||||
$bootstrap-invert: #fff
|
||||
|
||||
.bd-bootstrap
|
||||
.hero
|
||||
background-color: $bootstrap
|
||||
color: $bootstrap-invert
|
||||
.title,
|
||||
.subtitle
|
||||
color: currentColor
|
||||
.subtitle
|
||||
color: rgba($bootstrap-invert, 0.5)
|
||||
.subtitle a
|
||||
border-bottom: 1px solid currentColor
|
||||
color: currentColor
|
||||
&:hover
|
||||
color: $bootstrap-invert
|
||||
.bd-bootstrap-table
|
||||
margin: 3rem 0
|
||||
|
||||
.bd-pros-heading
|
||||
padding: 0 2rem
|
||||
@ -54,11 +42,7 @@ $bootstrap-invert: #fff
|
||||
.icon
|
||||
color: $bootstrap
|
||||
|
||||
.bd-separator
|
||||
color: $border
|
||||
margin: 0 0.25em
|
||||
|
||||
.bd-comparison
|
||||
.bd-bootstrap-comparison
|
||||
margin: 0 auto
|
||||
max-width: 42rem
|
||||
.table
|
||||
@ -93,5 +77,5 @@ $bootstrap-invert: #fff
|
||||
color: $text-strong
|
||||
font-weight: $weight-bold
|
||||
|
||||
.bd-comparison-header
|
||||
.bd-bootstrap-comparison-header
|
||||
margin-bottom: 3rem
|
||||
|
@ -1,4 +1,10 @@
|
||||
---
|
||||
fulltitle: "Bulma: an alternative to Bootstrap"
|
||||
layout: more
|
||||
breadcrumb:
|
||||
- home
|
||||
- more
|
||||
- bootstrap
|
||||
bulma:
|
||||
- type: "bulma"
|
||||
icon: "css3"
|
||||
@ -25,7 +31,7 @@ bulma:
|
||||
- type: "bulma"
|
||||
icon: "code"
|
||||
title: "No JavaScript"
|
||||
content: '<p>By focusing only on <strong>CSS</strong>, Bulma provides a lightweight solution that can easily be implemented in <strong>any development context</strong>.</p><blockquote class="twitter-tweet" data-cards="hidden" data-lang="en"><p lang="en" dir="ltr"><a href="https://t.co/vY1ZsRScYM">https://t.co/vY1ZsRScYM</a> -- a CSS framework by <a href="https://twitter.com/jgthms">@jgthms</a> -- is lovely! No JS included, which means no JS opinions included!</p>— Robert Stuttaford (@RobStuttaford) <a href="https://twitter.com/RobStuttaford/status/860885116909998080">May 6, 2017</a></blockquote>'
|
||||
content: '<p>By focusing only on <strong>CSS</strong>, Bulma provides a lightweight solution that can easily be implemented in <strong>any development context</strong>.</p>'
|
||||
bootstrap:
|
||||
- type: "bootstrap"
|
||||
icon: "plug"
|
||||
@ -46,84 +52,13 @@ bootstrap:
|
||||
content: "Bootstrap has some **elements** like [list group](https://getbootstrap.com/components/#list-group), [wells](https://getbootstrap.com/components/#wells), or [page header](https://getbootstrap.com/components/#page-header) that Bulma doesn't have."
|
||||
---
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" class="has-navbar-fixed-top">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.data.meta.description }}{% endif %}">
|
||||
|
||||
<title>Bulma: an alternative to Bootstrap</title>
|
||||
|
||||
<link rel="stylesheet" href="{{ site.url }}/css/bulma-docs.css">
|
||||
|
||||
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.url }}">
|
||||
<link rel="alternate" type="application/rss+xml" title="{{ site.data.meta.title }}" href="{{ "/atom.xml" | prepend: site.url }}">
|
||||
|
||||
<meta property="og:url" content="{{site.url}}">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:title" content="{{site.data.meta.title}}">
|
||||
<meta property="og:image" content="{{site.url}}/images/bulma-banner.png">
|
||||
<meta property="og:image:type" content="image/png">
|
||||
<meta property="og:image:width" content="1200">
|
||||
<meta property="og:image:height" content="630">
|
||||
<meta property="og:description" content="{{site.data.meta.description}}">
|
||||
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:site" content="@jgthms">
|
||||
<meta name="twitter:creator" content="@jgthms">
|
||||
<meta name="twitter:title" content="{{site.data.meta.title}}">
|
||||
<meta name="twitter:image" content="{{site.url}}/images/bulma-banner.png">
|
||||
<meta name="twitter:description" content="{{site.data.meta.description}}">
|
||||
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="{{site.url}}/favicons/apple-touch-icon.png?v=201701041855">
|
||||
<link rel="icon" type="image/png" href="{{site.url}}/favicons/favicon-32x32.png?v=201701041855" sizes="32x32">
|
||||
<link rel="icon" type="image/png" href="{{site.url}}/favicons/favicon-16x16.png?v=201701041855" sizes="16x16">
|
||||
<link rel="manifest" href="{{site.url}}/favicons/manifest.json?v=201701041855">
|
||||
<link rel="mask-icon" href="{{site.url}}/favicons/safari-pinned-tab.svg?v=201701041855" color="#00d1b2">
|
||||
<link rel="shortcut icon" href="{{site.url}}/favicons/favicon.ico?v=201701041855">
|
||||
<meta name="msapplication-config" content="{{site.url}}/favicons/browserconfig.xml?v=201701041855">
|
||||
<meta name="theme-color" content="#00d1b2">
|
||||
|
||||
<script defer src="{{ site.data.icons.fontawesome5 }}"></script>
|
||||
</head>
|
||||
<body>
|
||||
{% include global/navbar.html id="Documentation" %}
|
||||
|
||||
<main class="bd-bootstrap">
|
||||
<section class="hero is-medium">
|
||||
<div class="hero-body">
|
||||
<div class="container">
|
||||
<div class="columns is-vcentered">
|
||||
<div class="column">
|
||||
<h1 class="title">
|
||||
Bulma: an alternative to Bootstrap
|
||||
</h1>
|
||||
<p class="subtitle">
|
||||
Learn how Bulma can become a replacement for <a href="https://getbootstrap.com/" target="_blank">Bootstrap</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="column is-narrow">
|
||||
{% include elements/carbon.html %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<div class="section notification is-radiusless">
|
||||
<div class="bd-bootstrap-message notification is-radiusless">
|
||||
<h2 class="subtitle">
|
||||
<div class="container">
|
||||
Both Bulma and Bootstrap are <strong>CSS frameworks</strong> that allow developers to quickly <strong>build web interfaces</strong> with ease. While they have fairly similar features, they still differ in some ways, and you might wonder why you should choose one framework over the other. This page is here to help answer that.
|
||||
</div>
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
</div>
|
||||
|
||||
<div class="bd-bootstrap-table">
|
||||
<div class="columns is-desktop">
|
||||
<div class="column is-half-desktop">
|
||||
<h3 class="subtitle is-3 has-text-centered pros-heading">
|
||||
@ -167,16 +102,10 @@ bootstrap:
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<hr>
|
||||
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<div class="bd-comparison">
|
||||
<header class="bd-comparison-header has-text-centered">
|
||||
<div class="bd-bootstrap-comparison">
|
||||
<header class="bd-bootstrap-comparison-header has-text-centered">
|
||||
<h2 class="title">
|
||||
Comparison table
|
||||
</h2>
|
||||
@ -201,10 +130,4 @@ bootstrap:
|
||||
{% include content/comparison.html %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{% include global/footer.html %}
|
||||
</body>
|
||||
</html>
|
||||
</div>
|
||||
|
@ -1,75 +1,53 @@
|
||||
---
|
||||
title: Backers via Patreon
|
||||
layout: default
|
||||
layout: more
|
||||
route: backers
|
||||
breadcrumb:
|
||||
- home
|
||||
- more
|
||||
- patreon-backers
|
||||
---
|
||||
|
||||
{% include global/navbar.html id="BackersNavbar" %}
|
||||
|
||||
<section class="hero is-primary bd-is-patreon">
|
||||
<div class="hero-body">
|
||||
<div class="container">
|
||||
<div class="columns is-vcentered">
|
||||
<div class="column">
|
||||
<h1 class="title">
|
||||
Backers via Patreon
|
||||
</h1>
|
||||
<p class="subtitle">
|
||||
Everyone who is supporting Bulma
|
||||
</p>
|
||||
</div>
|
||||
<div class="column is-narrow">
|
||||
{% include elements/carbon.html %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<h2 class="title is-5">
|
||||
<h2 class="title is-5">
|
||||
Website sponsors via Patreon ($300+)
|
||||
</h2>
|
||||
<div class="content">
|
||||
</h2>
|
||||
<div class="content">
|
||||
<ul>
|
||||
{% for backer in site.data.backers["300"] reversed %}
|
||||
{% include elements/patreon-item.html %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h2 class="title is-5">
|
||||
<h2 class="title is-5">
|
||||
Homepage sponsors via Patreon ($100+)
|
||||
</h2>
|
||||
<div class="content">
|
||||
</h2>
|
||||
<div class="content">
|
||||
<ul>
|
||||
{% for backer in site.data.backers["100"] reversed %}
|
||||
{% include elements/patreon-item.html %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h2 class="title is-5">
|
||||
<h2 class="title is-5">
|
||||
Generous backers via Patreon ($30+)
|
||||
</h2>
|
||||
<div class="content">
|
||||
</h2>
|
||||
<div class="content">
|
||||
<ul>
|
||||
{% for backer in site.data.backers["30"] reversed %}
|
||||
{% include elements/patreon-item.html %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h2 class="title is-5">
|
||||
<h2 class="title is-5">
|
||||
Backers via Patreon ($10+)
|
||||
</h2>
|
||||
<div class="content">
|
||||
</h2>
|
||||
<div class="content">
|
||||
<ul>
|
||||
{% for backer in site.data.backers["10"] reversed %}
|
||||
{% include elements/patreon-item.html %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
@ -1,37 +1,18 @@
|
||||
---
|
||||
title: "Bulma start"
|
||||
fulltitle: "Bulma start: a tiny npm package to get started with Bulma"
|
||||
layout: default
|
||||
layout: more
|
||||
route: bulma-start
|
||||
download_url: https://github.com/jgthms/bulma-start/archive/master.zip
|
||||
github_url: https://github.com/jgthms/bulma-start
|
||||
npm_url: https://www.npmjs.com/package/bulma-start
|
||||
breadcrumb:
|
||||
- home
|
||||
- more
|
||||
- bulma-start
|
||||
---
|
||||
|
||||
{% include global/navbar.html id="BulmaStartHero" %}
|
||||
|
||||
<section class="hero is-success">
|
||||
<div class="hero-body">
|
||||
<div class="container">
|
||||
<div class="columns is-vcentered">
|
||||
<div class="column">
|
||||
<h1 class="title">
|
||||
Bulma Start
|
||||
</h1>
|
||||
<p class="subtitle">
|
||||
Tiny npm package to get started with Bulma
|
||||
</p>
|
||||
</div>
|
||||
<div class="column is-narrow">
|
||||
{% include elements/carbon.html %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<div class="columns">
|
||||
<div class="columns">
|
||||
<div class="column is-5-widescreen">
|
||||
<p class="title is-4"><code><a target="_blank" href="{{ page.npm_url }}">bulma-start</a></code> is a tiny npm package that includes the <code>npm</code> <strong>dependencies</strong> you need to <strong>build your own website</strong> with Bulma.</p>
|
||||
<div class="buttons">
|
||||
@ -45,19 +26,19 @@ npm_url: https://www.npmjs.com/package/bulma-start
|
||||
<div class="column is-narrow">
|
||||
<p><a href="{{ page.npm_url }}"><img src="{{ site.url }}/images/bulma-start.png" alt="Bulma: a Flexbox CSS framework" style="max-width:100%;" width="438" height="200"></a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% include elements/anchor.html name="Install" %}
|
||||
{% include elements/anchor.html name="Install" %}
|
||||
|
||||
{% highlight bash %}npm install bulma-start{% endhighlight %}
|
||||
{% highlight bash %}npm install bulma-start{% endhighlight %}
|
||||
|
||||
<p class="block"><em>or</em></p>
|
||||
<p class="block"><em>or</em></p>
|
||||
|
||||
{% highlight bash %}yarn add bulma-start{% endhighlight %}
|
||||
{% highlight bash %}yarn add bulma-start{% endhighlight %}
|
||||
|
||||
{% include elements/anchor.html name="What’s included" %}
|
||||
{% include elements/anchor.html name="What’s included" %}
|
||||
|
||||
<div class="content">
|
||||
<div class="content">
|
||||
<p>The <code>npm</code> dependencies included in <code>package.json</code> are:</p>
|
||||
|
||||
<ul>
|
||||
@ -76,6 +57,4 @@ npm_url: https://www.npmjs.com/package/bulma-start
|
||||
<li><code>_sass/main.scss</code> a basic SCSS file that <strong>imports Bulma</strong> and explains how to <strong>customize</strong> your styles, and compiles to <code>css/main.css</code></li>
|
||||
<li><code>_javascript/main.js</code> an ES6 JavaScript that compiles to <code>lib/main.js</code></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
@ -12212,27 +12212,8 @@ svg {
|
||||
}
|
||||
}
|
||||
|
||||
.bd-bootstrap .hero {
|
||||
background-color: #6f5499;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.bd-bootstrap .hero .title,
|
||||
.bd-bootstrap .hero .subtitle {
|
||||
color: currentColor;
|
||||
}
|
||||
|
||||
.bd-bootstrap .hero .subtitle {
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
|
||||
.bd-bootstrap .hero .subtitle a {
|
||||
border-bottom: 1px solid currentColor;
|
||||
color: currentColor;
|
||||
}
|
||||
|
||||
.bd-bootstrap .hero .subtitle a:hover {
|
||||
color: #fff;
|
||||
.bd-bootstrap-table {
|
||||
margin: 3rem 0;
|
||||
}
|
||||
|
||||
.bd-pros-heading {
|
||||
@ -12281,28 +12262,23 @@ svg {
|
||||
color: #6f5499;
|
||||
}
|
||||
|
||||
.bd-separator {
|
||||
color: #dbdbdb;
|
||||
margin: 0 0.25em;
|
||||
}
|
||||
|
||||
.bd-comparison {
|
||||
.bd-bootstrap-comparison {
|
||||
margin: 0 auto;
|
||||
max-width: 42rem;
|
||||
}
|
||||
|
||||
.bd-comparison .table {
|
||||
.bd-bootstrap-comparison .table {
|
||||
color: #ff3860;
|
||||
}
|
||||
|
||||
.bd-comparison .table thead th,
|
||||
.bd-comparison .table tfoot th {
|
||||
.bd-bootstrap-comparison .table thead th,
|
||||
.bd-bootstrap-comparison .table tfoot th {
|
||||
font-size: 1.5rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.bd-comparison .table thead svg,
|
||||
.bd-comparison .table tfoot svg {
|
||||
.bd-bootstrap-comparison .table thead svg,
|
||||
.bd-bootstrap-comparison .table tfoot svg {
|
||||
height: 1.5rem;
|
||||
margin-right: 1rem;
|
||||
position: relative;
|
||||
@ -12310,36 +12286,36 @@ svg {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.bd-comparison .table tbody th {
|
||||
.bd-bootstrap-comparison .table tbody th {
|
||||
font-size: 1.25rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.bd-comparison .table tbody td {
|
||||
.bd-bootstrap-comparison .table tbody td {
|
||||
font-family: monospace;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.bd-comparison .table tbody a {
|
||||
.bd-bootstrap-comparison .table tbody a {
|
||||
color: currentColor;
|
||||
}
|
||||
|
||||
.bd-comparison .table tbody a:hover {
|
||||
.bd-bootstrap-comparison .table tbody a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.bd-comparison .table .bd-is-empty {
|
||||
.bd-bootstrap-comparison .table .bd-is-empty {
|
||||
background-color: whitesmoke;
|
||||
color: #7a7a7a;
|
||||
}
|
||||
|
||||
.bd-comparison .table .bd-is-unique {
|
||||
.bd-bootstrap-comparison .table .bd-is-unique {
|
||||
background-color: rgba(35, 209, 96, 0.25);
|
||||
color: #363636;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.bd-comparison-header {
|
||||
.bd-bootstrap-comparison-header {
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
|
||||
|
@ -1,7 +1,12 @@
|
||||
---
|
||||
title: Extensions
|
||||
layout: default
|
||||
layout: more
|
||||
route: extensions
|
||||
route: backers
|
||||
breadcrumb:
|
||||
- home
|
||||
- more
|
||||
- extensions
|
||||
extensions:
|
||||
- name: bulma-accordion
|
||||
url: https://wikiki.github.io/components/accordion
|
||||
@ -110,31 +115,7 @@ extensions:
|
||||
height: 469
|
||||
---
|
||||
|
||||
{% include global/navbar.html id="Extensions" %}
|
||||
|
||||
<section class="hero is-danger">
|
||||
<div class="hero-body">
|
||||
<div class="container">
|
||||
<div class="columns is-vcentered">
|
||||
<div class="column">
|
||||
<h1 class="title">
|
||||
<a href="{{ site.url }}/blog">Extensions</a>
|
||||
</h1>
|
||||
<p class="subtitle">
|
||||
Side projects to enhance Bulma
|
||||
</p>
|
||||
</div>
|
||||
<div class="column is-narrow">
|
||||
{% include elements/carbon.html %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
{% for extension in page.extensions %}
|
||||
{% for extension in page.extensions %}
|
||||
<a class="box" href="{{ extension.url }}">
|
||||
<div class="columns">
|
||||
<div class="column is-one-third">
|
||||
@ -150,9 +131,9 @@ extensions:
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
||||
<div class="message">
|
||||
<div class="message">
|
||||
<div class="message-body">
|
||||
<div class="level">
|
||||
<div class="level-left">
|
||||
@ -169,6 +150,4 @@ extensions:
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
@ -1,7 +1,11 @@
|
||||
---
|
||||
fulltitle: Made with Bulma badges
|
||||
layout: default
|
||||
layout: more
|
||||
route: made-with-bulma
|
||||
breadcrumb:
|
||||
- home
|
||||
- more
|
||||
- made-with-bulma
|
||||
images:
|
||||
- name: "Default"
|
||||
description: "White boxed"
|
||||
@ -41,37 +45,13 @@ images:
|
||||
</a>
|
||||
{% endcapture %}
|
||||
|
||||
{% include global/navbar.html id="MadeWithBulmaHero" %}
|
||||
|
||||
<section class="hero is-primary">
|
||||
<div class="hero-body">
|
||||
<div class="container">
|
||||
<div class="columns is-vcentered">
|
||||
<div class="column">
|
||||
<h1 class="title">
|
||||
Made with Bulma
|
||||
</h1>
|
||||
<p class="subtitle">
|
||||
Join the Bulma community by displaying a badge on your website
|
||||
</p>
|
||||
</div>
|
||||
<div class="column is-narrow">
|
||||
{% include elements/carbon.html %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<h2 class="title">6 badges available</h2>
|
||||
<div class="content">
|
||||
<h2 class="title">6 badges available</h2>
|
||||
<div class="content">
|
||||
<p>
|
||||
The <code>Made with Bulma</code> badge is available in <strong>6 different</strong> versions:
|
||||
</p>
|
||||
</div>
|
||||
<table class="table is-bordered bd-mwb-table">
|
||||
</div>
|
||||
<table class="table is-bordered bd-mwb-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Type</th>
|
||||
@ -98,17 +78,17 @@ images:
|
||||
<td><a class="button is-primary" href="{{ site.url }}/images/made-with-bulma-badges.zip"><span><strong>Download</strong> all 6 badges</span></a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</table>
|
||||
|
||||
{% include elements/anchor.html name="Usage" %}
|
||||
{% include elements/anchor.html name="Usage" %}
|
||||
|
||||
<div class="content">
|
||||
<div class="content">
|
||||
<p>
|
||||
Ideally the image is displayed at <code>128x24</code> pixels, and links back to the Bulma website:
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="bd-snippet bd-is-vertical bd-is-two-fifths">
|
||||
<div class="bd-snippet bd-is-vertical bd-is-two-fifths">
|
||||
<div class="bd-snippet-preview">
|
||||
<a href="https://bulma.io">
|
||||
<img src="{{ site.url }}/images/made-with-bulma.png" alt="Made with Bulma" width="128" height="24">
|
||||
@ -117,15 +97,15 @@ images:
|
||||
<div class="bd-snippet-code highlight-full">
|
||||
{% highlight html %}{{ image_example }}{% endhighlight %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="content">
|
||||
<p>
|
||||
Since the original image dimensions are <code>512x96</code> pixels, you can also display it at <code>256x48</code> without losing any quality:
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="bd-snippet bd-is-vertical bd-is-two-fifths">
|
||||
<div class="bd-snippet bd-is-vertical bd-is-two-fifths">
|
||||
<div class="bd-snippet-preview">
|
||||
<a href="https://bulma.io">
|
||||
<img src="{{ site.url }}/images/made-with-bulma.png" alt="Made with Bulma" width="256" height="48">
|
||||
@ -134,30 +114,27 @@ images:
|
||||
<div class="bd-snippet-code highlight-full">
|
||||
{% highlight html %}{{ image_bigger_example }}{% endhighlight %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% include elements/anchor.html name="Badge snippets" %}
|
||||
{% include elements/anchor.html name="Badge snippets" %}
|
||||
|
||||
<div class="content">
|
||||
<div class="content">
|
||||
<p>
|
||||
You can simply <strong>embed</strong> an image <strong>directly</strong> on your website by using one of the following snippets.
|
||||
</p>
|
||||
</div>
|
||||
{% for image in page.images %}
|
||||
</div>
|
||||
{% for image in page.images %}
|
||||
{% capture image_example %}
|
||||
<a href="https://bulma.io">
|
||||
<img src="{{ site.url }}/images/made-with-bulma{{ image.type }}.png" alt="Made with Bulma" width="128" height="24">
|
||||
<img src="{{ site.url }}/images/made-with-bulma{{ image.type }}.png" alt="Made with Bulma" width="128" height="24">
|
||||
</a>
|
||||
{% endcapture %}
|
||||
<div class="bd-snippet bd-is-vertical bd-is-one-fifth">
|
||||
<div class="bd-snippet bd-is-vertical bd-is-one-fifth">
|
||||
<div class="bd-snippet-preview" style="background: {{ image.bg }};">
|
||||
{{ image_example }}
|
||||
</div>
|
||||
<div class="bd-snippet-code highlight-full">
|
||||
{% highlight html %}{{ image_example }}{% endhighlight %}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user