Skip to content

Commit bedc0c3

Browse files
committed
header center
1 parent fafaf93 commit bedc0c3

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

Wireframe/style.css

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ a {
3838
}
3939
img,
4040
svg {
41-
width: 100%;
41+
width: 80%;
4242
object-fit: cover;
4343
}
4444
/* ====== Site Layout ======
@@ -69,6 +69,14 @@ main {
6969
grid-column: span 2;
7070
}
7171
}
72+
header {
73+
border: var(--line);
74+
padding: var(--space);
75+
text-align: center;
76+
}
77+
78+
79+
7280
/* ====== Article Layout ======
7381
Setting the rules for how elements are placed in the article.
7482
Now laying out just the INSIDE of the repeated card/article design.
@@ -86,7 +94,7 @@ Keeping things orderly and separate is the key to good, simple CSS.
8694
> img {
8795
grid-column: span 3;
8896
}
89-
97+
9098
.right-article {
9199
border: var(--line);
92100
padding-bottom: var(--space);

0 commit comments

Comments
 (0)