Skip to content

Commit acd8a37

Browse files
committed
Wireframe layout refinements
1 parent e8b0bc4 commit acd8a37

4 files changed

Lines changed: 13 additions & 22 deletions

File tree

Wireframe/git-branch.png

119 KB
Loading

Wireframe/index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@ <h2>What is a Wireframe?</h2>
4444
<h2>What is a Git Branch?</h2>
4545
<p>
4646
A branch in Git is an independent line of development. Branches allow
47-
developers to work on new features or fixes without affecting the main
48-
project.
47+
developers to work on new features, updates, or fixes without
48+
affecting the main project. This helps keep changes organized and
49+
separate until they are ready to be merged.
4950
</p>
5051
<a
5152
href="https://book.the-turing-way.org/reproducible-research/vcs/vcs-git-branches/"

Wireframe/style.css

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
--line: 1px solid;
77
--container: 1280px;
88
}
9-
/* ====== Base Elements ======
10-
General rules for basic HTML elements in any context */
9+
/* ====== Base Elements ====== */
1110
body {
1211
background: var(--paper);
1312
color: var(--ink);
@@ -23,10 +22,7 @@ svg {
2322
width: 100%;
2423
object-fit: cover;
2524
}
26-
/* ====== Site Layout ======
27-
Setting the overall rules for page regions
28-
https://www.w3.org/WAI/tutorials/page-structure/regions/
29-
*/
25+
/* ====== Site Layout ====== */
3026
main {
3127
max-width: var(--container);
3228
margin: 0 auto calc(var(--space) * 4) auto;
@@ -40,13 +36,7 @@ footer {
4036
border-top: 1px solid black;
4137
z-index: 9999;
4238
}
43-
/* ====== Articles Grid Layout ====
44-
Setting the rules for how articles are placed in the main element.
45-
Inspect this in Devtools and click the "grid" button in the Elements view
46-
Play with the options that come up.
47-
https://developer.chrome.com/docs/devtools/css/grid
48-
https://gridbyexample.com/learn/
49-
*/
39+
/* ====== Articles Grid Layout ==== */
5040
main {
5141
display: grid;
5242
grid-template-columns: 1fr 1fr;
@@ -55,17 +45,14 @@ main {
5545
grid-column: span 2;
5646
}
5747
}
58-
/* ====== Article Layout ======
59-
Setting the rules for how elements are placed in the article.
60-
Now laying out just the INSIDE of the repeated card/article design.
61-
Keeping things orderly and separate is the key to good, simple CSS.
62-
*/
48+
/* ====== Article Layout ====== */
6349
article {
6450
border: var(--line);
6551
padding-bottom: var(--space);
6652
text-align: left;
6753
display: grid;
6854
grid-template-columns: var(--space) 1fr var(--space);
55+
row-gap: 0.5rem;
6956
}
7057

7158
article > * {
@@ -76,7 +63,10 @@ article > img {
7663
grid-column: span 3;
7764
}
7865

79-
article h2,
80-
article p {
66+
article h2 {
8167
margin: 0;
8268
}
69+
70+
article p {
71+
margin: 0.5rem 0 0 0;
72+
}

Wireframe/wireframe.png

43 KB
Loading

0 commit comments

Comments
 (0)