From a4712cebcf62dbb22e8cead4a4e890604927929f Mon Sep 17 00:00:00 2001 From: sofragiualina Date: Wed, 20 May 2026 22:56:19 +0100 Subject: [PATCH 1/2] Revise wireframe content and layout Updated content and structure of the wireframe HTML file. --- Wireframe/index.html | 39 ++++++++++++++++++++++++++------------- 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/Wireframe/index.html b/Wireframe/index.html index 0e014e535..2fb2b9eb0 100644 --- a/Wireframe/index.html +++ b/Wireframe/index.html @@ -6,28 +6,41 @@ Wireframe +

Wireframe

-

- This is the default, provided code and no changes have been made yet. -

+

Basic layout blueprint

+
- -

Title

-

- Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, - voluptates. Quisquam, voluptates. -

- Read more + README file illustration +

README File

+

A README file is a document that explains what a project is, how it works, and how to set it up or use it. On platforms like GitHub, it is usually the first thing people read to understand the project.

+ Read more +
+ +
+ Wireframe layout sketch +

Wireframe

+

A wireframe is a simple visual layout of a website or app that shows where elements like buttons, text, and images will be placed without using colors or detailed design. It helps plan the structure and user experience before development begins.

+ Read more +
+ +
+ Git branches diagram +

Git Branch

+

LGit branches are separate versions of a project that allow developers to work on new features or fixes without changing the main code. In Git, changes can later be merged back into the main branch once they are ready.

+ Read more
+ From 59e72a077b599e34a11a1d9f65d46e0d48dc27c4 Mon Sep 17 00:00:00 2001 From: sofragiualina Date: Wed, 20 May 2026 22:58:09 +0100 Subject: [PATCH 2/2] Update styles for layout and element presentation Refactor CSS for layout and styling improvements. --- Wireframe/style.css | 77 ++++++++++++++++++++++++++------------------- 1 file changed, 44 insertions(+), 33 deletions(-) diff --git a/Wireframe/style.css b/Wireframe/style.css index be835b6c7..1fa3d2ac8 100644 --- a/Wireframe/style.css +++ b/Wireframe/style.css @@ -24,66 +24,77 @@ As well as useful links to learn more */ --line: 1px solid; --container: 1280px; } -/* ====== Base Elements ====== - General rules for basic HTML elements in any context */ + body { background: var(--paper); color: var(--ink); font: var(--font); + margin: 0; } + a { padding: var(--space); border: var(--line); max-width: fit-content; + display: inline-block; + margin-top: var(--space); + text-decoration: none; } + img, svg { width: 100%; object-fit: cover; } -/* ====== Site Layout ====== -Setting the overall rules for page regions -https://www.w3.org/WAI/tutorials/page-structure/regions/ -*/ + +header { + text-align: center; + padding: var(--space); + border-bottom: var(--line); +} + main { max-width: var(--container); - margin: 0 auto calc(var(--space) * 4) auto; + margin: 0 auto 100px auto; + padding: var(--space); + 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: white; + border-top: var(--line); + padding: var(--space); } -/* ====== Articles Grid Layout ==== -Setting the rules for how articles are placed in the main element. -Inspect this in Devtools and click the "grid" button in the Elements view -Play with the options that come up. -https://developer.chrome.com/docs/devtools/css/grid -https://gridbyexample.com/learn/ -*/ -main { - display: grid; - grid-template-columns: 1fr 1fr; - gap: var(--space); - > *:first-child { - grid-column: span 2; - } -} -/* ====== 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; - } - > img { - grid-column: span 3; - } + background: #f9f9f9; +} + +article > * { + grid-column: 2/3; +} + +article > img { + grid-column: span 3; +} + +article h2, +article p, +article a { + margin: var(--space); }