added a box around the header
This commit is contained in:
parent
8d456ee573
commit
aa21255421
|
@ -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>
|
||||
|
|
24
css/main.css
24
css/main.css
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue