From cbacbe5e7c833ecb708cb72bf6d46c82dae5e666 Mon Sep 17 00:00:00 2001 From: baalajimaestro Date: Wed, 21 Dec 2022 23:25:55 +0530 Subject: [PATCH] Reformat the paste template Signed-off-by: baalajimaestro --- static/styles.css | 9 ++++-- templates/paste.html | 73 ++++++++++++++++++-------------------------- 2 files changed, 36 insertions(+), 46 deletions(-) diff --git a/static/styles.css b/static/styles.css index 7ef8424..aa31225 100644 --- a/static/styles.css +++ b/static/styles.css @@ -1,17 +1,20 @@ @import url('https://fonts.googleapis.com/css?family=IBM Plex Sans'); @import url('https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.6.0/styles/atom-one-dark.min.css'); -@import url('https://cdnjs.cloudflare.com/ajax/libs/hack-font/3.3.0/web/hack-subset.css'); +@import url('https://cdnjs.cloudflare.com/ajax/libs/hack-font/3.3.0/web/hack.css'); body { font-family: 'IBM Plex Sans'; } pre { - font-family: Hack, monospace; overflow-x: auto; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word; -} \ No newline at end of file +} + +.hljs { + font-family: 'Hack' !important; +} diff --git a/templates/paste.html b/templates/paste.html index 6f3fdf8..e46d609 100644 --- a/templates/paste.html +++ b/templates/paste.html @@ -1,51 +1,38 @@ - - + + - - -
-

- Obsolute Paste -

- {% block content %} -
{{paste_content}}
- {% endblock content %} + + +
+

Obsolute Paste

+ {% block content %} +
{{paste_content}}
+ {% endblock content %} +
+
+
+
+
+ ©2022 Maestro Creativescape. +
-
-
-
-
- ©2022 Maestro Creativescape. - - -
- +