-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
104 lines (99 loc) · 2.36 KB
/
index.html
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
<! DOCTYPE HTML>
<html>
<head>
<title>Lyle's Garden</title>
<style>
body {
background: rgb(80, 138, 204);
color: rgb(45, 45, 45);
padding: 10px;
font-family: arial;
}
#all-contents {
max-width: 800px;
margin: auto;
}
/* navigation menu */
nav {
background: rgb(34, 99, 44);
margin: 0 auto;
margin-bottom: 20px;
display: flex;
padding: 10px;
border-radius: 30px;
}
nav h1 {
display: flex;
align-items: center;
color: white;
flex: 1;
margin: 0;
}
nav ul {
list-style-image: none;
}
nav li {
display: inline-block;
padding: 0 10px;
}
nav a {
text-decoration: none;
color: #fff;
}
/* main container area beneath menu */
main {
background: rgb(245, 238, 219);
display: flex;
border-radius: 30px;
}
.sidebar {
margin-right: 25px;
padding: 10px;
}
.sidebar img {
width: 200px;
border: 5px solid #f05f4f;
border-radius: 30px;
}
.content {
flex: 1;
padding: 15px;
}
h2, h3 {
margin: 0px;
}
</style>
</head>
<body>
<div id="all-contents">
<nav>
<h1>Lyle's Garden Plot</h1>
<ul>
<li>
<a href="index.html"> Home </a>
</li>
<li>
<a href="portfolio.html"> Portfolio </a>
</li>
</ul>
</nav>
<main>
<div class="sidebar">
<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR8nBOx4SmrDdKOQo4hplKsyBMJGJ8V6PCilA&usqp=CAU">
</div>
<div class="content">
<h2>Lyle Thorne</h2>
<p>Student at Op Spark</p>
<div class="interests">
<h3>Interests</h3>
<ul>
<li>Gardening</li>
<li>Crocheting</li>
<li>Walking my dog</li>
</ul>
</div>
</div>
</main>
</div>
</body>
</html>