Added autoprefixer, doctype declaration, and corrected grammar
Also added box shadow to image content thing
This commit is contained in:
parent
d3e23e0dd8
commit
744a7d6113
@ -4,6 +4,7 @@
|
||||
"description": "New DocPad project without using a skeleton",
|
||||
"dependencies": {
|
||||
"docpad": "~6.78.4",
|
||||
"docpad-plugin-autoprefix": "~2.0.0",
|
||||
"docpad-plugin-cleanurls": "~2.8.1",
|
||||
"docpad-plugin-ejs": "~2.0.2",
|
||||
"docpad-plugin-nodesass": "~2.8.1"
|
||||
|
@ -1,4 +1,10 @@
|
||||
body{
|
||||
---
|
||||
autoprefix: true
|
||||
---
|
||||
|
||||
html, body{
|
||||
min-height: 100%;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@ -105,8 +111,9 @@ body{
|
||||
color: black;
|
||||
min-height: 100px;
|
||||
display: block;
|
||||
@media(min-width: 800px){
|
||||
min-height: calc(50vh - 165px);
|
||||
box-shadow: 0px -20px 10px -10px #6d0000 inset;
|
||||
@media(min-width: 600px){
|
||||
min-height: calc(50vh - 170px);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,3 +1,4 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title><%= document.title %> // Tim Stallard</title>
|
||||
@ -31,7 +32,7 @@
|
||||
</div>
|
||||
<div id="footer">
|
||||
<h3>© Tim Stallard 2015</h3>
|
||||
Hand crafted in the UK with DocPad, SmoothState.js and lots of other magic - see the code on GitHub
|
||||
Hand crafted in the UK with DocPad, SmoothState.js, and lots of other magic - see the code on GitHub
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
x
Reference in New Issue
Block a user