Skip to content
Merged
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
16 changes: 6 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
</form>
</fieldset>

<div id="gallery-wrapper"><!-- this is where images will be appended--></div>
<div id="gallery-wrapper" class="imageBlock"> <!-- this is where images will be appended--> </div>


<label for="username">Create a username to save your favorite images.</label>
Expand All @@ -89,21 +89,17 @@
</section>

<section id="favePhotos">
<div id="userFaves">
<p>This is a test, this is ONLY a test....</p>

<form id="getFaves">
<div id="userFaves">
<form id="getFaves">
<label for="userName">Your Name</label>
<input type="text">
<button id="view" type="submit">View</button>
</form>
</div>
<div id="topImages">
<form>
<label for="topUserImages">Top Images</label>
<button id="viewTopImages" type="submit">View Top Images</button>
</form>
</div>

<div id="favorites-wrapper" class="imageBlock"> <!-- this is where images will be appended--> </div>

</section>

<section id="learn">
Expand Down
6 changes: 3 additions & 3 deletions styles/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ body {
}

h1 {
font-family: 'Luckiest Guy', cursive;
font-family: 'Carter One', cursive;
font-size: 2.3em;
color: rgb(228, 53, 9);
margin: 0;
Expand All @@ -19,12 +19,12 @@ h1 {
}

h2 {
font-family: 'Luckiest Guy', cursive;
font-family: 'Carter One', cursive;
font-size: 1.7em;
}

h3 {
font-family: 'Luckiest Guy', cursive;
font-family: 'Carter One', cursive;
font-size: 1.3em;
}

Expand Down
62 changes: 21 additions & 41 deletions styles/module.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,52 +34,32 @@


/* Container module for Gallery */
/*
.flex-container {
display: inline-flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: flex-start;
align-content: space-between;
align-items: flex-start;
}

.flex-item:nth-child(1) {
order: 0;
flex: 0 1 auto;
align-self: auto;
}

.flex-item:nth-child(2) {
order: 0;
flex: 0 1 auto;
align-self: auto;
}

.flex-item:nth-child(3) {
order: 0;
flex: 0 1 auto;
align-self: auto;
#gallery-wrapper {
position: relative;
display: flex;
justify-content: space-around;
flex-wrap: wrap;
padding: 40px 40px 100px 40px;
}

.flex-item:nth-child(4) {
order: 0;
flex: 0 1 auto;
align-self: auto;

.imageBlock {
display: block;
position: relative;
width: 25%;
height: 200px;
margin: 20px 0;
padding: 40px;
background-position: center;
background-size: cover;
text-align: center;
border-radius: 20px;
transition: box-shadow .3s ease-in-out;
}

.flex-item:nth-child(5) {
order: 0;
flex: 0 1 auto;
align-self: auto;
}
/* Container module for Favorites */

.flex-item:nth-child(6) {
order: 0;
flex: 0 1 auto;
align-self: auto;
} */
#gallery-wrapper {
#favorites-wrapper {
position: relative;
display: flex;
justify-content: space-around;
Expand Down