taiki-t's diary

React Native, Rails そして雑多な記録: The world is waiting for you to give it a meaning.

css

Install Bulma to Rails 5.1

in terminal yarn add bulma in app/assets/stylesheets/application.scss @import "bulma/bulma" That's it. Restart the server as needed. May apply to other css frameworks. bulma.io

はてなブログthemeのevergreenにサイドバーをつけた

つけたかったので #container { width: 1200px; } #container-inner { min-width: 1200px; } #main { float: left; max-width: 780px; margin: 0 auto; } こんな感じ。適当にやったらできたのでよかった。 まあ正確にはつけたというよりフッターを移動した、…