@mixin box-shadow($shadow) { -webkit-box-shadow: $shadow; -moz-box-shadow: $shadow; box-shadow: $shadow; } body.loggedin { div.infobar * { margin: 0 1em; } } body { font-family: sans-serif; margin: 0; padding: 0; div.infobar { text-align: right; padding: .1em 0; input[type="text"], input[type="password"] { width: 20%; } input[type="submit"] { background: transparent; border: none; font-size: 1em; padding: 0; } a { color: #000000; } } div.main { form { fieldset li { clear: both; padding: .5em 0; label { width: 25%; float: left; } input, textarea { width: 60%; float: left; } input[type="password"] { width: 30%; } p.form_data { margin-left: 25%; } &.wide { clear: both; padding: .5em 0; label { width: 100%; float: none; } input, textarea { width: 100%; float: none; } } } table { border: solid 1px black; border-collapse: collapse; border-spacing: 0; td, th { border: solid 1px black; padding: 0; .cell_width { display: block; overflow: hidden; height: 0px; @extend input[type="text"]; } input { outline: solid 1px black; width: 100%; background: transparent; border: 0; &:focus { outline-color: blue; @include box-shadow(inset 0 0 1pt 1pt rgba(0,0,1,.5)); } } } } } } } h1 { text-align: center; } a { text-decoration: none; } input[type="text"], textarea { font-family: monospace; font-size: 12pt; } iframe { width: 100%; height: 100%; } .error { font-weight: bold; color: red; } .http404 { color: red; } .small { font-size: .5em; }