mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-09-15 05:25:33 -04:00
add a partial template that returns an asset's URL and hash from webpack's manifest
still a mess but slightly more modular. also added a real 404 page.
This commit is contained in:
29
assets/sass/pages/_fourOhFour.scss
Normal file
29
assets/sass/pages/_fourOhFour.scss
Normal file
@@ -0,0 +1,29 @@
|
||||
// 404 Styles
|
||||
div.layout-404 {
|
||||
padding-top: 1.5em;
|
||||
padding-bottom: 1.5em;
|
||||
text-align: center;
|
||||
font-size: 0.9em;
|
||||
|
||||
img {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin: 0.75em 0 0.5em 0;
|
||||
letter-spacing: -0.005em;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Responsive
|
||||
@mixin responsive() {
|
||||
img {
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user