Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions Wireframe/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,15 @@
</head>
<body>
<header>
<h1>Wireframe</h1>
<p>
This is the default, provided code and no changes have been made yet.
</p>
<h1>Mohsen Zamani Wireframe</h1>
<p>This will be my portfolio.</p>
</header>
<main>
<aside>
<a href="#">Home</a>
<a href="#">My repos</a>
<a href="#">About me</a>
</aside>
<article>
<img src="placeholder.svg" alt="" />
<h2>Title</h2>
Expand All @@ -25,9 +28,7 @@ <h2>Title</h2>
</article>
</main>
<footer>
<p>
This is the default, provided code and no changes have been made yet.
</p>
<p>Copyright Mohsen Zamani - ITP Jan 2026</p>
</footer>
</body>
</html>
22 changes: 19 additions & 3 deletions Wireframe/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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.
Expand All @@ -85,5 +100,6 @@ article {
}
> img {
grid-column: span 3;
max-width: 100%;
}
}
Loading