From b549ab3e79cd1e021ee14269245ce54f3adc74a3 Mon Sep 17 00:00:00 2001 From: Al Beano Date: Mon, 17 Jul 2017 08:48:02 +0100 Subject: [PATCH] Move stylesheet to a separate CSS file --- public/css/style.css | 55 ++++++++++++++++++++++++++++++++++++++++ views/layouts/main.tt | 58 +------------------------------------------ 2 files changed, 56 insertions(+), 57 deletions(-) create mode 100644 public/css/style.css diff --git a/public/css/style.css b/public/css/style.css new file mode 100644 index 0000000..2390533 --- /dev/null +++ b/public/css/style.css @@ -0,0 +1,55 @@ +* { + margin: 0; +} +body, a { + background-color: black; + font-family: monospace; + color: white; + font-size: 14px; + line-height: 1.6em; +} +p { + margin-bottom: 0.8em; +} +.body { + max-width: 700px; + margin-left: auto; + margin-right: auto; +} +.toolbar { + border: 1px solid white; +} + +a.bracketButton { + text-decoration: none; +} +a.bracketButton:hover { + text-decoration: underline; +} +button.textButton { + background: none !important; + color: inherit; + border: none; + padding: 0 !important; + font: inherit; + cursor: pointer; +} +button.textButton:hover { + text-decoration: underline; +} + +form.login>table>tbody>tr>td>label { + margin-right: 10px; +} +table.domains { + width: 100%; +} +table.domains td:first-child { + width: 50%; +} + +.msgBox { + border: 1px solid white; + display: inline-block; + padding: 10px; +} diff --git a/views/layouts/main.tt b/views/layouts/main.tt index 29b82b7..f34ae9d 100644 --- a/views/layouts/main.tt +++ b/views/layouts/main.tt @@ -7,63 +7,7 @@ <% END %> cybNIC - + <% IF vars.auth %>