Skip to content
This repository was archived by the owner on Jan 14, 2024. 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
Binary file added Lorem-Ipsum-Wallpaper.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
137 changes: 129 additions & 8 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,129 @@
/**
* Add your custom styles below
*
* Remember:
* - Be organised, use comments and separate your styles into meaningful chunks
* for example: General styles, Navigation styles, Hero styles, Footer etc.
*
*/
body {
color: aqua;
font-weight: bolder;
justify-content: center;
}
.nav-link {
display: inline-block;
margin-top: 0;
padding: 1px;
text-align: right;
height: 0vh;
}

#navbar {
border: solid violet 5px;
border-radius: 10px;
padding: 1px;
margin: 1px;
background-color: lightblue;
font-size: 15px;
position: fixed;
top: 0;
width: 100%;
font-weight: bolder;
overflow: hidden;
height: auto;
z-index: 2;
}

#Articles {
background-image: url("https://www.highreshdwallpapers.com/wp-content/uploads/2012/10/Lorem-Ipsum-Wallpaper.jpg");
background-size: 100%;
color: aqua;
border: solid violet 5px;
border-radius: 10px;
justify-content: center;
padding: 8rem;
margin-top: 2em;
margin-bottom: 2em;
height: 100vh;
}

.links {
color: blue;
}

header {
text-align: center;
font-weight: bolder;
font-size: 3rem;
}

#Home {
/* display: block; */
background-image: url("https://www.highreshdwallpapers.com/wp-content/uploads/2012/10/Lorem-Ipsum-Wallpaper.jpg");
background-size: 100%;
color: aqua;
border: solid violet 5px;
border-radius: 10px;
padding-top: 50em;
padding: 2em;
justify-content: center;
text-align: center;
margin-top: 2em;
margin-bottom: 2em;
height: 20vh;
}

#img-div {
justify-content: center;
position: relative;
padding: 5px;
}

#image {
border: 5px white solid;
border-radius: 25px;
margin-top: 5em;
height: 30rem;
width: 50rem;
z-index: -1;
}

#img-caption {
color: rgb(246, 250, 3);
text-align: center;
font-size: 30px;
}

#intro {
padding-left: 180px;
padding-right: 180px;
font-size: 20px;
}

main {
margin: 0 auto;
}

article:first-child {
background-color: lightblue;
color: red;
border: solid aqua 3px;
border-radius: 4px;
padding: 2rem;
font-style: italic;
}

/* #Topics {
background-image: url("https://www.highreshdwallpapers.com/wp-content/uploads/2012/10/Lorem-Ipsum-Wallpaper.jpg");
background-size: 100%;
color: aqua;
border: solid red 5px;
border-radius: 10px;
padding: 10em;
margin-top: 2em;
margin-bottom: 2em;
justify-content: center;
height: 100vh;

} */

footer {
background-color: lightblue;
color: red;
border: solid violet 5px;
border-radius: 10px;
padding: 2rem;
}
94 changes: 89 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,92 @@
<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 -->
<!-- Remember: Use semantic HTML tags like <header>, <main>, <nav>, <footer>, <section> etc -->
</body>
</html>

<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" />
<link rel="stylesheet" href="css/style.css" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
</head>

<body>
<nav id="navbar">
<header>Lorem Ipsum</header>
<a class="nav-link" href="#Home">Home</a>
<a class="nav-link" href="#Articles">Articles</a>
<!-- <a class="nav-link" href="#Topics">Topics</a> -->
</nav>

<main>
<section id="Home">
<!-- <div id="img-div">
<img id="image" src="Kobe Bryant 1920x1080 image bank Imagenes Gratis.jpg">
<figcaption id="img-caption"><strong>Winners don't rest in the middle, they rest at the end</strong></figcaption>
</div> -->

<p id="intro">
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>
</section>



<section id="Articles">
<article>
<h2>Where does Lorem Ipsum come from?</h2>
<p>
Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin
literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney
College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage,
and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum
comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by
Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance.
The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.
</p>
<a class="links" href="https://www.lipsum.com/"><strong>More on Lorem Ipsum</strong></a>
</article>
<article>
<h2>Why do we use Lorem Ipsum?</h2>
<p>
It is a long established fact that a reader will be distracted by the readable content of a page when looking at
its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as
opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing
packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum'
will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by
accident, sometimes on purpose (injected humour and the like).

</p>
<a class="links" href="https://www.lipsum.com/">Why do we use Lorem Ipsum</a>
</article>
<article>
<h2>Where can I get some Lorem Ipsum text?</h2>
<p>
There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some
form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a
passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All the
Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true
generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence
structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from
repetition, injected humour, or non-characteristic words etc.
</p>
<a class="links" href="https://www.lipsum.com/">Where can I get some Lorem Ipsum?</a>
</article>
</section>
</main>

<footer>
To find out more about the writer and follow his work, please visit his portfolio
<a class="links" href="https://">Kwanda Silekwa</a>
</footer>
<!-- Add your HTML markup here -->
<!-- Remember: Use semantic HTML tags like <header>, <main>, <nav>, <footer>, <section> etc -->
</body>

</html>