Skip to content
This repository was archived by the owner on Oct 26, 2020. It is now read-only.
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
112 changes: 112 additions & 0 deletions week1/3-website/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,115 @@
* for example: General styles, Navigation styles, Hero styles, Footer etc.
*
*/
*{
margin: 0px;
padding: 0px;
box-sizing: border-box;
font-family: Arial, sans-serif;
}

article {
display:inline-block;
border: 5px solid transparent;
margin: 0px, 0px, 0px, 0px;
background-color: lightgray;
padding:50px;
width: 100%;
font-size:20px;
}

header {
display:inline-block;
border: 5px solid transparent;
margin: 0px, 0px, 0px, 0px;
background-color: #696969;
padding:10px;
width: 100%;
}

#header-img{ display:inline-block;
float:left;
width: 100px;
height:100px;
margin:0% 0% 0% 0%;
border-radius:10%;
}
.about-img{ display:inline-block;
float: left;
width: 200px;
height:200px;
margin:0% 0% 0% 0%;
border-radius:10%;
padding:10px;
}

#nav-bar{
display:inline;
overflow:hidden;
position:flex;
top:0px;
background-color:#696969;
width:100%;
font-size: 0.5em;
}

input {display:inline-block;
margin: 25px 0px 0px 0px;
}


#nav-bar>a { display:inline-block;
float: right;
color: white;
text-align: center;
padding: 10px 16px;
text-decoration: none;
background-color:#696969;
font-size: 5em;
}

#nav-bar>h1 { display:inline-block;
float: left;
color:white;
text-align: center;
padding: 10px 16px;
text-decoration: none;
background-color:#696969;
font-size: 5em;
}

#nav-bar>a:hover {
background-color: lightgray;
color: black;
}

.nav-link {
font:black;
font-size: 0.5cm;
}

.footer-format{
padding:20px;
text-align:center;
background-color:#696969;
border-radius:0%;
font-size: 0.5cm;
}

.footer-text{
text-align:center;
background-color:#696969;
font-size: 0.5cm;
}

#About aside p:first-of-type{
color:blue;
}

main article:first-child{
color:#1E90FF;
}

main article:nth-of-type(2n){
color: #7B68EE;
}
62 changes: 52 additions & 10 deletions week1/3-website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,63 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<title>My Blog</title>
<link
href="//fonts.googleapis.com/css?family=Roboto:400,500,300"
rel="stylesheet"
type="text/css"
/>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
<title>My Sports Blog</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>
<!-- Add your HTML markup here -->
<header>
<nav id="nav-bar">
<img id="header-img" src="https://scontent-lht6-1.xx.fbcdn.net/v/t1.0-9/24294242_2073759072637981_1242220716826473150_n.jpg?_nc_cat=103&_nc_sid=dd7718&_nc_ohc=sUHGYJ2KXh8AX8_OUGj&_nc_ht=scontent-lht6-1.xx&oh=0b96e40c8a0712aaaac2c961ecb73ffd&oe=5EDCA158" alt="Header image">
<h1> Sports </h1>
<input type="text" placeholder="search please">
<input type="submit" value="search">
<a class="nav-link" href="#Contacts">Contacts</a>
<a class="nav-link" href="#meditations">Meditations</a>
<a class="nav-link" href="#anaerobic">Anaerobic</a>
<a class="nav-link" href="#aerobic">Aerobic</a>
<a class="nav-link" href="#about">About</a>
</nav>
</header>
<hr>
<main>
<article id = "About">
<h1> About 1 </h1>
<img class="about-img" src="https://qph.fs.quoracdn.net/main-qimg-7252646c64a04eeb2a8e94a5d4cb380d" alt="Header image">
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p><br><p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p><a href="https://www.wikipedia.org/">For more information</a><br><a href="#nav-bar">Home page</a>
</article>

<article id ="aerobic">
<h1> Arobic</h1>
<img class="about-img" src="https://www.athulyaliving.com/blogs/wp-content/uploads/2020/03/Elderly-Aerobic-Exercise.jpg" alt="Header image">
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p><br>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p><a href="https://www.wikipedia.org/">For more information</a><br><a href="#nav-bar">Home page</a>
</article>

<article id = "anaerobic">
<h1> Anaerobic</h1>
<img class="about-img" src="https://cdn.clipart.email/50f9edcc01171065e632a14b530318d8_-types-of-exercise-awareness-benefits_412-416.jpeg" alt="Header image">
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p> <a href="https://www.wikipedia.org/">For more information</a><br><a href="#nav-bar">Home page</a>
</article>

<article id = "meditations">
<h1> Meditations</h1>
<img class="about-img" src="https://www.akshiyogashala.org/wp-content/uploads/2019/11/5CEvyaWxjaEt3FA7GFqXQVsUuYE8fuwBPpuHBhQEPMqqDr273t7dpF1wTkoSwNfzZD83ga4vFo7gzK1Ya.png" alt="Header image">
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p> <a href="https://www.wikipedia.org/">For more information</a><br><a href="#nav-bar">Home page</a>
</article>
</main>
<hr>
<footer id = "Contacts" class="footer-format"><p class="footer-text">
<p>“Persistence can change failure into extraordinary achievement.” – Marv Levy</p>
<br>
<a href="#nav-bar">Back to the top</a>
<br>Student at CYF
<br>&copy;May 2020 by Tedros
</p>
</footer>
<!-- Remember: Use semantic HTML tags like <header>, <main>, <nav>, <footer>, <section> etc -->
</body>
</html>