From 11b15d475e9f986a6bb622f52c4bdaf48b1dbae5 Mon Sep 17 00:00:00 2001 From: Pinky Benitez Date: Mon, 29 Sep 2025 23:55:27 +0200 Subject: [PATCH 1/9] Add Text Aligning for body in the Stylesheet --- Wireframe/style.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Wireframe/style.css b/Wireframe/style.css index be835b6c7..2ee3208ec 100644 --- a/Wireframe/style.css +++ b/Wireframe/style.css @@ -23,6 +23,7 @@ As well as useful links to learn more */ --space: clamp(6px, 6px + 2vw, 15px); --line: 1px solid; --container: 1280px; + } /* ====== Base Elements ====== General rules for basic HTML elements in any context */ @@ -30,6 +31,7 @@ body { background: var(--paper); color: var(--ink); font: var(--font); + text-align: center; } a { padding: var(--space); From 8d39de6859c198a11beb84d4fce9d0f003f0c087 Mon Sep 17 00:00:00 2001 From: Pinky Benitez Date: Wed, 1 Oct 2025 12:24:07 +0200 Subject: [PATCH 2/9] Add Readme information --- Wireframe/index.html | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/Wireframe/index.html b/Wireframe/index.html index 0e014e535..c3c03db40 100644 --- a/Wireframe/index.html +++ b/Wireframe/index.html @@ -8,20 +8,22 @@
-

Wireframe

+

README, Wireframes, and Git Branches

- This is the default, provided code and no changes have been made yet. + Learn three essential concepts in web development and software projects.

-
- -

Title

+ +
+ + + +

What is the purpose of a README file?

- Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, - voluptates. Quisquam, voluptates. + A README file introduces and explains a project. It usually contains instructions on how to install, use, and contribute to the project.

- Read more + Learn more
@@ -29,5 +31,6 @@

Title

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

+ From bea54b220d8030648dcb866392c2762a00bab980 Mon Sep 17 00:00:00 2001 From: Pinky Benitez Date: Thu, 2 Oct 2025 11:26:24 +0200 Subject: [PATCH 3/9] rectify css and html info --- Wireframe/index.html | 36 +++++-- Wireframe/style.css | 220 +++++++++++++++++++++++++++++-------------- 2 files changed, 174 insertions(+), 82 deletions(-) diff --git a/Wireframe/index.html b/Wireframe/index.html index c3c03db40..3af3dd8e3 100644 --- a/Wireframe/index.html +++ b/Wireframe/index.html @@ -3,34 +3,50 @@ + Wireframe

README, Wireframes, and Git Branches

-

- Learn three essential concepts in web development and software projects. -

+

Learn three essential concepts in web development and software projects.

+
- - - + Readme

What is the purpose of a README file?

A README file introduces and explains a project. It usually contains instructions on how to install, use, and contribute to the project.

Learn more
+ + +
+ Wireframe icon +

What is the purpose of a wireframe?

+

+ A wireframe is a simple visual guide that represents the layout of a website or app. It focuses on structure and functionality. +

+ Learn more +
+ + +
+ Git Branch icon +

What is a branch in Git?

+

+ A branch in Git is a separate line of development. It allows you to work on new features or fixes without affecting the main codebase. +

+ Learn more +
+
-

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

+

Created for learning HTML, CSS, and Git basics.

- diff --git a/Wireframe/style.css b/Wireframe/style.css index 2ee3208ec..3b2208928 100644 --- a/Wireframe/style.css +++ b/Wireframe/style.css @@ -1,91 +1,167 @@ -/* Here are some starter styles -You can edit these or replace them entirely -It's showing you a common way to organise CSS -And includes solutions to common problems -As well as useful links to learn more */ - -/* ====== Design Palette ====== - This is our "design palette". - It sets out the colours, fonts, styles etc to be used in this design - At work, a designer will give these to you based on the corporate brand, but while you are learning - You can design it yourself if you like - Inspect the starter design with Devtools - Click on the colour swatches to see what is happening - I've put some useful CSS you won't have learned yet - For you to explore and play with if you are interested - https://web.dev/articles/min-max-clamp - https://scrimba.com/learn-css-variables-c026 -====== Design Palette ====== */ +/* ====== Design Palette ====== */ :root { - --paper: oklch(7 0 0); - --ink: color-mix(in oklab, var(--color) 5%, black); - --font: 100%/1.5 system-ui; - --space: clamp(6px, 6px + 2vw, 15px); - --line: 1px solid; - --container: 1280px; - -} -/* ====== Base Elements ====== - General rules for basic HTML elements in any context */ -body { + --paper: #f7f7f7; + --ink: #222; + --font: 16px/1.6 system-ui, sans-serif; + --space: clamp(10px, 2vw, 20px); + --line: 1px solid #ccc; + --container: 1200px; + --link-bg: #333; + --link-hover-bg: #555; + --link-color: #fff; +} + +/* ====== Global Styles ====== */ +html, body { + margin: 0; + padding: 0; + height: 100%; + font: var(--font); background: var(--paper); color: var(--ink); - font: var(--font); +} + +body { + display: flex; + flex-direction: column; + min-height: 100vh; text-align: center; } -a { + +/* Header */ +header { padding: var(--space); - border: var(--line); - max-width: fit-content; } -img, -svg { - width: 100%; - object-fit: cover; + +header h1 { + margin-bottom: 0.2em; + font-size: 2rem; +} + +header p { + font-size: 1rem; + color: #555; } -/* ====== Site Layout ====== -Setting the overall rules for page regions -https://www.w3.org/WAI/tutorials/page-structure/regions/ -*/ + +/* ====== Main Layout ====== */ main { max-width: var(--container); - margin: 0 auto calc(var(--space) * 4) auto; + margin: 0 auto; + display: grid; + grid-template-columns: repeat(2, 1fr); + gap: var(--space); + padding: var(--space); +} + +/* First article spans two columns */ +main > article:first-child { + grid-column: span 2; +} + +/* ====== Article Cards ====== */ +article { + border: var(--line); + border-radius: 8px; + background: #fff; + padding: var(--space); + display: flex; + flex-direction: column; + align-items: center; + text-align: center; + transition: transform 0.3s; +} + +article:hover { + transform: translateY(-4px); +} + +article img { + width: 150px; + height: 150px; + object-fit: contain; + margin-bottom: var(--space); +} + +.readme img { + width: 200px; + height: 200px; } + +/* Article text */ +article h2 { + font-size: 1.3rem; + margin-bottom: 0.5em; +} + +article p { + font-size: 1rem; + color: #444; +} + +/* ====== Links (buttons) ====== */ +article a { + display: inline-block; + background: var(--link-bg); + color: var(--link-color); + text-decoration: none; + border-radius: 5px; + padding: 8px 16px; + font-size: 0.95rem; + margin-top: 10px; + transition: 0.3s; +} + +article a:hover { + background: var(--link-hover-bg); + transform: scale(1.05); +} + +/* ====== Footer ====== */ footer { - position: fixed; - bottom: 0; text-align: center; + padding: var(--space); + border-top: var(--line); + margin-top: auto; + font-size: 0.85rem; + background: var(--paper); } -/* ====== 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; + +/* ====== Responsive ====== */ +@media (max-width: 768px) { + main { + grid-template-columns: 1fr; + } + + main > article:first-child { + grid-column: 1; + } + + article img { + width: 120px; + height: 120px; + } + + .readme img { + width: 150px; + height: 150px; + } + + article a { + width: 100%; + text-align: center; } } -/* ====== 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; + +@media (max-width: 480px) { + header h1 { + font-size: 1.6rem; } - > img { - grid-column: span 3; + + article h2 { + font-size: 1.1rem; + } + + article p { + font-size: 0.9rem; } } From 35ed1058357b32cc901d406f0a299c07c52d2fb0 Mon Sep 17 00:00:00 2001 From: Pinky Benitez Date: Thu, 2 Oct 2025 18:18:46 +0200 Subject: [PATCH 4/9] Add html and CSS from main branch(wrong branch) --- Wireframe/index.html | 45 ++++++--- Wireframe/style.css | 220 +++++++++++++++++++++++++++++-------------- 2 files changed, 181 insertions(+), 84 deletions(-) diff --git a/Wireframe/index.html b/Wireframe/index.html index 0e014e535..3af3dd8e3 100644 --- a/Wireframe/index.html +++ b/Wireframe/index.html @@ -3,31 +3,50 @@ + Wireframe
-

Wireframe

-

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

+

README, Wireframes, and Git Branches

+

Learn three essential concepts in web development and software projects.

+
-
- -

Title

+ +
+ Readme +

What is the purpose of a README file?

- Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, - voluptates. Quisquam, voluptates. + A README file introduces and explains a project. It usually contains instructions on how to install, use, and contribute to the project.

- Read more + Learn more +
+ + +
+ Wireframe icon +

What is the purpose of a wireframe?

+

+ A wireframe is a simple visual guide that represents the layout of a website or app. It focuses on structure and functionality. +

+ Learn more +
+ + +
+ Git Branch icon +

What is a branch in Git?

+

+ A branch in Git is a separate line of development. It allows you to work on new features or fixes without affecting the main codebase. +

+ Learn more
+
-

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

+

Created for learning HTML, CSS, and Git basics.

diff --git a/Wireframe/style.css b/Wireframe/style.css index be835b6c7..3b2208928 100644 --- a/Wireframe/style.css +++ b/Wireframe/style.css @@ -1,89 +1,167 @@ -/* Here are some starter styles -You can edit these or replace them entirely -It's showing you a common way to organise CSS -And includes solutions to common problems -As well as useful links to learn more */ - -/* ====== Design Palette ====== - This is our "design palette". - It sets out the colours, fonts, styles etc to be used in this design - At work, a designer will give these to you based on the corporate brand, but while you are learning - You can design it yourself if you like - Inspect the starter design with Devtools - Click on the colour swatches to see what is happening - I've put some useful CSS you won't have learned yet - For you to explore and play with if you are interested - https://web.dev/articles/min-max-clamp - https://scrimba.com/learn-css-variables-c026 -====== Design Palette ====== */ +/* ====== Design Palette ====== */ :root { - --paper: oklch(7 0 0); - --ink: color-mix(in oklab, var(--color) 5%, black); - --font: 100%/1.5 system-ui; - --space: clamp(6px, 6px + 2vw, 15px); - --line: 1px solid; - --container: 1280px; -} -/* ====== Base Elements ====== - General rules for basic HTML elements in any context */ -body { + --paper: #f7f7f7; + --ink: #222; + --font: 16px/1.6 system-ui, sans-serif; + --space: clamp(10px, 2vw, 20px); + --line: 1px solid #ccc; + --container: 1200px; + --link-bg: #333; + --link-hover-bg: #555; + --link-color: #fff; +} + +/* ====== Global Styles ====== */ +html, body { + margin: 0; + padding: 0; + height: 100%; + font: var(--font); background: var(--paper); color: var(--ink); - font: var(--font); } -a { + +body { + display: flex; + flex-direction: column; + min-height: 100vh; + text-align: center; +} + +/* Header */ +header { padding: var(--space); - border: var(--line); - max-width: fit-content; } -img, -svg { - width: 100%; - object-fit: cover; + +header h1 { + margin-bottom: 0.2em; + font-size: 2rem; +} + +header p { + font-size: 1rem; + color: #555; } -/* ====== Site Layout ====== -Setting the overall rules for page regions -https://www.w3.org/WAI/tutorials/page-structure/regions/ -*/ + +/* ====== Main Layout ====== */ main { max-width: var(--container); - margin: 0 auto calc(var(--space) * 4) auto; + margin: 0 auto; + display: grid; + grid-template-columns: repeat(2, 1fr); + gap: var(--space); + padding: var(--space); +} + +/* First article spans two columns */ +main > article:first-child { + grid-column: span 2; +} + +/* ====== Article Cards ====== */ +article { + border: var(--line); + border-radius: 8px; + background: #fff; + padding: var(--space); + display: flex; + flex-direction: column; + align-items: center; + text-align: center; + transition: transform 0.3s; +} + +article:hover { + transform: translateY(-4px); +} + +article img { + width: 150px; + height: 150px; + object-fit: contain; + margin-bottom: var(--space); +} + +.readme img { + width: 200px; + height: 200px; +} + +/* Article text */ +article h2 { + font-size: 1.3rem; + margin-bottom: 0.5em; +} + +article p { + font-size: 1rem; + color: #444; +} + +/* ====== Links (buttons) ====== */ +article a { + display: inline-block; + background: var(--link-bg); + color: var(--link-color); + text-decoration: none; + border-radius: 5px; + padding: 8px 16px; + font-size: 0.95rem; + margin-top: 10px; + transition: 0.3s; +} + +article a:hover { + background: var(--link-hover-bg); + transform: scale(1.05); } + +/* ====== Footer ====== */ footer { - position: fixed; - bottom: 0; text-align: center; + padding: var(--space); + border-top: var(--line); + margin-top: auto; + font-size: 0.85rem; + background: var(--paper); } -/* ====== 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; + +/* ====== Responsive ====== */ +@media (max-width: 768px) { + main { + grid-template-columns: 1fr; + } + + main > article:first-child { + grid-column: 1; + } + + article img { + width: 120px; + height: 120px; + } + + .readme img { + width: 150px; + height: 150px; + } + + article a { + width: 100%; + text-align: center; } } -/* ====== 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; + +@media (max-width: 480px) { + header h1 { + font-size: 1.6rem; } - > img { - grid-column: span 3; + + article h2 { + font-size: 1.1rem; + } + + article p { + font-size: 0.9rem; } } From b1643d9a2a7a041f62dd8ba804951cbe58c9de22 Mon Sep 17 00:00:00 2001 From: Pinky Benitez Date: Sun, 5 Oct 2025 13:11:37 +0200 Subject: [PATCH 5/9] add background color to article git --- Wireframe/style.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Wireframe/style.css b/Wireframe/style.css index 3b2208928..227989bcb 100644 --- a/Wireframe/style.css +++ b/Wireframe/style.css @@ -165,3 +165,5 @@ footer { font-size: 0.9rem; } } + +.git{background-color: goldenrod;} \ No newline at end of file From bc8c631008f5364b7f38fcebeeda2800339ce271 Mon Sep 17 00:00:00 2001 From: Pinky Benitez Date: Sun, 5 Oct 2025 13:17:06 +0200 Subject: [PATCH 6/9] test --- Wireframe/style.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Wireframe/style.css b/Wireframe/style.css index 227989bcb..39c784a62 100644 --- a/Wireframe/style.css +++ b/Wireframe/style.css @@ -166,4 +166,6 @@ footer { } } -.git{background-color: goldenrod;} \ No newline at end of file +.git{ + background-color: goldenrod; +} \ No newline at end of file From 5be677b88adaa3c47dfd23111e7c4ef92c9f475f Mon Sep 17 00:00:00 2001 From: Pinky Benitez Date: Sun, 5 Oct 2025 14:26:25 +0200 Subject: [PATCH 7/9] change back to original draft --- Wireframe/style.css | 224 ++++++++++++++------------------------------ 1 file changed, 71 insertions(+), 153 deletions(-) diff --git a/Wireframe/style.css b/Wireframe/style.css index 39c784a62..1585c4ab4 100644 --- a/Wireframe/style.css +++ b/Wireframe/style.css @@ -1,171 +1,89 @@ -/* ====== Design Palette ====== */ +/* Here are some starter styles +You can edit these or replace them entirely +It's showing you a common way to organise CSS +And includes solutions to common problems +As well as useful links to learn more */ + +/* ====== Design Palette ====== + This is our "design palette". + It sets out the colours, fonts, styles etc to be used in this design + At work, a designer will give these to you based on the corporate brand, but while you are learning + You can design it yourself if you like + Inspect the starter design with Devtools + Click on the colour swatches to see what is happening + I've put some useful CSS you won't have learned yet + For you to explore and play with if you are interested + https://web.dev/articles/min-max-clamp + https://scrimba.com/learn-css-variables-c026 +====== Design Palette ====== */ :root { - --paper: #f7f7f7; - --ink: #222; - --font: 16px/1.6 system-ui, sans-serif; - --space: clamp(10px, 2vw, 20px); - --line: 1px solid #ccc; - --container: 1200px; - --link-bg: #333; - --link-hover-bg: #555; - --link-color: #fff; -} - -/* ====== Global Styles ====== */ -html, body { - margin: 0; - padding: 0; - height: 100%; - font: var(--font); + --paper: oklch(7 0 0); + --ink: color-mix(in oklab, var(--color) 5%, black); + --font: 100%/1.5 system-ui; + --space: clamp(6px, 6px + 2vw, 15px); + --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); } - -body { - display: flex; - flex-direction: column; - min-height: 100vh; - text-align: center; -} - -/* Header */ -header { +a { padding: var(--space); + border: var(--line); + max-width: fit-content; } - -header h1 { - margin-bottom: 0.2em; - font-size: 2rem; -} - -header p { - font-size: 1rem; - color: #555; +img, +svg { + width: 100%; + object-fit: cover; } - -/* ====== Main Layout ====== */ +/* ====== Site Layout ====== +Setting the overall rules for page regions +https://www.w3.org/WAI/tutorials/page-structure/regions/ +*/ main { max-width: var(--container); - margin: 0 auto; - display: grid; - grid-template-columns: repeat(2, 1fr); - gap: var(--space); - padding: var(--space); -} - -/* First article spans two columns */ -main > article:first-child { - grid-column: span 2; -} - -/* ====== Article Cards ====== */ -article { - border: var(--line); - border-radius: 8px; - background: #fff; - padding: var(--space); - display: flex; - flex-direction: column; - align-items: center; - text-align: center; - transition: transform 0.3s; -} - -article:hover { - transform: translateY(-4px); -} - -article img { - width: 150px; - height: 150px; - object-fit: contain; - margin-bottom: var(--space); -} - -.readme img { - width: 200px; - height: 200px; + margin: 0 auto calc(var(--space) * 4) auto; } - -/* Article text */ -article h2 { - font-size: 1.3rem; - margin-bottom: 0.5em; -} - -article p { - font-size: 1rem; - color: #444; -} - -/* ====== Links (buttons) ====== */ -article a { - display: inline-block; - background: var(--link-bg); - color: var(--link-color); - text-decoration: none; - border-radius: 5px; - padding: 8px 16px; - font-size: 0.95rem; - margin-top: 10px; - transition: 0.3s; -} - -article a:hover { - background: var(--link-hover-bg); - transform: scale(1.05); -} - -/* ====== Footer ====== */ footer { + position: fixed; + bottom: 0; text-align: center; - padding: var(--space); - border-top: var(--line); - margin-top: auto; - font-size: 0.85rem; - background: var(--paper); } - -/* ====== Responsive ====== */ -@media (max-width: 768px) { - main { - grid-template-columns: 1fr; - } - - main > article:first-child { - grid-column: 1; - } - - article img { - width: 120px; - height: 120px; - } - - .readme img { - width: 150px; - height: 150px; - } - - article a { - width: 100%; - text-align: center; +/* ====== 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; } } - -@media (max-width: 480px) { - header h1 { - font-size: 1.6rem; - } - - article h2 { - font-size: 1.1rem; +/* ====== 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 p { - font-size: 0.9rem; + > img { + grid-column: span 3; } -} - -.git{ - background-color: goldenrod; } \ No newline at end of file From f2e446703f0f90a6a463392cd6d426e2e5cd2bfd Mon Sep 17 00:00:00 2001 From: Pinky Benitez Date: Sun, 5 Oct 2025 22:25:58 +0200 Subject: [PATCH 8/9] revise html and css style --- Wireframe/index.html | 55 +++++++++++++++++++++++++------------------- 1 file changed, 31 insertions(+), 24 deletions(-) diff --git a/Wireframe/index.html b/Wireframe/index.html index 3af3dd8e3..0e0442b9c 100644 --- a/Wireframe/index.html +++ b/Wireframe/index.html @@ -3,50 +3,57 @@ - Wireframe
-

README, Wireframes, and Git Branches

-

Learn three essential concepts in web development and software projects.

+

Understanding Project Foundations

+

+ Explore the roles of README files, wireframes, and Git branches in software development. +

- +
- -
- Readme -

What is the purpose of a README file?

+ +
+ Readme +

What is a README file?

- A README file introduces and explains a project. It usually contains instructions on how to install, use, and contribute to the project. + A README file introduces a project by explaining what it does, how to install and use it, + and any setup instructions. It’s the first place users and collaborators look to understand your work. + A well-written README improves communication, saves time, and keeps your project professional.

Learn more -
- -
- Wireframe icon +
+ +
+ Wireframe icon

What is the purpose of a wireframe?

- A wireframe is a simple visual guide that represents the layout of a website or app. It focuses on structure and functionality. + A wireframe is a simple blueprint that shows the structure of a webpage or app before + the design phase. It outlines where content, navigation, and images will go, helping teams plan layout, + usability, and functionality before any code is written.

- Learn more + Learn more
- - -
- Git Branch icon + +
+ Git Branch icon

What is a branch in Git?

- A branch in Git is a separate line of development. It allows you to work on new features or fixes without affecting the main codebase. + A branch in Git is a separate version of your project that allows you to develop new + features or fix bugs independently. You can work safely without affecting the main codebase, then merge + your changes when ready. This makes collaboration and experimentation easier.

Learn more
-
- + +
-

Created for learning HTML, CSS, and Git basics.

+

+ ©2025 Web Development Basics | Created for learning and exploration

- + \ No newline at end of file From 555085d834a6ff59619d1305523027c11310e236 Mon Sep 17 00:00:00 2001 From: Pinky Benitez Date: Sun, 5 Oct 2025 22:29:51 +0200 Subject: [PATCH 9/9] revise css styles --- Wireframe/style.css | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/Wireframe/style.css b/Wireframe/style.css index 1585c4ab4..d80e15e19 100644 --- a/Wireframe/style.css +++ b/Wireframe/style.css @@ -30,17 +30,36 @@ body { background: var(--paper); color: var(--ink); font: var(--font); + text-align: center; } + a { - padding: var(--space); + padding: calc(var(--space) * 1.5); border: var(--line); + border-radius: 8px; max-width: fit-content; + background-color: grey; + color: whitesmoke; + text-decoration: none; +} +a:hover { + background-color:var(--ink); + color: color: var(--paper); + transform: scale(1.05); + border-color: var(--ink); } img, svg { width: 100%; object-fit: cover; } +article img { + width: auto; /* allows it to shrink */ + max-width: 150px; /* limits the size */ + height: auto; /* keeps aspect ratio */ + margin: 0 auto var(--space); /* centers image with spacing below */ + display: block; +} /* ====== Site Layout ====== Setting the overall rules for page regions https://www.w3.org/WAI/tutorials/page-structure/regions/ @@ -49,8 +68,9 @@ main { max-width: var(--container); margin: 0 auto calc(var(--space) * 4) auto; } + footer { - position: fixed; + position: relative; bottom: 0; text-align: center; } @@ -86,4 +106,5 @@ article { > img { grid-column: span 3; } -} \ No newline at end of file +} + \ No newline at end of file