Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
54 changes: 53 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,63 @@
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fira+Mono&family=Fira+Sans&family=Old+Standard+TT&display=swap" rel="stylesheet">

<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="style/index.css">
</head>
<body>

<header>
<div class="left">
<h2>David Madden</h2>
</div>
<div class="right">
<nav>
<a href="">Home</a>
<a href="">About</a>
<a href="">Contact</a>
<a href="">Projects</a>
</nav>
</div>
</header>
<section class="hero">
<div>
<h1>David Madden</h1>
<a href="">Hire this guy</a>
</div>
</section>
<section class="gallery">
<div class="gallery-item">
<img src="pics/vgg.jpg" alt="">
<a href="">very good girls</a>
</div>
<div class="gallery-item">
<img src="pics/cooking.jpg" alt="">
<a href="">cooking</a>
</div>
<div class="gallery-item">
<img src="pics/scythe.JPG" alt="">
<a href="">lindy yardcare</a>
</div>
<div class="gallery-item">
<img src="pics/nap.jpg" alt="">
<a href="">napping</a>
</div>
<div class="gallery-item">
<img src="pics/homestead.JPG" alt="">
<a href="">resiliency</a>
</div>
<div class="gallery-item">
<img src="pics/garden2.JPG" alt="">
<a href="">regenerative agriculture</a>
</div>
</section>
<footer>
<a href="">Hire Me</a>
</footer>
</body>
</html>
Binary file added pics/books.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pics/chickens.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pics/cooking.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pics/garden.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pics/garden2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pics/hero.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pics/homestead.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pics/nap.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pics/rainbow.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pics/scythe.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pics/vgg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
164 changes: 163 additions & 1 deletion style/index.css
Original file line number Diff line number Diff line change
@@ -1 +1,163 @@
/* Add CSS styling here */
/* Add CSS styling here */
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
/* border: 0; */
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1.5;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}

/* end of reset */

/*defaults*/
*{
box-sizing: border-box; /*respect the width*/
max-width: 100%; /*stops images from being larger than their parent*/
padding:0;
margin:0;
/* border: 1px solid grey; */
}

html{
font-size:62.5%; /*makes 1 rem == 10px*/
}
body{
font-size:1.6rem; /*brings back to 16px, but responsive*/
color: #4F4F4F;
margin:2%;
}
/*end of defaults*/

h1, h2, h3{
font-family: 'Old Standard TT', serif;
text-transform: uppercase;
}
a{
font-family: 'Fira Mono', monospace;
text-transform:lowercase;
text-decoration: none;
padding:1%;
text-align:center;
color: black;
}
p{
font-family: 'Fira Sans', sans-serif;
}

h1{
font-size: 7rem;
text-align: center;
}
h2{
font-size:3rem;
}

header{
display:flex;
justify-content: space-between;
/* align-content:center; */
}
header div{
width:40%;
}

header .right{
/* display:flex; */
}
nav{
align-content:center;
display:flex;
justify-content: space-between;
}

nav a, .hero div a, footer a{
border:1px solid black;
border-radius: 5px;;
}
nav a{
background-color:pink;
}

.hero div a, footer a{
background-color: white;
}

.hero{
display:flex;
justify-content: center;
align-items: center;
height:50vh;
color: white;
}
.hero div{
display:flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 80%;
height: 90%;
background-image: url(/pics/rainbow.JPG);
background-size: cover;
background-position: center;
}
.gallery{
display:flex;
flex-wrap: wrap;
justify-content: space-around;
margin-top: 20px;
margin-bottom: 20px;
}
.gallery-item{
width:30%;
display:flex;
flex-direction: column;
}
footer {
background-color: pink;
display:flex;
justify-content: center;
align-items: center;
min-height: 100px;

}