base.html: format file

Signed-off-by: Gunwant Jain <mail@wantguns.dev>
This commit is contained in:
Gunwant Jain
2021-01-07 05:02:57 +05:30
parent 651f3d8157
commit 5d45bf8ebf

View File

@@ -1,62 +1,59 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head>
<head> <meta charset="UTF-8" />
<meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta
<meta name="Description" content="Author: Gunwant Jain, name="Description"
A highly opinionated, minamalistic Pastebin without the bloat of a database."> content="Author: Gunwant Jain,
A highly opinionated, minamalistic Pastebin without the bloat of a database."
/>
<title>{{ title }}</title> <title>{{ title }}</title>
<style> <style>
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@460&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@460&display=swap');
/* fill entire page */ /* fill entire page */
code { code {
padding: 0px; padding: 0px;
background: transparent !important; background: transparent !important;
font-family: 'Fira Code', monospace; font-family: 'Fira Code', monospace;
} }
body { body {
/* Change background color to that of your theme's */ /* Change background color to that of your theme's */
background: #191f26; background: #191f26;
padding: 20px 50px; padding: 20px 50px;
margin: 0px; margin: 0px;
color: #5c6773; color: #5c6773;
} }
/* remove scrollbar */ /* remove scrollbar */
html { html {
overflow: scroll; overflow: scroll;
overflow-x: hidden; overflow-x: hidden;
scrollbar-width: none; scrollbar-width: none;
} }
::-webkit-scrollbar { ::-webkit-scrollbar {
width: 0px; width: 0px;
background: transparent; background: transparent;
} }
::selection { ::selection {
/* text selection color /* text selection color
make sure to change to your your preferred color if changing the default colorscheme */ make sure to change to your your preferred color if changing the default colorscheme */
background: #253340; background: #253340;
} }
{% block styles %}
{% endblock styles %}
{% block styles %}
{% endblock styles %}
</style> </style>
{% block head %} {% block head %} {% endblock head %}
{% endblock head %} </head>
</head> <body>
<body>
{% block body %}{% endblock body %} {% block body %}{% endblock body %}
</body> </body>
</html> </html>