blck

ephemeral pastebin/url shortener
git clone https://git.parazyd.org/blck
Log | Files | Refs | README | LICENSE

commit b802c1766f238783837d20a0985e814e79021cad
parent 02b7e9b121521058d1984279ea1f58040ad654c8
Author: parazyd <parazyd@dyne.org>
Date:   Tue,  9 Feb 2021 06:33:57 +0100

Move CSS to the HTML template.

Diffstat:
Dstatic/bg.png | 0
Dstatic/copse.woff | 0
Dstatic/style.css | 26--------------------------
Mtemplates/index.html | 28++++++++++++++++++++++++++--
4 files changed, 26 insertions(+), 28 deletions(-)

diff --git a/static/bg.png b/static/bg.png Binary files differ. diff --git a/static/copse.woff b/static/copse.woff Binary files differ. diff --git a/static/style.css b/static/style.css @@ -1,26 +0,0 @@ -@font-face { font-family: copse; src: url('copse.woff'); } - -body { - background: #f4f5e7 url('bg.png') no-repeat top right !important; - color: #222; - font-family: copse, sans-serif; - padding: 5%; -} - -.container { font-size: 300%; } -.inputbox , .button { font-size: 70%; } -.textbox { height: 360px; width: 580px; } - -a, a:visited, a:active { color: #179c3f; text-decoration: none; } -a:hover { text-decoration: underline; } - -footer { - clear: both; - color: #999; - font-size: 40%; - padding: 1em; - text-align: right; - position: absolute; - bottom: 0; - right: 0; -} diff --git a/templates/index.html b/templates/index.html @@ -2,8 +2,32 @@ <html lang="en"> <head> <meta charset="utf-8"> - <title>blck.cf</title> - <link rel="stylesheet" type="text/css" href="../static/style.css"> + <title>blck</title> + <style> + body { + background: #f4f5e7; + color: #222; + font-family: sans-serif; + padding: 5%; + } + + .container { font-size: 300%; } + .inputbox , .button { font-size: 70%; } + .textbox { height: 360px; width: 580px ; } + a, a:visited, a:active { color: #179c3f; text-decoration: none; } + a:hover { text-decoration: underline; } + + footer { + clear: both; + color: #999; + font-size: 40%; + padding: 1em; + text-align: right; + position: absolute; + bottom: 0; + right: 0; + } + </style> </head> <body> <div class="container">