added a box around the header

This commit is contained in:
hayden 2019-06-25 23:32:55 -05:00
parent 8d456ee573
commit aa21255421
3 changed files with 28 additions and 4 deletions

View File

@ -10,9 +10,9 @@ $title = $title ?? '~chan';
</head>
<body>
<!-- master board list -->
<div>
<div class="box">
<span>
boards: (
<b>boards:</b> (
<a href="/b/">b</a>
/
<a href="/g/">g</a>
@ -23,7 +23,7 @@ $title = $title ?? '~chan';
)
</span>
<span>
links: (
<b>links:</b> (
<a href="/">home</a>
/
<a href="/login.php">login</a>

View File

@ -13,16 +13,40 @@ body {
div.main {
}
div.box {
border: 1px solid var(--border-color);
background-color: var(--fg-color);
padding: 0 5px;
}
div.error {
border: 1px solid #ef5350;
background-color: #ff867c;
padding: 5px;
}
/* make links look better */
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:active {
text-decoration: underline;
}
/* stuff for input's like the login and post forms */
form.input-form {
}
/* not sure if this is the best way to select this but... */
form.input-form table tbody tr td:first-child {
border: 1px solid var(--border-color);

View File

@ -4,7 +4,7 @@ if($_SERVER['REQUEST_METHOD'] == 'POST') {
}
$title = "~chan - login"
$title = "~chan - login";
$path = $_SERVER['DOCUMENT_ROOT'];
include($path . '/core/header.php');
?>