diff --git a/Wireframe/index.html b/Wireframe/index.html index 0e014e535..1a31b3c41 100644 --- a/Wireframe/index.html +++ b/Wireframe/index.html @@ -1,33 +1,51 @@ - Wireframe +
-

Wireframe

-

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

+

Wireframe

+

A wireframe is a simple visual guide that shows the structure of a webpage before it is built. It helps plan layout and design.

- -

Title

+ Icon representing a Readme file +

About Readme File

+

+ README file introduces a project, explains how to install it, and + helps others understand how to use or contribute to it. +

+ Read more +
+
+ Icon representing a wireframe +

About Wireframe

+

+ A wireframe is a simple visual guide that shows the structure of a + webpage before it is built, It helps plan layout and design. +

+ Read more +
+
+ Icon representing a Git branch +

About the branch

- Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, - voluptates. Quisquam, voluptates. + A branch in Git is a separate line of development that lets you work + on new features without changing the main codebase.

- Read more + Read more
+
- + + \ No newline at end of file diff --git a/Wireframe/style.css b/Wireframe/style.css index be835b6c7..ed70f690f 100644 --- a/Wireframe/style.css +++ b/Wireframe/style.css @@ -17,6 +17,7 @@ As well as useful links to learn more */ https://scrimba.com/learn-css-variables-c026 ====== Design Palette ====== */ :root { + -color:#000; --paper: oklch(7 0 0); --ink: color-mix(in oklab, var(--color) 5%, black); --font: 100%/1.5 system-ui; @@ -27,33 +28,56 @@ As well as useful links to learn more */ /* ====== Base Elements ====== General rules for basic HTML elements in any context */ body { - background: var(--paper); - color: var(--ink); + background: var(--paper); + color: var(--ink); font: var(--font); } a { padding: var(--space); border: var(--line); max-width: fit-content; + text-decoration: none; + color: inherit; } img, svg { width: 100%; object-fit: cover; } +header{ + text-align: center; + color: rgb(18, 87, 114); + background-color: beige; + font-size: larger; + padding: 2rem; +} /* ====== Site Layout ====== Setting the overall rules for page regions https://www.w3.org/WAI/tutorials/page-structure/regions/ */ main { - max-width: var(--container); + 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 { + margin-top: auto; position: fixed; bottom: 0; - text-align: center; -} + width: 100%; + background-color: beige; + text-align: left; + padding: var(--space); + } + .main-title{ + font-family: cursive; + font-style: italic + } /* ====== 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 @@ -61,19 +85,6 @@ 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); @@ -81,9 +92,15 @@ article { display: grid; 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. +*/ + grid-column: 2/3; } > img { - grid-column: span 3; + grid-column: span 3 } }