Move stylesheet to a separate CSS file

This commit is contained in:
Al Beano 2017-07-17 08:48:02 +01:00
parent 64309ca38a
commit b549ab3e79
2 changed files with 56 additions and 57 deletions

55
public/css/style.css Normal file
View File

@ -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;
}

View File

@ -7,63 +7,7 @@
<meta http-equiv="refresh" content="0;<% redir %>" />
<% END %>
<title>cybNIC</title>
<style>
* {
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;
}
</style>
<link rel="stylesheet" type="text/css" href="/css/style.css" />
</head>
<body>
<% IF vars.auth %>