Skip to content

Commit 17143fc

Browse files
Code Formatted done
1 parent b40e447 commit 17143fc

2 files changed

Lines changed: 30 additions & 18 deletions

File tree

Wireframe/index.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@ <h1>Wireframe</h1>
1717
</header>
1818
<main>
1919
<article>
20-
<img src="/Wireframe/Featured_Image_Wireframes_Save_Time_Money.png" alt="Website wireframe layout showing structure of a webpage">
20+
<img src="/Wireframe/Featured_Image_Wireframes_Save_Time_Money.png"
21+
alt="Website wireframe layout showing structure of a webpage">
2122
<h2>Wireframe</h2>
2223
<p>
2324
Wireframe is the skeleton of a web page. It represents a visual layout which helps developers and other team
24-
members to make decisions about the product.
25+
members to make decisions about the product.
2526
</p>
2627
<a href="https://www.figma.com/resource-library/what-is-wireframing/">Read more</a>
2728
</article>
@@ -40,7 +41,8 @@ <h2>Branch in Git </h2>
4041
<img src="/Wireframe/hq720.jpg" alt="Example of a README file explaining a software project">
4142
<h2>Readme File </h2>
4243
<p>
43-
README file provides important information about the project, such as its purpose, setup instructions, features, and
44+
README file provides important information about the project, such as its purpose, setup instructions, features,
45+
and
4446
usage.
4547
</p>
4648
<a href="https://www.geeksforgeeks.org/git/what-is-readme-md-file/">Read more</a>

Wireframe/style.css

Lines changed: 25 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ As well as useful links to learn more */
2424
--line: 1px solid;
2525
--container: 1280px;
2626
}
27+
2728
/* ====== Base Elements ======
2829
General rules for basic HTML elements in any context */
2930
body {
@@ -32,6 +33,7 @@ body {
3233
font: var(--font);
3334
margin: 0px;
3435
}
36+
3537
a {
3638
padding: var(--space);
3739
border: var(--line);
@@ -40,25 +42,27 @@ a {
4042
color: black;
4143
border-radius: 2px;
4244
}
45+
4346
img,
4447
svg {
4548
width: 100%;
4649
object-fit: cover;
4750
}
51+
4852
/* ====== Site Layout ======
4953
Setting the overall rules for page regions
5054
https://www.w3.org/WAI/tutorials/page-structure/regions/
5155
*/
5256

5357

5458
/* This is a header */
55-
.header{
59+
.header {
5660
text-align: center;
57-
58-
max-width: var(--container);
59-
margin: 0 auto;
61+
62+
max-width: var(--container);
63+
margin: 0 auto;
6064
padding: 20px;
61-
}
65+
}
6266

6367

6468

@@ -67,16 +71,17 @@ main {
6771
max-width: var(--container);
6872
margin: 0 auto calc(var(--space) * 4) auto;
6973
}
74+
7075
footer {
71-
76+
7277
position: fixed;
7378
bottom: 0;
7479
left: 0;
7580
text-align: center;
7681
margin-right: 20px;
77-
border-top: 2px solid;
78-
width: 100%;
79-
background: var(--paper);
82+
border-top: 2px solid;
83+
width: 100%;
84+
background: var(--paper);
8085
}
8186

8287

@@ -91,11 +96,14 @@ main {
9196
display: grid;
9297
grid-template-columns: 1fr 1fr;
9398
gap: var(--space);
94-
> *:first-child {
99+
100+
>*:first-child {
95101
grid-column: span 2;
96102
}
103+
97104
margin-bottom: 80px;
98105
}
106+
99107
/* ====== Article Layout ======
100108
Setting the rules for how elements are placed in the article.
101109
Now laying out just the INSIDE of the repeated card/article design.
@@ -107,14 +115,16 @@ article {
107115
text-align: left;
108116
display: grid;
109117
grid-template-columns: var(--space) 1fr var(--space);
110-
> * {
118+
119+
>* {
111120
grid-column: 2/3;
112121
}
113-
> img {
122+
123+
>img {
114124
grid-column: span 3;
115125
}
116126
}
117127

118-
h2{
119-
margin-bottom: 0px;
120-
}
128+
h2 {
129+
margin-bottom: 0px;
130+
}

0 commit comments

Comments
 (0)