Added LESS configuration and cleaned up /public

This commit is contained in:
2015-04-24 01:49:13 -04:00
parent eb1f48ad9c
commit 3aad88b19d
10 changed files with 11 additions and 12 deletions

1
public/css/site.css Normal file
View File

@@ -0,0 +1 @@
.code{font-family:"DejaVu Sans Mono",Consolas,monospace;width:100%;border-radius:4px;padding:4px;border-color:#ddd;max-height:300px;overflow-y:auto}.brad{font-family:"Courier New",Courier,monospace;font-size:26pt;color:#166d00}.brad :hover{text-decoration:none}nav{background-color:#d8d8d8}.lbl{font-weight:bold;margin-bottom:4px}.btm-btn{margin-bottom:4px;margin-top:-14px}

View File

@@ -12,12 +12,10 @@
font-family: "Courier New", Courier, monospace; font-family: "Courier New", Courier, monospace;
font-size: 26pt; font-size: 26pt;
color: #166d00; color: #166d00;
}
.brad:hover { :hover {
font-family: "Courier New", Courier, monospace; text-decoration: none;
font-size: 26pt; }
color: #166d00;
text-decoration: none;
} }
nav { nav {

View File

@@ -5,9 +5,9 @@ html
link(rel="stylesheet" link(rel="stylesheet"
href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css") href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css")
link(rel="stylesheet" href="/site.css") link(rel="stylesheet" href="/css/site.css")
link(rel="stylesheet" href="sh_emacs.min.css") link(rel="stylesheet" href="/css/sh_emacs.min.css")
block head block head

View File

@@ -3,7 +3,7 @@ extends base
block head block head
title c0db title c0db
link(rel="stylesheet" href="/codemirror.css") link(rel="stylesheet" href="/css/codemirror.css")
block nav block nav
@@ -19,7 +19,7 @@ block body
button(onclick="compile()" type="button").btn.btn-default.btm-btn.pull-right Compile button(onclick="compile()" type="button").btn.btn-default.btm-btn.pull-right Compile
#codearea #codearea
textarea.code.formControl.sh_c(rows="12" id="inputCode") textarea.code.formControl.sh_c(rows="12" id="inputCode")
.col-md-6 .col-md-6
p.lbl. p.lbl.
Bytecode Bytecode
@@ -33,9 +33,9 @@ block body
textarea#output.panel.panel-default.code textarea#output.panel.panel-default.code
   
block script block script
script(type="text/javascript" src="codemirror-compressed.js") script(type="text/javascript" src="js/codemirror-compressed.js")
script(type="text/javascript" src="vm/vm.js") script(type="text/javascript" src="vm/vm.js")
script(type='text/javascript'). script(type='text/javascript').