aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorBen Beltran <ben@nsovocal.com>2017-07-03 00:55:32 -0500
committerBen Beltran <ben@nsovocal.com>2017-07-03 00:55:32 -0500
commit5e265f9d81bcce30949e88850892ea5dacec7386 (patch)
tree056dfe345174027335cc033359dfbe14a8d53250 /static
parent4ae55e0673a61c50f1f7f378f6461d0388f66bd5 (diff)
parentbe33bb82f6276b05a3861df8a7c5138ac320a00b (diff)
Merge branch 'release/1.0.0'
Diffstat (limited to 'static')
-rw-r--r--static/css/style.css52
-rw-r--r--static/favicon.icobin0 -> 5430 bytes
-rw-r--r--static/favicon.pngbin0 -> 3807 bytes
-rw-r--r--static/images/header_background.pngbin0 -> 5247 bytes
-rw-r--r--static/images/header_foreground.pngbin0 -> 5273 bytes
-rw-r--r--static/js/blog.js28
6 files changed, 80 insertions, 0 deletions
diff --git a/static/css/style.css b/static/css/style.css
new file mode 100644
index 0000000..aeda780
--- /dev/null
+++ b/static/css/style.css
@@ -0,0 +1,52 @@
+* {
+ margin: 0;
+ padding: 0;
+}
+
+body {
+ background-image: url('/images/header_background.png');
+ background-size: auto 300px;
+ background-attachment: fixed;
+ line-height: 1.45;
+}
+
+header {
+ background-image: url('/images/header_foreground.png');
+ background-repeat: no-repeat;
+ background-size: auto 300px;
+ height: 300px;
+}
+
+header a {
+ color: transparent;
+ display: block;
+ max-height: 500px;
+}
+
+main {
+ background-color: #fff;
+ padding: 1.414em;
+}
+
+h1, h2, h3, h4 {
+ margin: 1.414em 0 0.5em;
+ font-weight: 400;
+}
+
+p, ul, ol, img {
+ width: 100%;
+ margin: 1.414em 0;
+ max-width: 30em;
+}
+
+ul, ol { margin-left: 1.414em; }
+
+h1 { font-size: 3.998em; }
+h2 { font-size: 2.827em; }
+h3 { font-size: 1.999em; }
+h4 { font-size: 1.414em; }
+
+footer {
+ background-color: pink;
+ padding: 1.414em;
+}
diff --git a/static/favicon.ico b/static/favicon.ico
new file mode 100644
index 0000000..81582e2
--- /dev/null
+++ b/static/favicon.ico
Binary files differ
diff --git a/static/favicon.png b/static/favicon.png
new file mode 100644
index 0000000..b77a959
--- /dev/null
+++ b/static/favicon.png
Binary files differ
diff --git a/static/images/header_background.png b/static/images/header_background.png
new file mode 100644
index 0000000..8352b5e
--- /dev/null
+++ b/static/images/header_background.png
Binary files differ
diff --git a/static/images/header_foreground.png b/static/images/header_foreground.png
new file mode 100644
index 0000000..eb9b34d
--- /dev/null
+++ b/static/images/header_foreground.png
Binary files differ
diff --git a/static/js/blog.js b/static/js/blog.js
new file mode 100644
index 0000000..a49a72f
--- /dev/null
+++ b/static/js/blog.js
@@ -0,0 +1,28 @@
+'use strict';
+
+/* globals window */
+
+((window) => {
+
+ const internals = {
+ kEntryPoint: '.event-details',
+
+ // Application entry point, for now just band to keyboard
+
+ main() {
+
+ window.document.addEventListener('keydown', internals._onKeyDown);
+ },
+
+ // Handles key events to point to the correct blog post.
+
+ _onKeyDown(event) {
+
+ if (['1','2','3'].indexOf(event.key) > -1) {
+ window.location.hash = event.key;
+ }
+ }
+ };
+
+ window.addEventListener('load', internals.main);
+})(window);