Commit 71730925 authored by root's avatar root

Minor fixes, including footer.

parent adbaec0f
......@@ -12,12 +12,13 @@
<header>
<div class="left">
<h2>Häfv nollan, nollan häfv!</h2>
<h2>Häfvfakultet!</h2>
<?php
global $authenticated;
if ($authenticated) {
?>
if ($authenticated) { ?>
<p>Välkommen, <?= $authenticated["name"] ?></p>
<?php } else { ?>
<p>Häfv nollan, nollan häfv!</p>
<?php } ?>
</div>
<img src="hf-logo.png" alt="HF Logo"/>
......
......@@ -39,7 +39,7 @@ header .left {
display: flex;
flex-direction: column;
float: left;
justify-content: space-evenly;
justify-content: center;
height: 100%;
}
......@@ -50,7 +50,7 @@ header .left {
.left > p {
padding-left: 4em;
color: #333;
color: #222;
}
header img {
......@@ -67,7 +67,12 @@ main {
nav {
grid-area: sidebar;
}
footer { grid-area: footer; }
footer {
grid-area: footer;
padding: 1em;
border-top: 2px dotted gray;
color: gray;
}
article {
margin: 1em;
......
</main>
<footer>
Is there supposed to be something in the footer?
Åtminstånde vi kan häfva,
<a href="https://git.lysator.liu.se/hugo/hf-webbsida">Källkod</a>
</footer>
</body>
</html>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment