aboutsummaryrefslogtreecommitdiffstats
path: root/app/static
diff options
context:
space:
mode:
Diffstat (limited to 'app/static')
-rw-r--r--app/static/css/globalstyles.css9
-rw-r--r--app/static/scripts/rebuild.js14
2 files changed, 21 insertions, 2 deletions
diff --git a/app/static/css/globalstyles.css b/app/static/css/globalstyles.css
index bdecaa6..599c836 100644
--- a/app/static/css/globalstyles.css
+++ b/app/static/css/globalstyles.css
@@ -5,12 +5,13 @@
font-weight: 700;
line-height: 1.2;
color: #ddd;
+ text-shadow: 0px 1px 10px #9876aa;
}
html, body {
border: 0;
margin: 0;
- background-color: #000;
+ background-color: #111;
color: #ddd;
font-family: 'Cousine', monospace, sans-serif;
line-height: 1.3;
@@ -65,6 +66,10 @@ h1, h2, h3, h4, h5, h6 {
margin: 0 auto;
}
+#content-container {
+ box-shadow: 0px 0px 15px 10px rgba(152,118,170,0.05);
+}
+
#content {
padding: 20px;
max-width: 1200px;
@@ -73,7 +78,7 @@ h1, h2, h3, h4, h5, h6 {
}
a {
- color: #ffc66d;
+ color: #9876aa;
text-decoration: underline;
}
diff --git a/app/static/scripts/rebuild.js b/app/static/scripts/rebuild.js
new file mode 100644
index 0000000..8fd0e2e
--- /dev/null
+++ b/app/static/scripts/rebuild.js
@@ -0,0 +1,14 @@
+$(() => {
+ $('#confirm').click(() => {
+ $.ajax({
+ type: 'GET',
+ url: `/special/rebuild/confirm`,
+ success: () => {
+ $('#response').html('<div class=\'box\'>Successfully rebuilt page directory.</div>');
+ },
+ error: () => {
+ $('#response').html('<div class=\'box\'>Could not rebuild page directory. Try again later.</div>');
+ }
+ });
+ });
+});