summaryrefslogtreecommitdiff
path: root/$template.html
diff options
context:
space:
mode:
Diffstat (limited to '$template.html')
-rw-r--r--$template.html23
1 files changed, 18 insertions, 5 deletions
diff --git a/$template.html b/$template.html
index 282886e..012552e 100644
--- a/$template.html
+++ b/$template.html
@@ -6,7 +6,7 @@
<style>
/* Source: https://github.com/madmalik/mononoki/blob/master/style.css */
@font-face {
- font-family: 'mononoki';
+ font-family: 'mononoki-webfont';
src: url('/fonts/mononoki-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('/fonts/mononoki-Regular.woff2') format('woff2'), /* Super Modern Browsers */
url('/fonts/mononoki-Regular.woff') format('woff'), /* Pretty Modern Browsers */
@@ -15,7 +15,7 @@
font-style: normal;
}
@font-face {
- font-family: 'mononoki';
+ font-family: 'mononoki-webfont';
src: url('/fonts/mononoki-Bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('/fonts/mononoki-Bold.woff2') format('woff2'), /* Super Modern Browsers */
url('/fonts/mononoki-Bold.woff') format('woff'), /* Pretty Modern Browsers */
@@ -24,7 +24,7 @@
font-style: normal;
}
@font-face {
- font-family: 'mononoki';
+ font-family: 'mononoki-webfont';
src: url('/fonts/mononoki-Italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('/fonts/mononoki-Italic.woff2') format('woff2'), /* Super Modern Browsers */
url('/fonts/mononoki-Italic.woff') format('woff'), /* Pretty Modern Browsers */
@@ -33,7 +33,7 @@
font-style: italic;
}
@font-face {
- font-family: 'mononoki';
+ font-family: 'mononoki-webfont';
src: url('/fonts/mononoki-BoldItalic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('/fonts/mononoki-BoldItalic.woff2') format('woff2'), /* Super Modern Browsers */
url('/fonts/mononoki-BoldItalic.woff') format('woff'), /* Pretty Modern Browsers */
@@ -48,9 +48,22 @@ html, body {
padding-top: 0px;
padding-bottom: 0px;
margin: 0;
- font-family: mononoki, monospace;
+ /* Have a fallback to local mononoki for offline pages */
+ font-family: mononoki-webfont, mononoki, monospace;
font-size: 12pt;
}
+code {
+ font-family: inherit;
+ border-radius: 5px;
+ background-color: #f2e8e8;
+ padding: 0px 4px 2px 5px;
+}
+blockquote {
+ display: block;
+ border-radius: 9px;
+ padding: 10px;
+ background-color: #f2e8e8;
+}
#main-content {
padding: 0px 50px;
margin: 0px auto;