aboutsummaryrefslogtreecommitdiffstats
path: root/app/static
diff options
context:
space:
mode:
Diffstat (limited to 'app/static')
-rw-r--r--app/static/css/globalstyles.css100
-rw-r--r--app/static/scripts/purge.js15
-rw-r--r--app/static/scripts/rebuild.js14
3 files changed, 0 insertions, 129 deletions
diff --git a/app/static/css/globalstyles.css b/app/static/css/globalstyles.css
deleted file mode 100644
index 774c6ca..0000000
--- a/app/static/css/globalstyles.css
+++ /dev/null
@@ -1,100 +0,0 @@
-@import url('https://fonts.googleapis.com/css2?family=Cousine:ital,wght@0,400;0,700;1,400;1,700&display=swap');
-
-.website-name {
- font-size: 10px;
- font-weight: 700;
- line-height: 1.2;
- color: #ddd;
- text-shadow: 0px 1px 10px #9876aa;
-}
-
-html, body {
- border: 0;
- margin: 0;
- background-color: #111;
- color: #ddd;
- font-family: 'Cousine', monospace, sans-serif;
- line-height: 1.3;
-}
-
-h1, h2, h3, h4, h5, h6 {
- color: #cc7832
-}
-
-.code-block {
- background-color: #222;
- border: solid 1px #333;
- padding: 10px;
-}
-
-#navbar {
- background-color: #222;
- width: 100%;
- display: flex;
- flex-direction: row;
- justify-content: flex-start;
- align-items: stretch;
- gap: 10px;
-}
-
-.navbar-element {
- background-color: #222;
- display: flex;
- height: 30px;
- text-align: center;
- line-height: 30px;
- padding: 10px;
-}
-
-.navbar-element:hover {
- background-color: #888;
- transition: 0.2s;
- cursor: pointer;
-}
-
-.navbar-element > a {
- color: #fff;
- text-decoration: none;
-}
-
-.navbar-element > .highlight {
- color: #ffc66d;
-}
-
-#main-container {
- max-width: 1200px;
- margin: 0 auto;
-}
-
-#content-container {
- box-shadow: 0px 0px 15px 10px rgba(152,118,170,0.05);
-}
-
-#content {
- padding: 20px;
- max-width: 1200px;
- background-color: #2b2b2b;
- margin: 0 auto;
-}
-
-a {
- color: #9876aa;
- text-decoration: underline;
-}
-
-.highlight {
- color: #ffc66d;
-}
-
-.footer {
- font-size: 10px;
-}
-
-.redlink {
- color: #ff4136;
-}
-
-.box {
- border: solid 1px #fff;
- padding: 10px;
-}
diff --git a/app/static/scripts/purge.js b/app/static/scripts/purge.js
deleted file mode 100644
index 5ee34f0..0000000
--- a/app/static/scripts/purge.js
+++ /dev/null
@@ -1,15 +0,0 @@
-$(() => {
- $('#confirm').click(() => {
- let page = $('#confirm').data('page');
- $.ajax({
- type: 'GET',
- url: `/special/purge/${page}/confirm`,
- success: () => {
- $('#response').html('<div class=\'box\'>Successfully purged page.</div>');
- },
- error: () => {
- $('#response').html('<div class=\'box\'>Could not purge page. Try again later.</div>');
- }
- });
- });
-});
diff --git a/app/static/scripts/rebuild.js b/app/static/scripts/rebuild.js
deleted file mode 100644
index 8fd0e2e..0000000
--- a/app/static/scripts/rebuild.js
+++ /dev/null
@@ -1,14 +0,0 @@
-$(() => {
- $('#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>');
- }
- });
- });
-});