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

View File

@ -13,16 +13,40 @@ body {
div.main { div.main {
} }
div.box {
border: 1px solid var(--border-color);
background-color: var(--fg-color);
padding: 0 5px;
}
div.error { div.error {
border: 1px solid #ef5350; border: 1px solid #ef5350;
background-color: #ff867c; background-color: #ff867c;
padding: 5px; 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 */ /* stuff for input's like the login and post forms */
form.input-form { form.input-form {
} }
/* not sure if this is the best way to select this but... */ /* not sure if this is the best way to select this but... */
form.input-form table tbody tr td:first-child { form.input-form table tbody tr td:first-child {
border: 1px solid var(--border-color); 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']; $path = $_SERVER['DOCUMENT_ROOT'];
include($path . '/core/header.php'); include($path . '/core/header.php');
?> ?>