diff --git a/site/Makefile b/site/Makefile index c2fc8a6..bd01cdd 100644 --- a/site/Makefile +++ b/site/Makefile @@ -25,5 +25,7 @@ coffee: clean: rm -f $(STATIC_CSS)/hy.css +devel: + @./devel.sh -.PHONY: build clean less coffee +.PHONY: build clean less coffee devel diff --git a/site/devel.sh b/site/devel.sh new file mode 100755 index 0000000..fdddc18 --- /dev/null +++ b/site/devel.sh @@ -0,0 +1,13 @@ +#!/bin/bash +shopt -s extglob + +last="" +while [ true ]; do + now=$(find coffee less -type f -printf "%T@ %Tx %TX %p\n" | sort -n -r | head -1) + if [ "$last" != "$now" ]; then + make >/dev/null + echo "Updated." + fi + last=$now + sleep 1 +done diff --git a/site/less/hy.less b/site/less/hy.less index 5d3c941..c009880 100644 --- a/site/less/hy.less +++ b/site/less/hy.less @@ -1,6 +1,4 @@ /* Copyright (c) Paul Tagliamonte 2013 under the * terms and conditions of Hy it's self. */ -body { - color: #DFCDCDC; -} +@import "layout.less"; diff --git a/site/less/layout.less b/site/less/layout.less new file mode 100644 index 0000000..f23d968 --- /dev/null +++ b/site/less/layout.less @@ -0,0 +1,44 @@ +.shadow { + box-shadow: 5px 5px rgba(15,15,15,0.05); +} + + +.popover { + position: fixed; + height: 100%; + width: 100%; + .focus { + .shadow; + border: 1px solid #CCCCCC; + background-color: #FFFFFF; + border-radius: 5px; + width: 90%; + height: 85%; + margin-left: auto; + margin-right: auto; + margin-top: 3%; + } +} + +#repl-input { + border-right: 1px solid #DDDDDD; +} + +.repl { + height: 100%; + padding: 3px; + .repl-left { + float: left; + } + .repl-right { + float: right; + } + .repl-pane { + padding: 0px; + margin: 0px; + border: 0px solid #000000; + resize: none; + width: 48%; + height: 99%; + } +} diff --git a/site/templates/index.html b/site/templates/index.html index d4be101..c24d3f7 100644 --- a/site/templates/index.html +++ b/site/templates/index.html @@ -8,6 +8,9 @@ (print "foo bar") {% endcode %}{% endautoescape %} #} +
+
+
-

-                
+

+        
+
+
{% endblock %}