Skip to content

Commit 3d48346

Browse files
committed
Upgrade Bulma 0.8.2 to 0.9.0
1 parent a4b2ef1 commit 3d48346

File tree

11 files changed

+17
-47
lines changed

11 files changed

+17
-47
lines changed

_includes/nav-posts.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="columns is-variable is-8 has-offset-top">
1+
<div class="columns is-variable is-8 mt-6">
22
<div class="column">
33
{%- if previousPost -%}
44
<a class="arrow-left" href="{{ previousPost.url | url }}">{{ previousPost.data.title }}</a>

_includes/shortcodes/meetup-details.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ module.exports = function meetupDetails(meetHeader, meetDate, venue, after, meet
9292
? `<a href="${afterOrg.url}">${afterOrg.name}</a>`
9393
: afterOrg.name;
9494

95-
afterBlock = `<p class="has-margin-top">
95+
afterBlock = `<p class="mt-4">
9696
Afterwards, the discussion carries on at
9797
<strong>${afterName}</strong>
9898
(${afterOrg.location}).
@@ -140,7 +140,7 @@ module.exports = function meetupDetails(meetHeader, meetDate, venue, after, meet
140140
141141
${afterBlock}
142142
143-
<div class="has-margin-top">
143+
<div class="mt-4">
144144
Help ${tweetPost('spread the word on Twitter', this.page.url, meetTitle)}.
145145
</div>
146146
</div>

_includes/shortcodes/video-player.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ module.exports = (video, title) => {
3838
<figure class="image is-16by9">
3939
${videoPlayer}
4040
</figure>
41-
<figcaption class="has-margin-top">
41+
<figcaption class="mt-4">
4242
${videoLink.replace('</a>', `${videoSrc}</a>`)}
4343
</figcaption>
4444
</div>

_layouts/base.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
</div>
7474
</main>
7575

76-
<footer class="page-footer footer has-offset-top">
76+
<footer class="page-footer footer mt-4 pt-4">
7777
<div class="container">
7878
<div class="navbar">
7979
<div class="navbar-menu is-active">

_layouts/meetup.liquid

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ layout: base
1414
{%- videoPlayer video, title -%}
1515
</div>
1616

17-
<div class="column has-offset-top">
17+
<div class="column mt-5">
1818
{%- if slides -%}
1919
<div class="message flex-item is-info">
2020
<h3 class="message-header">Meetup slides</h3>
@@ -29,7 +29,7 @@ layout: base
2929
<h2 class="title is-sr-only">Speaker</h2>
3030

3131
{%- for person in speakers -%}
32-
<div class="has-offset-top">
32+
<div class="mt-4">
3333
{%- include business-card -%}
3434
</div>
3535
{%- endfor -%}

_sass/_main.scss

Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,22 @@ $info: $tetradic1;
1111

1212
// @import "../node_modules/bulma/bulma.sass";
1313

14-
// @import "../node_modules/bulma/sass/utilities/_all.sass";
1514
@import "../node_modules/bulma/sass/utilities/initial-variables.sass";
1615

1716
$link: darken($blue, 3%); // darkened 3% for a11y contrast
1817
$scheme-main: $white-ter;
1918
$footer-background-color: $white-ter;
2019

2120
@import "../node_modules/bulma/sass/utilities/functions.sass";
22-
@import "../node_modules/bulma/sass/utilities/derived-variables.sass";
21+
@import "../node_modules/bulma/sass/utilities/derived-variables.scss";
2322
// @import "../node_modules/bulma/sass/utilities/animations.sass";
2423
@import "../node_modules/bulma/sass/utilities/mixins.sass";
2524
@import "../node_modules/bulma/sass/utilities/controls.sass";
2625

27-
// @import "../node_modules/bulma/sass/base/_all.sass";
2826
@import "../node_modules/bulma/sass/base/minireset.sass";
2927
@import "../node_modules/bulma/sass/base/generic.sass";
30-
@import "../node_modules/bulma/sass/base/helpers.sass";
28+
@import "../node_modules/bulma/sass/helpers/_all.sass";
3129

32-
// @import "../node_modules/bulma/sass/elements/_all.sass";
3330
@import "../node_modules/bulma/sass/elements/box.sass";
3431
// @import "../node_modules/bulma/sass/elements/button.sass";
3532
@import "../node_modules/bulma/sass/elements/container.sass";
@@ -43,20 +40,17 @@ $footer-background-color: $white-ter;
4340
@import "../node_modules/bulma/sass/elements/title.sass";
4441
// @import "../node_modules/bulma/sass/elements/other.sass";
4542

46-
// @import "../node_modules/bulma/sass/form/_all.sass";
4743
// @import "../node_modules/bulma/sass/form/shared.sass";
4844
// @import "../node_modules/bulma/sass/form/input-textarea.sass";
4945
// @import "../node_modules/bulma/sass/form/checkbox-radio";
5046
// @import "../node_modules/bulma/sass/form/select.sass";
5147
// @import "../node_modules/bulma/sass/form/file.sass";
5248
// @import "../node_modules/bulma/sass/form/tools.sass";
5349

54-
// @import "../node_modules/bulma/sass/components/_all.sass";
5550
// @import "../node_modules/bulma/sass/components/breadcrumb.sass";
5651
@import "../node_modules/bulma/sass/components/card.sass";
5752
// @import "../node_modules/bulma/sass/components/dropdown.sass";
5853
@import "../node_modules/bulma/sass/components/level.sass";
59-
@import "../node_modules/bulma/sass/components/list.sass";
6054
@import "../node_modules/bulma/sass/components/media.sass";
6155
// @import "../node_modules/bulma/sass/components/menu.sass";
6256
@import "../node_modules/bulma/sass/components/message.sass";
@@ -170,27 +164,6 @@ $footer-background-color: $white-ter;
170164
border-top: 1px solid $white-ter;
171165
}
172166

173-
.has-margin-top {
174-
margin-top: 1em;
175-
}
176-
177-
@media screen and (min-width: $tablet) {
178-
.has-offset-top {
179-
margin-top: 1em;
180-
padding-top: 1em;
181-
}
182-
183-
.has-offset-top-2 {
184-
margin-top: 2em;
185-
padding-top: 1em;
186-
}
187-
188-
.has-offset-top-3 {
189-
margin-top: 3em;
190-
padding-top: 1em;
191-
}
192-
}
193-
194167
.is-marginless-bottom {
195168
margin-bottom: 0 !important;
196169
}

about.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,10 @@ <h2 id="colophon">Colophon</h2>
4343
<li>Source code versioning, CI/CD, web site hosting: <a href="https://github.com/austinjavascript/austinjavascript.com/">GitHub</a></li>
4444
</ul>
4545
</div>
46-
47-
<div class="has-offset-top-3 has-border-top">
48-
</div>
4946
</div>
5047

5148
<div class="column">
52-
<div class="has-offset-top-2">
49+
<div class="mt-6">
5350
<div class="content">
5451
<h2>Organizers</h2>
5552
<p>Austin JavaScript is made possible by the goodwill and hard work of a great many people. Please reach out to the following folks if you have any questions or want to <a href="{{ '/contributing/' | url }}">get more involved</a>.</p>
@@ -67,7 +64,7 @@ <h2>Organizers</h2>
6764
</div>
6865
</div>
6966

70-
<div class="has-offset-top">
67+
<div class="mt-6">
7168
<div class="content">
7269
<h2>Emeriti</h2>
7370
<p>These past leaders helped make Austin JavaScript what it is today.</p>

code-of-conduct.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ <h2>Original source and credit</h2>
3535
</div>
3636

3737
<div class="column">
38-
<div class="content has-offset-top-2">
38+
<div class="content mt-6">
3939
<h3>Need help?</h3>
4040
<p>Contact an organizer in person or via e-mail:</p>
4141
<ul>

contributing.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ <h2 class="title is-size-4 has-text-tetradic3">Crew</h2>
6767
</div>
6868
</div>
6969

70-
<div class="column has-offset-top-3">
70+
<div class="column mt-6">
7171
<div class="content">
7272
<h2 class="is-sr-only">Organizers</h2>
7373
<p>If you are interested in contributing, please contact one of our friendly Organizers:</p>

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)