diff options
author | sudan <sudan@douban.com> | 2016-01-25 18:43:51 +0800 |
---|---|---|
committer | sudan <sudan@douban.com> | 2016-01-25 18:50:32 +0800 |
commit | 81a9aee3aa65a0bc7aa425e12ba22cb5e853df52 (patch) | |
tree | 093c478a1f77e7aec52f0fb930379798854f2245 | |
parent | code highlight (diff) | |
download | stackbin-81a9aee3aa65a0bc7aa425e12ba22cb5e853df52.tar.gz stackbin-81a9aee3aa65a0bc7aa425e12ba22cb5e853df52.tar.bz2 stackbin-81a9aee3aa65a0bc7aa425e12ba22cb5e853df52.zip |
smaller font
-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; } |