From 00de6769bc8ba2362f95d75855ebb7c5525fd0f0 Mon Sep 17 00:00:00 2001 From: Mohsen Zamani Date: Thu, 8 Jan 2026 17:55:10 +0000 Subject: [PATCH 1/2] Add max-width property to img --- Wireframe/style.css | 1 + 1 file changed, 1 insertion(+) diff --git a/Wireframe/style.css b/Wireframe/style.css index be835b6c7..31a5a7b5f 100644 --- a/Wireframe/style.css +++ b/Wireframe/style.css @@ -85,5 +85,6 @@ article { } > img { grid-column: span 3; + max-width: 100%; } } From 8d62c98f125dd2fe8c150263b2d29c44d5c324e3 Mon Sep 17 00:00:00 2001 From: Mohsen Zamani Date: Thu, 8 Jan 2026 18:11:19 +0000 Subject: [PATCH 2/2] Change the wireframe --- Wireframe/index.html | 15 ++++++++------- Wireframe/style.css | 21 ++++++++++++++++++--- 2 files changed, 26 insertions(+), 10 deletions(-) diff --git a/Wireframe/index.html b/Wireframe/index.html index 0e014e535..161b8cae5 100644 --- a/Wireframe/index.html +++ b/Wireframe/index.html @@ -8,12 +8,15 @@
-

Wireframe

-

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

+

Mohsen Zamani Wireframe

+

This will be my portfolio.

+

Title

@@ -25,9 +28,7 @@

Title

diff --git a/Wireframe/style.css b/Wireframe/style.css index 31a5a7b5f..3ec74760e 100644 --- a/Wireframe/style.css +++ b/Wireframe/style.css @@ -20,6 +20,7 @@ As well as useful links to learn more */ --paper: oklch(7 0 0); --ink: color-mix(in oklab, var(--color) 5%, black); --font: 100%/1.5 system-ui; + --hover: 50%/2.5 system-ui; --space: clamp(6px, 6px + 2vw, 15px); --line: 1px solid; --container: 1280px; @@ -63,11 +64,25 @@ https://gridbyexample.com/learn/ */ main { display: grid; - grid-template-columns: 1fr 1fr; + grid-template-columns: 1fr 4fr; gap: var(--space); - > *:first-child { + /* > *:first-child { grid-column: span 2; - } + } */ +} + +aside { + display: flex; + flex-direction: column; + background-color: rgb(219, 222, 225); + border: var(--line); +} +a { + text-decoration: none; + border: 0; +} +a:hover { + color: var(--hover); } /* ====== Article Layout ====== Setting the rules for how elements are placed in the article.