Skip to content
This repository has been archived by the owner on Oct 26, 2020. It is now read-only.

Html css mb week2 #62

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
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.
Binary file added week1/.DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions week1/2-reading/my-first-webpage.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<p>This is my firstwebpage!</p>
Binary file added week1/3-website/.DS_Store
Binary file not shown.
3 changes: 3 additions & 0 deletions week1/3-website/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5503
}
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 week1/3-website/Firefly-Serenity-Ship.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 week1/3-website/css/.DS_Store
Binary file not shown.
66 changes: 66 additions & 0 deletions week1/3-website/css/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<title>Firefly and Serenity fan page</title>
<link
href="//fonts.googleapis.com/css?family=Roboto:400,500,300"
rel="stylesheet"
type="text/css"
/>
<link rel="stylesheet" href="css/style.css" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
</head>
<body>
<header>
<nav class="nav-links">Articles | Sign Up</nav>
<h1 class="title">Firefly and Serenity</h1>
<h2 class="title">(For the fans)</h2>
</header>
<section class="image-section">
<img src=https://wp-media.patheos.com/blogs/sites/541/2019/08/cant-stop-the-signal-mr-universe-serenity-firefly.gif alt="Can't stop the signal Mal">
</section>
<section>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec gravida dolor nec congue porttitor.
In justo arcu, gravida blandit congue sit amet, elementum nec arcu. In scelerisque a felis eu consequat.
Donec blandit, libero sit amet lacinia congue, mi justo congue odio, eget ullamcorper eros erat et neque.
</p>
</section>
<main class = "wrapper">
<article>
<h2>Firefly</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec gravida dolor nec congue porttitor.
In justo arcu, gravida blandit congue sit amet, elementum nec arcu. In scelerisque a felis eu consequat.
Donec blandit, libero sit amet lacinia congue, mi justo congue odio, eget ullamcorper eros erat et neque.
Integer lacinia arcu urna, eu laoreet tortor placerat vitae.
</p>
</article>
<article>
<h2>Serenity</h2>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec gravida dolor nec congue porttitor.
In justo arcu, gravida blandit congue sit amet, elementum nec arcu. In scelerisque a felis eu consequat.
Donec blandit, libero sit amet lacinia congue, mi justo congue odio, eget ullamcorper eros erat et neque.
Integer lacinia arcu urna, eu laoreet tortor placerat vitae.
</p>
</article>
<article>
<h2>Books</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec gravida dolor nec congue porttitor.
In justo arcu, gravida blandit congue sit amet, elementum nec arcu. In scelerisque a felis eu consequat.
Donec blandit, libero sit amet lacinia congue, mi justo congue odio, eget ullamcorper eros erat et neque.
Integer lacinia arcu urna, eu laoreet tortor placerat vitae.
</p>
</article>
</main>
<footer>
<p>More events</p>
<p>Sign up to my newsletter</p>
</footer>

</body>
</html>
149 changes: 149 additions & 0 deletions week1/3-website/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,152 @@
* for example: General styles, Navigation styles, Hero styles, Footer etc.
*
*/

body, html {
height: 125vh;
margin: 0;
font-size: 20px;
font-family: Arial Verdana, sans-serif;
margin-left: 40px;
margin-right: 40px;
margin-bottom: 40px;
}
.nav-links {
display:flex;
justify-content: flex-end;
padding: 10px;
background-color: #DC143C;
color: white;
text-decoration: none;


}
ul {
list-style-type: none;
margin: 0;
padding: 0;


}

li {
display: inline;

}

nav a {
color: white;
text-decoration: none;
}



.title {
text-align: center;
display: block;
color: white;
font-weight: bold;
text-transform: uppercase;
background-color: rgb(13, 123, 192);
padding: 20px;
font-size: 50px;
}

.image-section {
height: 360px;
background-image: url('http://getwallpapers.com/wallpaper/full/0/7/0/1209195-firefly-serenity-wallpaper-1920x1080-for-tablet.jpg');
background-repeat: no-repeat;
background-size: cover;
background-position: center;
padding: 100px 5%;

}

.kicker {
max-width: 500px;
}
.wrapper {
display:grid;
grid-template-columns: 1fr 1fr 1fr;

}

.one {
grid-column: 0/3;
grid-row: 1;
}

.two {
grid-column: 2/3;
grid-row: 1;
}

.three {
grid-column: 3/3;
grid-row: 1
}

footer {
text-align: center;
padding-bottom: 50px;
}

.more-events {
text-align: center;
background: orange;
padding: 0.6em 1em;
display: inline-block;
color: white;
font-weight: bold;
text-transform: uppercase;
}

.newsletter {
text-align: center;
background: red;
padding: 0.6em 1em;
display: inline-block;
color: white;
font-weight: bold;
text-transform: uppercase;

}

.firefly {
text-align: center;
background: darkcyan;
padding: 0.6em 1em;
display: inline-block;
color: white;
font-weight: bold;
text-transform: uppercase;

}



.serenity {
text-align: center;
background: rgb(185, 74, 74);
padding: 0.6em 1em;
display: inline-block;
color: white;
font-weight: bold;
text-transform: uppercase;

}

.books {
text-align: center;
background: darkkhaki;
padding: 0.6em 1em;
display: inline-block;
color: white;
font-weight: bold;
text-transform: uppercase;

}

article:first-child {
font-style: italic;
}
53 changes: 50 additions & 3 deletions week1/3-website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<title>My Blog</title>
<title>Firefly and Serenity fan page</title>
<link
href="//fonts.googleapis.com/css?family=Roboto:400,500,300"
rel="stylesheet"
Expand All @@ -16,7 +16,54 @@
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
</head>
<body>
<!-- Add your HTML markup here -->
<!-- Remember: Use semantic HTML tags like <header>, <main>, <nav>, <footer>, <section> etc -->
<header>
<nav class="nav-links">
<ul>
<li><a href="#Articles">Articles</a></li> |
<li><a href="#Sign-Up">Sign Up</a></li>
</ul>
</nav>
<h1 class="title">Can't Stop the Signal</h1>
</header>
<section class="image-section">

</section>
<section>
<p class="kicker">A fansite for all things related to Firefly and Serenity.

</p>
</section>
<main class="wrapper">
<article class="one" id="Articles">
<h2 class="firefly">Firefly</h2>
<p class>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec gravida dolor nec congue porttitor.
In justo arcu, gravida blandit congue sit amet, elementum nec arcu. In scelerisque a felis eu consequat.
Donec blandit, libero sit amet lacinia congue, mi justo congue odio, eget ullamcorper eros erat et neque.
Link to <a href="https://www.imdb.com/title/tt0303461/">Firefly IMDB</a>
</p>
</article>
<article class="two">
<h2 class="serenity">Serenity</h2>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec gravida dolor nec congue porttitor.
In justo arcu, gravida blandit congue sit amet, elementum nec arcu. In scelerisque a felis eu consequat.
Donec blandit, libero sit amet lacinia congue, mi justo congue odio, eget ullamcorper eros erat et neque.
Link to <a href="https://www.imdb.com/title/tt0379786/?ref_=fn_al_tt_2">Serenity IMDB</a>
</p>
</article>
<article class="three">
<h2 class= "books">Books</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec gravida dolor nec congue porttitor.
In justo arcu, gravida blandit congue sit amet, elementum nec arcu. In scelerisque a felis eu consequat.
Donec blandit, libero sit amet lacinia congue, mi justo congue odio, eget ullamcorper eros erat et neque.
Check out these <a href="https://www.goodreads.com/shelf/show/firefly-serenity">Goodreads.</a>
</p>
</article>
</main>
<footer>
<p class="more-events">More events</p>
<p class="newsletter" id="Sign-Up">Sign up to my newsletter</p>
</footer>

</body>
</html>
Binary file added week2/.DS_Store
Binary file not shown.
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 week2/2-website/.DS_Store
Binary file not shown.
3 changes: 3 additions & 0 deletions week2/2-website/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5502
}
Loading