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
59 changes: 57 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,66 @@
<!DOCTYPE html>
<html lang="en">
<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=Lato:wght@700&display=swap" rel="stylesheet">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<title>Mochi portfolio</title>
<link rel="stylesheet" href="style/index.css"/>
</head>
<body>

<header>
<nav>
<h1>Michael Spicola</h1>
<links>
<button><a href="index.html">HOME</a></button>
<button><a href="about.html">ABOUT</a></button>
<button><a href="contact.html">CONTACT</a></button>
<button><a href="projects.html">PROJECTS</a></button>
</links>
</nav>
</header>
<section class="top">
<button class="image-button">
<h2>MICHAEL SPICOLA</h2>
<a href="projects.html">My Black Cat</a>
</button>
</section>
<section>
<div class="row">
<div class="folio-element">
<img src="https://images.unsplash.com/photo-1523219742-9ef872eeea39?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1052&q=80"/>
<p>These</p>
</div>
<div class="folio-element">
<img src="https://images.unsplash.com/photo-1584719474634-175d3471fd0e?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1050&q=80"/>
<p>are</p>
</div>
<div class="folio-element">
<img src="https://images.unsplash.com/photo-1570458436416-b8fcccfe883f?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1050&q=80"/>
<p>all</p>
</div>
</div>
<div class="row">
<div class="folio-element">
<img src="https://images.unsplash.com/photo-1497910091122-9f8a7746eb33?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1050&q=80"/>
<p>the same</p>
</div>
<div class="folio-element">
<img src="https://images.unsplash.com/photo-1548707519-d9908cfebe7a?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1013&q=80"/>
<p>cat</p>
</div>
<div class="folio-element">
<img src="https://images.unsplash.com/photo-1516280030429-27679b3dc9cf?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1050&q=80"/>
<p>I promise</p>
</div>
</div>
</section>
<footer>
<button>
<a href="contact.html">Contact Me</a>
</button>
</footer>
</body>
</html>
104 changes: 103 additions & 1 deletion style/index.css
Original file line number Diff line number Diff line change
@@ -1 +1,103 @@
/* Add CSS styling here */
/* Add CSS styling here */

/* The navbar container */

nav {
overflow: hidden;
background-color: #333;
}

/* Navbar links */

nav a {
float: left;
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}

/* On screens that are 600px wide or less, make the menu links stack on top of each other instead of next to each other */

@media screen and (max-width: 600px) {
.nav a {
float: none;
width: 100%;
}
}

nav{
display:flex;
justify-content: space-between;
}

h1{
display:block;
margin-top: 0;
font-size: 30px;
font-family: 'Lato', sans-serif;
}

button {
background-color:white;
color: black;
border:black solid 1px;
padding: 5px 10px;
}

button:hover{
background-color: black;
color: white;
border: white solid 1px;
}

button a{
text-decoration: none;
color: inherit;
}

.top{
display:flex;
justify-content:center;
}

.image-button{
background-image: url("https://images.unsplash.com/photo-1584615489955-ec0a8090ac34?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=633&q=80");
background-repeat: no-repeat;
background-size: cover;
color: white;
font-size: large;
width: 600px;
height: 400px;
margin: 2% 0;
/* border: solid rgb(228, 10, 10) 3px; */
}

.row{
display:flex;
flex-direction: row;
justify-content: space-evenly;
padding: 20px;
}

.folio-element{
text-align: center;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
text-transform: uppercase;
}

img{
width: 50%;
border: black solid 2px;
}

footer{
background-color: grey;
padding: 20px;
text-align: center;
}

.row{
justify-content:space-around
}