Add bulma css helpers

This commit is contained in:
Yannick 2020-04-08 13:59:08 +02:00
parent ff44244308
commit 4550dc214e
5 changed files with 10 additions and 3 deletions

View File

@ -37,3 +37,4 @@ $family-secondary: 'Comfortaa', cursive;
body { body {
min-height: 100vh; min-height: 100vh;
} }
@import 'bulma-helpers/bulma-helpers'

View File

@ -1,6 +1,6 @@
<section class="hero is-medium is-dark is-bold"> <section class="hero is-medium is-dark is-bold">
<div class="hero-body"> <div class="hero-body">
<div class="container"> <div class="container has-padding-50">
<h1 class="title is-family-secondary has-text-weight-bold"> <h1 class="title is-family-secondary has-text-weight-bold">
Welcome Welcome
</h1> </h1>

View File

@ -13,7 +13,7 @@
<body class="has-background-white-bis"> <body class="has-background-white-bis">
<div class="has-background-white"> <div class="has-background-white">
<div class="container "> <div class="container has-padding-5 has-padding-right-35 has-padding-left-35">
<nav class="navbar" role="navigation" aria-label="main navigation"> <nav class="navbar" role="navigation" aria-label="main navigation">
<div class="navbar-brand"> <div class="navbar-brand">
<a class="navbar-item is-size-3 has-text-black has-text-weight-bold is-font-logo" href="/"> <a class="navbar-item is-size-3 has-text-black has-text-weight-bold is-font-logo" href="/">

View File

@ -7,6 +7,7 @@
"@rails/ujs": "^6.0.0", "@rails/ujs": "^6.0.0",
"@rails/webpacker": "4.2.2", "@rails/webpacker": "4.2.2",
"bulma": "^0.8.1", "bulma": "^0.8.1",
"bulma-helpers": "^0.3.10",
"turbolinks": "^5.2.0" "turbolinks": "^5.2.0"
}, },
"version": "0.1.0", "version": "0.1.0",

View File

@ -1540,6 +1540,11 @@ builtin-status-codes@^3.0.0:
resolved "https://registry.yarnpkg.com/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz#85982878e21b98e1c66425e03d0174788f569ee8" resolved "https://registry.yarnpkg.com/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz#85982878e21b98e1c66425e03d0174788f569ee8"
integrity sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug= integrity sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=
bulma-helpers@^0.3.10:
version "0.3.10"
resolved "https://registry.yarnpkg.com/bulma-helpers/-/bulma-helpers-0.3.10.tgz#a0ab518b44343bb708339ade721f7355d159a547"
integrity sha512-dgJB8LreVzAHJfcbYUUONA0oo/cdWxhFt1b/DlmTLaukYTjkdM5GP9A7DRyssjuRhcozIqzTm//BLLR313Xw3Q==
bulma@^0.8.1: bulma@^0.8.1:
version "0.8.1" version "0.8.1"
resolved "https://registry.yarnpkg.com/bulma/-/bulma-0.8.1.tgz#a5feacb703b73a87fdeae4f0d12317d62fc1d301" resolved "https://registry.yarnpkg.com/bulma/-/bulma-0.8.1.tgz#a5feacb703b73a87fdeae4f0d12317d62fc1d301"