diff options
-rw-r--r-- | README | 27 | ||||
-rw-r--r-- | README.md | 11 | ||||
-rw-r--r-- | static/small.css | 4 | ||||
-rw-r--r-- | static/style.css | 4 |
4 files changed, 15 insertions, 31 deletions
@@ -1,27 +0,0 @@ - - - // Flask-Pastebin // - - This application implements an example pastebin with Flask, - Flask-OAuth, Flask-SQLAlchemy, Flask-Script, as well as - Juggernaut to show off some realtime things. - - What can it do? - - * Facebook Connect - * Realtime push notifications with Juggernaut - * Shows simple pagination - - How to use it? - - 1. make a virtualenv - 2. ``pip install -r requirements.txt`` - 3. ``python manage.py initdb`` - 4. ``python manage.py runserver`` - - Also make sure to run juggernaut. - - How to install juggernaut? - - $ npm install -g juggernaut - diff --git a/README.md b/README.md new file mode 100644 index 0000000..f1bdbab --- /dev/null +++ b/README.md @@ -0,0 +1,11 @@ +### Flask-Pastebin + +This is a fork of [mitsuhiko/pastebin](https://github.com/mitsuhiko/flask-pastebin) + +#### How to use + + 1. make a virtualenv + 2. `pip install -r requirements.txt` + 3. `cp config.cfg.tpl config.cfg` + 4. `python manage.py initdb` + 5. `python manage.py server` diff --git a/static/small.css b/static/small.css index caa5783..7bba2a3 100644 --- a/static/small.css +++ b/static/small.css @@ -1,6 +1,6 @@ pre { - font-size: 18px; - line-height: 1.8em; + font-size: 14px; + line-height: 1.6em; } .page { margin: 20px auto; width: 100%; } diff --git a/static/style.css b/static/style.css index 8d43349..a8fc27c 100644 --- a/static/style.css +++ b/static/style.css @@ -12,8 +12,8 @@ dl { overflow: auto; font-size: 14px; padding: 0 10px} dl dt { font-weight: bold; min-width: 70px; float: left; padding-right: 15px; clear: left; } dl dd { float: left; margin: 0; padding: 0; } -pre, textarea { font-family: 'Consolas', monospace; font-size: 16px; - background: #f4f4f4; padding: 10px; margin: 0; line-height: 1.6em; +pre, textarea { font-family: 'Consolas', monospace; font-size: 14px; + background: #f4f4f4; padding: 10px; margin: 0; line-height: 1.4em; word-break: break-word; white-space: pre-wrap;} textarea { border: none; width: 100%; } .code, .flash { background: #f4f4f4; padding: 0; } |