diff options
| author | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2021-11-22 14:17:44 +0000 |
|---|---|---|
| committer | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2021-11-22 14:17:44 +0000 |
| commit | a84425a42e9246243dffd23dba33b4d4a5b626ac (patch) | |
| tree | 5e0a356407e50b172afeb8662a6a6f2fb6e334fe /app/static | |
| parent | 7d1aa7d48e5f16d639713804d6a86290fac7ffab (diff) | |
Update styles & add page rebuilding
Diffstat (limited to 'app/static')
| -rw-r--r-- | app/static/css/globalstyles.css | 9 | ||||
| -rw-r--r-- | app/static/scripts/rebuild.js | 14 |
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>'); + } + }); + }); +}); |
