Skip to content

Commit 50259d1

Browse files
committed
Centered title and text beneath it .
Make the title of articles 2 and 3 fully aligned horizontally. Prevent the footer and article content overlap. Added a list
1 parent 0242aa3 commit 50259d1

2 files changed

Lines changed: 27 additions & 12 deletions

File tree

Wireframe/index.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ <h2>Read Me File</h2>
2525
</article>
2626
<article>
2727
<img src="https://cdn-images.visual-paradigm.com/handbooks/agile-handbook/wireframe/02-newspaper-site-wireframe-example.png" alt="wireframe img"/>
28-
<h2>What is the purpose of a wireframe?</h2>
28+
<h2>Purpose of a wireframe?</h2>
2929
<p>
3030
A wireframe is a simple visual layout of a website, app, or software interface. Its purpose is to show the structure and
3131
arrangement of content before detailed design and development begin.
@@ -34,24 +34,24 @@ <h2>What is the purpose of a wireframe?</h2>
3434
</article>
3535
<article>
3636
<img src="https://nulab.com/static/2b1b3450c0069d0cbd97d70e48c7a81c/5a190/02.png" alt="Git Branch img"/>
37-
<h2>What is a branch in Git?</h2>
37+
<h2 class="git_header">What is a branch in Git?</h2>
3838
<p>
3939
A branch in Git is a separate line of development that lets you work on changes without affecting the main project.
4040

41-
Think of it like creating a copy of your project where you can safely:<br>
41+
Think of it like creating a copy of your project where you can safely:
42+
<ul>
43+
<li> Add new features</li>
44+
<li>Fix bugs</li>
45+
<li>Test ideas</li>
46+
</ul>
4247

43-
Add new features<br>
44-
Fix bugs<br>
45-
Test ideas<br>
46-
47-
while the original code remains unchanged.
4848
</p>
4949
<a href="https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-branches">Read More</a>
5050
</article>
5151
</main>
5252
<footer>
5353
<p>
54-
This is the default, provided code and no changes have been made yet.
54+
© 2026 CYF. All rights reserved.
5555
</p>
5656
</footer>
5757
</body>

Wireframe/style.css

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,38 +30,52 @@ body {
3030
background: var(--paper);
3131
color: var(--ink);
3232
font: var(--font);
33+
padding-bottom: 60px;
3334
}
3435

3536
h1 {
3637
text-align: center;
3738
}
39+
3840
.header_paragraph{
3941
text-align: center;
4042
}
43+
.git_header{
44+
margin-top: 90px;
45+
margin-bottom: 90px;
46+
}
4147

4248
a {
4349
padding: var(--space);
4450
border: var(--line);
4551
max-width: fit-content;
4652
}
47-
img,
48-
svg {
53+
img {
4954
width: 100%;
55+
height: 450px;
5056
object-fit: cover;
57+
display: block;
58+
5159
}
60+
61+
5262
/* ====== Site Layout ======
5363
Setting the overall rules for page regions
5464
https://www.w3.org/WAI/tutorials/page-structure/regions/
5565
*/
5666
main {
5767
max-width: var(--container);
5868
margin: 0 auto calc(var(--space) * 4) auto;
69+
5970
}
6071
footer {
6172
position: fixed;
6273
bottom: 0;
74+
left: 0;
6375
width:100%;
6476
text-align: center;
77+
height: 60px;
78+
background-color: rgb(192, 187, 187);
6579
}
6680
/* ====== Articles Grid Layout ====
6781
Setting the rules for how articles are placed in the main element.
@@ -73,7 +87,7 @@ https://gridbyexample.com/learn/
7387
main {
7488
display: grid;
7589
grid-template-columns: 1fr 1fr;
76-
gap: var(--space);
90+
gap: 0;
7791
> *:first-child {
7892
grid-column: span 2;
7993
}
@@ -94,5 +108,6 @@ article {
94108
}
95109
> img {
96110
grid-column: span 3;
111+
97112
}
98113
}

0 commit comments

Comments
 (0)