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

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 22 additions & 6 deletions 3-box-model/16-spaced-out/index.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,36 @@
<!-- Spaced Out 🛰️ -->
<!-- Codédex -->

<div id="outside-wrapper" style="width:80%;">
<img id="top-img" src="https://images.unsplash.com/photo-1551027654-f7b9f56804c7?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80" style="width:10em; height:10em;" />
<div id="outside-wrapper" style="width: 80%">
<img
id="top-img"
src="https://images.unsplash.com/photo-1551027654-f7b9f56804c7?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80"
style="width: 10em; height: 10em"
/>

<h2>My Feed</h2>
<ul id="post-list">
<h2>My Feed</h2>
<li>
<div class="post-wrapper">
<img class="post-img" src="https://www.carnegielibrary.org/wp-content/uploads/2016/02/CLPMain_1080x600.jpg" alt="Carnegie Library of Pittsburgh" style="width:100%;" />
<p>Visited the library! 📚 <b>#libraries</b> <b>#readingisawesome</b></p>
<img
class="post-img"
src="https://www.carnegielibrary.org/wp-content/uploads/2016/02/CLPMain_1080x600.jpg"
alt="Carnegie Library of Pittsburgh"
style="width: 100%"
/>
<p>
Visited the library! 📚 <b>#libraries</b> <b>#readingisawesome</b>
</p>
</div>
</li>
<li>
<div class="post-wrapper">
<img class="post-img" src="https://media.giphy.com/media/AFHFoEv9fDOn7lIdlD/giphy.gif" alt="GIF of two people fist-bumbing with the caption 'YOU GOT THIS'" style="width:100%;" />
<img
class="post-img"
src="https://media.giphy.com/media/AFHFoEv9fDOn7lIdlD/giphy.gif"
alt="GIF of two people fist-bumbing with the caption 'YOU GOT THIS'"
style="width: 100%"
/>
<p>Carpe diem! <b>#wordsofencouragement</b> <b>#wordsofwisdom</b></p>
</div>
</li>
Expand Down
30 changes: 28 additions & 2 deletions 4-layout/20-go-with-the-flow/styles.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
/* General Resets */
* {
font-family: Lato, sans-serif;
box-sizing: border-box;
padding: 0;
margin: 0;
}

/* Header Styles */
header {
background-color:#492b7c;
color: #fff;
Expand All @@ -15,13 +17,14 @@ header, h2 {
text-align: center;
}

/* Navigation Styles */
nav > ul {
margin: 5px 0;
}

nav li {
background-color: #c2c2ff;
padding: 7px;
padding: 10px;
margin: 1em auto;
width: 25%;
border: 2px solid;
Expand All @@ -30,6 +33,7 @@ nav li {
display: inline-block;
}

/* Section Styles */
section {
min-height: 100vh;
}
Expand All @@ -43,6 +47,7 @@ section > h2 {
border-bottom: 0.5px solid grey;
}

/* Story Section Styles */
#story-section {
background-color: #fffbc4;
}
Expand All @@ -57,31 +62,52 @@ section > h2 {
border-radius: 5px;
display: block;
margin: auto;
margin-top: 10px;
}

#story-section > p{
margin-top: 10px;
}


/* Services Section Styles */
#services-section > h2 {
background-color: #88b3b3;
margin-top: 10px;
}

#services-section > ul {
list-style-position: inside;
}

#services-section >p {
margin-top: 10px;
}

/* Contact Section Styles */
#contact-section {
background-color: #492b7c;
color: #fff;
}

#contact-section >p{
margin-left: 20%;
padding: 5px;
}

/* Form Styles */
form {
width: max-content;
margin: auto;
padding: 10px;
}

/* Notification Styles */
#notification-div {
background-color: #ed8a0a;
color: #313131;
padding: 5px;
border: 2px solid darkred;
border-radius: 5px;
width: 25%;
}
}