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
+ 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); }