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
1 change: 1 addition & 0 deletions .~lock.plbackground.odt#
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
,howard,howard-Lenovo,25.10.2022 10:06,file:///home/howard/.config/libreoffice/4;
177 changes: 177 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,180 @@
* for example: General styles, Navigation styles, Hero styles, Footer etc.
*
*/

body {
margin: 5px;
font-family: Arial, Helvetica, sans-serif;
font-size: 1rem;
background: lightblue;
}

h1,
h2,
h3 {
margin-top: 0;
margin-bottom: 0;
}

h5 {
margin-bottom: 15px;
}

h2 {
text-align: center;
margin-top: 20px;
background: yellowgreen;
}

p {
margin-top: 0;
margin-bottom: 0;
}

.header,
.footer {
padding: 0 1.5rem;
max-width: 1200px;
margin: 0 auto;
}

/* Header */

.header {
display: flex;
align-items: center;
justify-content: space-between;
height: 5rem;
margin-bottom: 1rem;
padding-top: 1rem;
}

/* Navigation */

.navigation__list {
display: flex;
list-style: none;
}

.navigation__item {
padding: 0.5rem 0;
}

.navigation__link {
color: var(--grey-dark);
font-weight: 600;
text-transform: uppercase;
text-decoration: none;
margin: 8px;
}
.navigation__link:hover {
background: yellow;
}

/*image*/
img {
width: 100px;
height: 80px;
}

/* Text styles */

.text-highlight {
color: var(--orange-dark);
font-weight: 600;
}

.arrow-right {
display: inline-block;
height: 0;
width: 0;
border: 6px solid var(--white);
border-left-color: var(--orange-dark);
}

/* Headings */

.heading-underline {
position: relative;
margin-bottom: 2rem;
padding-bottom: 0.5rem;
border-bottom: 2px solid var(--orange-light);
font-size: 1rem;
font-weight: 600;
text-transform: uppercase;
}

.heading-underline:before {
content: "";
position: absolute;
bottom: -2px;
left: 0;
width: 25%;
height: 2px;
max-width: 100px;
background: var(--orange-dark);
}

/* Article */

.learn-more {
margin-bottom: 1rem;
}

.m-b {
margin-bottom: 15px;
}

.m-b:first-child {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great use of first-child to highlight the first article!

background: gold;
}

.article__title {
margin-bottom: 0.5rem;
font-size: 1rem;
font-weight: 700;
}

.article__title-link {
text-decoration: none;
color: var(--orange-dark);
}

.article__summary {
margin-top: 0;
margin-bottom: 1rem;
}

.article__read-more {
margin-top: 0;
}

.article__read-more a {
font-size: 0.85rem;
font-weight: 700;
color: var(--orange-dark);
text-decoration: none;
}

.article__read-more a:hover,
.article__read-more a:focus {
text-decoration: underline;
}

/* Footer */

.footer {
margin-top: 2rem;
}

.footer__content {
border-top: 2px solid var(--orange-light);
padding-top: 2rem;
padding-bottom: 2rem;
}

.footer p {
padding-bottom: 1rem;
text-align: center;
font-size: 0.85rem;
}
Binary file added download.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
105 changes: 104 additions & 1 deletion 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>Premier League Blog</title>
<link
href="//fonts.googleapis.com/css?family=Roboto:400,500,300"
rel="stylesheet"
Expand All @@ -18,5 +18,108 @@
<body>
<!-- Add your HTML markup here -->
<!-- Remember: Use semantic HTML tags like <header>, <main>, <nav>, <footer>, <section> etc -->
<header>
<h2>Premier League Football Blog</h2>
<img src="download.jpeg" alt="football" />
<nav class="center">
<ul class="navigation__list">
<li class="navigation__item">
<a class="navigation__link" href="#">Home</a>
</li>
<li class="navigation__item">
<a class="navigation__link" href="#">About</a>
</li>
<li class="navigation__item">
<a class="navigation__link" href="#">News</a>
</li>
<li class="navigation__item">
<a class="navigation__link" href="#">Contact</a>
</li>
</ul>
</nav>

<h5>
There is no one who loves pain itself, who seeks after it and wants to
have it, simply because it is pain.
</h5>
</header>

<main>
<div>
<h2 class="heading-underline">Week 12</h2>

<div class="learn-more">
<article class="m-b">
<h3 class="article__title">
. The Member Clubs of the Premier League
</h3>
<p class="article__summary">
<i>
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut
enim ad minim veniam, quis nostrud exercitation ullamco laboris
nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor
in reprehenderit in voluptate velit esse cillum dolore eu fugiat
nulla pariatur. Excepteur sint occaecat cupidatat non proident,
sunt in culpa qui officia deserunt mollit anim id est
laborum."</i
>
</p>
<p class="article__read-more">
<a href="#">
<span class="arrow-right"></span>
<u>click here to learn more</u>
</a>
</p>
</article>

<article class="m-b">
<h3 class="article__title">. Funding for National League clubs</h3>
<p class="article__summary">
<i>
But I must explain to you how all this mistaken idea of
denouncing pleasure and praising pain was born and I will give
you a complete account of the system, and expound the actual
teachings of the great explorer of the truth, the master-builder
of human happiness. No one rejects, dislikes, or avoids pleasure
itself</i
>
</p>
<p class="article__read-more">
<a href="#">
<span class="arrow-right"></span>
<u>click here to learn more</u>
</a>
</p>
</article>

<article class="m-b">
<h3 class="article__title">. Latest transfer windows</h3>
<p class="article__summary">
<i>
Ut enim ad minima veniam, quis nostrum exercitationem ullam
corporis suscipit laboriosam, nisi ut aliquid ex ea commodi
consequatur? Quis autem vel eum iure reprehenderit qui in ea
voluptate velit esse quam nihil molestiae consequatur, vel illum
qui dolorem eum fugiat quo voluptas nulla pariatur?"</i
>
</p>
<p class="article__read-more">
<a href="#">
<span class="arrow-right"></span>
<u>click here to learn more</u>
</a>
</p>
</article>
</div>
</div>
</main>
<hr />
<footer class="footer">
<div class="footer__content">
<p>info@support.com</p>
<p><strong>by Howard</strong></p>
</div>
</footer>
</body>
</html>