Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NW | RAHWA ZESLUS | Module-User-Focused-Data| FEATURE/|WIREFRAME WEEK 1 #308

Closed
Closed
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
147 changes: 147 additions & 0 deletions Wireframe/css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@

body {
background-color: aquamarine;
font-family: Arial, sans-serif;
display: flex;
flex-direction: column;
min-height: 100vh;
margin: 0;
}

header {
text-align: center;
background-color: #5585b5;
color: white;
padding: 10px;
}

main.articles {
flex: 1;
display: grid;
grid-template-columns: 1fr;
grid-template-rows: auto;
gap: 40px;
padding: 10px;
padding-bottom: 60px;
}

@media (min-width: 768px) {
main.articles {
grid-template-columns: 1fr 1fr;
grid-template-rows: auto 1fr;
grid-template-areas:
"large large"
"small1 small2";
}
}

article:nth-child(1) {
grid-area: large;
}

article:nth-child(2) {
grid-area: small1;
}

article:nth-child(3) {
grid-area: small2;
}

article {
background-color: #f5f5f5;
padding: 20px;
border-radius: 5px;
border: 1px solid #ddd;
display: flex;
flex-direction: column;
}

article:first-child {
background-color: #53a8b6;
}

article:not(:first-child) {
background-color: #79c2d0;
}

.text-content {
align-self: flex-start;
text-align: left;
margin-right: auto;
padding-right: 70px;
}


footer {
background-color: #333;
color: white;
text-align: center;
padding: 10px;
margin: 0px 10px 0px 10px;
position: fixed;
bottom: 0;
width: 98%;
}


a {
color: #0055ff;
text-decoration: none;
font-weight: bold;
}

a:hover {
text-decoration: underline;
}


article img {
display: block;
margin: 0 auto;
border-radius: 5px;
}

.articles article:nth-child(1) img {
height: 350px;
width: 100%;
}

.articles article:nth-child(2) img,
.articles article:nth-child(3) img {
height: 200px;
width: 100%;
}
.articles article:nth-child(1) .text-content {

align-self: flex-start;
text-align:left;
width: 20%;
margin-right: auto;
padding-right: 80px;
}
.articles article:nth-child(2) .text-content,
.articles article:nth-child(3) .text-content {

align-self: flex-start;
text-align:left;
width: 30%;

margin-right: auto;
padding-right: 80px;
}
.read-more-button {
display: inline-block;
padding: 8px 15px;
background-color:white;
color: black;
text-align: center;
text-decoration: none;
border-radius: 7px;
font-size: 20px;
font-weight: bold;
margin-top: 10px;
}

.read-more-button:hover {
background-color: #003399;
}
Binary file added Wireframe/img/gitBranch.jpeg
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 Wireframe/img/whatGit.webp
Binary file not shown.
Binary file added Wireframe/img/whyGit.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
57 changes: 47 additions & 10 deletions Wireframe/index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,50 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Wireframe</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- Add your HTML markup here -->
<!-- Remember: Use semantic HTML tags like <header>, <main>, <nav>, <footer>, <section> etc -->
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Understanding Git</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>

<header>
<h1>Understanding Git</h1>
<p>An introduction to Git, why it's essential for developers, and the concept of branches.</p>
</header>

<main class="articles">
<article>
<img src="img/whatGit.webp" alt="Git's description">
<div class="text-content">
<h3>What is Git?</h3>
<p>Git is a distributed version control system designed to help developers manage and track changes in their code over time.</p>
<a href="https://www.geeksforgeeks.org/what-is-git-version-control/" class="read-more-button">Learn more</a>
</div>
</article>

<article>
<img src="img/whyGit.jpeg" alt="Importance of git">
<div class="text-content">
<h3>Why Do Developers Need Git?</h3>
<p>Git allows developers to collaborate, maintain versions, and backtrack changes efficiently.</p>
<a href="https://www.nobledesktop.com/learn/git/what-is-git" class="read-more-button">Learn more</a>
</div>
</article>

<article>
<img src="img/gitBranch.jpeg" alt="git branch">
<div class="text-content">
<h3>What is a Branch in Git?</h3>
<p>A branch in Git is a separate line of development within a repository.</p>
<a href="https://gitdeveloperguide.solomonmarvel.com/working-with-git/what-is-git-branch" class="read-more-button">Learn more</a>
</div>
</article>
</main>

<footer>
<p>&copy; 2024 by Rahwa Zeslus Haile. All Rights Reserved..</p>
</footer>

</body>
</html
</html>