From f899658ee09651f318abbdbb2bd6a0dcf1daec72 Mon Sep 17 00:00:00 2001 From: Hao Chen Date: Tue, 14 May 2019 04:49:50 -0500 Subject: add a column for messages --- static/style.css | 29 +++++++++++++++++++++++++++++ templates/cytoscape.html | 16 +++++++++++++++- 2 files changed, 44 insertions(+), 1 deletion(-) diff --git a/static/style.css b/static/style.css index 867a753..f57b27c 100644 --- a/static/style.css +++ b/static/style.css @@ -5,6 +5,17 @@ left: 0px; } +@media (min-width: 768px){ + .container{ + max-width:90%; + } +} + +@media (min-width: 992px){ + .container{ + max-width:90%; + } +} a:link { color: #097DC9; @@ -24,3 +35,21 @@ a:hover { a:active { color: #097DC9; } + +* { + box-sizing: border-box; +} + +.column { + float: left; +} + +.left { + width: 80%; +} + +.right { + width: 20%; +} + + diff --git a/templates/cytoscape.html b/templates/cytoscape.html index e837e0c..98968c8 100644 --- a/templates/cytoscape.html +++ b/templates/cytoscape.html @@ -3,7 +3,20 @@ -
+ +
+
+ +

{{ message |safe}}

+
+ +
+ + {{ message2 |safe}} +
+ + +
+ {% endblock %} -- cgit v1.2.3