-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
118 lines (102 loc) · 2.41 KB
/
index.html
File metadata and controls
118 lines (102 loc) · 2.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Project parts</title>
<style rel="stylesheet">
body {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
min-height: 100vh;
margin: 0;
background-color: orange;
font-family: sans-serif;
}
h1 {
padding: 0;
margin: 0;
}
a {
text-decoration: underline;
color: blue;
}
.center {
display: flex;
justify-content: center;
align-items: center;
}
header {
flex-direction: column;
min-height: 15vh;
}
footer {
height: 3em;
width: 100%;
background-color: dimgray;
color: white;
}
main {
flex-grow: 1;
width: 800px;
margin: auto;
}
ul {
margin: 0;
padding: 0;
}
.inline-list {
list-style: none;
display: flex;
}
.inline-list li {
display: inline;
}
.inline-list > li + li:before {
content: ", ";
padding: 0;
}
.profile-image {
width: 200px;
}
p {
width: 80ch;
}
</style>
</head>
<body>
<header class="center">
<h1>Project parts</h1>
<ul class="inline-list">
<li>Eivind</li>
<li>Hauk-Morten</li>
<li>Kasper</li>
<li>Andreas</li>
<li>Stine</li>
</ul>
<time datetime="2019-09-20">September 2019</time>
</header>
<main>
<ul>
<li>
<h2><a href="P1/index.html">Part 1</a></h2></li>
<li>
<h2><a href="P2/index.html">Part 2</a></h2></li>
<li>
<h2><a href="P3/P3_changes.html">Part 3</a></h2></li>
<li>
<h2><a href="P4/index.html">Part 4 </a></h2></li>
</ul>
</main>
<footer class="center">
<ul class="inline-list">
<li>Eivind</li>
<li>Hauk-Morten</li>
<li>Kasper</li>
<li>Andreas</li>
<li>Stine</li>
</ul>
</footer>
</body>
</html>