mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-28 22:00:25 -04:00
- create sass file to center 404 image on page
This commit is contained in:
parent
357ef45cb0
commit
b04d63d5bf
2 changed files with 10 additions and 1 deletions
app
9
app/styles/not_found.sass
Normal file
9
app/styles/not_found.sass
Normal 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
|
|
@ -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")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue