Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Hugo Hörnquist
hf-webbsida
Commits
71730925
Commit
71730925
authored
Aug 20, 2019
by
root
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor fixes, including footer.
parent
adbaec0f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
7 deletions
+14
-7
head.php
head.php
+4
-3
style.css
style.css
+8
-3
tail.php
tail.php
+2
-1
No files found.
head.php
View file @
71730925
...
...
@@ -12,12 +12,13 @@
<header>
<div
class=
"left"
>
<h2>
Häfv
nollan, nollan häfv
!
</h2>
<h2>
Häfv
fakultet
!
</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"
/>
...
...
style.css
View file @
71730925
...
...
@@ -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
;
...
...
tail.php
View file @
71730925
</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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment