- create sass file to center 404 image on page

This commit is contained in:
Karthig 2014-03-03 11:42:07 -05:00
parent 357ef45cb0
commit b04d63d5bf
2 changed files with 10 additions and 1 deletions

View file

@ -0,0 +1,9 @@
@import "bootstrap/mixins"
@import "bootstrap/variables"
#not-found-view
.not-found-image
display: block
margin-left: auto
margin-right: auto

View file

@ -6,5 +6,5 @@ block content
num = Math.floor(Math.random() * 3) + 1
img(src="/images/pages/not_found/404_#{num}.png")
img(src="/images/pages/not_found/404_#{num}.png" class="not-found-image")