diff --git a/server.py b/server.py index 0cf0a80..48688df 100755 --- a/server.py +++ b/server.py @@ -1,4 +1,4 @@ -#!/usr/bin/python2 +#!/usr/local/bin/python import bottle import json import anydbm @@ -33,4 +33,5 @@ def index(): if __name__ == "__main__": bottle.debug(True) - bottle.run(app, host='localhost', port=55580) + bottle.run(app, host='0.0.0.0', port=55580) + diff --git a/static/cryptopad.css b/static/cryptopad.css index 9ced7d8..0d122aa 100644 --- a/static/cryptopad.css +++ b/static/cryptopad.css @@ -1,3 +1,44 @@ +@media (min-width: 768px) { + +html, body { + height: 100%; +} + +.main-inner { + margin-bottom: 50px; + margin-bottom: -100px; +} + +.main, .main-inner { + -moz-box-sizing: border-box; + box-sizing: border-box; + margin-top: -120px; + padding-top: 120px; + height: 100%; + z-index: 1; + position: relative; +} + + +.span10, .well { + height: 100%; + margin-left: 15px; +} + +.textarea-wrapper { + -moz-box-sizing: border-box; + box-sizing: border-box; + margin-top: -75px; + padding-top: 75px; + padding-bottom: 25px; + height: 100%; +} + +textarea { + height: 100%; +} +} + #data { width: 100%; font-family: monospace; diff --git a/static/cryptopad.html b/static/cryptopad.html index fda8cf1..56761ea 100644 --- a/static/cryptopad.html +++ b/static/cryptopad.html @@ -371,8 +371,8 @@ -
-
+
+