Skip to content

Commit cff0516

Browse files
Changed the Header h1 and p style , font size, to be centered and add a box shadow and borders.
1 parent 04f01bc commit cff0516

2 files changed

Lines changed: 40 additions & 9 deletions

File tree

Wireframe/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
</head>
99

1010
<body>
11-
<header>
12-
<h1>Wireframe</h1>
11+
<header class="header">
12+
<h1 clas="title">Wireframe</h1>
1313
<p>
1414
The skeleton for your website.
1515
</p>
@@ -30,7 +30,7 @@ <h2>What is the purpose of a README file?</h2>
3030
</article>
3131

3232
<article>
33-
<img src="https://cdn.sanity.io/images/599r6htc/regionalized/4c8605ad998d69b03a6eefb850cce5e23a0a96dc-2880x1440.png?q=75&fit=max&auto=format&dpr=0.75" alt=" Wireframe"/>
33+
<img class="img2" src="https://cdn.sanity.io/images/599r6htc/regionalized/4c8605ad998d69b03a6eefb850cce5e23a0a96dc-2880x1440.png?q=75&fit=max&auto=format&dpr=0.75" alt=" Wireframe"/>
3434

3535
<h2>What is the purpose of a wireframe?</h2>
3636
<p> The purpose of a wireframe is to create a skeletal blueprint of a digital product (website, app) to define its structure, layout, and functionality before visual design,

Wireframe/style.css

Lines changed: 37 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,36 @@ As well as useful links to learn more */
2626
}
2727
/* ====== Base Elements ======
2828
General rules for basic HTML elements in any context */
29-
body {
30-
background: var(--paper);
31-
color: var(--ink);
32-
font: var(--font);
29+
.header h1{
30+
background: rgba(76, 93, 110, 0.8);
31+
width:100%;
32+
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
33+
top:0;
34+
padding:10px;
35+
justify-content: center;
36+
text-align: center;
37+
font-family: Georgia, 'Times New Roman', Times, serif;
38+
font-size: xx-large;
39+
font-weight: bold;
40+
color: white;
41+
}
42+
.header p {
43+
justify-content: center;
44+
text-align: center;
45+
font-family: Georgia, 'Times New Roman', Times, serif;
46+
font-size: x-large;
47+
48+
font-weight: bold;
49+
color: rgb(39, 36, 36);
50+
}
51+
body {
52+
background-color: rgb(178, 203, 203);
53+
font-family: serif;
54+
font-size: medium;
55+
3356
}
3457
a {
35-
padding: var(--space);
58+
padding: 4px 4px;
3659
border: var(--line);
3760
max-width: fit-content;
3861
}
@@ -50,9 +73,15 @@ main {
5073
margin: 0 auto calc(var(--space) * 4) auto;
5174
}
5275
footer {
53-
position: fixed;
76+
position: center;
77+
display: flex;
5478
bottom: 0;
5579
text-align: center;
80+
justify-content: center;
81+
font-size: medium;
82+
border: solid black 1px;
83+
border-width: fit-content var(--container);
84+
5685
}
5786
/* ====== Articles Grid Layout ====
5887
Setting the rules for how articles are placed in the main element.
@@ -86,4 +115,6 @@ article {
86115
> img {
87116
grid-column: span 3;
88117
}
118+
.img2{ grid-column: span2;
119+
}
89120
}

0 commit comments

Comments
 (0)