Merge pull request #6 from RealOrangeOne/fix-page-numbers

Fix page numbers
This commit is contained in:
Jake Howard 2017-05-03 14:17:20 +01:00 committed by GitHub
commit 77ed50a8dd
7 changed files with 71 additions and 11 deletions

60
.sass-lint.yml Normal file
View file

@ -0,0 +1,60 @@
rules:
clean-import-paths: 0
extends-before-mixins: 2
extends-before-declarations: 2
force-attribute-nesting: 0
no-css-comments: 0
no-debug: 1
no-duplicate-properties:
- 2
-
exclude:
- src
- transform
no-ids: 0
no-important: 0
no-transition-all: 0
no-vendor-prefixes: 2
no-qualifying-elements: 0
no-url-protocols: 0
no-warn: 1
hex-notation:
- 2
-
style: uppercase
indentation:
- 2
-
size: 2
variable-name-format:
- 2
-
allow-leading-underscore: false
convention: hyphenatedlowercase
quotes:
- 2
-
style: double
property-sort-order:
- 2
-
order: 'concentric'
empty-line-between-blocks: 2
space-after-bang: 2
space-after-colon: 2
space-after-comma: 2
space-before-bang: 2
space-before-brace: 2
space-before-colon: 2
space-between-parens: 2
trailing-semicolon: 2
leading-zero: 0
single-line-per-selector: 0
force-pseudo-nesting: 0
force-element-nesting: 0
placeholder-in-extend: 0
no-url-domains: 0
nesting-depth:
- 2
-
max-depth: 5

View file

@ -21,4 +21,5 @@ function subst() {
}
}
window.subst = subst();
subst();

View file

@ -3,8 +3,7 @@ body.cover {
text-align: center;
& h1 {
font-size: 48px;
padding-top: 400px;
font-size: 48px;
}
}

View file

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="../static/style.css" />
</head>
<body class="cover">
<h1>{{ title }}</h1>

View file

@ -1,10 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css" />
<script type="text/javascript" src="context.js"></script>
<link rel="stylesheet" href="../static/style.css" />
</head>
<body onload="subst()" class="footer">
<body class="footer">
<table style="width: 100%;">
<tr>
<td style="text-align: center">
@ -12,5 +11,6 @@
</td>
</tr>
</table>
<script type="text/javascript" src="../static/context.js"></script>
</body>
</html>

View file

@ -1,9 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css" />
<script type="text/javascript" src="context.js"></script>
<link rel="stylesheet" href="../static/style.css" />
</head>
<body onload="subst()" class="header">
<body class="header">
<script type="text/javascript" src="../static/context.js"></script>
</body>
</html>

View file

@ -5,7 +5,7 @@
"description": "",
"scripts": {
"test": "npm run lint-scss && npm run lint-js",
"lint-scss": "sass-lint -vq md_pdf/assets/static/**/*.scss",
"lint-scss": "sass-lint -vqc .sass-lint.yml md_pdf/assets/static/**/*.scss",
"lint-js": "eslint -c eslint-config-dabapps/base/.eslintrc md_pdf/assets/static/**/*.js"
},
"repository": {