Skip to content

ZA | May-2025 | Fikiswa Matoti | Wireframe #685

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

Open
wants to merge 14 commits into
base: main
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 Wireframe/images/readme.jpg
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/images/version-control-custom.jpg
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/images/wireframe-web-design(custom).jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
51 changes: 34 additions & 17 deletions Wireframe/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,44 @@
<link rel="stylesheet" href="style.css" />
</head>
<body>
<header>
<h1>Wireframe</h1>
<p>
This is the default, provided code and no changes have been made yet.
</p>
<header class="heading">
<h1>Software Development Basics</h1>
<p>This site provides short summaries on the purpose of a README file,
wireframe, and what a branch is in Git.</p>
</header>
<main>
<article>
<img src="placeholder.svg" alt="" />
<h2>Title</h2>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam,
voluptates. Quisquam, voluptates.
</p>
<a href="">Read more</a>
</article>
<article>
<img src="./images/readme.jpg" alt="Image with the word 'README'" />
<h2>What is the purpose of a README file?</h2>
<p>A README file informs others about the purpose, usage, and contribution
guidelines of your project. According to GitHub, “You can add a README
file to a repository to communicate important information about your project.
A README, along with a repository license, citation file, contribution
guidelines, and a code of conduct, communicates expectations for your
project and helps you manage contributions.”</p>
<a href="https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-readmes" target="_blank">Read more</a>
</article>
<article>
<img src="./images/wireframe-web-design(custom).jpg" alt="Image of a website wireframe" />
<h2>What is the purpose of a wireframe?</h2>
<p>A wireframe is a simplified visual blueprint of a website, web page,
or mobile app. It shows what users will see and interact with, ensuring
a user-focused design and clarifying functionality.
</p>
<a href="https://careerfoundry.com/en/blog/ux-design/what-is-a-wireframe-guide/#what-is-the-purpose-of-wireframing" target="_blank">Read more</a>
</article>
<article>
<img src="./images/version-control-custom.jpg" alt="Diagram of version control branches" />
<h2>What is a branch in Git?</h2>
<p>In Git, a branch is an independent line of development used to create
features or fixes without altering the main codebase. It supports parallel
work, enabling easier collaboration and code management.
</p>
<a href="https://git-scm.com/book/en/v2/Git-Branching-Branches-in-a-Nutshell" target="_blank">Read more</a>
</article>
</main>
<footer>
<p>
This is the default, provided code and no changes have been made yet.
</p>
<p>&copy; 2025 Fikiswa</p>
</footer>
</body>
</html>
75 changes: 55 additions & 20 deletions Wireframe/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ As well as useful links to learn more */
====== Design Palette ====== */
:root {
--paper: oklch(7 0 0);
--ink: color-mix(in oklab, var(--color) 5%, black);
--ink: color-mix(in oklab, white5%, black);
--font: 100%/1.5 system-ui;
--space: clamp(6px, 6px + 2vw, 15px);
--line: 1px solid;
Expand All @@ -30,12 +30,21 @@ body {
background: var(--paper);
color: var(--ink);
font: var(--font);
padding-bottom: 80px;;
}
a {
padding: var(--space);
border: var(--line);
max-width: fit-content;
padding: 0.25em 0;
color: blue;
text-decoration: underline;
display: inline-block;
margin-top: var(--space);
}

a:hover {
background: #222;
color: white;
}

img,
svg {
width: 100%;
Expand All @@ -48,11 +57,24 @@ https://www.w3.org/WAI/tutorials/page-structure/regions/
main {
max-width: var(--container);
margin: 0 auto calc(var(--space) * 4) auto;
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--space);
}

main > *:first-child {
grid-column: span 2;
}

footer {
position: fixed;
bottom: 0;
width: 100%;
text-align: center;
background: var(--paper);
padding: var(--space);
z-index: 1000;
background-color: silver;
}
/* ====== Articles Grid Layout ====
Setting the rules for how articles are placed in the main element.
Expand All @@ -61,29 +83,42 @@ Play with the options that come up.
https://developer.chrome.com/docs/devtools/css/grid
https://gridbyexample.com/learn/
*/
main {
article {
border: var(--line);
padding-bottom: var(--space);
text-align: left;
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--space);
> *:first-child {
grid-column: span 2;
}
grid-template-columns: var(--space) 1fr var(--space);
}
/* ====== Article Layout ======
Setting the rules for how elements are placed in the article.
Now laying out just the INSIDE of the repeated card/article design.
Keeping things orderly and separate is the key to good, simple CSS.
*/
article {
border: var(--line);
padding-bottom: var(--space);
text-align: left;
display: grid;
grid-template-columns: var(--space) 1fr var(--space);
> * {
grid-column: 2/3;
article > * {
grid-column: 2 / 3;
}

article > img {
grid-column: span 3;
}
a {
padding: var(--space);
border: var(--line);
max-width: fit-content;
color: #000000;
background-color: #cffcd9;
border-radius: var(--space);
}
@media (max-width: 768px) {
main {
grid-template-columns: 1fr;
}
> img {
grid-column: span 3;

main > *:first-child {
grid-column: span 1;
}
}
.heading {
text-align: center;
}