Skip to content

Commit

Permalink
Add 0.7.5 notice
Browse files Browse the repository at this point in the history
  • Loading branch information
jgthms committed May 28, 2019
1 parent ff17a85 commit 01a1321
Show file tree
Hide file tree
Showing 6 changed files with 104 additions and 3 deletions.
5 changes: 3 additions & 2 deletions docs/_data/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
"title": "Bulma: Free, open source, & modern CSS framework based on Flexbox",
"description": "Bulma is a free, open source CSS framework based on Flexbox and built with Sass. It's 100% responsive, fully modular, and available for free.",
"documentation": "/documentation",
"download": "https://github.com/jgthms/bulma/releases/download/0.7.4/bulma-0.7.4.zip",
"download": "https://github.com/jgthms/bulma/releases/download/0.7.5/bulma-0.7.5.zip",
"release_notes": "https://github.com/jgthms/bulma/releases/tag/0.7.5",
"github": "https://github.com/jgthms/bulma",
"twitter": "https://twitter.com/jgthms",
"version": "0.7.4",
"version": "0.7.5",
"book_url": "https://bleedingedgepress.com/creating-interfaces-bulma/",
"book_amazon": "https://www.amazon.com/Creating-Interfaces-Bulma-Jeremy-Thomas-ebook/dp/B079M1BJG4/",
"book_sample": "http://www.bleedingedgepress.com/book_excerpts/01E9D1/creating_interfaces_with_bulma_sample.pdf",
Expand Down
14 changes: 14 additions & 0 deletions docs/_includes/global/notice.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<div class="bd-notice">
<div class="container">
<div class="bd-notice-body">
<p>
Bulma <strong>{{ site.data.meta.version }}</strong> is out!
</p>
<p>
<a target="_blank" href="{{ site.data.meta.release_notes }}">Release notes</a>
<span></span>
<a target="_blank" href="{{ site.data.meta.download }}"><strong>Download it now</strong></a>
</p>
</div>
</div>
</div>
35 changes: 35 additions & 0 deletions docs/_sass/global.sass
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,41 @@ svg
max-height: 100%
max-width: 100%

.bd-notice
background-color: $primary
color: $primary-invert
padding: 1em
text-align: center

.bd-notice-body
align-items: center
display: flex
justify-content: center
a,
strong
color: currentColor
a
border-bottom: 1px solid rgba($white, 0.5)
padding-bottom: 2px
&:hover
border-bottom-color: $white
span
margin: 0 0.25em
opacity: 0.5

+mobile
.bd-notice
font-size: 0.75rem
.bd-notice-body
flex-wrap: wrap
p:first-child
width: 100%

+tablet
.bd-notice-body
p:first-child
margin-right: 1em

.bd-patreon-button
display: inline-block
position: relative
Expand Down
50 changes: 50 additions & 0 deletions docs/css/bulma-docs.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/css/bulma-docs.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
fixed_navbar: true
---

{% include global/notice.html %}
{% include global/navbar.html id="Index" %}
{% include index/intro.html %}
{% include index/sponsor.html %}
Expand Down

0 comments on commit 01a1321

Please sign in to comment.